QIFIAccount icon indicating copy to clipboard operation
QIFIAccount copied to clipboard

QA_Position.py 中的order_check函数关于SELL_CLOSETODAY的判断那里是否有误?

Open wfh1300 opened this issue 4 years ago • 1 comments

    elif towards == ORDER_DIRECTION.SELL_CLOSETODAY:
        if (self.volume_long_today - self.volume_short_frozen_today) >= amount:

这里是不是应该 if (self.volume_long_today - self.volume_long_frozen_today) >= amount?

wfh1300 avatar May 10 '20 02:05 wfh1300

我去

yutiansut avatar May 18 '20 02:05 yutiansut