Historical data via interactive brokers

2 views (last 30 days)
Mate 2u
Mate 2u on 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

Answers (1)

Damian
Damian on 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 Comment
Mate 2u
Mate 2u on 28 Jul 2011
I just found out today. For the same code with a real account rather than demo can you get more data?

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!