Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, dr_panther, Quad), 935 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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,726
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,726
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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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