2026-03-23 23:34:28 +05:30
ferro-ta Documentation
2026-03-23 23:57:30 +05:30
======================
2026-03-23 23:34:28 +05:30
.. toctree ::
:maxdepth: 2
2026-03-24 11:09:48 +05:30
:caption: Core Library
2026-03-23 23:34:28 +05:30
quickstart
migration_talib
2026-03-24 11:09:48 +05:30
support_matrix
2026-03-23 23:34:28 +05:30
pandas_api
error_handling
api/index
streaming
batch
2026-03-24 11:09:48 +05:30
extended
.. toctree ::
:maxdepth: 2
:caption: Evidence and Releases
2026-03-23 23:34:28 +05:30
benchmarks
changelog
2026-03-24 11:09:48 +05:30
.. toctree ::
:maxdepth: 2
:caption: Adjacent and Experimental
derivatives
adjacent_tooling
plugins
2026-03-23 23:34:28 +05:30
contributing
Overview
--------
2026-03-24 11:09:48 +05:30
**ferro-ta** is a Rust-powered Python technical analysis library focused on a
TA-Lib-compatible API for NumPy-centered workloads.
2026-03-23 23:34:28 +05:30
2026-03-24 11:09:48 +05:30
.. important ::
Performance varies by indicator, array layout, warmup, build flags, and
machine. ferro-ta is often faster on selected indicators, not universally
faster. See :doc: `benchmarks` for the reproducible workflow, methodology
notes, and the indicators where TA-Lib still wins or ties in the current
checked-in artifact.
Core library:
2026-03-23 23:34:28 +05:30
- 160+ indicators covering all TA-Lib categories
2026-03-24 11:09:48 +05:30
- TA-Lib-style imports such as ``ferro_ta.SMA(close, timeperiod=20)``
- Pre-built wheels for the supported Python/OS matrix
2026-03-23 23:34:28 +05:30
- Pure Rust core library (``crates/ferro_ta_core`` ) — no PyO3 / numpy dependency
2026-03-24 11:09:48 +05:30
- Batch execution API — run indicators on 2-D arrays of multiple series
2026-03-23 23:34:28 +05:30
- Streaming / bar-by-bar API for live trading
- Transparent pandas.Series support
- Type stubs (.pyi) for IDE auto-completion
2026-03-24 11:09:48 +05:30
- 10 extended indicators not in TA-Lib (VWAP, Supertrend, Ichimoku Cloud, ...)
Adjacent and experimental tooling:
2026-03-30 12:45:52 +05:30
- **Backtesting engine** — OHLCV fill, 23 metrics, Monte Carlo, walk-forward, multi-asset — see :doc: `adjacent_tooling`
2026-03-24 11:09:48 +05:30
- Derivatives analytics — see :doc: `derivatives`
2026-03-23 23:34:28 +05:30
- Agentic workflow and LangChain tool wrappers — see `Agentic guide <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/agentic.md> `_
2026-03-24 12:49:17 +05:30
- MCP server for MCP-compatible clients — see `MCP guide <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/mcp.md> `_
2026-03-24 11:09:48 +05:30
- WASM, plugins, and other optional surfaces — see :doc: `adjacent_tooling`
2026-03-23 23:34:28 +05:30
Installation
~~~~~~~~~~~~
.. code-block :: bash
pip install ferro-ta
Quick Start
~~~~~~~~~~~
.. code-block :: python
import numpy as np
from ferro_ta import SMA , EMA , RSI , MACD , BBANDS
close = np . array ([ 10.0 , 11.0 , 12.0 , 13.0 , 14.0 , 13.5 , 12.5 ])
print ( SMA ( close , timeperiod = 3 ))
# Batch: run SMA on 5 symbols at once
from ferro_ta.batch import batch_sma
data = np . random . rand ( 100 , 5 )
result = batch_sma ( data , timeperiod = 10 )
Further Reading
~~~~~~~~~~~~~~~
- `Architecture <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/architecture.md> `_ — Rust/Python layout, two-crate design, binding flow.
- `Performance Guide <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/performance.md> `_ — when to use raw numpy vs pandas/polars, batch notes, tips.
- `API Stability <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/stability.md> `_ — stability tiers, versioning, and deprecation policy.
2026-03-24 11:09:48 +05:30
- :doc: `support_matrix` — parity status, tested wheel targets, supported Python versions, and experimental modules.
2026-03-23 23:34:28 +05:30
- `Rust-First Policy <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/rust_first.md> `_ — all compute logic belongs in Rust; how to add new indicators.
- `Out-of-Core Execution <https://github.com/pratikbhadane24/ferro-ta/blob/main/docs/out-of-core.md> `_ — chunked processing and Dask integration.
2026-03-24 02:41:50 +05:30
- :doc: `derivatives` — IV helpers, options pricing/Greeks/IV, futures analytics, strategy schemas, and payoff helpers.
2026-03-24 11:09:48 +05:30
- :doc: `adjacent_tooling` — optional surfaces such as derivatives, MCP, WASM, GPU, plugins, and agent-oriented integrations.
2026-03-23 23:34:28 +05:30
Indices and tables
==================
* :ref: `genindex`
* :ref: `modindex`
* :ref: `search`