API support for Market Sessions
API support for Market Sessions
13 Apr 2022, 16:43
Hi,
I was wondering if the cTrader Automate API has any built-in methods regarding market sessions?
I know the info is available to the system, as you can see here:
I was hoping to call methods regarding session opens.
Thanks.
Replies
waym77
14 Apr 2022, 11:52
RE:
amusleh said:
Hi,
Right now the session data is not available on Automate API, you can code it by using some fixed hours of day for each session.
We might consider adding this data in future version of cTrader Automate.
Thanks, I'll add it manually.
What are the fixed hours according to cTrader?
@waym77
amusleh
15 Apr 2022, 08:36
RE: RE:
waym77 said:
amusleh said:
Hi,
Right now the session data is not available on Automate API, you can code it by using some fixed hours of day for each session.
We might consider adding this data in future version of cTrader Automate.
Thanks, I'll add it manually.
What are the fixed hours according to cTrader?
Hi,
cTrader uses standard market exchange opening/closing times for each session.
@amusleh
amusleh
14 Apr 2022, 10:00
Hi,
Right now the session data is not available on Automate API, you can code it by using some fixed hours of day for each session.
We might consider adding this data in future version of cTrader Automate.
@amusleh