IsTradeAllowed()=Ture

 
Do i have to confirm it if it's true or not for all types of actions( i mean when i am modifying and sending pending & market order) or just for the Market order?


Thanks in advance.
 

I would check once at the start of the routine & then not worry about it :)

I also check IsTesting() and IsDemo() at the same place

FWIW

BB

 
R_Jang:
Do i have to confirm it if it's true or not for all types of actions( i mean when i am modifying and sending pending & market order) or just for the Market order?


Thanks in advance.
Did you see article Error 146 ("Trade context busy") and How to Deal with It ?