Your First Pipeline: Symbol → Price Feed → Kalman Filter → Chart
Kalmate's Pipeline lets you build visual data workflows by connecting nodes, no code required. In this tutorial you'll build a pipeline that loads AAPL price history, smooths it with a Kalman Filter, and plots the result on a chart.
WHAT YOU'LL BUILD
Result: a price chart with the smoothed level drawn over the actual closes.
Step 1: Open the Pipeline Editor
Go to /terminal/pipeline. You'll see a blank canvas and a palette of nodes grouped as Input, Process and Output.
Step 2: Add a Symbol Node
- Drag Symbol from the Input group onto the canvas.
- Click the node and set its Ticker to
AAPL.
Step 3: Add a Price Feed Node
Price Feed fetches the latest price and up to 5 years of daily history for the symbol. It has three outputs: Price, Price Series and Candle Series. This tutorial uses Price Series.
- Drag Price Feed onto the canvas, to the right of Symbol.
- Connect Symbol's Symbol output to Price Feed's Symbol input.
Step 4: Add a Kalman Filter Node
The Kalman Filter estimates the underlying level of a noisy price series. Its deviation output shows how far the price sits from that level.
- Drag Kalman Filter onto the canvas, to the right of Price Feed.
- Connect Price Feed's Price Series output to the Kalman Filter's input.
- Keep Smoothing at
Balanced. Responsive follows the price more closely; Smooth lags more and removes more noise.
Step 5: Add a Chart
- Drag Chart from the Output group onto the canvas.
- Connect Price Feed's Price Series output to the Chart's Main Series input.
- Connect the Kalman Filter's Smoothed output to Overlay A.
Step 6: Run the Pipeline
Click the ▶ Run button in the toolbar. Within seconds:
- Price Feed loads the AAPL history.
- Kalman Filter outputs the smoothed level and the deviation from it.
- The Chart draws the price with the smoothed line over it.
TIP: Try the Smoothing Options
Switch Smoothing between Responsive, Balanced and Smooth and watch how the overlay follows the price. The Kalman Filter adapts its estimate to the data, so no manual noise settings are needed.
What's Next?
- Add a Z-Score node after Price Feed to see how far the price sits from its own recent average.
- Swap Chart for Candle Chart to see open, high, low and close candles.
- Add an Alert node to flag when a value crosses a threshold. The alert shows its state in the editor.
- Read Advanced Pipeline: Mean Reversion with Z-Score and RSI.
- See All 21 Pipeline Nodes Explained.