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,

Respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2015b

Preguntada:

fq
el 22 de Mayo de 2019

Comentada:

el 7 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by