Internal runtime marker for scheduled signals
Optional_partialHistory of partial closes for PNL calculation. Each entry contains type (profit/loss), percent closed, and price. Used to calculate weighted PNL: Σ(percent_i × pnl_i) for each partial + (remaining% × final_pnl)
Computed values (derived from this array):
Percentage of position closed (0-100)
Price at which this partial was executed
Type of partial close: profit (moving toward TP) or loss (moving toward SL)
Optional_trailingTrailing stop-loss price that overrides priceStopLoss when set. Updated by trailing() method based on position type and percentage distance.
Optional_trailingTrailing take-profit price that overrides priceTakeProfit when set. Created and managed by trailingTake() method for dynamic TP adjustment. Allows moving TP further from or closer to current price based on strategy. Updated by trailingTake() method based on position type and percentage distance.
Unique exchange identifier for execution
Unique frame identifier for execution (empty string for live mode)
Unique signal identifier (UUID v4 auto-generated)
Expected duration in minutes before time_expired
OptionalnoteHuman-readable description of signal reason
Pending timestamp in milliseconds (when position became pending/active at priceOpen)
Trade direction: "long" (buy) or "short" (sell)
Entry price for the position
Stop loss exit price (must be < priceOpen for long, > priceOpen for short)
Take profit target price (must be > priceOpen for long, < priceOpen for short)
Signal creation timestamp in milliseconds (when signal was first created/scheduled)
Unique strategy identifier for execution
Trading pair symbol (e.g., "BTCUSDT")
Complete signal with auto-generated id. Used throughout the system after validation.