| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getProvidedStrategiesTransactions(IsoTime from,
IsoTime till)
Returns list of transactions on the strategies the current user provides to other users.
|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getProvidedStrategiesTransactions(IsoTime from,
IsoTime till,
List<String> strategyIds,
List<String> subscriberIds)
Returns list of transactions on the strategies the current user provides to other users.
|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getProvidedStrategiesTransactions(IsoTime from,
IsoTime till,
List<String> strategyIds,
List<String> subscriberIds,
Integer offset,
Integer limit)
Returns list of transactions on the strategies the current user provides to other users
https://trading-api-v1.agiliumtrade.agiliumtrade.ai/swagger/#!
|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getStrategiesSubscribedTransactions(IsoTime from,
IsoTime till)
Returns list of trades on the strategies the current user subscribed to
https://trading-api-v1.agiliumtrade.agiliumtrade.ai/swagger/#!
|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getStrategiesSubscribedTransactions(IsoTime from,
IsoTime till,
List<String> strategyIds,
List<String> providerIds)
Returns list of trades on the strategies the current user subscribed to
https://trading-api-v1.agiliumtrade.agiliumtrade.ai/swagger/#!
|
CompletableFuture<List<CopyFactoryTransaction>> |
HistoryClient.getStrategiesSubscribedTransactions(IsoTime from,
IsoTime till,
List<String> strategyIds,
List<String> providerIds,
Integer offset,
Integer limit)
Returns list of trades on the strategies the current user subscribed to
https://trading-api-v1.agiliumtrade.agiliumtrade.ai/swagger/#!
|
CompletableFuture<List<CopyFactoryUserLogRecord>> |
TradingClient.getUserLog(String accountId,
IsoTime startTime,
IsoTime endTime)
Returns copy trading user log for an account and time range.
|
CompletableFuture<List<CopyFactoryUserLogRecord>> |
TradingClient.getUserLog(String accountId,
IsoTime startTime,
IsoTime endTime,
Integer offset,
Integer limit)
Returns copy trading user log for an account and time range.
|
| Modifier and Type | Field and Description |
|---|---|
IsoTime |
ResynchronizationTask.createdAt
The time task was created at
|
IsoTime |
CopyFactoryStrategyRiskLimit.startTime
Optional time to start risk tracking from, or {code null}.
|
IsoTime |
CopyFactoryStrategyStopOutRisk.startTime
The time to start risk calculation from, or
null. |
IsoTime |
CopyFactoryStrategyStopout.stoppedAt
Time the strategy was stopped at
|
IsoTime |
CopyFactoryStrategyStopout.stoppedTill
Time the strategy is stopped till
|
IsoTime |
CopyFactoryUserLogRecord.time
Log record time
|
IsoTime |
CopyFactoryTransaction.time
Transaction time
|
| Modifier and Type | Field and Description |
|---|---|
IsoTime |
TooManyRequestsException.TooManyRequestsExceptionMetadata.recommendedRetryTime
Recommended date to retry request
|
| Modifier and Type | Field and Description |
|---|---|
IsoTime |
LatencyListener.ResponseTimestamps.clientProcessingFinished
Time when request processing have finished on client side
|
IsoTime |
LatencyListener.SymbolPriceTimestamps.clientProcessingFinished
Time the event processing have finished on client side
|
IsoTime |
LatencyListener.UpdateTimestamps.clientProcessingFinished
Time the event processing have finished on client side
|
IsoTime |
LatencyListener.TradeTimestamps.clientProcessingFinished
Time when event processing have finished on client side
|
IsoTime |
LatencyListener.ResponseTimestamps.clientProcessingStarted
Time when request processing have started on client side
|
IsoTime |
LatencyListener.TradeTimestamps.clientProcessingStarted
Time when request processing have started on client side
|
IsoTime |
LatencyListener.SymbolPriceTimestamps.eventGenerated
Time the event was generated on exchange side
|
IsoTime |
LatencyListener.UpdateTimestamps.eventGenerated
Time the event was generated on exchange side
|
IsoTime |
PacketOrderer.Packet.receivedAt
Time of receiving the packet
|
IsoTime |
LatencyListener.ResponseTimestamps.serverProcessingFinished
Time when request processing have finished on server side
|
IsoTime |
LatencyListener.SymbolPriceTimestamps.serverProcessingFinished
Time the event processing have finished on server side
|
IsoTime |
LatencyListener.UpdateTimestamps.serverProcessingFinished
Time the event processing have finished on server side
|
IsoTime |
LatencyListener.TradeTimestamps.serverProcessingFinished
Time when event processing have finished on server side
|
IsoTime |
LatencyListener.ResponseTimestamps.serverProcessingStarted
Time when request processing have started on server side
|
IsoTime |
LatencyListener.SymbolPriceTimestamps.serverProcessingStarted
Time the event processing have started on server side
|
IsoTime |
LatencyListener.UpdateTimestamps.serverProcessingStarted
Time the event processing have started on server side
|
IsoTime |
LatencyListener.TradeTimestamps.serverProcessingStarted
Time when event processing have started on server side
|
IsoTime |
LatencyListener.TradeTimestamps.tradeExecuted
Time the trade was executed on exchange side
|
IsoTime |
LatencyListener.TradeTimestamps.tradeStarted
Time the trade execution was started on server side
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MetatraderDeals> |
MetaApiWebsocketClient.getDealsByTimeRange(String accountId,
IsoTime startTime,
IsoTime endTime,
int offset,
int limit)
Returns history deals with for a specific time range (see
https://metaapi.cloud/docs/client/websocket/api/retrieveHistoricalData/readDealsByTimeRange/).
|
CompletableFuture<MetatraderHistoryOrders> |
MetaApiWebsocketClient.getHistoryOrdersByTimeRange(String accountId,
IsoTime startTime,
IsoTime endTime,
int offset,
int limit)
Returns the history of completed orders for a specific time range (see
https://metaapi.cloud/docs/client/websocket/api/retrieveHistoricalData/readHistoryOrdersByTimeRange/).
|
void |
MetaApiWebsocketClient.onOutOfOrderPacket(String accountId,
int instanceIndex,
long expectedSequenceNumber,
long actualSequenceNumber,
com.fasterxml.jackson.databind.JsonNode packet,
IsoTime receivedAt)
Restarts the account synchronization process on an out of order packet
|
void |
OutOfOrderListener.onOutOfOrderPacket(String accountId,
int instanceIndex,
long expectedSequenceNumber,
long actualSequenceNumber,
com.fasterxml.jackson.databind.JsonNode packet,
IsoTime receivedAt)
Method to receive out of order packet events
|
CompletableFuture<Void> |
MetaApiWebsocketClient.synchronize(String accountId,
int instanceIndex,
String synchronizationId,
IsoTime startingHistoryOrderTime,
IsoTime startingDealTime)
Requests the terminal to start synchronization process
(see https://metaapi.cloud/docs/client/websocket/synchronizing/synchronize/).
|
| Modifier and Type | Field and Description |
|---|---|
IsoTime |
MetatraderOrder.doneTime
Time order was executed or canceled at or
null. |
IsoTime |
MetatraderOrder.expirationTime
Optional order expiration time or
null |
IsoTime |
MetatraderSymbolSpecification.expirationTime
Date of the symbol trade end (usually used for futures)
|
IsoTime |
MetatraderSymbolSpecification.startTime
Date of the symbol trade beginning (usually used for futures)
|
IsoTime |
MetatraderOrder.time
Time order was created at
|
IsoTime |
MetatraderPosition.time
Time position was opened at
|
IsoTime |
ExpirationOptions.time
Optional pending order expiration time or
null. |
IsoTime |
MetatraderDeal.time
Time the deal was conducted at
|
IsoTime |
MetatraderSymbolPrice.time
Quote time, in ISO format
|
IsoTime |
MetatraderPosition.updateTime
Last position modification time
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<IsoTime> |
HistoryStorage.getLastDealTime()
Returns the time of the last history deal record stored in the history storage
|
CompletableFuture<IsoTime> |
MemoryHistoryStorage.getLastDealTime(Integer instanceIndex) |
abstract CompletableFuture<IsoTime> |
HistoryStorage.getLastDealTime(Integer instanceIndex)
Returns the time of the last history deal record stored in the history storage
|
CompletableFuture<IsoTime> |
HistoryStorage.getLastHistoryOrderTime()
Returns the time of the last history order record stored in the history storage
|
CompletableFuture<IsoTime> |
MemoryHistoryStorage.getLastHistoryOrderTime(Integer instanceIndex) |
abstract CompletableFuture<IsoTime> |
HistoryStorage.getLastHistoryOrderTime(Integer instanceIndex)
Returns the time of the last history order record stored in the history storage
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<MetaApiConnection> |
MetatraderAccount.connect(HistoryStorage historyStorage,
IsoTime historyStartTime)
Connects to MetaApi.
|
CompletableFuture<MetaApiConnection> |
ConnectionRegistry.connect(MetatraderAccount account,
HistoryStorage historyStorage,
IsoTime historyStartTime)
Creates and returns a new account connection if doesnt exist, otherwise returns old
|
CompletableFuture<MetatraderDeals> |
MetaApiConnection.getDealsByTimeRange(IsoTime startTime,
IsoTime endTime,
int offset,
int limit)
Returns history deals with for a specific time range (see
https://metaapi.cloud/docs/client/websocket/api/retrieveHistoricalData/readDealsByTimeRange/).
|
CompletableFuture<MetatraderHistoryOrders> |
MetaApiConnection.getHistoryOrdersByTimeRange(IsoTime startTime,
IsoTime endTime,
int offset,
int limit)
Returns the history of completed orders for a specific time range (see
https://metaapi.cloud/docs/client/websocket/api/retrieveHistoricalData/readHistoryOrdersByTimeRange/)
|
| Constructor and Description |
|---|
MetaApiConnection(MetaApiWebsocketClient websocketClient,
MetatraderAccount account,
HistoryStorage historyStorage,
ConnectionRegistry connectionRegistry,
IsoTime historyStartTime)
Constructs MetaApi MetaTrader Api connection
|
| Modifier and Type | Method and Description |
|---|---|
MetaApiConnection |
ServiceProvider.MetaApiConnectionProvider.create(MetaApiWebsocketClient websocketClient,
MetatraderAccount account,
HistoryStorage historyStorage,
ConnectionRegistry connectionRegistry,
IsoTime historyStartTime)
Creates MetaApiConnection mock
|
static MetaApiConnection |
ServiceProvider.createMetaApiConnection(MetaApiWebsocketClient websocketClient,
MetatraderAccount account,
HistoryStorage historyStorage,
ConnectionRegistry connectionRegistry,
IsoTime historyStartTime)
Constructs metaapi connection with its corresponding constructor or returns a mock if it is set.
|
Copyright © 2021. All rights reserved.