AlgoHive
Studio

Workflow Editor

Build strategies visually with the drag-and-drop workflow editor.

The Workflow Editor is the heart of strategy building in AlgoHive. It provides a visual, node-based interface for creating trading logic.

Node Types

Data Source Nodes

Data sources bring market data into your strategy:

  • Exchange — Spot market data (open, high, low, close, volume)
  • Perpetual — Futures data including funding rate, open interest, CVD
  • Prediction — Prediction market odds (yes_odds, no_odds, volume)
  • Custom — Your own data sources via API

Each data source has an alias (like btc) you use to reference it in expressions.

Analysis Nodes

Analysis blocks process data and produce outputs:

Block TypeDescriptionExample
ValueConstant value14
FunctionSingle indicatorRSI(btc.close, 14)
CompareComparisonrsi > 70
CrossCrossover detectionCROSS_ABOVE(fast, slow)
LogicCombine signalssignal1 AND signal2
AdvancedMultiple outputsMultiple expressions
CodeCustom JS/PythonComplex logic

Entry Nodes

Entry rules define when to open positions:

  • Direction — Long, Short, Yes, or No (for predictions)
  • Market — Which data source to trade
  • When — Signal condition to trigger entry
  • Leverage — For perpetual markets

Manage Nodes

Manage rules control open positions:

Rule TypeDescription
Stop LossExit at loss threshold
Take ProfitExit at profit target
Trailing StopDynamic stop that follows price
ExitExit on signal condition
Move StopAdjust stop loss level
AddAdd to position on signal

Connections

Nodes connect via edges that represent data flow:

  • Cyan edges — Numeric values (prices, indicators)
  • Yellow edges — Boolean signals (true/false conditions)
  • Green edges — Market connections (for trading)
  • Orange edges — Entry targeting (manage rules)

Making Connections

  1. Click on an output handle (right side of a node)
  2. Drag to an input handle (left side of another node)
  3. Release to create the connection

Or use expressions to reference outputs directly: analysis_block.output_name

Toolbar

The top toolbar provides:

  • Add Data Source — Create new data source
  • Add Analysis — Add analysis block
  • Add Entry — Create entry rule
  • Add Manage — Add risk management rule
  • Undo/Redo — Revert or restore changes
  • Auto Layout — Organize nodes automatically
  • Zoom — Fit to view, zoom in/out

Keyboard Shortcuts

ShortcutAction
Cmd/Ctrl + ZUndo
Cmd/Ctrl + Shift + ZRedo
Cmd/Ctrl + CCopy selected
Cmd/Ctrl + VPaste
DeleteDelete selected
Cmd/Ctrl + ASelect all

Validation

The editor validates your strategy in real-time:

  • Errors (red) — Must fix before deployment
  • Warnings (yellow) — Potential issues
  • Info (blue) — Suggestions

Hover over warning icons on nodes to see details.

Tips

  • Use descriptive aliases for data sources (btc, eth, not data1)
  • Name your analysis blocks clearly (trend_signals, entry_logic)
  • Connect manage rules to entries using the targeting edges
  • Use the AI assistant for complex expression help

On this page