Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/08/26 18:50
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 5,469 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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: 11
robbinsville, nj USA
W
walt_Schwarz Offline
Newbie
walt_Schwarz  Offline
Newbie
W

Joined: Sep 2024
Posts: 11
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