Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 3.11
by madpower2000. 07/16/26 13:49
What are you working on?
by NeoDumont. 07/15/26 16:38
Z9 getting Error 058
by jcl. 07/15/26 15:07
Zorro version 3.0 prerelease!
by madpower2000. 07/14/26 20:11
Accepting new programming clients
by AndrewAMD. 07/14/26 19:32
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (TipmyPip, AndrewAMD, Quad, ukgamer), 1,429 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to export list of current open trades? #488595
02/07/25 17:22
02/07/25 17:22
Joined: Apr 2023
Posts: 61
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 61
For live trading, Zorro will show the current open trades and its status in the html file.

Is there a way to automatically export this list to a csv file, for every bar? I would like to record the current trade status for each bar.

Also, the manual says that the pnl file records the equity or balance, but when I open my pnl file, it shows the Profit & Loss for the session (starting from 0)?

Re: How to export list of current open trades? [Re: vicknick] #488676
03/25/25 13:46
03/25/25 13:46
Joined: Sep 2024
Posts: 17
robbinsville, nj USA
W
walt_Schwarz Offline
Newbie
walt_Schwarz  Offline
Newbie
W

Joined: Sep 2024
Posts: 17
robbinsville, nj USA
I would put the "exitLong" and "exitShort" commands in a function and use the trade info from "ThisTrade" and the "printF" to log the desired data...

>> there may be a better way but this should work unless you are doing trading on > 1 minute...
... but I'm a zorro newbie also so what do I know...


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1