Skip to content

Commit

Permalink
Rename FileFormat and project clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero committed Sep 27, 2021
1 parent e71943d commit cda42f2
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 9 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Checkout Lean Same Branch
id: lean-same-branch
uses: actions/checkout@v2
continue-on-error: true
with:
ref: ${{ github.ref }}
repository: QuantConnect/Lean
path: Lean

- name: Checkout Lean Master
if: steps.lean-same-branch.outcome != 'success'
uses: actions/checkout@v2
with:
repository: QuantConnect/Lean
path: Lean

- name: Move Lean
run: mv Lean ../Lean

- name: BuildDataSource
run: dotnet build ./QuantConnect.DataSource.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1

Expand Down
5 changes: 3 additions & 2 deletions DataProcessing/DataProcessing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="QuantConnect.Common" Version="2.5.*" />
<PackageReference Include="QuantConnect.Compression" Version="2.5.*" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\QuantConnect.DataSource.csproj" />
<ProjectReference Include="..\..\Lean\Common\QuantConnect.csproj" />
<ProjectReference Include="..\..\Lean\Logging\QuantConnect.Logging.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 2 additions & 3 deletions DataQueueHandlers/DataQueueHandlers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="QuantConnect.Common" Version="2.5.*" />
<PackageReference Include="QuantConnect.Compression" Version="2.5.*" />
<PackageReference Include="QuantConnect.Lean.Engine" Version="2.5.*" />
<PackageReference Include="protobuf-net" Version="3.0.29" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\QuantConnect.DataSource.csproj" />
<ProjectReference Include="..\..\Lean\Common\QuantConnect.csproj" />
<ProjectReference Include="..\..\Lean\Engine\QuantConnect.Lean.Engine.csproj" />
</ItemGroup>

</Project>
8 changes: 6 additions & 2 deletions QuantConnect.DataSource.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="QuantConnect.Common" Version="2.5.*" />
<PackageReference Include="QuantConnect.Compression" Version="2.5.*" />
<PackageReference Include="NodaTime" Version="3.0.5" />
<PackageReference Include="protobuf-net" Version="3.0.29" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
Expand All @@ -37,4 +36,9 @@
<None Remove="process.sample.sh" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Lean\Common\QuantConnect.csproj" />
<ProjectReference Include="..\Lean\Logging\QuantConnect.Logging.csproj" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion TiingoNews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public override SubscriptionDataSource GetSource(SubscriptionDataConfig config,

return new SubscriptionDataSource(url,
SubscriptionTransportMedium.Rest,
FileFormat.Collection);
FileFormat.UnfoldingCollection);
}

var source = Path.Combine(
Expand Down
1 change: 0 additions & 1 deletion TiingoNewsJsonConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using QuantConnect.Data;
using QuantConnect.Logging;

namespace QuantConnect.DataSource
Expand Down

0 comments on commit cda42f2

Please sign in to comment.