| Package | Description |
|---|---|
| cloud.metaapi.sdk.clients.meta_api | |
| cloud.metaapi.sdk.meta_api |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MetatraderBook> |
MetaApiWebsocketClient.getBook(String accountId,
String symbol)
Retrieves latest order book for a symbol (see
https://metaapi.cloud/docs/client/websocket/api/retrieveMarketData/readBook/).
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
SynchronizationListener.onBooksUpdated(String instanceIndex,
List<MetatraderBook> books,
Double equity,
Double margin,
Double freeMargin,
Double marginLevel,
Double accountCurrencyExchangeRate)
Invoked when order books were updated
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MetatraderBook> |
MetaApiConnection.getBook(String symbol)
Retrieves latest order book for a symbol (see
https://metaapi.cloud/docs/client/websocket/api/retrieveMarketData/readBook/).
|
Copyright © 2021. All rights reserved.