Skip to main content

Quantmod Python Package

Project description

The quantmod package is inspired by the popular R package of the same name but reimagined for the modern Python data stack. It’s designed to support data scientists, analysts, and AI researchers with tools for fast, flexible data exploration and visualization. Whether you're working with time series, building machine learning pipelines, or prototyping data-driven ideas, quantmod offers a clean, intuitive interface that helps you move quickly from data to insight.

Installation

The easiest way to install quantmod is using pip:

pip install quantmod

Modules

Quickstart

# Retrieves market data & ticker object 
from quantmod.markets import getData, getTicker

# Charting module
import quantmod.charts

# Option price
from quantmod.models import OptionInputs, BlackScholesOptionPricing, MonteCarloOptionPricing

# Risk measures
from quantmod.risk import RiskInputs, ValueAtRisk, ConditionalVaR, VarBacktester

# Calculates price return of different time period.
from quantmod.timeseries import *

# Technical indicators
from quantmod.indicators import ATR

# Derivatives functions
from quantmod.derivatives import maxpain

# Datasets functions
from quantmod.datasets import fetch_historical_data

Note: quantmod is currently under active development, and anticipate ongoing enhancements and additions. The aim is to continually improve the package and expand its capabilities to meet the evolving needs of the community.

Examples

Refer to the examples section for more details.

Changelog

The list of changes to quantmod between each release can be found here

Community

Join the quantmod server to share feature requests, report bugs, and discuss the package.

Legal

quatmod is distributed under the Apache Software License. See the LICENSE.txt file in the release 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

quantmod-0.0.8.tar.gz (434.4 kB view details)

Uploaded Source

Built Distribution

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

quantmod-0.0.8-py3-none-any.whl (445.7 kB view details)

Uploaded Python 3

File details

Details for the file quantmod-0.0.8.tar.gz.

File metadata

  • Download URL: quantmod-0.0.8.tar.gz
  • Upload date:
  • Size: 434.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for quantmod-0.0.8.tar.gz
Algorithm Hash digest
SHA256 923072282cf2423c574275d9de798f793e4b1e292cbac42b6d60bf41fc8a107a
MD5 5168fe52838696b7c308fad625fe114c
BLAKE2b-256 a08e80bdddbd3f11bf4eeb55d5788285bc59c32299a2ec8e687c6421774e90e2

See more details on using hashes here.

File details

Details for the file quantmod-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: quantmod-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 445.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for quantmod-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a92e23bfc9c5681c8df70624c53a1a6b8a9c2fcd237f39bc67d7ff635083d618
MD5 6554699f612e5bcbfa60b985cacc7f34
BLAKE2b-256 e39b865ee5fbea174b42ab3278006042f06c78900588564de07d3866bc6842dd

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