Time-Series Forecasting for Prices
Project description
PriceProphet
Time-Series Forecasting for Prices with anomaly detection and impact simulation.
Installation
pip install priceprophet
Quick Start
from priceprophet import PriceProphet
import pandas as pd
pp = PriceProphet()
# Create sample data
df = pd.DataFrame({
'date': pd.date_range('2025-01-01', periods=90),
'price': [100 + i * 0.5 + (i % 7) * 2 for i in range(90)]
})
# Forecast future prices
forecast = pp.forecast(df, periods=30)
print(forecast.head())
# Detect anomalies
anomalies = pp.detect_anomalies(df)
print(anomalies[anomalies['is_anomaly']])
# Simulate market impact
impact = pp.simulate_impact(current_price=150.0, shock_magnitude=0.15, shock_type="competitor")
print(impact)
Features
- Price Forecasting - Linear regression with dynamic confidence intervals
- Anomaly Detection - Z-score based anomaly identification
- Impact Simulation - Market shock simulation (competitor, supply, demand, regulation)
License
MIT
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
priceprophet-0.3.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file priceprophet-0.3.0.tar.gz.
File metadata
- Download URL: priceprophet-0.3.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16e61ffdce3ec3d5f99251462102beebca0eabada421dc045372eb3b76124bce
|
|
| MD5 |
72d6e6a34cbcf8aedd9d7e81f70636c7
|
|
| BLAKE2b-256 |
748c676741226c402a65c2effc10e1ac262c2276db81542ccb2dcee406859c94
|
File details
Details for the file priceprophet-0.3.0-py3-none-any.whl.
File metadata
- Download URL: priceprophet-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab9fc8f7a07d616196e4c666248d3ff4c2544527408765706315ff3b61037bef
|
|
| MD5 |
544c3ff42f1103b88eebe1e4b3ccfcc8
|
|
| BLAKE2b-256 |
9254923f76096ca1aa5842c81519b8839a86e532f97f7bc0858b1c8b58e06c74
|