
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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.
The easiest way to install quantmod is using pip:
pip install quantmod
# 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
Refer to the examples section for more details.
The list of changes to quantmod between each release can be found here
Join the quantmod server to share feature requests, report bugs, and discuss the package.
quatmod
is distributed under the Apache Software License. See the LICENSE.txt file in the release for details.
FAQs
Quantmod Python Package
We found that quantmod demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.