UnsubscribeTicker

Category: User Permissions: Operator, Trading, Level1MarketData Call Type: Synchronous

Unsubscribes the user from a Ticker Market Data Fee.

Request

{
    "OMSId": 1,
    "InstrumentId": 1
}
KeyValue

OMSId

integer. The ID of the Order Management System on which the user has subscribed to a ticker market data feed.

InstrumentId

long integer. The ID of the instrument being tracked by the ticker market data feed.

Response

{
    "result": true,
    "errormsg": null,
    "errorcode":0,
    "detail": null
}
KeyValue

result

Boolean. A successful receipt of the unsubscribe request returns true; and unsuccessful receipt (an error condition) returns false.

errormsg

string. A successful receipt of the unsubscribe request returns null; the errormsg parameter for an unsuccessful request returns one of the following messages: Not Authorized (errorcode 20) Invalid Request (errorcode 100) Operation Failed (errorcode 101) Server Error (errorcode 102) Resource Not Found (errorcode 104)

errorcode

integer. A successful receipt of the unsubscribe request returns 0. An unsuccessful receipt returns one of the errorcodes shown in the errormsg list.

detail

string. Message text that the system may send. Usually null.

Last updated

Logo