1222380fa57be704844502726c2b51bbed37a859,test_backtest/strategy_qsdd.py,,,#,54

Before Change


                    order_model=QA.ORDER_MODEL.MARKET, 
                    amount_model=QA.AMOUNT_MODEL.BY_AMOUNT
                    )
                Account.receive_deal(Broker.receive_order(QA.QA_Event(order=order,market_data=item)))
    Account.settle()

print(Account.history)
print(Account.history_table)

After Change


                trade_mes = Broker.query_orders(
                    Account.account_cookie, "filled")
                res = trade_mes.loc[order.account_cookie, order.realorder_id]
                order.trade(res.trade_id, res.trade_price,
                            res.trade_amount, res.trade_time)
    Account.settle()

print(Account.history)
print(Account.history_table)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1222380fa57be704844502726c2b51bbed37a859
Time: 2018-08-18
Author: yutiansut@qq.com
File Name: test_backtest/strategy_qsdd.py
Class Name:
Method Name:


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: e9be7536840b75f867d60b342b8b6b9040175b15
Time: 2018-08-17
Author: yutiansut@qq.com
File Name: test_backtest/MACD_JCSC.py
Class Name:
Method Name:


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1222380fa57be704844502726c2b51bbed37a859
Time: 2018-08-18
Author: yutiansut@qq.com
File Name: test_backtest/simplebacktest.py
Class Name:
Method Name: simple_backtest


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: be5150ac06856f31bbbc934e1f7d56cc1476c623
Time: 2018-08-18
Author: yutiansut@qq.com
File Name: QUANTAXIS_Test/QABacktest_Test/QABacktestSimple_Test.py
Class Name: QABacktestSimple_Test
Method Name: test_simpleQABacktest