Skip to main content

Table of contents

Introduction

Quant Alchemy provide a

Installation

This package requires some dependencies to be installed.

Dependencies

To install the package, run the following command in your terminal.

pip install quant_alchemy

To install all the dependencies, run the following command in your terminal.

pip install -r requirements.txt

Usage

A simple example of how to use the package is shown below.

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 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!

Metadata

Release files for quant-alchemy 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quant-alchemy 0.1.10
File Size Uploaded
quant-alchemy-0.1.10.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quant-alchemy 0.1.10
File Interpreter ABI Platform
quant_alchemy-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / quant-alchemy-0.1.10.tar.gz

Download URL quant-alchemy-0.1.10.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47e739cc3342bce2ddef4fc4c7036b1872d00862092fb067992b343704fff3ec
BLAKE2b-256 checksum
How to use checksums
4952865e4981b236cc6ec53fa4df513e591c3aabc7b612b02a18623ec8710226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.5

Release files / quant_alchemy-0.1.10-py3-none-any.whl

Download URL quant_alchemy-0.1.10-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f9bf3ccf6f0916e6607d5c246f4e8e23e865fc84ec1e05cdb1cc2bf5db88c31
BLAKE2b-256 checksum
How to use checksums
17ff95f0bdc6372f121dd4b0bc72872f663b201d482e822b0352002259bdea4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page