Metadata-Version: 2.4
Name: antony-indicator
Version: 0.4.2
Summary: A custom indicator package including VPFR.
Home-page: https://github.com/yourusername/antony-indicator
Author: Antony
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: numpy
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Antony Indicator Package

A custom Python package for technical analysis indicators.

## Installation

```bash
pip install .
```

## Usage

### VPFR (Volume Profile Fixed Range)

```python
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)

```python
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)

```python
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

```python
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)
```
