Metadata-Version: 2.1
Name: cardquant
Version: 0.1.0
Summary: A library for mock quantitative trading exercises.
Home-page: https://github.com/evansemet/cardquant
Author: Evan Semet
Author-email: evancsemet@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/evansemet/cardquant/issues
Project-URL: Documentation, https://github.com/evansemet/cardquant#readme
Keywords: quantitative trading,options pricing,card games,finance,simulation
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: typing-extensions ; python_version < "3.9"

# CardQuant

**CardQuant** is a Python library for pricing options based on the sum of cards drawn from a deck. It combines probability and financial modeling to calculate option valuations such as the theoretical price (theo), delta, gamma, and theta for both call and put options in card-based scenarios.

## Features

- Calculate theoretical option prices (`theo`) based on card sums.
- Compute option Greeks like delta, gamma, and theta.
- Support for custom deck configurations.
- Intuitive data models using Python's `dataclasses`.
- Robust input validation to ensure accuracy and reliability.

## Installation

Install the library using pip:

```bash
pip install cardquant
