Class DefaultLBNCustomFieldsFactory
java.lang.Object
com.caplin.motif.fx.ret.lbn.extension.blotter.DefaultLBNCustomFieldsFactory
- All Implemented Interfaces:
LBNCustomFieldsFactory
A
LBNCustomFieldsFactory
that creates record fields to be published to the blotter.
The fields are additional fields that are not already contained in the standard set of fields send to the blotter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRecordFields
(com.caplin.ret.trapi.lbn.DealRecord dealRecord, com.caplin.motif.fx.ret.lbn.internal.DealRecordType type, com.caplin.ret.trapi.admin.rates.RatePrecision ratePrecision) Create fields from CDealRecord record.
-
Constructor Details
-
DefaultLBNCustomFieldsFactory
public DefaultLBNCustomFieldsFactory()
-
-
Method Details
-
createRecordFields
@Nonnull public Map<String,String> createRecordFields(@Nonnull com.caplin.ret.trapi.lbn.DealRecord dealRecord, @Nonnull com.caplin.motif.fx.ret.lbn.internal.DealRecordType type, @Nullable com.caplin.ret.trapi.admin.rates.RatePrecision ratePrecision) Create fields from CDealRecord record.- Specified by:
createRecordFields
in interfaceLBNCustomFieldsFactory
- Parameters:
dealRecord
- - DealRecord - provides method getCDealRecord to get CDealRecord object received from Refinitiv.type
- - DealRecordType - the type of deal e.g insert, update or withdrawnratePrecision
- - RatePrecision - provides precision information. Only available if near deal leg has spot decimal places.- Returns:
- a map of record fields
-