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.1.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.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antony_indicator-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 26cb93d49d5ea88a5f19108ee5e332e9052e0569726f87fd4ab6a787c1aa308f
MD5 93a6627cfa4ff236043ddd02421865b4
BLAKE2b-256 1865c64e061de2dad5d8a019930ff1eb09790c2b07be44af79ef30cc7d45ed17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for antony_indicator-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98b73c3433b96b220be8a9c003d703030be7c6f403a8b3a4cef2e5f331f8d746
MD5 4f83d9eb7188d0303ba9a02940634532
BLAKE2b-256 fe7323934121068f2932415b6c7c7d24602bc63a1627d54a0fc78d7859401aaa

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