API Playground
Test our technical indicators with your own data and see the results in real-time.
Interactive API Playground
Generated Code
use vectoralpha_ta::indicators::sma;
let prices = vec![100, 101.5, 99.8, 102.3, 103.1, ...];
let sma_values = sma(&prices, 5)?;
println!("SMA values: {:?}", &sma_values[..5]);
Try These Examples
- → Trending Market: Use RSI with period 14 to identify overbought/oversold conditions
- → Volatility Analysis: Apply Bollinger Bands with period 20 to measure price volatility
- → Trend Following: Compare SMA and EMA with the same period to see responsiveness
Understanding the Results
- ✓ NaN Values: Indicators need sufficient data points before producing valid results
- ✓ Period Parameter: Larger periods smooth data but increase lag
- ✓ Generated Code: Copy the code to use in your Rust projects
Ready to Integrate?
This playground demonstrates just a fraction of our library's capabilities. Get started with the full API including GPU acceleration and real-time streaming.