Skip to content

Commit

Permalink
CoinApi Extraction: Removing from Lean.ToolBox (#7777)
Browse files Browse the repository at this point in the history
* feat: remove CoinApi realization from ToolBox

* fix: ComposeDataQueueHandlerInstances
we have removed all IDataQueueHandler from ToolBox
  • Loading branch information
Romazes authored Feb 13, 2024
1 parent 3309467 commit 1dd186a
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 1,834 deletions.
2 changes: 1 addition & 1 deletion Configuration/ToolboxArgumentParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static class ToolboxArgumentParser
new CommandLineOption("date", CommandOptionType.SingleValue, "[REQUIRED for AlgoSeekFuturesConverter, AlgoSeekOptionsConverter, KaikoDataConverter]"
+ "Date for the option bz files: --date=yyyyMMdd"),
new CommandLineOption("source-dir", CommandOptionType.SingleValue, "[REQUIRED for IVolatilityEquityConverter, KaikoDataConverter,"
+ " CoinApiDataConverter, NseMarketDataConverter]"),
+ " NseMarketDataConverter]"),
new CommandLineOption("destination-dir", CommandOptionType.SingleValue, "[REQUIRED for IVolatilityEquityConverter, "
+ "NseMarketDataConverter]"),
new CommandLineOption("source-meta-dir", CommandOptionType.SingleValue, "[REQUIRED for IVolatilityEquityConverter]"),
Expand Down
123 changes: 0 additions & 123 deletions Tests/ToolBox/CoinApiHistoryProviderTests.cs

This file was deleted.

59 changes: 0 additions & 59 deletions Tests/ToolBox/CoinApiSymbolMapperTests.cs

This file was deleted.

7 changes: 1 addition & 6 deletions Tests/ToolBox/ToolBoxTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ public void ComposeDataQueueHandlerInstances()
.Where(p => type.IsAssignableFrom(p) && p.IsClass && !p.IsAbstract)
.ToList();

Assert.NotZero(types.Count);

types.ForEach(t =>
{
Assert.NotNull(t.GetConstructor(Type.EmptyTypes));
});
Assert.Zero(types.Count);
}

[TestCase("--app=ydl --tickers=AAPL --resolution=Daily --from-date=20200820-00:00:00 --to-date=20200830-00:00:00", 1)]
Expand Down
Loading

0 comments on commit 1dd186a

Please sign in to comment.