Activates a scheduled signal early without waiting for price to reach priceOpen.
Sets the activation flag on the scheduled signal. The actual activation happens on the next tick() when strategy detects the flag.
Automatically detects backtest/live mode from execution context.
Trading pair symbol
Optional
Optional activation ID for tracking user-initiated activations
Promise that resolves when activation flag is set
import { commitActivateScheduled } from "backtest-kit";// Activate scheduled signal early with custom IDawait commitActivateScheduled("BTCUSDT", "manual-activate-001"); Copy
import { commitActivateScheduled } from "backtest-kit";// Activate scheduled signal early with custom IDawait commitActivateScheduled("BTCUSDT", "manual-activate-001");
Activates a scheduled signal early without waiting for price to reach priceOpen.
Sets the activation flag on the scheduled signal. The actual activation happens on the next tick() when strategy detects the flag.
Automatically detects backtest/live mode from execution context.