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
-
Method Summary
Modifier and TypeMethodDescriptioncom.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) Returns theAccount
for a given RET client.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) Returns theAccount
for 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:FxTradingAccountManager
Returns the
Account
for a given RET client.Use this method to determine which account
Account
should be returned.- Specified by:
getAccount
in 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:FxTradingAccountManager
Returns the
Account
for a given RET client.Use this method to determine which account
Account
should be returned.- Specified by:
getAccount
in interfaceFxTradingAccountManager
- Throws:
Exception
-