Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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: 60
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 60
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