Home

Awesome

Build Workflow Crates.io License codecov FOSSA Status

stochastic-rs

stochastic-rs is a Rust library designed for high-performance simulation and analysis of stochastic processes and models. The primary goal is to provide a simple, easy-to-use, and efficient library that caters to a wide range of applications, including quantitative finance, AI training, statistical analysis, and more. This library is under active development, and contributions are welcome. Please note that breaking changes may occur as the library evolves. 🚧

RustQuant: you might want to explore RustQuant, another excellent Rust package tailored for quantitative finance.

Modules

The library is organized into several modules, each targeting specific areas of stochastic processes and their applications.

ModuleDescription
stochasticHigh-performance data generation for stochastic processes. Optimized for AI training and similar purposes where large amounts of synthetic data are required. It includes efficient algorithms for simulating various stochastic processes with a focus on performance and scalability.
quantLeveraging stochastic models for quantitative finance analysis. Includes tools for modeling financial instruments, pricing derivatives, risk assessment, and other financial computations using stochastic methods. It aims to bridge the gap between theoretical models and practical financial applications.
statsFocused on statistical analysis related specifically to stochastic processes. While Rust has several excellent statistical libraries, this module provides functions for parameter estimation, calculating fractal dimensions, time-series analysis, and other specialized statistical tools relevant to stochastic processes.
aiProvides out-of-the-box AI and deep neural network (DNN) solutions. Initially developed for PhD research problems, it offers tools and models that can be applied to more general AI topics, facilitating research and development in machine learning and data science.

Features

Planned features and models under development:


Future Work

We aim to continuously improve and expand the library:


Getting Started

To include stochastic-rs in your project, add the following to your Cargo.toml:

[dependencies]
stochastic-rs = "0.x.0"

Replace 0.x.0 with the latest version available on Crates.io.

Installation

Ensure you have Rust and Cargo installed. For installation instructions, visit rust-lang.org.

Contributing

Welcome contributions from the community! Whether it's reporting bugs, suggesting new features, or improving documentation, your help is appreciated.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Contact

For any questions, suggestions, or discussions, feel free to open an issue or start a discussion on GitHub. You can also reach out via email at [dancixx@gmail.com].


Acknowledgments

I would like to thank all the contributors and the open-source community for their invaluable support.


Note: This package is currently in a very early development phase. Breaking changes may occur as we work towards a stable release. Your feedback and contributions are crucial to help us improve and reach version 1.0.


Feel free to ⭐ star the repository if you find it useful!