1d23b992191fde5403c1927efd339516fbee1a8c,QUANTAXIS/QAFetch/QABitfinex.py,,QA_fetch_bitfinex_kline,#Any#Any#Any#Any#Any#,228
Before 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["from"]),
QA_util_print_timestamp(
QA_util_datetime_to_Unix_timestamp()
)
)
)
klines = QA_fetch_okex_kline_with_auto_retry(
symbol,
reqParams["from"],
After Change
if ((reqParams["from"] > QA_util_datetime_to_Unix_timestamp())) or \
((reqParams["from"] > reqParams["to"])):
// 出现“未来”时间,一般是默认时区设置,或者时间窗口滚动前移错误造成的
QA_util_log_info(
"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["from"]),
QA_util_print_timestamp(
QA_util_datetime_to_Unix_timestamp()
)
)
)
// 跳到下一个时间段
reqParams["to"] = int(reqParams["from"] - 1)
reqParams["from"] = int(reqParams["from"] - FREQUENCY_SHIFTING[frequency])
continue
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 3
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QABitfinex.py
Class Name:
Method Name: QA_fetch_bitfinex_kline
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QASU/save_okex.py
Class Name:
Method Name: QA_SU_save_okex_min
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAOKEx.py
Class Name:
Method Name: QA_fetch_okex_kline
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QASU/save_bitfinex.py
Class Name:
Method Name: QA_SU_save_bitfinex_min
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QABitmex.py
Class Name:
Method Name: QA_fetch_bitmex_kline
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAhuobi.py
Class Name:
Method Name: QA_fetch_huobi_kline_subscription
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAOKEx.py
Class Name:
Method Name: QA_fetch_okex_kline_min
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QABitfinex.py
Class Name:
Method Name: QA_fetch_bitfinex_kline_min
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1d23b992191fde5403c1927efd339516fbee1a8c
Time: 2020-03-24
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QABitmex.py
Class Name:
Method Name: QA_fetch_bitmex_kline_min