8b8400882e2e89e0efbd19ee7d1f3cc9a56ff351,QUANTAXIS/QAFetch/QAhuobi.py,,QA_fetch_huobi_kline_subscription,#Any#Any#Any#Any#Any#,245
Before Change
"A unexpected \"Future\" timestamp got, Please check self.missing_data_list_func param \"tzlocalize\" set"
)
data = []
requested_counter = 1
sub_client = QA_Fetch_Huobi(
callback_save_data_func=callback_save_data_func,
find_missing_kline_func=QA_util_find_missing_kline
)
while (reqParams["to"] > start_time):
if (reqParams["to"] > QA_util_datetime_to_Unix_timestamp()):
// 出现“未来”时间,一般是默认时区设置错误造成的
raise Exception(
"A unexpected \"Future\" timestamp got, Please check self.missing_data_list_func param \"tzlocalize\" set"
)
retries = 1
while (retries != 0):
try:
frame = sub_client.run_request_historical_kline(
After Change
if ((reqParams["from"] > QA_util_datetime_to_Unix_timestamp())) or \
((reqParams["from"] > reqParams["to"])):
// 出现“未来”时间,一般是默认时区设置,或者时间窗口滚动前移错误造成的
raise Exception(
"A unexpected \"Future\" timestamp got, Please check self.missing_data_list_func param \"tzlocalize\" set. More info: {:s}@{:s} at {:s} but current time is {}"
.format(
symbol,
frequency,
QA_util_print_timestamp(reqParams["to"]),
QA_util_print_timestamp(
QA_util_datetime_to_Unix_timestamp()
)
)
)
retries = 1
while (retries != 0):
try:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 8b8400882e2e89e0efbd19ee7d1f3cc9a56ff351
Time: 2020-02-28
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAhuobi.py
Class Name:
Method Name: QA_fetch_huobi_kline_subscription
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 76932732e9883bf25f6cef1a0bd40fe0c8e20a6e
Time: 2019-10-10
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_benchmarks/cloud_bigtable_ycsb_benchmark.py
Class Name:
Method Name: _GetCpuUtilizationSample
Project Name: elfi-dev/elfi
Commit Name: b19e3080dba989e2e7e08c74877f8396790f83d2
Time: 2016-12-05
Author: jarno.lintusaari@aalto.fi
File Name: elfi/graph.py
Class Name: Node
Method Name: remove_parent