Interface OrderCustomFieldsFactory

  • All Known Implementing Classes:

    public interface OrderCustomFieldsFactory
    Creates record fields to be published to the blotter or notifications. The fields are additional fields that are not already contained in the standard set of fields send to the blotter.
    • Method Detail

      • createRecordFields

        java.util.Map<java.lang.String,​java.lang.String> createRecordFields​(com.caplin.ret.trapi.fx.FXOrder fxOrder)
        Create fields from FXOrder record.
        fxOrder - - FXOrder - provides method getCOrder to get the underlying COrder object received from Refinitiv.
        a map of record fields
      • initialise

        void initialise​(OrderExtensionContext context)
        This method will be called when the OrderCustomFieldsFactory is created. If you need any data from the context you can override this method and get it.
        context - provides additional data