Skip to main content

Reliable, clean market data and basic analytics — pure Python, no C dependencies.

Project description

marketkit

Reliable, clean market data and basic analytics, pure Python, no C dependencies.

Install

pip install marketkit

Quick start

import marketkit as mk

Fetch clean, adjusted OHLCV data

df = mk.get("AAPL")

Analytics

print(mk.sharpe(df)) print(mk.drawdown(df))

Indicators

df["rsi"] = mk.rsi(df) df["sma50"] = mk.sma(df, window=50)

One-shot summary

mk.summary("AAPL")

Why marketkit?

  • Pure Python — installs with plain pip install, no compiler needed
  • Doesn't break — automatic source fallback + caching so one bad day from Yahoo doesn't crash your script
  • Clean output — flat columns, predictable dtypes, adjusted prices by default
  • Beginner-friendly — sensible defaults, clear errors, great docs

Disclaimer

Not affiliated with any data provider. Data is for personal/research use only. Users must comply with each source's terms of service. Not financial advice.

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

marketkit-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

marketkit-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file marketkit-0.1.0.tar.gz.

File metadata

  • Download URL: marketkit-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for marketkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4437daeef9ce1e21eb269eed038d82d546d6343ec200b34fc43c0d1013375cb1
MD5 a03f7ec097dfd8ca1012c8ea97b2c81d
BLAKE2b-256 b701a391a545ae4598c96c88177c4a31f2477bad4363a4871ad1dc8f717b44e5

See more details on using hashes here.

File details

Details for the file marketkit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: marketkit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for marketkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4728ea191adecd1201895dcc3709941bf3a6ef6ab27925e5460db9e256b61b9b
MD5 d2af21288c98dc4e6b21af9052361d39
BLAKE2b-256 2b1120c710289dbecb10a1b369de910460f340582a9d5b822eaa5cdb9ca97707

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