Skip to main content

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antony_indicator-0.4.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antony_indicator-0.4.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file antony_indicator-0.4.2.tar.gz.

File metadata

  • Download URL: antony_indicator-0.4.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for antony_indicator-0.4.2.tar.gz
Algorithm Hash digest
SHA256 5b85a0a2669c163293329e7004213f3ab2f035265987803159e97b5afdab9530
MD5 175b6cce64b6ac35c79ebce0ee42310a
BLAKE2b-256 5dd6e7b62e49394d646f56b86a7ba61fd0f2e02a8bbf39e78795c5c21ef79b1c

See more details on using hashes here.

File details

Details for the file antony_indicator-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for antony_indicator-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1815f8eca489abe4af02c0d74fdbd77a04dca6d656718d851facd35ca84767
MD5 eab3a86b851cc381bc80f847a73e00d5
BLAKE2b-256 d243c7d264345dfda4a3522a789da900a886818c5641cf160635ba17d51b47c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page