Lean  $LEAN_TAG$
QuantConnect.Data.BaseDataRequest Class Reference

Abstract sharing logic for data requests More...

Inheritance diagram for QuantConnect.Data.BaseDataRequest:
[legend]

Public Attributes

DateTime StartTimeLocal => _localStartTime.Value
 Gets the StartTimeUtc in the security's exchange time zone More...
 
DateTime EndTimeLocal => _localEndTime.Value
 Gets the EndTimeUtc in the security's exchange time zone More...
 

Protected Member Functions

 BaseDataRequest (DateTime startTimeUtc, DateTime endTimeUtc, SecurityExchangeHours exchangeHours, TickType tickType)
 Initializes the base data request More...
 

Properties

DateTime StartTimeUtc [get, protected set]
 Gets the beginning of the requested time interval in UTC More...
 
DateTime EndTimeUtc [get, protected set]
 Gets the end of the requested time interval in UTC More...
 
SecurityExchangeHours ExchangeHours [get]
 Gets the exchange hours used for processing fill forward requests More...
 
abstract IEnumerable< DateTime > TradableDaysInDataTimeZone [get]
 Gets the tradable days specified by this request, in the security's data time zone More...
 

Detailed Description

Abstract sharing logic for data requests

Definition at line 25 of file BaseDataRequest.cs.

Constructor & Destructor Documentation

◆ BaseDataRequest()

QuantConnect.Data.BaseDataRequest.BaseDataRequest ( DateTime  startTimeUtc,
DateTime  endTimeUtc,
SecurityExchangeHours  exchangeHours,
TickType  tickType 
)
protected

Initializes the base data request

Parameters
startTimeUtcThe start time for this request,
endTimeUtcThe start time for this request
exchangeHoursThe exchange hours for this request
tickTypeThe tick type of this request

Definition at line 67 of file BaseDataRequest.cs.

Here is the call graph for this function:

Member Data Documentation

◆ StartTimeLocal

DateTime QuantConnect.Data.BaseDataRequest.StartTimeLocal => _localStartTime.Value

Gets the StartTimeUtc in the security's exchange time zone

Definition at line 43 of file BaseDataRequest.cs.

◆ EndTimeLocal

DateTime QuantConnect.Data.BaseDataRequest.EndTimeLocal => _localEndTime.Value

Gets the EndTimeUtc in the security's exchange time zone

Definition at line 48 of file BaseDataRequest.cs.

Property Documentation

◆ StartTimeUtc

DateTime QuantConnect.Data.BaseDataRequest.StartTimeUtc
getprotected set

Gets the beginning of the requested time interval in UTC

Definition at line 33 of file BaseDataRequest.cs.

◆ EndTimeUtc

DateTime QuantConnect.Data.BaseDataRequest.EndTimeUtc
getprotected set

Gets the end of the requested time interval in UTC

Definition at line 38 of file BaseDataRequest.cs.

◆ ExchangeHours

SecurityExchangeHours QuantConnect.Data.BaseDataRequest.ExchangeHours
get

Gets the exchange hours used for processing fill forward requests

Definition at line 53 of file BaseDataRequest.cs.

◆ TradableDaysInDataTimeZone

abstract IEnumerable<DateTime> QuantConnect.Data.BaseDataRequest.TradableDaysInDataTimeZone
get

Gets the tradable days specified by this request, in the security's data time zone

Definition at line 58 of file BaseDataRequest.cs.


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