Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 16,415 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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