QABid.py 文件源码

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

项目:quant 作者: yutiansut 项目源码 文件源码
def __init__(self):
        self.bid = {
            'price': float(16),
            'date': str('2015-01-05'),
            'time': str(time.mktime(datetime.datetime.now().timetuple())),
            'amount': int(10),
            'towards': int(1),
            'code': str('000001'),
            'user': str('root'),
            'strategy': str('example01'),
            'status': '0x01',
            'bid_model': 'strategy',
            'amount_model': 'amount',
            'order_id': str(random.random())
        }

        # ????  ??/??/??
        self.bid_queue = queue.Queue(maxsize=20)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号