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.5.0.tar.gz (6.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.5.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antony_indicator-0.5.0.tar.gz
  • Upload date:
  • Size: 6.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.5.0.tar.gz
Algorithm Hash digest
SHA256 acc513a2668016c5aeb7851379aa0e8b78e69e598f03318c7489b51ad4576762
MD5 08734a999e3ccfb58f7ce906858d8a11
BLAKE2b-256 b317027e184e46cce9517c9421ba99381a37d34ad5b775937f1a8456171a3457

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for antony_indicator-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14edff91caf8d8253948ae1ec54002d90e11a111b60896dd9cc4bf4d8cee2344
MD5 55f39c4b6139973df3d638fc5bf1030b
BLAKE2b-256 51b9319c79063d45eb29d5a52c4bd8a0d286bb4ddb934bf3031eed75cbe3655f

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