Package: quantmod 0.4.26.1

quantmod: Quantitative Financial Modelling Framework

Specify, build, trade, and analyse quantitative financial trading strategies.

Authors:Jeffrey A. Ryan [aut, cph], Joshua M. Ulrich [cre, aut], Ethan B. Smith [ctb], Wouter Thielen [ctb], Paul Teetor [ctb], Steve Bronder [ctb]

quantmod_0.4.26.1.tar.gz
quantmod_0.4.26.1.zip(r-4.5)quantmod_0.4.26.1.zip(r-4.4)quantmod_0.4.26.1.zip(r-4.3)
quantmod_0.4.26.1.tgz(r-4.4-any)quantmod_0.4.26.1.tgz(r-4.3-any)
quantmod_0.4.26.1.tar.gz(r-4.5-noble)quantmod_0.4.26.1.tar.gz(r-4.4-noble)
quantmod_0.4.26.1.tgz(r-4.4-emscripten)quantmod_0.4.26.1.tgz(r-4.3-emscripten)
quantmod.pdf |quantmod.html
quantmod/json (API)
NEWS

# Install 'quantmod' in R:
install.packages('quantmod', repos = c('https://joshuaulrich.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/joshuaulrich/quantmod/issues

On CRAN:

algorithmic-tradingchartingdata-importfinancetime-series

209 exports 806 stars 11.07 score 6 dependencies 319 dependents 3 mentions 9.2k scripts 324.8k downloads

Last updated 7 months agofrom:e8d937ed35. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winOKAug 23 2024
R-4.5-linuxOKAug 23 2024
R-4.4-winOKAug 23 2024
R-4.4-macOKAug 23 2024
R-4.3-winOKAug 23 2024
R-4.3-macOKAug 23 2024

Exports:.chart.theme.chob.quantmodEnvAdadd_ADXadd_axisadd_BBandsadd_DEMAadd_EMAadd_EVWMAadd_GMMAadd_MACDadd_RSIadd_Seriesadd_SMAadd_SMIadd_TAadd_Voadd_VWAPadd_WMAaddADXaddAroonaddAroonOscaddATRaddBBandsaddCCIaddChADaddChVoladdCLVaddCMFaddCMOaddDEMAaddDPOaddEMAaddEMVaddEnvelopeaddEVWMAaddExpiryaddKSTaddLinesaddMACDaddMFIaddMomentumaddOBVaddPointsaddROCaddRSIaddSARaddShadingaddSMAaddSMIaddTAaddTDIaddTRIXaddVoaddVolatilityaddWMAaddWPRaddZigZagaddZLEMAadjustOHLCallReturnsannualReturnas.quantmod.OHLCattachSymbolsaxTicksByTime2axTicksByValuebarChartbuildDatabuildModelcandleChartchart_parschart_Serieschart_themechartSerieschartShadingchartTAchartThemeClClClClOpcurrent.chobdailyReturnDeltdropTAfindPeaksfindValleysfittedModelfittedModel<-flushSymbolsfutures.expirygetDefaultsgetDividendsgetFingetFinancialsgetFXgetMetalsgetModelDatagetOptionChaingetPricegetQuotegetSplitsgetSymbolLookupgetSymbolsgetSymbols.alphavantagegetSymbols.avgetSymbols.csvgetSymbols.FREDgetSymbols.googlegetSymbols.mysqlgetSymbols.MySQLgetSymbols.oandagetSymbols.rdagetSymbols.RDatagetSymbols.SQLitegetSymbols.tiingogetSymbols.yahoogetSymbols.yahoojhas.Adhas.Askhas.Bidhas.Clhas.Hihas.HLhas.HLChas.Lohas.OHLChas.OHLCVhas.Ophas.Pricehas.Qtyhas.Tradehas.VoHiHiClHLHLCimportDefaultsis.BBOis.HLis.HLCis.OHLCis.OHLCVis.quantmodis.quantmodResultsis.TBBOLaglineChartlistTALoloadSymbolLookuploadSymbolsLoClLoHimatchChartmodelDatamodelSignalmonthlyReturnmoveTAnew.replotnewTANextoanda.currenciesOHLCOHLCVOpOpClOpHiOpLoOpOpoptions.expirypeakperiodReturnquantmodenvquarterlyReturnreChartremoveSymbolssaveChartsaveSymbolLookupsaveSymbolsseriesAccelseriesDecelseriesDecrseriesHiseriesIncrseriesLosetDefaultssetSymbolLookupsetTAshowshowSymbolsspecifyModelstandardQuotesummaryswapTAtradeModelunsetDefaultsunsetTAvalleyviewFinviewFinancialsVoweeklyReturnyahooQFyahooQuote.EODyearlyReturnzoom_ChartzoomChartzooom

Dependencies:curljsonlitelatticeTTRxtszoo

Readme and manuals

Help Manual

Help pageTopics
Quantitative Financial Modelling Frameworkquantmod-package quantmod quantmodenv
Add Directional Movement IndexaddADX
Add Bollinger Bands to ChartaddBBands
Add Commodity Channel IndexaddCCI
Add Contract Expiration Bars to ChartaddExpiry
Add Moving Average to ChartaddDEMA addEMA addEVWMA addMA addSMA addWMA addZLEMA add_DEMA add_EMA add_EVWMA add_GMMA add_SMA add_VWAP add_WMA
Add Moving Average Convergence Divergence to ChartaddMACD
Add Rate Of Change to ChartaddROC
Add Relative Strength Index to ChartaddRSI
Add Parabolic Stop and Reversal to ChartaddSAR
Add Stochastic Momentum Indicator to ChartaddSMI
Add Volume to ChartaddVo
Add William's Percent R to ChartaddWPR
Adjust Open,High,Low,Close Prices For Splits and DividendsadjustOHLC
Attach and Flush DDBattachSymbols flushSymbols
Create Data Object for ModellingbuildData
Build quantmod model given specified fitting methodbuildModel
Experimental Charting Version 2add_ADX add_axis add_BBands add_MACD add_RSI add_Series add_SMI add_TA add_Vo axTicksByTime2 axTicksByValue chart_pars chart_Series chart_theme new.replot zoom_Chart
Create Financial Charts.chob barChart candleChart chartSeries current.chob lineChart matchChart reChart
Create A Chart Theme.chart.theme chartTheme
A Chart Object Classchob-class
A Technical Analysis Chart ObjectchobTA-class show,chobTA-method
Create DDB Bindingscreate.binding
Manage Default Argument Values for quantmod FunctionsgetDefaults importDefaults setDefaults unsetDefaults
Calculate Percent ChangeDelt
Find Peaks and Valleys In A SeriesfindPeaks findValleys peak valley
quantmod Fitted Objectsanova.quantmod coef.quantmod coefficients.quantmod fitted.quantmod fitted.values.quantmod fittedModel fittedModel<- formula.quantmod logLik.quantmod plot.quantmod resid.quantmod residuals.quantmod vcov.quantmod
Load Financial Dividend DatagetDividends
Download and View Financial StatementsgetFin getFinancials viewFin viewFinancials
Download Exchange RatesgetFX
Download Daily Metals PricesgetMetals
Update model's datasetgetModelData
Download Option ChainsgetOptionChain
Download Option Chain Data from oratsgetOptionChain.orats
Download Current Stock QuotegetQuote standardQuote yahooQF yahooQuote.EOD
Load Financial Split DatagetSplits
Load and Manage Data from Multiple SourcesgetSymbols getSymbols.Bloomberg loadSymbols removeSymbols saveSymbols showSymbols
Download OHLC Data from Alpha VantagegetSymbols.Alphavantage getSymbols.alphavantage getSymbols.AlphVantage getSymbols.alphVantage getSymbols.av
Load Data from csv FilegetSymbols.csv
Download Federal Reserve Economic Data - FRED(R)getSymbols.FRED
Retrieve Data from MySQL DatabasegetSymbols.MySQL getSymbols.mysql
Download Currency and Metals Data from Oanda.comgetSymbols.oanda oanda.currencies
Load Data from R Binary FilegetSymbols.rda getSymbols.RData
Retrieve Data from SQLite DatabasegetSymbols.SQLite
Download OHLC Data from TiingogetSymbols.tiingo
Download OHLC Data From Yahoo FinancegetSymbols.yahoo
Download OHLC Data From Yahoo! Japan FinancegetSymbols.yahooj
Check For OHLC Datahas.Ad has.Ask has.Bid has.Cl has.Hi has.HL has.HLC has.Lo has.OHLC has.OHLCV has.Op has.Price has.Qty has.Trade has.Vo is.BBO is.HL is.HLC is.OHLC is.OHLCV is.TBBO
Internal quantmod Objects.quantmodEnv addShading chartShading
Test If Object of Type quantmodis.quantmod is.quantmodResults
Lag a Time SeriesLag Lag.data.frame Lag.numeric Lag.quantmod.OHLC Lag.zoo
Extract Dataset Created by specifyModelmodelData
Extract Model Signal ObjectmodelSignal
Create A New TA Indicator For chartSeriesaddTA chartTA newTA
Advance a Time SeriesNext Next.data.frame Next.numeric Next.quantmod.OHLC Next.zoo
Extract and Transform OHLC Time-Series ColumnsAd Cl ClCl ClOp getPrice Hi HiCl HL HLC Lo LoCl LoHi OHLC OHLC.Transformations OHLCV Op OpCl OpHi OpLo OpOp seriesAccel seriesDecel seriesDecr seriesHi seriesIncr seriesLo Vo
Calculate Contract Expirationsfutures.expiry options.expiry
Calculate Periodic ReturnsallReturns annualReturn dailyReturn monthlyReturn periodReturn quarterlyReturn weeklyReturn yearlyReturn
Class "quantmod"fittedModel<-,quantmod-method fittedModel<--methods quantmod-class quantmodResults-class quantmodReturn-class show,quantmod-method show,quantmodResults-method show,tradeLog-method summary,quantmod-method tradeLog-class
Create Open High Low Close Objectas.quantmod.OHLC quantmod.OHLC
Save Chart to External FilesaveChart
Manage Symbol Lookup TablegetSymbolLookup loadSymbolLookup saveSymbolLookup setSymbolLookup
Manage TA Argument ListslistTA setTA unsetTA
Specify Model Formula For quantmod ProcessspecifyModel
Add Technical Indicator to ChartaddAroon addAroonOsc addATR addChAD addChVol addCLV addCMF addCMO addDPO addEMV addEnvelope addKST addLines addMFI addMomentum addOBV addPoints addTDI addTRIX addVolatility addZigZag dropTA moveTA swapTA TA
Simulate Trading of Fitted quantmod ObjecttradeModel
Change Zoom Level Of Current Chartzoom zoomChart zooom