rustalib 1.0.9

A library of technical indicators for financial analysis, similar to TA-Lib
Documentation
1
2
3
4
5
6
7
use polars::prelude::*;

// Helper function to create test DataFrame
pub fn create_test_df() -> DataFrame {
    let price = Series::new("price".into(), &[10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0]);
    DataFrame::new(vec![price.into()]).unwrap()
}