Ticks
Summary
Represents the Ticks interface - the collection of Tick objects.
Signature
1 | |
Namespace
cAlgo.API
Examples
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 35 36 37 38 39 40 41 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
Methods
Last
Summary
Gets the last tick in the chart.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| index | int |
Return Value
Tick
LoadMoreHistory
Summary
Loads more historical ticks. Method returns the number of loaded ticks that were added to the beginning of the collection.
Signature
1 | |
Return Value
int
LoadMoreHistoryAsync (2)
LoadMoreHistoryAsync (1 of 2)
Summary
Loads more historical ticks asynchronously.
Signature
1 | |
Return Value
void
LoadMoreHistoryAsync (2 of 2)
Summary
Loads more historical ticks asynchronously.
Signature
1 | |
Parameters
| Name | Type | Description |
|---|---|---|
| callback | Action | The callback that will be called after loading more history |
Return Value
void
GetServerFirstTime
Summary
Returns the first available server tick time.
Signature
1 | |
Return Value
DateTime
Properties
Item
Signature
1 | |
Return Value
Tick
LastTick
Summary
Gets the last tick in the chart.
Signature
1 | |
Return Value
Tick
Count
Summary
Gets the number of objects.
Signature
1 | |
Return Value
int
SymbolName
Summary
Gets the symbol name.
Signature
1 | |
Return Value
string
Events
HistoryLoaded
Summary
Occurs when more history is loaded due to chart scroll to the left or due to API call.
Signature
1 | |
Reloaded
Summary
Occurs when ticks are refreshed due to reconnect.
Signature
1 | |
Tick
Summary
Occurs when a new tick appears.
Signature
1 | |