MarketData¶
Summary¶
Provide access to charts data (bars and ticks) and to the Depth of Market data.
Signature
1 |
|
Namespace¶
cAlgo.API.Internals
Examples¶
1 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
Methods¶
GetBars (2)¶
GetBars (1 of 2)
Summary
Gets the bars for the specific timeframe.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
timeFrame | TimeFrame | The bars time frame |
Return Value
Bars
GetBars (2 of 2)
Summary
Gets the chart bars for the specific timeframe for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
timeFrame | TimeFrame | The bars time frame |
symbolName | string | The bars symbol name |
Return Value
Bars
GetBarsAsync (2)¶
GetBarsAsync (1 of 2)
Summary
The asynchronous method to get the bars for the specific timeframe for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
timeFrame | TimeFrame | The bars time frame |
callback | Action | The callback that will be called after getting the bars |
Return Value
void
GetBarsAsync (2 of 2)
Summary
The asynchronous method to get the specific bars for the specific timeframe for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
timeFrame | TimeFrame | The bars time frame |
symbolName | string | The bars symbol name |
callback | Action | The callback that will be called after getting the bars |
Return Value
void
GetTicks (2)¶
GetTicks (1 of 2)
Summary
Gets the Tick data.
Signature
1 |
|
Return Value
Ticks
GetTicks (2 of 2)
Summary
Gets the Tick data for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | The ticks symbol name |
Return Value
Ticks
GetTicksAsync (2)¶
GetTicksAsync (1 of 2)
Summary
The asynchronous method to get tick data.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
callback | Action | The callback that will be called after getting the ticks |
Return Value
void
GetTicksAsync (2 of 2)
Summary
The asynchronous method to get tick data for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | The ticks symbol name |
callback | Action | The callback that will be called after getting the ticks |
Return Value
void
GetMarketDepth (2)¶
GetMarketDepth (1 of 2)
Summary
Gets the Depth of Market for the specific symbol.
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | The symbol name e.g. "EURUSD" |
Return Value
MarketDepth
Examples
1 |
|
GetMarketDepth (2 of 2)
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbol | Symbol |
Return Value
MarketDepth
GetSeries (3)¶
GetSeries (1 of 3)
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
timeFrame | TimeFrame |
Return Value
MarketSeries
GetSeries (2 of 3)
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolName | string | |
timeFrame | TimeFrame |
Return Value
MarketSeries
GetSeries (3 of 3)
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbol | Symbol | |
timeFrame | TimeFrame |
Return Value
MarketSeries
GetSymbol¶
Signature
1 |
|
Parameters
Name | Type | Description |
---|---|---|
symbolCode | string |
Return Value
Symbol