--- title: docs/interface/ISignalDto group: docs --- # ISignalDto Signal data transfer object returned by getSignal. Will be validated and augmented with auto-generated id. ## Properties ### id ```ts id: string ``` Optional signal ID (auto-generated if not provided) ### symbol ```ts symbol: string ``` Symbol of a ticker on exchange ### position ```ts position: "long" | "short" ``` Trade direction: "long" (buy) or "short" (sell) ### note ```ts note: string ``` Human-readable description of signal reason ### payload ```ts payload: Record ``` Custom user-defined dictionary attached to the signal. Free-form data for external logic, monitoring or reporting — not interpreted by the system. Defaults to {} if not provided (initialized in ClientStrategy). ### priceOpen ```ts priceOpen: number ``` Entry price for the position ### priceTakeProfit ```ts priceTakeProfit: number ``` Take profit target price (must be > priceOpen for long, < priceOpen for short) ### priceStopLoss ```ts priceStopLoss: number ``` Stop loss exit price (must be < priceOpen for long, > priceOpen for short) ### minuteEstimatedTime ```ts minuteEstimatedTime: number ``` Expected duration in minutes before time_expired. Use `Infinity` for no timeout — position stays open until TP/SL or explicit closePending(). Default: GLOBAL_CONFIG.CC_MAX_SIGNAL_LIFETIME_MINUTES ### cost ```ts cost: number ``` Cost of this entry in USD. Default: GLOBAL_CONFIG.CC_POSITION_ENTRY_COST ### multiplier ```ts multiplier: number ``` PNL multiplier (leverage) applied to pnlPercentage in PNL calculations. pnlCost follows automatically (pnlCost = pnlPercentage / 100 * pnlEntries). Default: GLOBAL_CONFIG.CC_SIGNAL_LEVERAGE_MULTIPLIER ### isolated ```ts isolated: boolean ``` Isolated-margin mode: the position's margin is its own cost. Once the leveraged realizable PNL reaches -100% the position is force-closed with closeReason "liquidation" at the computed liquidation price (see getLiquidationPrice). With false (cross margin) PNL may go below -100% and the position keeps being monitored until TP/SL/time_expired. Default: GLOBAL_CONFIG.CC_SIGNAL_ISOLATED_MARGIN