API support for Market Sessions

Created at 13 Apr 2022, 16:43
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
WA

waym77

Joined 22.07.2021

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.


@waym77
Replies

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

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