Як розраховуються P&L і ROE%.

PNL must be calculated based on the formula

Long position

Unrealized PNL = position size * direction of order * ( best bid price - entry price)

Short position

Unrealized PNL = position size * direction of order * (best ask price - entry price)

ROE% must be calculated based on the formula

Long position

ROE% = Unrealized PNL in USDT / entry margin = ( ( best bid price - entry Price ) * direction of order * size ) / (position_amount * contract_multiplier * mark_price* IMR)

Short position

ROE% = Unrealized PNL in USDT / entry margin = ( ( best ask price - entry Price ) * direction of order * size ) / (position_amount * contract_multiplier * mark_price* IMR)

In the settings, you can choose what to show by default: PNL or ROE.

Last updated