undefined

Cancelling Streaming Data

Once an active market data request is no longer needed, it can be cancelled via the IBApi.EClient.cancelMktData method. The one argument to cancelMktData is the ticker ID which was specified in original market data request. Cancelling a subscription allows the user to make a subscription to a different contract and remain within the level 1 market data lines allowance.

** Python **

self.cancelMktData(1000)
self.cancelMktData(1001)

** Java **

client.cancelMktData(1001);
client.cancelMktData(1002);
client.cancelMktData(1003);
client.cancelMktData(1014);
client.cancelMktData(1015);
client.cancelMktData(1016);