Historical data via interactive brokers

2 Ansichten (letzte 30 Tage)
Mate 2u
Mate 2u am 27 Jul. 2011
Dear all,
I try to follow the tutorial on http://www.tradingwithmatlab.com/video-tutorials
however it all works till I run grabhistoricaldata.m and then I get the following message
"Historical Market Data Service error message:Starting time must occur before ending time"
could anybody help me as I would really like to get historical data.
Best,
M

Antworten (1)

Damian
Damian am 28 Jul. 2011
If you have a demo account with ib, you can't request much data (e.g., not far back). if you try, you get this error.
  1 Kommentar
Mate 2u
Mate 2u am 28 Jul. 2011
I just found out today. For the same code with a real account rather than demo can you get more data?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by