SmartQuant Discussion
http://www.smartquant.com/forums/

Trading Session Related Information in C#
http://www.smartquant.com/forums/viewtopic.php?f=44&t=10583
Page 1 of 1

Author:  Wajeeha [ Wed Sep 11, 2013 9:54 am ]
Post subject:  Trading Session Related Information in C#

Hello Support,

I am working on the conversion of a strategy from MultiCharts to OpenQuant. There are certain properties/functions that i have not been able to find in OpenQuant. Following are the functionalities that i need:

1. Session Count: The number of sessions for the trading week.
2. Session Start Day: A value indicating the day of the week that the specified session starts.
3. Session Start Time: A value indicating the time of the day that the specified session starts.
4. Session End Day: A value indicating the day of the week that the specified session ends.
5. Session End Time: A value indicating the time of the day that the specified session ends.

Is there any way to find these values in OpenQuant? If so, please advise how?

Thanks

Author:  Evgeny E [ Wed Sep 11, 2013 11:10 am ]
Post subject:  Re: Trading Session Related Information in C#

Hi Wajeeha.

Unfortunately OpenQuant doesn't have session functionality.
You can set sessions in strategy and check when session starts and when session end using OnBar and OnTrade handlers.

Regards,
Evgeny.

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/