Closed hieronx closed 3 weeks ago
Separate into
unrealizedProfitAtMarketPrice
unrealizedProfitAtNotional
notional > 0
Separate into
unrealizedProfitAtMarketPrice
: based on selling current position at current oracle priceunrealizedProfitAtNotional
: only ifnotional > 0
, based on selling current position at the notional value