| Package | Description |
|---|---|
| cloud.metaapi.sdk.clients.meta_api | |
| cloud.metaapi.sdk.meta_api |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<MetatraderTick>> |
HistoricalMarketDataClient.getHistoricalTicks(String accountId,
String symbol,
cloud.metaapi.sdk.clients.models.IsoTime startTime,
Integer offset,
Integer limit)
Returns historical ticks for a specific symbol from a MetaTrader account.
|
CompletableFuture<MetatraderTick> |
MetaApiWebsocketClient.getTick(String accountId,
String symbol)
Retrieves latest tick for a symbol (see
https://metaapi.cloud/docs/client/websocket/api/retrieveMarketData/readTick/).
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
SynchronizationListener.onTicksUpdated(String instanceIndex,
List<MetatraderTick> ticks,
Double equity,
Double margin,
Double freeMargin,
Double marginLevel,
Double accountCurrencyExchangeRate)
Invoked when symbol ticks were updated
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<MetatraderTick>> |
MetatraderAccount.getHistoricalTicks(String symbol)
Returns historical ticks for a specific symbol from the MetaTrader account.
|
CompletableFuture<List<MetatraderTick>> |
MetatraderAccount.getHistoricalTicks(String symbol,
cloud.metaapi.sdk.clients.models.IsoTime startTime)
Returns historical ticks for a specific symbol from the MetaTrader account.
|
CompletableFuture<List<MetatraderTick>> |
MetatraderAccount.getHistoricalTicks(String symbol,
cloud.metaapi.sdk.clients.models.IsoTime startTime,
Integer offset,
Integer limit)
Returns historical ticks for a specific symbol from the MetaTrader account.
|
CompletableFuture<MetatraderTick> |
MetaApiConnection.getTick(String symbol)
Retrieves latest tick for a symbol (see
https://metaapi.cloud/docs/client/websocket/api/retrieveMarketData/readTick/).
|
Copyright © 2023. All rights reserved.