Interface HighestProfitEvent

Single highest profit event recorded for a position.

interface HighestProfitEvent {
    backtest: boolean;
    currentPrice: number;
    position: "long" | "short";
    priceOpen: number;
    priceStopLoss: number;
    priceTakeProfit: number;
    signalId: string;
    strategyName: string;
    symbol: string;
    timestamp: number;
}

Properties

backtest: boolean

Whether the event occurred in backtest mode

currentPrice: number

Record price reached in the profit direction

position: "long" | "short"

Position direction

priceOpen: number

Effective entry price at the time of the update

priceStopLoss: number

Stop loss price

priceTakeProfit: number

Take profit price

signalId: string

Signal unique identifier

strategyName: string

Strategy name

symbol: string

Trading pair symbol

timestamp: number

Unix timestamp in milliseconds when the record was set