Hey-LiSA Docs

These docs define the Hey-LiSA system: strategy specs, validation, Strategy Lab, controlled execution, and shared strategy markets.

IF / THEN

Strategy Lab decision trees use IF and ACTION nodes.

An IF evaluates conditions. A then or else path can point to another IF or to actions.

This is enough to express nested branches:

  • if cash is available, buy
  • else do nothing
  • if drawdown is deep, deploy reserve
  • else if a regime flag is active, buy more
  • else buy the normal amount

Rules can also use actions[], which preserves order. A branch can set state and then buy as separate sequential actions.