SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Wed Dec 13, 2017 6:40 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Nov 06, 2014 5:11 pm 
Offline

Joined: Mon Oct 04, 2010 5:13 pm
Posts: 352
Hi,

I'm sure this was already answered somewhere here but didn't find. Is there a simple way to have 2 or more strategy projects running under the same solution (one OQ) to run on different time frames? I mean one strategy will be called on 1 min bars and another - on 5 mins. Of course it can be done in 5m strategy by filtering out 1min bars but I was wondering if there is a better way.
E


Top
 Profile  
 
PostPosted: Thu Nov 27, 2014 11:23 pm 
Offline

Joined: Mon Oct 04, 2010 5:13 pm
Posts: 352
Solved


Top
 Profile  
 
PostPosted: Mon Dec 01, 2014 11:56 am 
Offline

Joined: Wed Sep 18, 2013 10:50 am
Posts: 67
Location: London
Hi edwardgonen

Can you please post the link to the solution?

Regards
Maddy


Top
 Profile  
 
PostPosted: Mon Dec 01, 2014 12:45 pm 
Offline

Joined: Mon Oct 04, 2010 5:13 pm
Posts: 352
There is no really any special solution. It just works :). The only thing that helps is to use the bar.Size parameter in OnBar, OnBarOpen and the size in OnBarSlice. You need to compare those with your strategy code operational bar size and ignore if they don't match.


Top
 Profile  
 
PostPosted: Mon Dec 01, 2014 1:54 pm 
Offline

Joined: Wed Sep 18, 2013 10:50 am
Posts: 67
Location: London
Ah! got it thanks. :D


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

All times are UTC + 3 hours


Who is online

Users browsing this forum: Google [Bot] and 4 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