A custom indicator package including VPFR.
Project description
Antony Indicator Package
A custom Python package for technical analysis indicators.
Installation
pip install .
Usage
VPFR (Volume Profile Fixed Range)
import pandas as pd
from indicator.vpfr import vpfr
# ... create dataframe ...
result = vpfr(df)
print(result.poc, result.vah, result.val)
VWAP (Volume Weighted Average Price)
from indicator.vwap import vwap
# Standard VWAP
result = vwap(df)
print(result.vwap)
# Session-based VWAP (reset on column)
result_session = vwap(df, reset=True, reset_col='session_id')
CVD (Cumulative Volume Delta)
from indicator.cvd import cvd
# Standard CVD (neutral='ignore')
result = cvd(df, neutral='ignore')
print(result.cvd)
# Split neutral volume (half buy/half sell)
result_split = cvd(df, neutral='split')
Open Interest State
from indicator.oi import oi_state
# Classify state (LB, SB, SC, LU, NEUTRAL)
result = oi_state(df, close_col='close', oi_col='oi')
print(result.state)
Candle Metrics & State
from indicator.candle import candle_metrics, candle_state
# 1. Compute Metrics
metrics = candle_metrics(df)
# 2. Classify State
state_result = candle_state(metrics)
print(state_result.state)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antony_indicator-0.5.1.tar.gz.
File metadata
- Download URL: antony_indicator-0.5.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59c37b2ed6667c33aa2f3d7845726ca259fd2b8b645243b7209ea2379d3af2e3
|
|
| MD5 |
7f0e9ffefbea754cf4ff3f1cdb81ba11
|
|
| BLAKE2b-256 |
defff58be41d935171508e8b870d96e3074f563cead6dc3099566c1966ecd8ed
|
File details
Details for the file antony_indicator-0.5.1-py3-none-any.whl.
File metadata
- Download URL: antony_indicator-0.5.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2e8b57d2aeee5fa71115aaa60c852bdac620cb92c95c647649d2dc4f8a5f6b0
|
|
| MD5 |
b489f35138e5816e3aae85c3ccb5ac96
|
|
| BLAKE2b-256 |
b90915619c482ab8f35191b2123679a07b0418b2551e4ac69d0742362c72048e
|