Crates.io | RustyQLib |
lib.rs | RustyQLib |
version | 0.0.1 |
source | src |
created_at | 2023-10-29 21:07:32.87817 |
updated_at | 2023-10-29 21:07:32.87817 |
description | RustyQLib is a lightweight yet robust quantitative finance library designed to price derivatives and perform risk analysis |
homepage | https://github.com/siddharthqs/RustyQLib |
repository | https://github.com/siddharthqs/RustyQLib |
max_upload_size | |
id | 1017750 |
size | 116,443 |
RustyQLib is a lightweight yet robust quantitative finance library designed for pricing options. Built entirely in Rust, it offers a unique combination of safety, performance, and expressiveness that is crucial for handling financial data and complex calculations. RustyQlib simplifies equity option pricing without compromising on safety, speed, or usability.
RustyQlib is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.
After cloning the repository and building you can run the following command:
rustyqlib file --input <FILE> --output <FILE>
and for pricing all contracts in a directory
rustyqlib dir --input <DIR> --output <DIR>
and for interactive mode
rustyqlib interactive
and for build mode to build vol surface or interest rate curve
rustyqlib build --input <FILE> --output <DIR>
Sample input file is provided in the repository (src\input\equity_option.json) Files are in JSON format and can be easily edited with any text editor.
JSON Output Clarity
Structured Results: RustQuant produces JSON output, that is your provided input with pricing results, Greeks, and risk profiles.
Scalability: JSON output is highly scalable. You can process large batches of option pricing requests and obtain results in a structured format, streamlining portfolio management.
Interoperability: JSON output integrates seamlessly with data visualization tools, databases, and reporting systems, enabling you to present and share your derivative pricing results effectively.
Equity Option
Equity Forward Start Option
Equity Basket
Equity Barrier
Equity Lookback
Equity Asian
Equity Rainbow
Equity Chooser
Black Scholes
Binomial Tree
Monte Carlo
Finite Difference
Longstaff-Schwartz
Heston
Local Volatility
Stochastic Volatility
Jump Diffusion