GetBars Method (2)
GetBars (1 of 2)
Summary
Gets the bars for the specific timeframe.
Signature
| public abstract Bars GetBars(TimeFrame timeFrame)
|
Parameters
Name | Type | Description |
timeFrame | TimeFrame | The bars time frame |
Return Value
Bars
Declaring Type
cAlgo.API.Internals.MarketData
Examples
GetBars (2 of 2)
Summary
Gets the chart bars for the specific timeframe for the specific symbol.
Signature
| public abstract Bars GetBars(TimeFrame timeFrame, string symbolName)
|
Parameters
Name | Type | Description |
timeFrame | TimeFrame | The bars time frame |
symbolName | string | The bars symbol name |
Return Value
Bars
Declaring Type
cAlgo.API.Internals.MarketData
Examples
Last update: February 3, 2023