SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Mon Oct 14, 2024 7:12 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: custom ordertypes
PostPosted: Wed Nov 17, 2010 12:06 pm 
Offline

Joined: Wed Jul 18, 2007 3:39 pm
Posts: 36
Hi,

is it possible to implement custom order types with vq? For example, some firms (mostly fx) support attaching stop and target instructions directly to market and limit orders, which results with the position having an attached stop+limit OCO. Is it possible to map this behaviour into VQ, and is this something a user can implement or would something like this have to be supported by you directly?

Regads,
J


Top
 Profile  
 
 Post subject: Re: custom ordertypes
PostPosted: Wed Nov 17, 2010 1:43 pm 
Offline

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

indeed you can change the entire execution chain of blocks with your own custom blocks and add any type of orders this way. On the other hand I doubt you want to take this path (though why not if you really really need it :wink: ) since it means you would need to rewrite the execution provider, execution simulator and probably other heavy blocks. It can be simple enough with the execution simulator, since you can leave the old one, add your custom block that knows how to fill non-standard orders, and route such orders to your custom simulator. But it's not that easy to add support for a new order type in the existing execution provider without rewriting it.

I think the solution to this problem is to

1) try to do our best to support all (including non-standard) order types if we implement an interface to a broker
2) add a list of custom fields to Command/Execution report classes so that a user can store additional non-standard information needed to implement a non-standard order type.

Regards,
Anton


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

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