You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think reqHistoricalTicks is not yet implemented in IB4m.
To quote @softwarespartan :
"Note that nonzero numberOfTicks is not currently supported in IB4m. That is, historicalTicksLast, historicalTicksBidAsk, or historicalTicks callbacks have not been implemented."
Hi all!
Unfortunately I have problems requesting historical ticks (historical bar data is okay).
buf is always empty.
javaaddpath(fullfile(pwd,'Jar','TWS973.jar'))
session = TWS.Session.getInstance();
[buf,lh] = TWS.initBufferForEvent(TWS.Events.HISTORICALDATA);
session.eClientSocket.eConnect('127.0.0.1',7496,0);
contract = com.tws.ContractFactory.GenericStockContract('LGVN');
contract.secType("STK");
session.eClientSocket.reqHistoricalTicks(1000001,contract,'20211118 15:31:00',[],100,'MIDPOINT',1,true,[]); pause(1);
buf
What am I doing wrong? Please help :(
Thanks for all you're doing!
Daniel
The text was updated successfully, but these errors were encountered: