c0fdf361d845fd79556e2f5b840bc84cf703febc,QUANTAXIS/QAMarket/QAMarket.py,QA_Market,_sync_position,#QA_Market#,408

Before Change


                        event_type=ACCOUNT_EVENT.SETTLE)))

    def _sync_position(self):
        self.submit(
            QA_Task(
                worker=self.order_handler,
                engine="ORDER",
                event=QA_Event(
                    event_type=MARKET_EVENT.QUERY_POSITION,
                    account_cookie=list(self.session.keys()),
                    broker=[self.broker[item.broker]
                            for item in self.session.values()]
                )
            ), nowait=True
        )

    def _sync_deals(self):
        self.submit(
            QA_Task(

After Change


                        event_type=ACCOUNT_EVENT.SETTLE))

    def _sync_position(self):
        self.order_handler.run(QA_Event(
            event_type=MARKET_EVENT.QUERY_POSITION,
            account_cookie=list(self.session.keys()),
            broker=[self.broker[item.broker]
                    for item in self.session.values()]
        ))

    def _sync_deals(self):

        self.order_handler.run(QA_Event(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: _sync_position


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: settle_order


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: _sync_orders


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: insert_order


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: next_tradeday


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c0fdf361d845fd79556e2f5b840bc84cf703febc
Time: 2019-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAMarket.py
Class Name: QA_Market
Method Name: _sync_deals