Lean  $LEAN_TAG$
QuantConnect.Packets.MarketHours Class Reference

Market open hours model for pre, normal and post market hour definitions. More...

Public Member Functions

 MarketHours (DateTime referenceDate, double defaultStart, double defaultEnd)
 Market hours initializer given an hours since midnight measure for the market hours today More...
 

Properties

DateTime Start [get, set]
 Start time for this market hour category More...
 
DateTime End [get, set]
 End time for this market hour category More...
 

Detailed Description

Market open hours model for pre, normal and post market hour definitions.

Definition at line 67 of file MarketTodayPacket.cs.

Constructor & Destructor Documentation

◆ MarketHours()

QuantConnect.Packets.MarketHours.MarketHours ( DateTime  referenceDate,
double  defaultStart,
double  defaultEnd 
)

Market hours initializer given an hours since midnight measure for the market hours today

Parameters
referenceDateReference date used for as base date from the specified hour offsets
defaultStartTime in hours since midnight to start this open period.
defaultEndTime in hours since midnight to end this open period.

Definition at line 87 of file MarketTodayPacket.cs.

Property Documentation

◆ Start

DateTime QuantConnect.Packets.MarketHours.Start
getset

Start time for this market hour category

Definition at line 73 of file MarketTodayPacket.cs.

◆ End

DateTime QuantConnect.Packets.MarketHours.End
getset

End time for this market hour category

Definition at line 79 of file MarketTodayPacket.cs.


The documentation for this class was generated from the following file: