SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Aug 15, 2018 3:51 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jan 21, 2011 2:22 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 220
If I am using 2 types of stops: (a fixed stop and a trailing stop)

If the fixed stop gets triggered first do I explicitly (and how?) need to cancel the trailing stop, or is this done automatically?

Akhil


Top
 Profile  
 
PostPosted: Fri Jan 21, 2011 3:33 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6808
Hi,

do you mean a built-in OQ trailing stop (not IB trailing stop order) ?

Regards,
Anton


Top
 Profile  
 
PostPosted: Sun Jan 23, 2011 12:42 pm 
Offline

Joined: Wed Aug 08, 2007 6:32 pm
Posts: 220
I mean the built in OQ trailing stop.

Akhil


Top
 Profile  
 
PostPosted: Sun Jan 23, 2011 2:05 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6808
Hi,

It's not done automatically since Stop is not an order, i.e. it can not be a part of OCA group. You can use Stop.Cancel(); to cancel a stop.

Regards,
Anton


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group