TradeSettle

Metadata

  • Message Type: TransactionMessage
  • Message Number: 1060

Inherited fields

NameTypeSize (bytes)Description
MessageTypeInteger (unsigned)2The unique identifier of this message.
ClientIdInteger (unsigned)4The unique identifier of a session with the server, returned in a successful LoginReply message.
RequestIdInteger (unsigned)4Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session.

Fields

NameTypeSize (bytes)Description
IdForeign key to Trade8The Id of the Trade that is being confirmed or partially confirmed.
CancelInteger (unsigned)1Set to True if this is a cancel (rather than confirm) action.
ValueInteger (signed)8The cash value being confirmed.
This amount will move from Unsettled to Actual for a confirm or will be deducted from Unsettled for a cancel.
QuantityInteger (signed)8The securities quantity being confirmed.
This amount will move from Unsettled to Actual for a confirm or will be deducted from Unsettled for a cancel.
TradeCostsInteger (signed)8The internal trade costs amount being confirmed.
This amount will move from Unsettled to PendingWithdrawal and a HoldingTransaction will be generated, unless the TradeCostsVerified field below is True, in which case the amount will move to Actual.
ExternalTaxCostsInteger (signed)8The external tax costs amount being confirmed.
This amount will be added to PendingWithdrawal and a HoldingTransaction will be generated, unless the TradeCostsVerified field below is True, in which case the amount will move to Actual.
ExternalExerciseCostsInteger (signed)8The external exercise costs amount being confirmed.
This amount will be added to PendingWithdrawal and a HoldingTransaction will be generated, unless the TradeCostsVerified field below is True, in which case the amount will move to Actual.
ExternalTradeCostsActionOne of TradeCostsAction1Unsettled, Pending or Verified.
ExternalTransactionIdString20This is the identifier of this transaction in the external system that initiated it.
TradeSettlementTypeOne of TradeSettlementType1Optional field that provides additional information about the reason for the trade settlement message.