IB Demo Via Gateway Cause Zorro to Freeze

Posted By: Tez

IB Demo Via Gateway Cause Zorro to Freeze - 07/24/21 11:20

Hi Everyone,

Can anyone help with this pls? Zorro 2.35 Free version can not login into IB Demo as it freezes indefinitely each time.

IB Gateway is working properly as confirmed by GET validation check on port 4002:

Successful tests from: 07/24 20:35:41 to 07/24 21:13:27

200 OK
{ "USER_ID": 47478545, "USER_NAME": "tezlai661", "RESULT": true, "AUTH_TIME": 1627122797652, "SF_ENABLED": false, "IS_FREE_TRIAL": false, "IP": "115.129.141.150", "EXPIRES": 127492, "QUALIFIED_FOR_MOBILE_AUTH": null, "LANDING_APP": "AM", "lastAccessed": 1627125154056, "loginType": 2, "PAPER_USER_NAME": "tezlai661", "features": { "env": "PROD", "wlms": true, "realtime": true, "bond": true, "optionChains": true, "calendar": true, "newMf": true } }

HOWEVER, when Zorro try to login to IB to do a download or a TradeTest it causes Zorro to freeze.

Zorro Log:

TradeTest
Login 0 IB (demo)..


Windows Event Viewer:

Log Name: Application
Source: Application Hang
Date: 24/07/2021 8:40:23 PM
Event ID: 1002
Task Category: (101)
Level: Error
Keywords: Classic
User: N/A
Computer: TERRY-PC
Description:
The program Zorro.exe version 2.3.5.9 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
Process ID: 15c4
Start Time: 01d78077b2374ee7
Termination Time: 5
Application Path: C:\Zorro\Zorro.exe
Report Id: a83db03e-5e7a-4784-bf26-fee8b534f5b6
Faulting package full name:
Faulting package-relative application ID:
Hang type: Cross-thread

Thanks in advance.
Posted By: AndrewAMD

Re: IB Demo Via Gateway Cause Zorro to Freeze - 07/24/21 13:46

No no, you set up the "Client Portal Gateway", which is for REST. The IB plugin uses the TWS API, not the REST API.

You need either "Trader Workstation (TWS)" or the "IB Gateway" (completely different gateway).

https://zorro-project.com/manual/en/ib.htm
Posted By: Tez

Re: IB Demo Via Gateway Cause Zorro to Freeze - 07/25/21 05:43

Hi Andrew, thanks very much for your feedback!

Just found the correct IB Gateway and the problem is fixed.
© 2024 lite-C Forums