Graphs and connections

How a signal becomes a decision, an order or an alert.

Markdown version

Read the graph from left to right

A source observes an event, filters decide whether it qualifies, Open trade creates a position, and exits lead to sell/close actions. Connections carry context; putting two compatible node types next to each other is not enough.

Use one Start and no graph loops. A bot executes at most one active Open trade. Wallet, Aegis, runner and company sources can also be active when their outgoing path joins the active graph; a completely loose draft node stays inert.

Branches have different meanings

  1. Balance Pass can continue into supported candidate paths; Fail must go to Stop bot.
  2. Open trade’s successful/filled path can reach position exits. A failed entry can terminate at Skip trade or End, not an exit that assumes a position exists.
  3. Notifications attach to successful signals, fills or exit triggers. They do not attach to no/fail/failed branches.
  4. Every exit condition needs exactly one Sell position or Close trade action. Notification side branches do not replace that action.

Keep a complete exit path

Every Open trade needs a reachable Close trade and a direct Time exit → Close trade path to dispose of remaining tokens. Every sell/close action also needs a path to End.

A partial profit-taking branch does not replace the remaining-position safety path. A disconnected exit or a Time exit that only partially sells makes the strategy invalid.

A basic paper copy workflow

Illustrative template wiring, not a profitability recommendation. Configure your own wallet and review every amount and exit before starting.

FromConnect to
StartnextWallet signal
Wallet signalOpen trade
Open tradefilledProfit targetfilledStop lossfilledTime exit
Profit targetyesClose trade
Stop lossyesClose trade
Time exityesClose trade
Close tradenextEnd
EndTerminal

Use a graph only for signals

A supported candidate path can end at End without Open trade. It records a qualifying candidate without making an order. This is useful when an Orbi supervises paper entries and exits instead of a deterministic order graph.

Signal-only workflow

Record qualified candidates without Open trade. An eligible Orbi-supervised paper task can then decide on supported simulated actions.

FromConnect to
StartWallet signal
Wallet signalToken filter
Token filterEnd
EndTerminal

Save drafts deliberately

Save the graph after editing. A local or review draft is not the same thing as the saved executable strategy. Keep a graph paused while resolving issues; compare analytics by graph version when evaluating a change.

Node reference connection lists are type-level compatibility. The editor also checks branch, position, plan and complete-path rules. Two instances of the same compatible type are different nodes; a node cannot connect to itself.