public class RFSFieldValuesFactory extends java.lang.Object implements CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
CustomFieldValuesFactory.Context
Constructor and Description |
---|
RFSFieldValuesFactory() |
Modifier and Type | Method and Description |
---|---|
CustomFieldValues |
createCustomFieldValues(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade,
RFSTradeProperties tradeProperties)
Creates
CustomFieldValues for spot and swap trades. |
void |
initialise(CustomFieldValuesFactory.Context context) |
public void initialise(CustomFieldValuesFactory.Context context)
initialise
in interface CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
public CustomFieldValues createCustomFieldValues(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, RFSTradeProperties tradeProperties)
CustomFieldValues
for spot and swap trades. For swap trades, the L2_AMOUNT
(ie. the far amount) field is set in addition to the L1_AMOUNT (ie. the near amount).createCustomFieldValues
in interface CustomFieldValuesFactory<com.caplin.generated.motif.fx.trading.rfs.RFSTrade,RFSTradeProperties>
Copyright © 2019 Caplin Systems.