884ad96713eed66fbc3ded7953723e4b492f5fa5,QUANTAXIS/QAMarket/QAMarket.py,QA_Market,insert_order,#QA_Market#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,105

Before Change


            // if price > self.last_query_data[0][2] or price < self.last_query_data[0][3]:
            flag = True
        if flag:
            order = self.session[account_id].send_order(
                amount=amount, amount_model=amount_model, time=time, code=code, price=price,
                order_model=order_model, towards=towards, market_type=market_type, data_type=data_type)
            self.event_queue.put(QA_Task(job=self.order_handler, event=QA_Event(

After Change


                order_model=order_model, towards=towards, market_type=market_type, data_type=data_type)
            self.event_queue.put(
                QA_Task(
                    job=self.broker[self.get_account(account_id).broker], 
                    engine=self.get_account(account_id).broker,
                    event=QA_Event(
                        event_type=BROKER_EVENT.RECEIVE_ORDER, 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 884ad96713eed66fbc3ded7953723e4b492f5fa5
Time: 2017-12-30
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: insert_order


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 99447c31e1ab5354021606d3a45e7f1877969dc5
Time: 2018-01-02
Author: yutiansut@qq.com
File Name: QUANTAXIS/QABacktest/QABacktest.py
Class Name: QA_Backtest
Method Name: run


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 459ebf7a397c3ea1a21b6e63aff2aa0dca1651b7
Time: 2017-12-27
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: query_asset