stochastic-py


Namestochastic-py JSON
Version 0.10.5 PyPI version JSON
download
home_pagehttps://github.com/dancixx/stochastic-rs
SummaryA Rust library for quant finance and simulating stochastic processes.
upload_time2024-10-08 21:39:55
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT
keywords stochastic quant finance simulation statistics
VCS
bugtrack_url
requirements maturin
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Build Workflow](https://github.com/dancixx/stochastic-rs/actions/workflows/rust.yml/badge.svg)
[![Crates.io](https://img.shields.io/crates/v/stochastic-rs?style=flat-square)](https://crates.io/crates/stochastic-rs)
![License](https://img.shields.io/crates/l/stochastic-rs?style=flat-square)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdancixx%2Fstochastic-rs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdancixx%2Fstochastic-rs?ref=badge_shield)

# 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](https://github.com/avhz/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.

| Module       | Description                                                                                                                                                                                                                                                                   |
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **stochastic** | High-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. |
| **quant**       | Leveraging 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.      |
| **stats**       | Focused 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. |
| **ai**          | Provides 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:

- **Rough Heston Model**: Combines the Heston model with rough volatility, capturing the fine structure of volatility movements.
- **Hull-White Model**: An interest rate model with time-dependent parameters, providing a good fit to initial term structures.
- **Barndorff-Nielsen & Shephard Model**: A stochastic volatility model with non-Gaussian Ornstein-Uhlenbeck processes.
- **Alpha-Stable Models**: Models based on stable distributions, capturing heavy tails and skewness.
- **CGMY Model**: A pure jump Lévy process model capturing infinite activity and infinite variation.
- **Multi-factor CIR Model**: Extends the CIR model to multiple factors, providing greater flexibility in interest rate modeling.
- **Brace-Gatarek-Musiela (BGM) Model**: A market model for interest rates, modeling the evolution of forward rates.
- **Wu-Zhang Model**: A stochastic volatility model with jumps in returns and volatility.
- **Affine Models**: A class of models where yields are affine functions of factors, facilitating analytical solutions.
- **Heath-Jarrow-Morton Model & Multi-factor HJM Model**: Models the evolution of the entire yield curve over time.

---

## Future Work

We aim to continuously improve and expand the library:

- **More Tests**: Increase test coverage to ensure reliability and correctness. Rigorous testing of numerical methods and edge cases.
- **More Examples**: Provide comprehensive examples and tutorials. Demonstrate practical applications and integrations.
- **Full Documentation**: Enhance documentation for all modules and functions. Include mathematical backgrounds, usage instructions, and API references.
- **Performance Optimization**: Further optimize algorithms for speed and memory efficiency.
- **Cross-platform Support**: Ensure compatibility across different operating systems and environments.
- **User Feedback Integration**: Incorporate suggestions and feedback from the user community to improve usability and features.

---

## Getting Started

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

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

Replace `0.x.0` with the latest version available on [Crates.io](https://crates.io/crates/stochastic-rs).

### Installation

Ensure you have Rust and Cargo installed. For installation instructions, visit [rust-lang.org](https://www.rust-lang.org/tools/install).


## 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](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!


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dancixx/stochastic-rs",
    "name": "stochastic-py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "stochastic, quant, finance, simulation, statistics",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/28/e7/3c64d03fe5f22f6f206290eb44e225d7e04df3e25f7c6c319959bdda7106/stochastic_py-0.10.5.tar.gz",
    "platform": null,
    "description": "![Build Workflow](https://github.com/dancixx/stochastic-rs/actions/workflows/rust.yml/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/stochastic-rs?style=flat-square)](https://crates.io/crates/stochastic-rs)\n![License](https://img.shields.io/crates/l/stochastic-rs?style=flat-square)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdancixx%2Fstochastic-rs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdancixx%2Fstochastic-rs?ref=badge_shield)\n\n# stochastic-rs \n\n**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. \ud83d\udea7\n\n[RustQuant](https://github.com/avhz/RustQuant): you might want to explore **RustQuant**, another excellent Rust package tailored for quantitative finance. \n## Modules\n\nThe library is organized into several modules, each targeting specific areas of stochastic processes and their applications.\n\n| Module       | Description                                                                                                                                                                                                                                                                   |\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **stochastic** | High-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. |\n| **quant**       | Leveraging 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.      |\n| **stats**       | Focused 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. |\n| **ai**          | Provides 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.                                                |\n\n---\n\n## Features\n\nPlanned features and models under development:\n\n- **Rough Heston Model**: Combines the Heston model with rough volatility, capturing the fine structure of volatility movements.\n- **Hull-White Model**: An interest rate model with time-dependent parameters, providing a good fit to initial term structures.\n- **Barndorff-Nielsen & Shephard Model**: A stochastic volatility model with non-Gaussian Ornstein-Uhlenbeck processes.\n- **Alpha-Stable Models**: Models based on stable distributions, capturing heavy tails and skewness.\n- **CGMY Model**: A pure jump L\u00e9vy process model capturing infinite activity and infinite variation.\n- **Multi-factor CIR Model**: Extends the CIR model to multiple factors, providing greater flexibility in interest rate modeling.\n- **Brace-Gatarek-Musiela (BGM) Model**: A market model for interest rates, modeling the evolution of forward rates.\n- **Wu-Zhang Model**: A stochastic volatility model with jumps in returns and volatility.\n- **Affine Models**: A class of models where yields are affine functions of factors, facilitating analytical solutions.\n- **Heath-Jarrow-Morton Model & Multi-factor HJM Model**: Models the evolution of the entire yield curve over time.\n\n---\n\n## Future Work\n\nWe aim to continuously improve and expand the library:\n\n- **More Tests**: Increase test coverage to ensure reliability and correctness. Rigorous testing of numerical methods and edge cases.\n- **More Examples**: Provide comprehensive examples and tutorials. Demonstrate practical applications and integrations.\n- **Full Documentation**: Enhance documentation for all modules and functions. Include mathematical backgrounds, usage instructions, and API references.\n- **Performance Optimization**: Further optimize algorithms for speed and memory efficiency.\n- **Cross-platform Support**: Ensure compatibility across different operating systems and environments.\n- **User Feedback Integration**: Incorporate suggestions and feedback from the user community to improve usability and features.\n\n---\n\n## Getting Started\n\nTo include **stochastic-rs** in your project, add the following to your `Cargo.toml`:\n\n```toml\n[dependencies]\nstochastic-rs = \"0.x.0\"\n```\n\nReplace `0.x.0` with the latest version available on [Crates.io](https://crates.io/crates/stochastic-rs).\n\n### Installation\n\nEnsure you have Rust and Cargo installed. For installation instructions, visit [rust-lang.org](https://www.rust-lang.org/tools/install).\n\n\n## Contributing\n\nWelcome contributions from the community! Whether it's reporting bugs, suggesting new features, or improving documentation, your help is appreciated.\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n\n## Contact\n\nFor 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].\n\n---\n\n## Acknowledgments\n\nI would like to thank all the contributors and the open-source community for their invaluable support.\n\n---\n\n**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.\n\n---\n\nFeel free to \u2b50 star the repository if you find it useful!\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Rust library for quant finance and simulating stochastic processes.",
    "version": "0.10.5",
    "project_urls": {
        "Homepage": "https://github.com/dancixx/stochastic-rs",
        "Source Code": "https://github.com/dancixx/stochastic-rs"
    },
    "split_keywords": [
        "stochastic",
        " quant",
        " finance",
        " simulation",
        " statistics"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c8d61f666f17bb8d8cf4d4624197e917ac7c825e2f5b7f18732e29d5ed8b5613",
                "md5": "0e8bb06507e882c2fa31d7a15e4267d7",
                "sha256": "1aaf376e1827fcabc0efb75eb392e33068f8a6e41a2b5cd82f48ada369dcc804"
            },
            "downloads": -1,
            "filename": "stochastic_py-0.10.5-cp38-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0e8bb06507e882c2fa31d7a15e4267d7",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 426078,
            "upload_time": "2024-10-08T21:39:53",
            "upload_time_iso_8601": "2024-10-08T21:39:53.613518Z",
            "url": "https://files.pythonhosted.org/packages/c8/d6/1f666f17bb8d8cf4d4624197e917ac7c825e2f5b7f18732e29d5ed8b5613/stochastic_py-0.10.5-cp38-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "28e73c64d03fe5f22f6f206290eb44e225d7e04df3e25f7c6c319959bdda7106",
                "md5": "0d81c9c1352f05e7241a969c7ebef2c2",
                "sha256": "ae89d9eb03ecba6c4d4494cf7f6f298a4b2590c96a6ff8ff4416265f231a8d36"
            },
            "downloads": -1,
            "filename": "stochastic_py-0.10.5.tar.gz",
            "has_sig": false,
            "md5_digest": "0d81c9c1352f05e7241a969c7ebef2c2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 72739,
            "upload_time": "2024-10-08T21:39:55",
            "upload_time_iso_8601": "2024-10-08T21:39:55.566231Z",
            "url": "https://files.pythonhosted.org/packages/28/e7/3c64d03fe5f22f6f206290eb44e225d7e04df3e25f7c6c319959bdda7106/stochastic_py-0.10.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-08 21:39:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dancixx",
    "github_project": "stochastic-rs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "maturin",
            "specs": [
                [
                    "==",
                    "1.7.4"
                ]
            ]
        }
    ],
    "lcname": "stochastic-py"
}
        
Elapsed time: 0.46773s