
Finalytics Rust Library
Finalytics is a modular, high-performance Rust library for retrieving financial data, performing security analysis, and optimizing portfolios.
It is designed for extensibility and speed, and powers bindings for Python, Node.js, Go, and a web application built with Dioxus.
🚀 Installation
Add the following to your Cargo.toml file:
[]
= "*"
Or run:
🦀 Main Modules
Finalytics is organized around four core modules, each designed for a specific aspect of financial analytics:
1. Screener
Efficiently filter and rank securities (equities, crypto, etc.) using advanced metrics and custom filters.
Usage Example:
use *;
let screener = builder
.quote_type
.add_filter
.sort_by
.size
.build
.await?;
screener.overview.show?;
screener.metrics.await?.show?;
2. Ticker
Analyze a single security in depth: performance, financials, options, news, and more.
Usage Example:
let ticker = builder
.ticker
.start_date
.end_date
.interval
.benchmark_symbol
.confidence_level
.risk_free_rate
.build;
ticker.report.await?.show?;
ticker.report.await?.show?;
ticker.report.await?.show?;
ticker.report.await?.show?;
3. Tickers
Work with multiple securities at once—aggregate reports, batch analytics, and portfolio construction.
Usage Example:
let tickers = new
.tickers
.start_date
.end_date
.interval
.benchmark_symbol
.confidence_level
.risk_free_rate
.build;
tickers.report.await?.show?;
4. Portfolio
Optimize and analyze portfolios using advanced objective functions and constraints.
Usage Example:
let ticker_symbols = vec!;
let portfolio = builder
.ticker_symbols
.benchmark_symbol
.start_date
.end_date
.interval
.confidence_level
.risk_free_rate
.objective_function
.build.await?;
portfolio.report.await?.show?;
📚 Documentation
- See the API documentation for full details.
🗂️ Multi-language Bindings
Finalytics is also available in:
Finalytics — Modular, high-performance financial analytics in Rust.