Class ClientAccountManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.caplin.motif.fx.trading.Account getAccount​(com.caplin.motif.UserTrade trade, 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.
      com.caplin.motif.fx.trading.Account getAccount​(com.caplin.motif.UserTrade 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientAccountManager

        public ClientAccountManager()
    • Method Detail

      • getAccount

        public com.caplin.motif.fx.trading.Account getAccount​(com.caplin.motif.UserTrade trade,
                                                              com.caplin.motif.fx.trading.Account accountFromClient,
                                                              java.lang.String retClientName,
                                                              com.caplin.ret.trapi.fx.execution.AccountService accountService)
                                                       throws java.lang.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 interface FxTradingAccountManager
        Throws:
        java.lang.Exception
      • getAccount

        public com.caplin.motif.fx.trading.Account getAccount​(com.caplin.motif.UserTrade 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
        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 interface FxTradingAccountManager
        Throws:
        java.lang.Exception