Interface IStrategyPnL

Profit and loss calculation result. Includes adjusted prices with fees (0.1%) and slippage (0.1%).

interface IStrategyPnL {
    pnlPercentage: number;
    priceClose: number;
    priceOpen: number;
}

Properties

pnlPercentage: number

Profit/loss as percentage (e.g., 1.5 for +1.5%, -2.3 for -2.3%)

priceClose: number

Exit price adjusted with slippage and fees

priceOpen: number

Entry price adjusted with slippage and fees