1. I got ATM strategy and sometimes market moves faster than my order can be sent. So I'm getting pop-up error: Stop long order can't be placed below market.
Is there any way to catch this error within a code?
2. Is it possible to store some data within ATM strategy even if I terminate it? I just wanna store my trades and plot it on chart.
3. How to make ATM strategy do something in the moment when profit target triggered?

Comment