Skip to content

MarketSessionChangedEventArgs

Summary

The arguments for MarketSessionsChanged event.

Signature

1
public class MarketSessionChangedEventArgs

Namespace

cAlgo.API

Properties

Name Description
NewSessions { get; } All current sessions including any new sessions that have just begun.The value of NewSessions is always equal to the value of the MarketSessions property of a cBot / indicator.Returns MarketSession.None if no new sessions started when the MarketSessionsChanged event was triggered.
PreviousSessions { get; } Returns the previous value of the MarketSessions property before the MarketSessionsChanged event was triggered.Returns MarketSession.None if no previous sessions ended when the event was triggered.

See Also


Last update: January 30, 2023