commitClosePending

declare function commitClosePending(symbol: string, payload?: Partial<CommitPayload>): Promise<void>;

Closes the pending signal without stopping the strategy.

Clears the pending signal (active position). Does NOT affect scheduled signals or strategy operation. Does NOT set stop flag - strategy can continue generating new signals.

Automatically detects backtest/live mode from execution context.

Parameter Description
symbol Trading pair symbol
payload Optional commit payload with id and note