public class ClientAccountManager extends java.lang.Object implements FxTradingAccountManager
FxTradingAccountManager
implementation which always returns the provided account.Constructor and Description |
---|
ClientAccountManager() |
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.fx.trading.Account |
getAccount(com.caplin.motif.fx.trading.FXTrade trade,
com.caplin.motif.fx.trading.Account accountFromClient,
java.lang.String retClientName,
com.caplin.ret.trapi.fx.execution.AccountService accountService)
Always returns
accountFromClient . |
com.caplin.motif.fx.trading.Account |
getAccount(com.caplin.motif.fx.trading.FXTrade trade,
java.lang.String legId,
com.caplin.motif.fx.trading.Account accountFromClient,
java.lang.String retClientName,
com.caplin.ret.trapi.fx.execution.AccountService accountService)
Returns the
Account for a given RET client. |
public com.caplin.motif.fx.trading.Account getAccount(com.caplin.motif.fx.trading.FXTrade trade, com.caplin.motif.fx.trading.Account accountFromClient, java.lang.String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) throws java.lang.Exception
accountFromClient
.getAccount
in interface FxTradingAccountManager
java.lang.Exception
public com.caplin.motif.fx.trading.Account getAccount(com.caplin.motif.fx.trading.FXTrade trade, java.lang.String legId, com.caplin.motif.fx.trading.Account accountFromClient, java.lang.String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) throws java.lang.Exception
FxTradingAccountManager
Returns the Account
for a given RET client.
Use this method to determine which account Account
should be returned.
getAccount
in interface FxTradingAccountManager
java.lang.Exception
Copyright © 2016 Caplin Systems.