You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-101Lines changed: 8 additions & 101 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# RusTalib, the Crustacean Financial Analyst 🦀
2
2
3
-
Meet **Rustalib**, your steadfast crustacean companion for navigating the currents of financial markets! This comprehensive Rust library, `ta-lib-in-rust`, provides a powerful toolkit for calculating technical indicators and building trading strategies, all powered by the high-performance [Polars](https://pola.rs/) DataFrame library.
3
+
Meet **Rustalib**, your steadfast crustacean companion for navigating the currents of financial markets! This comprehensive Rust library, `ta-lib-in-rust`, provides a powerful toolkit for calculating technical indicators, all powered by the high-performance [Polars](https://pola.rs/) DataFrame library.
4
4
5
5
Whether you're charting, backtesting, or building live trading systems, Rustalib is here to help you process market data with speed and precision.
6
6
@@ -11,11 +11,11 @@ Whether you're charting, backtesting, or building live trading systems, Rustalib
11
11
12
12
## Project Overview
13
13
14
-
**Technical Indicators**aims to provide a robust, extensible, and efficient toolkit for quantitative finance, algorithmic trading, and data science in Rust. The library is designed for:
14
+
**ta-lib-in-rust**provides a robust, extensible, and efficient toolkit for quantitative finance, algorithmic trading, and data science in Rust. The library is designed for:
15
15
-**Fast, vectorized computation** using Polars DataFrames
16
16
-**Easy integration** with modern Rust data workflows
17
-
-**Modular design**: Use only the indicators or strategies you need
18
-
-**Extensibility**: Add your own indicators or strategies easily
17
+
-**Modular design**: Use only the indicators you need
18
+
-**Extensibility**: Add your own indicators easily
19
19
20
20
Whether you are backtesting, researching, or building production trading systems, this crate offers a solid foundation for technical analysis in Rust.
21
21
@@ -24,7 +24,6 @@ Whether you are backtesting, researching, or building production trading systems
24
24
## Features
25
25
26
26
-**Wide range of indicators**: Moving averages, oscillators, volatility, volume, trend, momentum, and more
27
-
-**Strategy modules**: Combine indicators into rule-based trading strategies
28
27
-**Convenience functions**: Add a suite of indicators to your DataFrame in one call
29
28
-**CSV and DataFrame workflows**: Read, process, and save data efficiently
30
29
-**Well-documented and tested**
@@ -37,51 +36,6 @@ Whether you are backtesting, researching, or building production trading systems
-**Basic indicator usage** (SMA, EMA, RSI, MACD, Bollinger Bands, etc.)
215
-
-**Strategy backtests** (minute and daily)
216
125
-**CSV workflows** for real-world data
126
+
-**Multi-stock analysis** with cross-asset comparisons
217
127
-**Saving and analyzing results**
218
128
219
129
## Important Notes
220
130
221
131
### Column Name Sensitivity
222
132
This library expects lowercase column names (`open`, `high`, `low`, `close`, `volume`) in DataFrames. When working with CSVs that might have different case formats (e.g., `Open`, `High`, etc.), make sure to rename the columns using Polars' selection and aliasing capabilities as shown in the examples above.
223
133
224
-
### Working with Multiple Stock Data Files
225
-
The examples directory contains sample code for running strategies on multiple stocks (AAPL, GOOGL, MSFT). You can use these as templates for your own multi-asset analysis.
226
-
227
134
---
228
135
229
136
## Contributing
230
137
231
138
Contributions are welcome! Please:
232
139
- Open issues for bugs, questions, or feature requests
233
-
- Submit pull requests for new indicators, strategies, or improvements
140
+
- Submit pull requests for new indicators or improvements
234
141
- Follow Rust best practices and add tests/docs for new code
Examples for processing and analyzing multiple assets:
41
+
42
+
-`working_with_multi_stock_data.rs` - Demonstrates how to load, process, and compare technical indicators across multiple stocks. Shows how to handle data from different CSV sources, standardize column formats, calculate key technical indicators, and perform cross-stock comparison analysis.
43
+
38
44
## Running the Examples
39
45
40
46
To run any example, use the following command from the project root:
0 commit comments