ta-rs
ta-rs copied to clipboard
Technical analysis library for Rust language
Requires DM-/DM+, DI-/DI+ first. I started implementing all of them [in my fork](https://github.com/virtualritz/ta-rs/commit/55ea74919c5370845f5d524a3066d39ad5059f50) as I need them for the project I'm working on. While they're all there now I haven't...
PR is made of three commits for eventual cherry picking: 1. `data_item.rs`: - Made `DataItem` fields public and added `Default`. - Added `DataItem::is_ok()`. - Exposed `DataItemBuilder` and added `Default` (related...
... and return `Self` instead of `Option`. I.e. put the bounds checking that currently happens w/o opt-in inside each `period`-based indicator's `new()` method at the discretion of the crate user.
Okay @greyblake, here's how I have in mind approaching adding `Decimal` support for those that want it. Essentially the idea is to add an optional dependency on `rust_decimal`, and swap...
Hello, I've been using the RSI indicator provided by `ta`. Using the RSI indicator, I compute some higher level indicators, their form is not important here. I wanted to verify...
It would be nice to be able to use `rust_decimal.Decimal` and not lose the precision of `f64`. I would be willing in principle to contribute this if you think you...
Just for example, `OnBalanceVolume` uses only `close` and `volume`. Yet I need to build a complete `DataItem` using the `builder()` method. And this runs the validation `if` clause in `DataItemBuiler::build()`...
Hey there, this PR implements the weighted moving average indicator, which assigns weights that decrease linearly (n, n-1, etc) as opposed to exponentially as in the EMA. From what I...
Hi, Would it be possible to limit the number of input values? Instead of adding the value to the next iterator, would it be possible to only use for example...