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.0.tar.gz (4.9 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.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antony_indicator-0.4.0.tar.gz
  • Upload date:
  • Size: 4.9 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.0.tar.gz
Algorithm Hash digest
SHA256 a8a42f6174220e4abe8c8114b186a1cd1a3fbab6e78ebcfde9b7378979f8dfa4
MD5 50367d2e544a839dab2e8b4d108ffa72
BLAKE2b-256 ebe4b2c754a3258eaadd4aa0eeb861e940e594892dfff45f50682a03f1f5da1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for antony_indicator-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc0243ac7a8db35acf556dd60681f726492ebed4d4e51c95f2a69b6b2c0df13
MD5 3990aa0080a75963a60a0299525e5584
BLAKE2b-256 d9be01ababe555be05f0e3cee691a1a3a4c60ddc7838f0203627373e88d1ab88

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