Interface LegDetailsServerFieldSet


  • public interface LegDetailsServerFieldSet
    • Method Detail

      • addField

        void addField​(String fieldName,
                      Object value)
        Adds a field to this event
        Parameters:
        fieldName - The name of the field to add.
        value - The value of the field to add. If the value is a BigDecimal then it will be converted to a String using BigDecimal.toPlainString()
      • setOrderID

        default void setOrderID​(Object value)
        The order id, should only be sent on and an Edit Order
        Parameters:
        value - The value to be set passed by i18n
      • setAmount

        default void setAmount​(Object value)
        The amount to trade in the dealt currency.
        Parameters:
        value - The value to be set passed by i18n
      • setMonitorSide

        default void setMonitorSide​(Object value)
        The side of the market this leg should monitor. e.g. BID or ASK.
        Parameters:
        value - The value to be set passed by i18n
      • setDealtCurrency

        default void setDealtCurrency​(Object value)
        The currency to define the amount in.
        Parameters:
        value - The value to be set passed by i18n
      • setBuySell

        default void setBuySell​(Object value)
        The direction of this leg from the clients perspective. e.g. BUY or SELL.
        Parameters:
        value - The value to be set passed by i18n
      • setExecutionType

        default void setExecutionType​(Object value)
        How this leg should be executed. e.g. CALL-ORDER, TAKE-PROFIT, STOP-LOSS or MARKET.
        Parameters:
        value - The value to be set passed by i18n
      • setBenchmarkType

        default void setBenchmarkType​(Object value)
        If this leg is a benchmark order, what type of benchmark is it.
        Parameters:
        value - The value to be set passed by i18n
      • setLimitPrice

        default void setLimitPrice​(Object value)
        The price at which this leg should fill.
        Parameters:
        value - The value to be set passed by i18n
      • setMargin

        default void setMargin​(Object value)
        The sales margin to be applied to the limit price in order to find the tracking rate.
        Parameters:
        value - The value to be set passed by i18n
      • setRemarks

        default void setRemarks​(Object value)
        The clients or trader's comments on an order leg - visible to both the Client and the Trader.
        Parameters:
        value - The value to be set passed by i18n
      • setTraderRemarks

        default void setTraderRemarks​(Object value)
        The trader's comments on an order leg - visible to only the Trader
        Parameters:
        value - The value to be set passed by i18n
      • setChildLegId

        default void setChildLegId​(Object value)
        If this leg has a child, what is the ID of it, e.g. 2
        Parameters:
        value - The value to be set passed by i18n
      • setChildRelationship

        default void setChildRelationship​(Object value)
        If this leg has a child, what is the relationship, e.g. IF-DONE or IF-TIMEOUT
        Parameters:
        value - The value to be set passed by i18n
      • setPartnerLegId

        default void setPartnerLegId​(Object value)
        If this leg has a partner, what is the ID of it, e.g. 2
        Parameters:
        value - The value to be set passed by i18n
      • setPartnerRelationship

        default void setPartnerRelationship​(Object value)
        If this leg has a partner, what is the relationship, e.g. OCO
        Parameters:
        value - The value to be set passed by i18n
      • setLoopLegId

        default void setLoopLegId​(Object value)
        The leg to loop back to upon completion, e.g. 1
        Parameters:
        value - The value to be set passed by i18n
      • setFillRate

        @Deprecated
        default void setFillRate​(Object value)
        Deprecated.
        The limit price for the order. This has been deprecated and you should prefer the LimitPrice field.
        Parameters:
        value - The value to be set passed by i18n
      • setDiscretion

        default void setDiscretion​(Object value)
        Number of points the trader has discretion to fill the order
        Parameters:
        value - The value to be set passed by i18n
      • setOrderTenor

        default void setOrderTenor​(Object value)
        For Forward and NDF orders only. Either a tenor or settlement date should be provided, but not both. The order tenor is a rolling tenor calculated from today.
        Parameters:
        value - The value to be set passed by i18n
      • setOrderSettlementDate

        default void setOrderSettlementDate​(Object value)
        For Forward and NDF orders only. Either a tenor or settlement Date should be provided, but not both. A settlement date In ISO-8601 format, i.e. YYYY-MM-DD for which the order will settle.
        Parameters:
        value - The value to be set passed by i18n