Get current positions?

Posted By: MichaelSilver

Get current positions? - 08/04/21 14:07

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...
Posted By: jcl

Re: Get current positions? - 08/05/21 13:54

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.
© 2024 lite-C Forums