Skip to content
Advertisement

Tag: interactive-brokers

Get SPY share price

I have created a demo account, and I am trying to receive delayed quotes with the following code, but it failed so far. As I am working with a demo account, I have to work with delayed data, so that’s why I added self.tws.reqMarketDataType(3) (see that link). My problem is that dl.field4price return an empty list for the SPY symbol

Advertisement