Info

This question is closed. Reopen it to edit or answer.

When running this code, I sometimes get a non-numeric message, not the data that I am expecting. i.e., d = 'HMDS data farm connection is OK:ilhmds' How do I get consistent data? Thanks!

2 views (last 30 days)
ibContract = ib.Handle.createContract;
ibContract.symbol='ES';
ibContract.secType='FUT';
ibContract.expiry='201612';
ibContract.exchange='GLOBEX';
ibContract.currency='USD';
startdate = floor(now)-4;
enddate = now;
ticktype = '';
tradehours = true;
barsize = '15 mins';
d = timeseries(ib,ibContract,startdate,enddate,barsize)

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!