Lean  $LEAN_TAG$
QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseJson Class Reference

Defines the json structure of the market-hours-database.json file More...

Public Member Functions

 MarketHoursDatabaseJson (MarketHoursDatabase database)
 Initializes a new instance of the MarketHoursDatabaseJson class More...
 
MarketHoursDatabase Convert ()
 Converts this json representation to the MarketHoursDatabase type More...
 

Properties

Dictionary< string, MarketHoursDatabaseEntryJsonEntries [get, set]
 The entries in the market hours database, keyed by SecurityDatabaseKey More...
 

Detailed Description

Defines the json structure of the market-hours-database.json file

Definition at line 71 of file MarketHoursDatabaseJsonConverter.cs.

Constructor & Destructor Documentation

◆ MarketHoursDatabaseJson()

QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseJson.MarketHoursDatabaseJson ( MarketHoursDatabase  database)

Initializes a new instance of the MarketHoursDatabaseJson class

Parameters
databaseThe database instance to copy

Definition at line 83 of file MarketHoursDatabaseJsonConverter.cs.

Member Function Documentation

◆ Convert()

MarketHoursDatabase QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseJson.Convert ( )

Converts this json representation to the MarketHoursDatabase type

Returns
A new instance of the MarketHoursDatabase class

Definition at line 99 of file MarketHoursDatabaseJsonConverter.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ Entries

Dictionary<string, MarketHoursDatabaseEntryJson> QuantConnect.Util.MarketHoursDatabaseJsonConverter.MarketHoursDatabaseJson.Entries
getset

The entries in the market hours database, keyed by SecurityDatabaseKey

Definition at line 77 of file MarketHoursDatabaseJsonConverter.cs.


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