softwarespartan / IB4m

Interactive Brokers API for Matlab
GNU General Public License v2.0
61 stars 21 forks source link

1012 Jar-file #149

Open Despair2000 opened 2 years ago

Despair2000 commented 2 years ago

I'm wondering is anybody using successfully the "new" 1012 jar-file Abel posted 3 months ago? I'm still using the old one since I can't establish a connection with the new one.

bondtrade commented 1 year ago

Same here. Cannot connect using the new jar file:

-1 502 Couldn't connect to TWS. Confirm that "Enable ActiveX and Socket Clients" is enabled and connection port is the same as "Socket Port" on the TWS "Edit->Global Configuration...->API->Settings" menu. Live Trading ports: TWS: 7496; IB Gateway: 4001. Simulated Trading ports for new installations of version 954.1 or newer: TWS: 7497; IB Gateway: 4002

And when downloading historical data with the old one:

2174 Warning: You submitted request with date-time attributes without explicit time zone. Please switch to use yyyymmdd-hh:mm:ss in UTC or use instrument time zone, like US/Eastern. Implied time zone functionality will be removed in the next API release

...and:

10285 Your API version does not support fractional size rules. Please upgrade to a minimum version 163.

@softwarespartan I'm becoming concerned that we're an TWS/API release away from the old file not offering previous functionality, and being unable to connect with the new file.

MATLAB 2021b TWS 10.19.1i