A strategy in LucraX is a single JSON document that specifies:
- Which indicators to compute on each bar
- When to enter long or short
- When to exit (stops, targets, modifiers)
- How to size the position
- What risk limits to enforce
The engine reads this JSON, computes the indicators on incoming candles, and fires entries / exits based on the rules. Everything is explicit - there is no hidden state or implicit defaults beyond what the Strategy JSON structure spells out.
What a strategy is not
- Not a manual trading interface. Strategies execute automatically once enabled.
- Not a tracker of arbitrary outside signals. Every input must be computable from the candles the engine ingests.
- Not multi-symbol. One strategy trades one symbol on one venue.
Lifecycle in one sentence
A strategy goes draft → backtest → paper / live → stopped, and
can be re-run at any stage. See
Strategy lifecycle
for the full state machine.
