Back to Docs/Price Trigger

Price Trigger

Rule-based trading when price reaches or crosses a threshold.

Price Trigger

The Price Trigger template watches a configured source symbol and acts when price crosses or reaches a threshold.

Core config

  • amountUsd Fixed budget per run.
  • schedule.cron How often rules are checked.
  • rules[] One or more trigger rules.
  • rule.sourceSymbol Exact market symbol to watch.
  • rule.condition above, below, crosses-above, or crosses-below
  • rule.threshold The trigger price.
  • rule.actionSide buy or sell
  • rule.targets[] Weighted execution targets.
  • execution.slippageBps Max execution slippage.
  • execution.leverage Optional leverage override.

How it works

  • schedule decides when the rule is evaluated
  • the rule decides whether the condition fired
  • the action side decides what to do if it fired
  • targets decide where capital goes

This is the right template when the user thinks in terms of exact price conditions rather than indicators.