From 70e87151bc37bbd3ca8f89977526e732e10ea5eb Mon Sep 17 00:00:00 2001 From: Kevin Darby Date: Wed, 13 Nov 2019 16:49:17 -0500 Subject: [PATCH] upstream changes for PR --- .../sparkcmd/Cmd/Historical/HistoricalDataDownloader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/sparkcmd/Cmd/Historical/HistoricalDataDownloader.cs b/src/client/sparkcmd/Cmd/Historical/HistoricalDataDownloader.cs index 31df9f72b..a19f58c19 100644 --- a/src/client/sparkcmd/Cmd/Historical/HistoricalDataDownloader.cs +++ b/src/client/sparkcmd/Cmd/Historical/HistoricalDataDownloader.cs @@ -27,7 +27,7 @@ namespace bts.history private string _bucket_name; //http://cme-bts-datamine.s3.us-east-1.amazonaws.com/ public HistoricalDataDownloader(string bucket_name = "cme-bts-datamine") { - _path = bts.utils.BTSNativeMethods.bts_data_path(); + _path = mbts.config.Configuration.get().data_path; _bucket_name = bucket_name; } bool is_in_cache(string key) @@ -118,7 +118,7 @@ namespace bts.history { string date = dt.ToString("yyyyMMdd"); string prefix = $"mbo/mbo/{date}/"; - string p = bts.utils.BTSNativeMethods.bts_data_path() + "/" + prefix; + string p = mbts.config.Configuration.get().data_path + "/" + prefix; return p; } public async Task download(DateTime dt, string symbol, api.SecurityType st)