BotVS开发基础—2.4 获取订单、取消订单、获取未完成订单

代码 RetryDelay = 1500; def CancelPendingOrders(exch, orderType): # 取消所有未完成的挂单, 参数1 交易所 参数2 类型 global RetryDelay orders = _C(exch.GetOrders); #取订单确保成功 for order in orders: if o
相关文章
相关标签/搜索