Skip to main content

Tools for aggregating efficient ways to consume and process publically traded equities on the US stock market. Includes support for SEC quarterly data processing.

Project description

License PyPI - Python Version Test Status Coverage Status bear-ified Code style: black PyPI - Python Version PyPI - Downloads PyPI - Status

StockTracer

Stock Analysis Framework

The goal of this project is aggregate a variety of ways to consume information about a particular equity traded on the US stock market and provide a modular mechanism to process it. Core tenants of this project include:

  • Heavy data caching - don't download static data more than once
  • Efficient use of storage - leave data compressed while not in use
  • Batch Processing - We can't store all information in memory, so break problems up
  • Speed - Find and avoid bottlenecks of big data processing

Requirements

  • python 3.10+

Getting Started

Users

pip install stocktracer

# Perform analysis
stocktracer analyze --tickers aapl,msft > report.txt

# Help
stocktracer

Developers

Make sure you have pipenv installed through a package manager or through pip.

pipenv install --dev

# Perform analysis
PYTHONPATH=src pipenv run python -m stocktracer analyze --tickers aapl,msft
PYTHONPATH=src pipenv run python -m stocktracer analyze --tickers aapl,msft -a stocktracer.analysis.diluted_eps
PYTHONPATH=src pipenv run python -m stocktracer analyze --tickers aapl,msft -a stocktracer.analysis.diluted_eps --report-format csv
PYTHONPATH=src pipenv run python -m stocktracer analyze --tickers aapl,msft -a stocktracer.analysis.diluted_eps --report-format json --report-file my_results.json

# Help
PYTHONPATH=src pipenv run python -m stocktracer

# Run Unit Tests
pipenv run pytest

More information can be found in our documentation

Disclaimer

This project seeks to use publicly available information to perform security analysis and help perform long term risk analysis. Results provided from this project are generally for academic use only and are not considered advice or recommendations. This project makes no performance claims or guarantees. Please read the license for this project. Usage of any data is at your own risk.

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

stocktracer-0.3.0.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

stocktracer-0.3.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file stocktracer-0.3.0.tar.gz.

File metadata

  • Download URL: stocktracer-0.3.0.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for stocktracer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6ff22928700c5bca58002532842eb3154f7745f16135b204479f2cd2a50444a4
MD5 f6988377b66ed373f698d686316e0981
BLAKE2b-256 b5a9c2881e78b8d0ae6c3eaedfd69a61411383c79233d85e02ec44afb0c3fe9d

See more details on using hashes here.

File details

Details for the file stocktracer-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: stocktracer-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for stocktracer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44a6d55f5f647985132201bcc0c64682744d14ad707cb4d95f308efda5001abd
MD5 b20ed3d6cf39ac3c91fd4f3d76fa9367
BLAKE2b-256 be17e118c6b951b9d83a1a90ee9a1f557cb4e5029272132b55aaa13db5a5ca92

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page