Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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)
0 comentarios
Respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!