Skip to main content

Python toolkit for PEAD research and earnings calendar analysis.

Project description

Run Tests Bump Version on Merge Publish Wheel to PyPi

EarningsPy 📈

EarningsPy is the elegant Python alternative for studying Post Earnings Announcement Drift (PEAD) in financial markets. Designed for quant researchers, data scientists, and finance professionals, this package provides robust tools to analyze earnings calendars, automate data collection, and perform advanced event studies with ease.

Features

  • 🗓️ Earnings Calendar Access: Effortlessly retrieve earnings dates by sector, industry, index, or market capitalization.
  • 🚀 PEAD Analysis: Built-in utilities to compute post-earnings drift and related statistics.
  • 🏦 Data Integration: Seamless integration with Finviz for comprehensive earnings and 20 min delayed market data.
  • 🔍 Flexible Filtering: Filter earnings events by week, month, or custom criteria.
  • 🛠️ Quant-Friendly API: Pandas-based workflows for easy integration into quant research pipelines.
  • 📊 Excel-Ready Data: Generate profiled, ready-to-use datasets for calculations and modeling directly in Excel.

Installation

pip install earningspy

Usage (WIP)

Fetch next week earnings

from earningspy.calendars.earnings import EarningSpy
EarningSpy.get_next_week_earnings()

Fetch earnings by ticker

from earningspy.calendars.earnings import EarningSpy
EarningSpy.get_by_tickers(['AAPL', 'MSFT', 'GOOGL'])

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

earningspy-0.1.11.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

earningspy-0.1.11-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

Details for the file earningspy-0.1.11.tar.gz.

File metadata

  • Download URL: earningspy-0.1.11.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for earningspy-0.1.11.tar.gz
Algorithm Hash digest
SHA256 c033d9a92b6513bc00840136258ea5db2800cc3d1005abedb63ee7987c86ec7e
MD5 98181170bbc116e856f2159c0d24b937
BLAKE2b-256 f3e95cab6d2027bba670209f2ed443a907ee6f597d9ef2c87d32560e47f26c7a

See more details on using hashes here.

File details

Details for the file earningspy-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: earningspy-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 36.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for earningspy-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b5002c600c4cff13d4030e9e18718c6895a8736fbe781f7f94213df1cfa0de3a
MD5 57007a727062ebe6b0549a0ee1dba986
BLAKE2b-256 798cf9e0960f21f59e525501dd2cfb80ea5f611a0bf8f3f436539cf8202e7653

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