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 commit payload with id and note
Promise that resolves when activation flag is set
import { commitActivateScheduled } from "backtest-kit";// Activate scheduled signal early with custom IDawait commitActivateScheduled("BTCUSDT", { id: "manual-activate-001" }); Copy
import { commitActivateScheduled } from "backtest-kit";// Activate scheduled signal early with custom IDawait commitActivateScheduled("BTCUSDT", { id: "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.