upstream changes for PR
This commit is contained in:
1 parent
d1299f8a78
commit
70e87151bc
1 file changed
+2
-2
@@ -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<bts.config.System>().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<bts.config.System>().data_path + "/" + prefix;
|
||||
return p;
|
||||
}
|
||||
public async Task<Stream> download(DateTime dt, string symbol, api.SecurityType st)
|
||||
|
||||
Reference in new issue
Block a user