Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Can't get snapshots from API
Hi, When I use the TWS software, currently I have no market data subscriptions but I can still click the snapshot button to get a snapshot for a stock. However, it doesn't work using the API. I've tried the calling reqMktData with the following options: What is the problem? Thanks. |
On Sat, Aug 7, 2021 at 06:13 AM, rotces wrote:
When I use the TWS software, currently I have no market data subscriptions but I can still click the snapshot button to get a snapshot for a stock. However, it doesn't work using the API.I contacted IB in the past when I had the same experience. They confirmed that this is "expected behavior". Even without a subscription can you see data for a stock in TWS. But you can't get the same data via the API. You need the appropriate market data subscription for the API to work. |
You might want to consult the documentation for that. For example:
toggle quoted message
Show quoted text
On Sun, Aug 8, 2021 at 12:47 PM, rotces wrote:
So what is the purpose of "snapshot" and "regulatorySnapshot" flags if you need a market data subscription anyway? If you can get real-time data, aren't these flags redundant? |
Did you get any further with this topic?
I have the same problem... why can I draw a snapshot inside TWS, but not from an API call?! For the same asset. Not matter how I set my flags. Is it possible to have a fee-based live/realtime snapshot for a contract I don't have the belonging subscription for, from reqMktData-call , or not? In other words: Is the "pay 0.01/0.03$ for single snapshot if you have no subscription"-option only available by manual mouse click or does it also work form API, if the latter, HOW? |
to navigate to use esc to dismiss