Skip to main content

Quantmod Python Package

Project description

Quantmod Python package is inspired by the quantmod package for R. This new tool is designed to assist quantitative traders and data analysts with the development, testing, and rapid prototyping of trading strategies. quantmod features a straightforward and intuitive interface aimed at simplifying workflows and boosting productivity.

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

# 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.6.tar.gz (430.1 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.6-py3-none-any.whl (440.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantmod-0.0.6.tar.gz
  • Upload date:
  • Size: 430.1 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.6.tar.gz
Algorithm Hash digest
SHA256 f3af1bc1b3bb04de59b5e796734a07491d155c76af475c2ab73b63e5862bb5e0
MD5 a4a07d7aa9f82acdc6b1ccb5748ea4dd
BLAKE2b-256 ab398858c7ad2ff838f3f790ba2763ae114934329d751c559f818d60f65f64f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quantmod-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 440.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad524a908739e9876dd624c198474acc0a1ddfa5c585d808e7824a8f360c9dc
MD5 27239726722305afc9bd1716ccd0c3d9
BLAKE2b-256 3db1f545906860f2a42ee0844b6e4a1ec38e59680f3bc2b13b22958d22d349c9

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