Hi all.
How does lean calculate the Unrealized Profit?
Is it based on the bid / ask or the last price?

Author