Skip to content

Commit

Permalink
Merge pull request QuantConnect#2 from QuantConnect/refactor-naming-o…
Browse files Browse the repository at this point in the history
…rder-location

Renames and moves
  • Loading branch information
Martin-Molinero authored Jun 21, 2021
2 parents a7efe5f + 63c07e5 commit 93fbc01
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 321 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- name: BuildTests
run: dotnet build ./tests/Tests.csproj /p:Configuration=Release /v:quiet /p:WarningLevel=1

- name: Run Tests
run: dotnet test ./Tests/bin/Release/net5.0/Tests.dll
run: dotnet test ./tests/bin/Release/net5.0/Tests.dll
Empty file.
17 changes: 0 additions & 17 deletions DataProcessing/DataProcessing.csproj

This file was deleted.

78 changes: 0 additions & 78 deletions DataProcessing/Program.cs

This file was deleted.

180 changes: 0 additions & 180 deletions DataProcessing/VendorDataDownloaderConverter.cs

This file was deleted.

1 change: 1 addition & 0 deletions Tests/CustomDataAlgorithm.cs → Demonstration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using QuantConnect.Util;
using QuantConnect.Orders;
using QuantConnect.Algorithm;
using QuantConnect.DataSource;

namespace QuantConnect.DataLibrary.Tests
{
Expand Down
3 changes: 1 addition & 2 deletions DataLibrary/MyCustomDataType.cs → MyCustomDataType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
using NodaTime;
using ProtoBuf;
using System.IO;
using QuantConnect;
using QuantConnect.Data;
using System.Collections.Generic;

namespace QuantConnect.DataLibrary
namespace QuantConnect.DataSource
{
/// <summary>
/// Example custom data type
Expand Down
36 changes: 0 additions & 36 deletions MyCustomDataType.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>QuantConnect.DataLibrary</RootNamespace>
<RootNamespace>QuantConnect.DataSource</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand All @@ -12,4 +12,15 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup>
<Compile Remove="tests\**" />
<EmbeddedResource Remove="tests\**" />
<None Remove="tests\**" />
<Compile Remove="Demonstration.cs" />
<None Remove=".gitignore" />
<None Remove="process.sample.ipynb" />
<None Remove="process.sample.py" />
<None Remove="process.sample.sh" />
</ItemGroup>

</Project>
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ It is composed by example .Net solution for the data type and converter scripts.

The solution targets dotnet 5, for installation instructions please follow [dotnet download](https://dotnet.microsoft.com/download).

The data downloader and converter script can be developed in different ways: Python script, C# or Python jupyter notebook or even a bash script.
The data downloader and converter script can be developed in different ways: Python script, Python jupyter notebook or even a bash script.
- The python script should be compatible with python 3.6.8
- C# notebook will run using [dotnet interactive](https://github.com/dotnet/interactive)
- Bash script will run on Ubuntu Bionic

Specifically, the enviroment where these scripts will be run is [quantconnect/research](https://hub.docker.com/repository/docker/quantconnect/research) based on [quantconnect/lean:foundation](https://hub.docker.com/repository/docker/quantconnect/lean).
Expand Down Expand Up @@ -89,7 +88,6 @@ Data converter scripts will be in charge of fetching new data and processing it
TODO:

##### Python Notebook
##### CSharp Notebook
##### Python Script
##### Bash Script

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 93fbc01

Please sign in to comment.