Class ExecutionFactory
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.submission.rfs.ExecutionFactory
-
Constructor Summary
ConstructorDescriptionExecutionFactory
(CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade, RFSTradeProperties> customFieldValuesFactory, CustomFieldValuesSerialiser customFieldValuesSerialiser, FxTradingAccountManager accountManager, UnitConverter unitConverter, AuditLoggerManager.AuditLogger logger) -
Method Summary
Modifier and TypeMethodDescriptioncom.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 Details
-
ExecutionFactory
public ExecutionFactory(CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade, RFSTradeProperties> customFieldValuesFactory, CustomFieldValuesSerialiser customFieldValuesSerialiser, FxTradingAccountManager accountManager, UnitConverter unitConverter, AuditLoggerManager.AuditLogger logger)
-
-
Method Details
-
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 Exception Creates a market order which can be used to submit the user's execution.- Throws:
Exception
-