Gamestudio Links
Zorro Links
Newest Posts
nba2king Latest Roster Update Breakdown
by joenxxx. 10/14/25 06:06
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (Quad, AndrewAMD), 9,200 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Get current positions? #483854
08/04/21 14:07
08/04/21 14:07
Joined: Jul 2021
Posts: 3
Rome
M
MichaelSilver Offline OP
Guest
MichaelSilver  Offline OP
Guest
M

Joined: Jul 2021
Posts: 3
Rome
I know I can loop through trades, but is there a way to loop through the current positions/assets held and their purchase price?

...Thanks...
...Michael...

Re: Get current positions? [Re: MichaelSilver] #483859
08/05/21 13:54
08/05/21 13:54
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
That would be the weighted average entry price of all trades of an asset. Enumerate through trades and sum up the entry prices for any asset.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1