Interface OrderCustomFieldsFactory

  • All Known Implementing Classes:
    DefaultOrderCustomFieldsFactory

    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.
        Parameters:
        fxOrder - - FXOrder - provides method getCOrder to get the underlying COrder object received from Refinitiv.
        Returns:
        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.
        Parameters:
        context - provides additional data