SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sat Dec 15, 2018 10:15 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Feb 22, 2010 7:59 pm 
Offline

Joined: Thu Jun 25, 2009 10:11 pm
Posts: 21
I would like to request a feature be added to OQ to allow the user to specify the daily bar start/stop times. Right now OQ only allows daily bars to begin and end at 12:00 AM as a function of the computer time. If we were able to specify the begin and end time of daily bars then it would allow the time intervals to be adjusted to reflect the default daily bars created by other packages such as IB TWS/Esignal, ect.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 22, 2010 8:37 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6810
Why can't you use Bar with custom time interval for this?

Regards,
Anton


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 23, 2010 12:20 am 
Offline

Joined: Thu Jun 25, 2009 10:11 pm
Posts: 21
Hi Dr. Fokin,

Thanks for the reply. Anytime you set a custom bar to 86400 it defaults to a daily bar and therefore sets the start and stop time to 12:00 am. If I set the custom bar length to 85500 (23.75*60*60) which could be used to exclude the 15 minute down time on forex bars between 5:00-5:15 pm E.S.T. the bar still insists on starting at 12:00am and running to 11:45 pm.

If there is a way around this then please let me know. Possibly I am defining my custom bars inappropriatly? I will send you some correspondence between myself and Sergey so you can be fully aware of my request.


Top
 Profile  
 
PostPosted: Fri Dec 09, 2011 12:24 pm 
Offline

Joined: Fri Sep 09, 2011 12:44 pm
Posts: 34
Hello,

I would be also interested in having Daily bars with custom times. Can u please explain how can I configure them (if it is possible already)?

Thanks


Top
 Profile  
 
PostPosted: Sat Dec 17, 2011 12:56 pm 
Offline

Joined: Fri Sep 09, 2011 12:44 pm
Posts: 34
Could somebody comment on this please? This is quite important for daily data based strategies.
Maybe I should just use onTimer event and create bars completely by myself possibly? Because I still don't know if BarFactory can handle custom times in bars or not...


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 8:28 pm 
Offline

Joined: Fri Sep 09, 2011 12:44 pm
Posts: 34
One dirty hack may be shifting the local machine timezone. It seems that OQ BarFactory uses local time to build bars, so for instance if I set timezone to something like GMT+3, daily bars would close on real NYSE/NASDAQ market close 8) But this is a big "perhaps", I did not test this yet...


Top
 Profile  
 
PostPosted: Wed Dec 21, 2011 8:41 pm 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6810
Yes, the BarFactory uses local time to construct bars.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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