Skip to main content

Energy derivatives data collection and analysis system

Project description

Energex

Energy derivatives data collection and analysis system with advanced analytics for futures trading.

Features

Data Collection

  • Real-time intraday data fetching
  • Support for major energy futures contracts
  • Efficient storage using DuckDB
  • Robust error handling and validation

Analysis Tools

  • Data Quality:

    • Price gap detection
    • Volume anomaly detection
    • OHLC consistency checks
  • Volatility Analysis:

    • Multiple volatility calculation methods
    • Intraday pattern detection
    • Risk metrics
  • Futures Analysis:

    • Term structure analysis
    • Roll yield calculations
    • Basis risk measurement
    • Implied rates

Visualization

  • Interactive price charts
  • Volume profile analysis
  • Term structure visualization
  • Futures curve analysis

Installation

pip install energex

Quick Start

from energex.data_fetcher import EnergyDataFetcher
from energex.database import EnergyDatabase
from energex.analysis.volatility import VolatilityAnalyzer
from energex.visualization.charts import MarketVisualizer

# Fetch data
fetcher = EnergyDataFetcher()
data = fetcher.fetch_all_commodities()

# Store in database
db = EnergyDatabase()
db.insert_intraday_data(data)

# Analyze volatility
analyzer = VolatilityAnalyzer(data)
vol_metrics = analyzer.calculate_volatility_metrics()

# Create visualizations
viz = MarketVisualizer(data)
fig = viz.plot_price_quality("CL=F")
fig.show()

Contributing

Contributions are welcome! Please read our Contributing Guidelines for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

energex-0.2.0.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

energex-0.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file energex-0.2.0.tar.gz.

File metadata

  • Download URL: energex-0.2.0.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for energex-0.2.0.tar.gz
Algorithm Hash digest
SHA256 13152aabb768fd2e5c0157f1c1201873cd611e7c0fa0000b88aa7a6231b04dae
MD5 4fe923efa566e2761f13e304eb4d48b1
BLAKE2b-256 e0281338d59a04e58e57d30189f7e7e93aeb61ec4f2bdaeafca52cb2291240ed

See more details on using hashes here.

File details

Details for the file energex-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: energex-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for energex-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6195e80109e4f14f5963bbc724b82977d0dd5eb9b8d8ed97c9cf062b6c16b5ad
MD5 66feb026adc35dd3ed005049b772c409
BLAKE2b-256 c64e66647297d21dcb9243156c89d4a278f529feb80d292b6cc822bebc160801

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