Comments (2)
Hi @tomw1808, could you post your code please so that I can take a look for you? Could you also confirm if you are using IBApiNext or IBApi? I would assume IBApiNext
from ib.
Sorry for late response. Yes, .unsubscribe() should do it.
Have you called getMarketData multiple times? Asking because IBApiNext will only create one market data subscription on TWS per contract, even if getMarketData / .subscribe is called multiple times. It will stay subscribed until all have unsubscribed.
You can debug this by adding breakpoints here
ib/src/core/api-next/subscription.ts
Line 116 in 035f75a
ib/src/core/api-next/subscription.ts
Line 125 in 035f75a
from ib.
Related Issues (20)
- How To Subscribe To Delayed Market Data? HOT 3
- connect issue HOT 12
- Forex class use incorrect SekType (FOP but should be CASH) HOT 1
- Searching securities HOT 3
- EventName.info missing id HOT 4
- How to get User Account Summary with specific IB Account Number ? HOT 1
- Historical data end does not exist? HOT 2
- Error requesting market data for options contract - When the local symbol field is empty, please fill the following fields (right, strike, expiry) HOT 1
- Error: Decoding error on undefined: unprocessed data left on queue HOT 3
- TypeError: path.resolve is not a function HOT 1
- Two active subscriptions for the same Event
- Re-connect after TWS restart not working properly HOT 5
- Update the documentation HOT 4
- Decoding error on COMPLETED_ORDER HOT 1
- Unprocessed Data HOT 14
- demo app
- Comission value from paper trading parsed incorrect HOT 3
- Security type for crypto has some white space. HOT 1
- Bug when using cancelPositionsMulti HOT 4
- Properly disconnecting from IB Gateway
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ib.