In my strategy I open several Trades at different times. Now I want to know how much each open Trade/Contract is currently worth in the accounts currency and print that Value in the Output. Also I need the final value of a closed Order.
The only real Cash Value I could find so far are on the Account. The PnL value would be fine, but I need to break it down to each open trade. Is that theoretically possible?
My workaround so far: Calculating the Tick difference between OpenPrice and LiveMarketValue * TickValue of the market - Commission...

Comment