Class SubmitTradeEvent

    • Constructor Detail

      • SubmitTradeEvent

        public SubmitTradeEvent​( tradeEvent)
    • Method Detail

      • getFields

        public java.util.Map<java.lang.String,​java.lang.String> getFields()
        Gets the fields of this TradeEvent as a Map
        Specified by:
        getFields in interface Message
        a map of the fields;
      • getQuoteID

        public java.lang.String getQuoteID()
        The unique ID of the quote the client wants to trade on. This is generated by the OMS. For SPOT trades it will be the Quote ID for the SPOT quote, for Forward trades it will be the Quote ID of the forward points quote.
      • getSpotRate

        public java.lang.String getSpotRate()
        This is the spot rate that the client wants to trade on. The value of this field must equal the value of either the SpotBidRate or SpotAskRate field on the rate update that the client is executing. Example value: 1.08575
      • getOneClickActionType

        public java.lang.String getOneClickActionType()
        This field is used to tell the server if and how to apply slippage. The possible values are: FillAtMarket, FillAtMyRate or AllowFillSlippage.
      • getSlippageAmount

        public java.lang.String getSlippageAmount()
        The amount of slippage permitted.
      • getBackingEvent

        public getBackingEvent()
        Get the TradeEvent backing this event
      • isSales

        public boolean isSales()
      • getBaseCurrency

        public java.lang.String getBaseCurrency()
      • getTermCurrency

        public java.lang.String getTermCurrency()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object