Skip to main content

Riskalphaindics

Description

This Python package provides functionality to calculate various financial indicators such as Moving Average, Exponential Moving Average (EMA), Relative Strength Index (RSI), Average True Range (ATR), and Moving Average Convergence Divergence (MACD). It's designed for financial market analysis and algorithmic trading strategies.

Installation

To install this package, ensure you have Poetry installed on your system. If you don't have Poetry, you can install it using pip:

pip install poetry

Then, you can install this package using Poetry:

poetry add riskalphaindics

Usage

Below are some examples of how to use the indicators in this package.

Moving Average

from riskalphaindics import moving_average

# Assuming 'data' is a pandas DataFrame with a 'close' column
ma = moving_average(data, window=20)

Exponential Moving Average

from riskalphaindics import exponential_moving_average

# Assuming 'data' is a pandas DataFrame with a 'close' column
ema = exponential_moving_average(data, window=20)

Relative Strength Index

from riskalphaindics import relative_strength_index

# Assuming 'data' is a pandas DataFrame with a 'close' column
rsi = relative_strength_index(data, periods=14)

Average True Range

from riskalphaindics import average_true_range

# Assuming 'data' is a pandas DataFrame with 'high', 'low', and 'close' columns
atr = average_true_range(data, window=14)

Moving Average Convergence Divergence

from riskalphaindics import moving_average_convergence_divergence

# Assuming 'data' is a pandas DataFrame with a 'close' column
macd, signal_line = moving_average_convergence_divergence(data, window_slow=26, window_fast=12, signal=9)

Contributing

Contributions to this package are welcome. Please fork the repository and submit a pull request with your proposed changes.

License

MIT.

Metadata

Release files for riskalphaindics 0.1.0

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

Source distribution (sdist)

Source distribution for riskalphaindics 0.1.0
File Size Uploaded Provenance Actions
riskalphaindics-0.1.0.tar.gz 2.9 kB Without provenance Details for riskalphaindics-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for riskalphaindics 0.1.0
File Interpreter ABI Platform Actions
riskalphaindics-0.1.0-py3-none-any.whl Python 3 none any Details for riskalphaindics-0.1.0-py3-none-any.whl

Total release size: 6.5 kB

Release files / riskalphaindics-0.1.0.tar.gz

Download URL riskalphaindics-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
afd906c18c6ad13e75043d5393e8824cb28fa2f65340da9ed5b4bf6dd4de0d28
BLAKE2b-256 checksum
How to use checksums
b8e4ec1773432acc8e6619e3e8c7feb93e67020c585563dc3dc750007a74ed1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-39-generic

Release files / riskalphaindics-0.1.0-py3-none-any.whl

Download URL riskalphaindics-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb6016cc6d04c48889a91f812fcc904977dc41fd8c03a6a4c60421ba82f6d522
BLAKE2b-256 checksum
How to use checksums
37394fb21ed54d06c08c7949bc277782f8bfb6c81952ca9d4892438f7fdcf12f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-39-generic

Security for riskalphaindics 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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