can broker reject orders under certain condition?
I'd like to simulate the scenario in which order will be rejected under certain conditions, such as time etc.
I look through the doc and didn't find anything like subclass or functions. is it possible? thanks in advanced
run-out last edited by
From trade.py line 244 in update() method:
if not size: return # empty update, skip all other calculations
That should do it.