Class ClientAccountManager
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.extension.accountmanager.ClientAccountManager
- All Implemented Interfaces:
FxTradingAccountManager
An
FxTradingAccountManager implementation which always returns the provided account.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.caplin.motif.fx.trading.AccountgetAccount(com.caplin.motif.UserTrade trade, com.caplin.motif.fx.trading.Account accountFromClient, String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) Returns theAccountfor a given RET client.com.caplin.motif.fx.trading.AccountgetAccount(com.caplin.motif.UserTrade trade, String legId, com.caplin.motif.fx.trading.Account accountFromClient, String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) Returns theAccountfor a given RET client.
-
Constructor Details
-
ClientAccountManager
public ClientAccountManager()
-
-
Method Details
-
getAccount
public com.caplin.motif.fx.trading.Account getAccount(com.caplin.motif.UserTrade trade, com.caplin.motif.fx.trading.Account accountFromClient, String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) throws Exception Description copied from interface:FxTradingAccountManagerReturns the
Accountfor a given RET client.Use this method to determine which account
Accountshould be returned.- Specified by:
getAccountin interfaceFxTradingAccountManager- Throws:
Exception
-
getAccount
public com.caplin.motif.fx.trading.Account getAccount(com.caplin.motif.UserTrade trade, String legId, com.caplin.motif.fx.trading.Account accountFromClient, String retClientName, com.caplin.ret.trapi.fx.execution.AccountService accountService) throws Exception Description copied from interface:FxTradingAccountManagerReturns the
Accountfor a given RET client.Use this method to determine which account
Accountshould be returned.- Specified by:
getAccountin interfaceFxTradingAccountManager- Throws:
Exception
-