You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
account中的settle是代表一天过去了,是否应吧当日未成交的订单都清空,即增加命令
order_next=self.orders.to_df()[self.orders.to_df()['_status']==QA.ORDER_STATUS.NEXT]
if len(order_next)>0:
#有未成交的订单
for i in order_next['order_id']:
order=self.account.orders()[i]
order.trade_amount=0 #输入交易量为0
order.cancel() #改变订单状态 (没别的作用)
self.account.cancel_order(order) #账户撤单,改变可用余额
感谢您的反馈 如有意见和建议,请在此说明:
您的联系方式(QQ/EMAIL)
THANKS
by yutiansut
2017.12
The text was updated successfully, but these errors were encountered:
问题反馈
当您安装/使用QUANTAXIS的时候如果遇到任何问题, 您可以在这里提出,我们会在24小时内给您答复
您使用的QUANTAXIS版本号是什么?
您的系统信息(包括系统版本,系统架构(32/64),内存大小等等)
您的系统环境是什么?
您需要反馈的问题
感谢您的反馈 如有意见和建议,请在此说明:
您的联系方式(QQ/EMAIL)
THANKS
by yutiansut
2017.12
The text was updated successfully, but these errors were encountered: