How banbox/banta works
BanTA is a dependency-free Go technical-analysis library for computing market indicators in either event-driven, state-caching mode or batch, parallel mode; it also exposes Python wrappers. The main workflow supplies candle data, updates a BarEnv or provides arrays, computes indicator series, and reads current or batch results. The graph groups the runtime API, indicator families, batch implementation, and Python bindings. README and sampled code support the principal modes and bindings; unsampled indicator families are represented at their known source paths, with no speculative call links.
Main entry points: core.go Cached Series · indicators_moving.go Moving Averages · index.go Streaming Wrapper · indicators_momentum.go Momentum Indicators
Components 26
Stateful API
- Bar Environment
core.go - Cached Series
core.go - Core Utilities
utils.go
Indicator Families
- Moving Averages
indicators_moving.go - Momentum Indicators
indicators_momentum.go - Trend Indicators
indicators_trend.go - Volume Indicators
indicators_volume.go - Volatility Indicators
indicators_volatility.go - Price Channels
indicators_channels.go - Regression Indicators
indicators_regression.go - Pattern Indicators
indicators_patterns.go - Price Indicators
indicators_price.go - Indicator Helpers
indicators_helpers.go
Batch API
- Batch Indicators
tav/indicators_momentum.go - Batch Moving Averages
tav/indicators_moving.go - Batch Trend
tav/indicators_trend.go - Batch Volume
tav/indicators_volume.go - Batch Channels
tav/indicators_channels.go - Batch Helpers
tav/indicators_helpers.go
Python Bindings
- Streaming Wrapper
python/ta/index.go - Batch Wrapper
python/tav/index.go
Other components
- Go Caller
- Candle Input
- Batch Caller
- Candle Arrays
- Python Caller
Connections 28
- Go Caller → Candle Input: supplies candles
readme.md - Candle Input → Bar Environment: updates
readme.md - Bar Environment → Cached Series: maintains series
readme.md - Go Caller → Cached Series: requests indicators
readme.md - Moving Averages → Cached Series: caches results
indicators_moving.go - Momentum Indicators → Cached Series: caches results
indicators_momentum.go - Trend Indicators → Cached Series: caches results
indicators_trend.go - Volume Indicators → Cached Series: caches results
indicators_volume.go - Volatility Indicators → Cached Series: caches results
indicators_volatility.go - Price Channels → Cached Series: caches results
indicators_channels.go - Regression Indicators → Cached Series: caches results
indicators_regression.go - Pattern Indicators → Cached Series: returns results
- Price Indicators → Cached Series: returns results
- Indicator Helpers → Cached Series: supports calculations
- Trend Indicators → Moving Averages: smooths values
indicators_trend.go - Momentum Indicators → Moving Averages: uses averages
indicators_momentum.go - Price Channels → Batch Channels: batch counterpart
- Batch Caller → Candle Arrays: supplies arrays
readme.md - Candle Arrays → Batch Indicators: computes batch
readme.md - Batch Caller → Batch Indicators: requests indicators
readme.md - Batch Moving Averages → Batch Helpers: uses helpers
- Batch Trend → Batch Helpers: uses helpers
- Batch Volume → Batch Helpers: uses helpers
- Python Caller → Streaming Wrapper: calls wrapper
python/ta/index.go - Streaming Wrapper → Moving Averages: delegates
python/ta/index.go - Streaming Wrapper → Momentum Indicators: delegates
python/ta/index.go - Python Caller → Batch Wrapper: calls wrapper
python/tav/index.go - Batch Wrapper → Batch Indicators: delegates
python/tav/index.go