## Table of contents
- [Table of contents](#table-of-contents)
- [Introduction](#introduction)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Usage](#usage)
- [Contributing](#contributing)
## Introduction
`Quant Alchemy` provide a
## Installation
This package requires some dependencies to be installed.
### Dependencies
- [pandas](https://pandas.pydata.org/)
- [numpy](https://numpy.org/)
- [scipy](https://www.scipy.org/)
To install the package, run the following command in your terminal.
```bash
pip install quant_alchemy
```
To install all the dependencies, run the following command in your terminal.
```bash
pip install -r requirements.txt
```
## Usage
A simple example of how to use the package is shown below.
```python
from quant_alchemy import Timeseries, Portfolio
"""
Suppose we have a dataframe with the following columns:
- date: date of the stock price
- close: opening price of the stock
"""
df = pd.read_csv("data/stock.csv")
# Create a timeseries object
ts = Timeseries(df)
# To see all the methods available
print([t for t in dir(ts) if not t.startswith('__')])
# To see how to use a method
help(ts.annualized_return)
```
## Contributing
For any bug reports or recommendations, please visit our [issue tracker](https://github.com/EladioRocha/quant_alchemy/issues) and create a new issue. If you're reporting a bug, it would be great if you can provide a minimal reproducible example.
Thank you for your contribution!
Raw data
{
"_id": null,
"home_page": "https://github.com/EladioRocha/quant-alchemy",
"name": "quant-alchemy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Eladio Rocha Vizcaino",
"author_email": "eladio.rocha99@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/49/52/865e4981b236cc6ec53fa4df513e591c3aabc7b612b02a18623ec8710226/quant-alchemy-0.1.10.tar.gz",
"platform": null,
"description": "## Table of contents\r\n\r\n- [Table of contents](#table-of-contents)\r\n- [Introduction](#introduction)\r\n- [Installation](#installation)\r\n - [Dependencies](#dependencies)\r\n- [Usage](#usage)\r\n- [Contributing](#contributing)\r\n\r\n## Introduction\r\n`Quant Alchemy` provide a\r\n\r\n\r\n## Installation\r\nThis package requires some dependencies to be installed.\r\n\r\n### Dependencies\r\n- [pandas](https://pandas.pydata.org/)\r\n- [numpy](https://numpy.org/)\r\n- [scipy](https://www.scipy.org/)\r\n\r\nTo install the package, run the following command in your terminal.\r\n\r\n```bash\r\npip install quant_alchemy\r\n```\r\n\r\nTo install all the dependencies, run the following command in your terminal.\r\n\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n## Usage\r\nA simple example of how to use the package is shown below.\r\n\r\n```python\r\nfrom quant_alchemy import Timeseries, Portfolio\r\n\"\"\"\r\nSuppose we have a dataframe with the following columns:\r\n - date: date of the stock price\r\n - close: opening price of the stock\r\n\"\"\"\r\ndf = pd.read_csv(\"data/stock.csv\")\r\n\r\n# Create a timeseries object\r\nts = Timeseries(df)\r\n\r\n# To see all the methods available\r\nprint([t for t in dir(ts) if not t.startswith('__')])\r\n\r\n# To see how to use a method\r\nhelp(ts.annualized_return)\r\n```\r\n\r\n## Contributing\r\n\r\nFor any bug reports or recommendations, please visit our [issue tracker](https://github.com/EladioRocha/quant_alchemy/issues) and create a new issue. If you're reporting a bug, it would be great if you can provide a minimal reproducible example.\r\n\r\nThank you for your contribution!\r\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Package for quantitative finance.",
"version": "0.1.10",
"project_urls": {
"Bug Tracker": "https://github.com/EladioRocha/quant-alchemy/issues",
"Homepage": "https://github.com/EladioRocha/quant-alchemy"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17ff95f0bdc6372f121dd4b0bc72872f663b201d482e822b0352002259bdea4d",
"md5": "4194e8c66e77e650ef07b6e17403729f",
"sha256": "3f9bf3ccf6f0916e6607d5c246f4e8e23e865fc84ec1e05cdb1cc2bf5db88c31"
},
"downloads": -1,
"filename": "quant_alchemy-0.1.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4194e8c66e77e650ef07b6e17403729f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10941,
"upload_time": "2023-08-11T18:44:32",
"upload_time_iso_8601": "2023-08-11T18:44:32.640270Z",
"url": "https://files.pythonhosted.org/packages/17/ff/95f0bdc6372f121dd4b0bc72872f663b201d482e822b0352002259bdea4d/quant_alchemy-0.1.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4952865e4981b236cc6ec53fa4df513e591c3aabc7b612b02a18623ec8710226",
"md5": "09fb0e009b571e0e34714caa4466543b",
"sha256": "47e739cc3342bce2ddef4fc4c7036b1872d00862092fb067992b343704fff3ec"
},
"downloads": -1,
"filename": "quant-alchemy-0.1.10.tar.gz",
"has_sig": false,
"md5_digest": "09fb0e009b571e0e34714caa4466543b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9163,
"upload_time": "2023-08-11T18:44:34",
"upload_time_iso_8601": "2023-08-11T18:44:34.738614Z",
"url": "https://files.pythonhosted.org/packages/49/52/865e4981b236cc6ec53fa4df513e591c3aabc7b612b02a18623ec8710226/quant-alchemy-0.1.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-11 18:44:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EladioRocha",
"github_project": "quant-alchemy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "quant-alchemy"
}