Interface FxTradingAccountManager

  • All Known Implementing Classes:
    ClientAccountManager

    public interface FxTradingAccountManager
    An interface for querying the account for a RET client.
    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • getAccount

        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

        Returns the Account for a given RET client.

        Use this method to determine which account Account should be returned.

        Throws:
        java.lang.Exception
      • getAccount

        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

        Returns the Account for a given RET client.

        Use this method to determine which account Account should be returned.

        Throws:
        java.lang.Exception