diff --git a/QuantConnect.BybitBrokerage.ToolBox/BybitBrokerageDownloader.cs b/QuantConnect.BybitBrokerage.ToolBox/BybitBrokerageDownloader.cs index 54c4c54..5d47c6e 100644 --- a/QuantConnect.BybitBrokerage.ToolBox/BybitBrokerageDownloader.cs +++ b/QuantConnect.BybitBrokerage.ToolBox/BybitBrokerageDownloader.cs @@ -34,6 +34,9 @@ public class BybitBrokerageDownloader : IDataDownloader private readonly string _market; private readonly SymbolPropertiesDatabaseSymbolMapper _symbolMapper; + public BybitBrokerageDownloader() : this(Market.Bybit) + { } + public BybitBrokerageDownloader(string market = Market.Bybit) { _market = market; @@ -125,7 +128,7 @@ public static void DownloadHistory(List tickers, string resolution, stri //Load settings from config.json var dataDirectory = Config.Get("data-folder", Globals.DataFolder); - var downloader = CreateDownloader(securityTypeEnum,market); + var downloader = CreateDownloader(securityTypeEnum, market); foreach (var ticker in tickers) {