Interface ISignalRow

Complete signal with auto-generated id. Used throughout the system after validation.

interface ISignalRow {
    _isScheduled: boolean;
    exchangeName: string;
    id: string;
    minuteEstimatedTime: number;
    note?: string;
    pendingAt: number;
    position: "long" | "short";
    priceOpen: number;
    priceStopLoss: number;
    priceTakeProfit: number;
    scheduledAt: number;
    strategyName: string;
    symbol: string;
}

Hierarchy (View Summary)

Properties

_isScheduled: boolean

Internal runtime marker for scheduled signals

exchangeName: string

Unique exchange identifier for execution

id: string

Unique signal identifier (UUID v4 auto-generated)

minuteEstimatedTime: number

Expected duration in minutes before time_expired

note?: string

Human-readable description of signal reason

pendingAt: number

Pending timestamp in milliseconds (when position became pending/active at priceOpen)

position: "long" | "short"

Trade direction: "long" (buy) or "short" (sell)

priceOpen: number

Entry price for the position

priceStopLoss: number

Stop loss exit price (must be < priceOpen for long, > priceOpen for short)

priceTakeProfit: number

Take profit target price (must be > priceOpen for long, < priceOpen for short)

scheduledAt: number

Signal creation timestamp in milliseconds (when signal was first created/scheduled)

strategyName: string

Unique strategy identifier for execution

symbol: string

Trading pair symbol (e.g., "BTCUSDT")