Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 19:03:21 +0000



Post From: J29 = True, though "Confirm cancellation window" pops up in simulation mode

[2016-12-24 03:06:57]
User884396 - Posts: 26
Hi there, im having trouble with some attached orders in backtesting(ACSIL) that are not getting filled so since i do not execute any trade if there is an open order after that i cannot backtest. I thought that this problem would be solved if i deactivate the option new bar at session start but it doesn't solve it. So im saving the target value and the stop value, so if the price is grater than the target for example i use this: sc.FlattenAndCancelAllOrders(); but the window pops up requesting me to confirm cancellation of all orders and i want that to be automatic.