Get Delayed Data with Interactive Brokers API

Hello,
I have Matlab R2015b running with the latest IB TWS API. The API seems to be working. As I only have a trial account at the moment, I would like to retrieve delayed data with the API. However, the standard function 'getdata' seems not to be working. Specifically, when I call
d = getdata(ib,ibContract)
d = Requested market data is not subscribed.Delayed market data is available.Error&BEST/STK/Top&BEST/STK/Top
How do I set it up, so that I can access delayed data instead?
Thank you,

Réponses (0)

Catégories

Produits

Version

R2015b

Question posée :

fq
le 22 Mai 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by