Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
jcl,

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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
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) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1