Gamestudio Links
Zorro Links
Newest Posts
IBKR datasave problem
by BrainSailor. 06/13/25 09:42
Marking Exit trades
by jcl. 06/11/25 14:02
SGT_FW
by Aku_Aku. 06/02/25 17:54
The Perfect Adventure Game
by tian. 05/27/25 04:32
ADX values
by Yogpot. 05/25/25 15:11
Transfer of Lots between Algos?
by Jack_Zodiac. 05/25/25 09:30
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
2 registered members (AndrewAMD, Quad), 507 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
WardyJoubertIII, NewbieZorro, Squarei, tian, Yogpot
19139 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: 56
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

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