bitstar_mm.py 文件源码

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

项目:crypto-arbitrager 作者: artooze 项目源码 文件源码
def new_order_notify(self, kexchange, type, maker_only=True, amount=None, price=None):
        order = super().new_order(kexchange, type, maker_only, amount, price)

        if order:
            # self.notify_msg(order['type'], order['price'])
            t = threading.Thread(target = self.notify_msg, args=(order['type'], order['price'],))
            t.start()
            logging.info("current has %d threads" % (threading.activeCount() - 1))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号