18206533b01be17b4e4219f1000cca1802e12785,QUANTAXIS/QABacktest/QABacktest.py,QA_Backtest,load_strategy,#Any#Any#,496
Before Change
__backtest_cls.account.order_queue = __backtest_cls.__sell_from_order_queue(
__backtest_cls)
elif __backtest_cls.backtest_type in ["min", "m"]:
func(*arg, **kwargs) // 发委托单
// 队列循环批量发单
After Change
__backtest_cls.account.order_queue = __backtest_cls.__sell_from_order_queue(
__backtest_cls)
elif __backtest_cls.backtest_type in ["1min", "5min", "15min"]:
daily_min = QA_util_make_min_index(__backtest_cls.today)
// print(daily_min)
for min_index in daily_min:
__backtest_cls.now = min_index
QA_util_log_info(
"=================Min hold list====================")
QA_util_log_info("in the begining of %s" %str(min_index))
QA_util_log_info(
tabulate(__backtest_cls.account.message["body"]["account"]["hold"]))
func(*arg, **kwargs) // 发委托单
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 18206533b01be17b4e4219f1000cca1802e12785
Time: 2017-08-31
Author: yutiansut@qq.com
File Name: QUANTAXIS/QABacktest/QABacktest.py
Class Name: QA_Backtest
Method Name: load_strategy
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 36bfedac0fbbccdb1144611d2abac35ca860d563
Time: 2017-04-05
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/deal.py
Class Name: market
Method Name: market_make_deal
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: f91cb069e523677dab8159503afe1c61997b1bc3
Time: 2017-09-04
Author: yutiansut@qq.com
File Name: QUANTAXIS/QABacktest/QABacktest.py
Class Name: QA_Backtest
Method Name: __wrap_bid