A position represents a holding of a specific instrument, such as stocks, options, or other securities. It includes details about the quantity, purchase price, current value, and realized profit/loss.
The win/loss calculation is determined by the realized Profit and Loss (PnL) of a position: - If realized P&L < 0: The position is considered a Loss - If realized P&L >= 0: The position is considered a Win