SmartQuant Discussion
http://www.smartquant.com/forums/

Trail stop order can not be canceled through program
http://www.smartquant.com/forums/viewtopic.php?f=42&t=7693
Page 1 of 1

Author:  gundam [ Mon Oct 19, 2009 8:13 am ]
Post subject:  Trail stop order can not be canceled through program

Hi,

I have a problem to cancel the trail stop order through program after I restarted OQ. A trail order is placed every time when a position opened. The trail stop order gets canceled when the position is closed. However, if I have a position open and have a trail stop order in place, after I restart OQ, the trail stop order could not be closed through program, and I have to cancel the trail stop order through the IB. I have checked the options->Modes->persistent (YES). It seems that the trail stop order ID is not stored to survive OQ restarting.

Can you please help,

Thanks a lot,

Gundam

Author:  Alexei Kurov [ Mon Oct 19, 2009 5:36 pm ]
Post subject: 

Hi,

Persistent flag allows to store portfolio composion(transactions) only.
It is possible that we will improve this feature(store orders too) in the next version of OQ.

Regards,
Alex

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/