gateway.py 文件源码

python
阅读 39 收藏 0 点赞 0 评论 0

项目:rqalpha-mod-vnpy 作者: ricequant 项目源码 文件源码
def connect_and_sync_data(self):
        self._connect()
        self.on_log('??????')

        if self._data_update_date != date.today():
            self._qry_instrument()
            self._qry_account()
            self._qry_position()
            self._qry_order()
            self._data_update_date = date.today()
            self._qry_commission()

        self._subscribe_all()
        self.on_log('???????')

        self._env.event_bus.add_listener(EVENT.POST_UNIVERSE_CHANGED, self.on_universe_changed)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号