DailyBarsProvider
Properties
Name | Type | Description |
---|---|---|
count | number | The actual number of daily bars in the stack |
stackSize | number | Capacity of historical data stack. The maximum number of daily bars available to the strategy via lookback |
today |
| Today's bar. If an intraday or ticks subscription exists, this property is updated automatically during the day from intraday bars or from trades |
yesterday |
| Previous trading day bar |
Methods
atDate() | ||||||
---|---|---|---|---|---|---|
Gets the historical bar on the given date. | ||||||
Presentation
| ||||||
Parameters
Returns |
daysAgo() | ||||||
---|---|---|---|---|---|---|
The number of days back to retrieve data. Zero means the current day. | ||||||
Presentation
| ||||||
Parameters
Returns |
monthsAgo() | ||||||
---|---|---|---|---|---|---|
The number of months back to retrieve data. Zero means the current month. | ||||||
Presentation
| ||||||
Parameters
Returns |
quartersAgo() | ||||||
---|---|---|---|---|---|---|
The number of quarters back to retrieve data. Zero means the current quarter. | ||||||
Presentation
| ||||||
Parameters
Returns |
weeksAgo() | ||||||
---|---|---|---|---|---|---|
The number of weeks back to retrieve data. Zero means the current week. | ||||||
Presentation
| ||||||
Parameters
Returns |