SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Nov 21, 2018 11:44 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jun 06, 2016 5:30 am 
Offline

Joined: Thu Sep 17, 2015 5:52 am
Posts: 133
Hi SQ,

Would really appreciate if you posted an OQ2014 code example of how to do the following:

Once a position is opened add a Fixed Stop. If the position becomes profitable by X then cancel the Fixed Stop and send a Trailing Stop.

(Note: I tried doing this via getting the PL data from the broker, which I'm now guessing is not the smoothest way of doing this? Either way, would really appreciate the code example so I can understand best practices and all of how to do this sort of thing.)

Thanks


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

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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