Quick Start: Build Your First Strategy
This walkthrough takes you from a blank workspace to a working strategy. You will build a minimal two-state strategy that alternates on each new candle.
Prerequisites
- You have signed up and created a workspace
- You have created a data source
- You are on the Strategy Dashboard (HEARTH)
Step 1: Open SMITH
- Click New Strategy in the sidebar.
- Enter a strategy name such as
BTCUSD_Starter.
SMITH opens with an empty canvas and the save-readiness checklist.
Step 2: Subscribe to a data stream
- Open the Strategy Toolbar.
- In Data, select Manage Data Sources.
- Subscribe to one candle stream.
That gives the strategy an event source to react to.
Step 3: Add two states
- In the Strategy Toolbar, select Manage States.
- Click New State and create
Watching. - Create a second state named
Active.
The checklist now satisfies At Least Two States Configured.
Step 4: Mark the initial state
On the Watching node, turn on Initial State.
You can also do this from Manage States if you prefer the list view.
The checklist now satisfies Initial State Configured.
Step 5: Add transitions
- On the
Watchingnode, click Add Transition. - Set the target state to
Active. - Use an event trigger that listens for the candle event from your subscribed stream.
- Save the transition.
- Add a second transition from
Activeback toWatchingusing the same pattern.
You could also create these from Manage Transitions -> New Transition.
The checklist now satisfies All States Have Transitions.
Step 6: Save the strategy
Once the checklist is satisfied, save the strategy from the editor header.
SMITH closes and the new strategy appears on the HEARTH dashboard.
Step 7: Enable the strategy
- Find the strategy tile on HEARTH.
- Turn the power toggle on.
The strategy is now live and will process events from its subscribed stream.
What next
- Guards Manager for reusable guards
- Actions Manager for transition behavior
- Managing Transitions for the full transition view
- Indicators for indicator configs and indicator events
- CRUCIBLE for replay and backtesting