Class ExecutionFactory
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.submission.rfs.ExecutionFactory
-
public class ExecutionFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionFactory(CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties> customFieldValuesFactory, CustomFieldValuesSerialiser customFieldValuesSerialiser, FxTradingAccountManager accountManager, UnitConverter unitConverter, AuditLoggerManager.AuditLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.caplin.ret.trapi.fx.execution.MarketOrder
createMarketOrder(com.caplin.ret.trapi.fx.execution.MarketOrderListener marketOrderListener, com.caplin.ret.trapi.fx.execution.TradingService tradingService, com.caplin.ret.trapi.fx.execution.AccountService accountService, ExecutionSubmissionDetail tradeDetails, TradeTypeHandler tradeHandler)
Creates a market order which can be used to submit the user's execution.
-
-
-
Constructor Detail
-
ExecutionFactory
public ExecutionFactory(CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties> customFieldValuesFactory, CustomFieldValuesSerialiser customFieldValuesSerialiser, FxTradingAccountManager accountManager, UnitConverter unitConverter, AuditLoggerManager.AuditLogger logger)
-
-
Method Detail
-
createMarketOrder
public com.caplin.ret.trapi.fx.execution.MarketOrder createMarketOrder(com.caplin.ret.trapi.fx.execution.MarketOrderListener marketOrderListener, com.caplin.ret.trapi.fx.execution.TradingService tradingService, com.caplin.ret.trapi.fx.execution.AccountService accountService, ExecutionSubmissionDetail tradeDetails, TradeTypeHandler tradeHandler) throws java.lang.Exception
Creates a market order which can be used to submit the user's execution.- Throws:
java.lang.Exception
-
-