nyxs_owl 0.4.0

A comprehensive Rust library for trading, forecasting, and financial analysis
Documentation
fn main() {
    println!("Checking technical analysis libraries integration");

    // We're now using the polars_talib extension instead of ta-lib-in-rust directly
    // This extension provides a more seamless integration with polars

    // In Python, you would use it like this:
    // import polars as pl
    // import polars_talib as plta
    //
    // df.with_columns(
    //     pl.col("close").ta.ema(5).alias("ema5"),
    //     pl.col("close").ta.macd(12, 26, 9).struct.field("macd"),
    //     pl.col("close").ta.macd(12, 26, 9).struct.field("macdsignal"),
    //     pl.col("open").ta.cdl2crows(pl.col("high"), pl.col("low"), pl.col("close")).alias("cdl2crows"),
    //     pl.col("close").ta.wclprice("high", "low").alias("wclprice"),
    // )

    println!("Currently we're still using the mock implementations for ease of integration with our strategies");
    println!("To use the actual technical analysis libraries, we can:");
    println!("1. For Rust only: use the polars_ta_extension crate directly");
    println!("2. For Python integration: use the polars_talib package (pip install polars_talib)");
    println!("3. Both options provide full compatibility with the latest polars versions");
    println!("Done");
}