Gamestudio Links
Zorro Links
Newest Posts
Zorro plugin for Hyperliquid.xyz
by mayarik. 10/24/26 09:14
ZorroGPT
by TipmyPip. 10/24/26 01:54
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
No connection to MT4
by JeyKey II. 10/22/26 15:33
Zorro tutorial ideas?
by mistery. 10/21/26 05:28
Avoid "log\ - delete old files" message
by Martin_HH. 10/20/26 07:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 5,885 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 Registered Users
Active Threads | Active Posts | Unanswered Today | Since Yesterday | This Week
Blame the Manual
Yesterday at 14:35
Zorro has an official Tradestation plugin, but it is not listed in the table of contents for some reason.

Please fix the TOC.

https://zorro-project.com/manual/en/tradestation.htm
0 27 Read More
Bug Hunt
09/30/26 18:35
If you use the default TradeTest.c script as-is with Interactive Brokers, it will not work. Here's why.

This line of code is the culprit:
Code
if(is(INITRUN)) brokerCommand(SET_ORDERTEXT,"TradeTest");


This of course looks like it would add a mere comment to a placed order. But that's not what happens with IB in particular.

Instead, it sets the IB order's OrderType string value, which is a critical field. So if the order type is set to "TradeTest", the test order won't work.

I expect that most newcomers to Zorro would not be able to figure this out without running the script in verbose mode and then debugging the script.

Before I remove the line:
Code
!Open IB Socket 4.03 at UTC 09-30 17:39
 ESZ6
 ESZ6

Trade: TradeTest ESZ6 2026-09-30
Assets AssetsFutures
 ESZ6
Buy Long ESZ6
!Order 4137 ES-FUT-ESZ6-ES-CME BUY TradeTest DAY 2 ES-FUT--0.00--CME/-ES-USD
!Error validating request.-'v' : cause - Invalid order type was entered ES-FUT--0.00--CME/-ES-USD
!Order rejected: error validating request.-'v' : cause - invalid order type was entered
Warning 075 (ESZ6::L) - can't open 2@7762 at 17:39:24

After I remove the line:
Code
!Open IB Socket 4.03 at UTC 09-30 17:39
 ESZ6
 ESZ6

Trade: TradeTest ESZ6 2026-09-30
Assets AssetsFutures
 ESZ6
Buy Long ESZ6
!Order 4147 ES-FUT-ESZ6-ES-CME BUY MKT DAY 2 ES-FUT--0.00--CME/-ES-USD
[ESZ6::L04147] Long 2@7763.50  at 17:42:45
4147: Lots 2 Target 2 Open 7763.50000 Close 7763.50000
4147: Lots 2 Target 2 Open 7763.50000 Close 7763.75000


Note that "TradeTest" gets replaced with "MKT" (market order).
0 68 Read More

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1