repo.py 文件源码

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

项目:ShiPanE-Python-SDK 作者: sinall 项目源码 文件源码
def __call__(self):
        df = ts.get_realtime_quotes(self._symbol)
        order = {
            'action': 'SELL',
            'symbol': self._symbol,
            'type': 'LIMIT',
            'price': float(df['bid'][0]),
            'amountProportion': 'ALL'
        }
        for client_alias in self._client_aliases:
            try:
                client = self._client_aliases[client_alias]
                self._client.execute(client, **order)
            except:
                self._logger.exception('???[%s]?????', client_alias)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号