Lean
$LEAN_TAG$
|
Defines the json structure of a single entry in the market-hours-database.json file More...
Public Member Functions | |
MarketHoursDatabaseEntryJson (MarketHoursDatabase.Entry entry) | |
Initializes a new instance of the MarketHoursDatabaseEntryJson class More... | |
MarketHoursDatabase.Entry | Convert (MarketHoursDatabase.Entry underlyingEntry, MarketHoursDatabase.Entry marketEntry) |
Converts this json representation to the MarketHoursDatabase.Entry type More... | |
Properties | |
string | DataTimeZone [get, set] |
The data's raw time zone More... | |
string | ExchangeTimeZone [get, set] |
The exchange's time zone id from the tzdb More... | |
List< MarketHoursSegment > | Sunday [get, set] |
Sunday market hours segments More... | |
List< MarketHoursSegment > | Monday [get, set] |
Monday market hours segments More... | |
List< MarketHoursSegment > | Tuesday [get, set] |
Tuesday market hours segments More... | |
List< MarketHoursSegment > | Wednesday [get, set] |
Wednesday market hours segments More... | |
List< MarketHoursSegment > | Thursday [get, set] |
Thursday market hours segments More... | |
List< MarketHoursSegment > | Friday [get, set] |
Friday market hours segments More... | |
List< MarketHoursSegment > | Saturday [get, set] |
Saturday market hours segments More... | |
List< string > | Holidays = new() [get, set] |
Holiday date strings More... | |
Dictionary< string, TimeSpan > | EarlyCloses = new Dictionary<string [get, set] |
Early closes by date More... | |
Dictionary< string, TimeSpan > | LateOpens = new Dictionary<string, TimeSpan>() [get, set] |
Late opens by date More... | |
Defines the json structure of a single entry in the market-hours-database.json file
Definition at line 166 of file MarketHoursDatabaseJsonConverter.cs.
QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseEntryJson.MarketHoursDatabaseEntryJson | ( | MarketHoursDatabase.Entry | entry | ) |
Initializes a new instance of the MarketHoursDatabaseEntryJson class
entry | The entry instance to copy |
Definition at line 244 of file MarketHoursDatabaseJsonConverter.cs.
MarketHoursDatabase.Entry QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseEntryJson.Convert | ( | MarketHoursDatabase.Entry | underlyingEntry, |
MarketHoursDatabase.Entry | marketEntry | ||
) |
Converts this json representation to the MarketHoursDatabase.Entry type
Definition at line 273 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
The data's raw time zone
Definition at line 172 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
The exchange's time zone id from the tzdb
Definition at line 178 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Sunday market hours segments
Definition at line 184 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Monday market hours segments
Definition at line 190 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Tuesday market hours segments
Definition at line 196 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Wednesday market hours segments
Definition at line 202 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Thursday market hours segments
Definition at line 208 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Friday market hours segments
Definition at line 214 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Saturday market hours segments
Definition at line 220 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Holiday date strings
Definition at line 226 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Early closes by date
Definition at line 232 of file MarketHoursDatabaseJsonConverter.cs.
|
getset |
Late opens by date
Definition at line 238 of file MarketHoursDatabaseJsonConverter.cs.