Gamestudio Links
Zorro Links
Newest Posts
DirectX : 3d Hardware Reset Failure
by Emre. 11/27/20 11:06
Sortino(vars Data, int TimePeriod): var
by danatrader. 11/26/20 20:45
Need code for Williams Sentiment Index
by danatrader. 11/26/20 20:42
Binance Futures Plugin
by Mio. 11/26/20 10:54
Optimizing global & local parameters
by dBc. 11/25/20 15:16
Enter FOK orders simultaneously
by jcl. 11/25/20 10:55
looking how basic functions are made
by jcl. 11/25/20 10:47
AUM Magazine
Latest Screens
Paradox Vector
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
Who's Online Now
6 registered members (AndrewAMD, danatrader, 3run, jumpman, NnamueN, 1 invisible), 483 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MMK, raed, liquidbread, Dmitry_Shesterin, ddczp
18543 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
GET_TRADES - TRADE array buffer size? #481704
10/19/20 18:32
10/19/20 18:32
Joined: Feb 2017
Posts: 1,129
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,129

Three issues:

1) The Web manual page is outdated and does not show GET_TRADES and brokerTrades() like the Zorro helpfile does.

2) If Zorro calls GET_TRADES, how does Zorro know how to size the TRADE array buffer? Does Zorro necessarily invoke GET_NTRADES first? If so, there should be a check mark under the "Internal" column for GET_NTRADES and clarify that the plugin should also support GET_NTRADES alongside GET_TRADES.

3) GET_TRADES does not have a return value specification. Is it the number of trades?

Re: GET_TRADES - TRADE array buffer size? [Re: AndrewAMD] #481728
10/24/20 10:25
10/24/20 10:25
Joined: Jul 2000
Posts: 27,401
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,401
We have not defined a fixed array size. It should be sufficient for the maximum possible open positions. brokerTrades uses 20,000 as to my information.

Yes, the number of positions is returned. We'll update the online pages.

Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

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

Powered by UBB.threads™ PHP Forum Software 7.7.1