Unsubscribe (Single)

View as MarkdownOpen in Claude

Cancel market data for given conid.

1POST /iserver/marketdata/unsubscribe

Response Object

success: bool.
Returns a confirmation status of your unsubscribe request. A true response indicates that the market data feed has been successfully cancelled.

{
"success": true
}

Eror Response Object

A status 500 response will be sent when attempting to unsubscribe from a market data feed that is not currently open.

error: String.
Returns an error response with message unknown indicating that the user does not have an existing data feed for the given conid.

{
"error": "unknown"
}