This file is indexed.

/usr/lib/R/site-library/quantmod/NAMESPACE is in r-cran-quantmod 0.4-12-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
export(quantmodenv, .quantmodEnv)
S3method(print, quantmodEnv)

# NAMESPACE file for quantmod
import(methods, zoo, xts, TTR)

importFrom(graphics,
  abline,
  axTicks,
  axis,
  box,
  grid,
  layout,
  legend,
  lines,
  locator,
  par,
  plot,
  plot.new,
  plot.window,
  points,
  polygon,
  rect,
  segments,
  strwidth,
  text,
  title)

importFrom(grDevices,
  colorRampPalette,
  dev.cur,
  dev.off)

importFrom(stats,
  anova,
  as.formula,
  as.ts,
  coef,
  coefficients,
  end,
  fitted,
  fitted.values,
  formula,
  glm,
  lag,
  lm,
  loess,
  logLik,
  model.frame,
  na.exclude,
  na.omit,
  predict,
  resid,
  residuals,
  sd,
  setNames,
  start,
  step,
  terms,
  vcov)

importFrom(utils,
  browseURL,
  download.file,
  read.csv,
  read.delim,
  read.table,
  select.list,
  str,
  type.convert)

# new plotting functions (experimental)
export(new.replot,
       current.chob,
       chart_Series, add_Series,
       add_EMA,
       add_EVWMA,
       add_VMA,
       add_WMA,
       add_SMA,
       add_DEMA,
       add_VWAP,
       add_GMMA,
       add_Vo,add_BBands,add_RSI,add_SMI,add_TA,
       chart_theme, chart_pars,
       add_axis,
       add_MACD, zoom_Chart)

export(axTicksByValue)
export(axTicksByTime2)
S3method(plot, replot)
S3method(print, replot)

#export(.chob,write.chob,get.chob,release.chob)

export(.chob)
export(.chart.theme,chartTheme)

export(listTA,
       setTA,
       unsetTA,
       
       addTA,
       chartTA,
       newTA,

       dropTA,
       moveTA,
       swapTA
      )

export(
       # quantmod-only code
       addVo,       # volume
       addExpiry,   # expiration dates
       addEnvelope, # envelope

       addShading,  chartShading,
       addLines,
       addPoints

      # package:graphics functionality wrappers NYI
      #add.lines,
      #add.points,
      #add.curve,
      #add.rect,
      #add.segments,
      
      )

     

# TTR functionality
export(
       # Moving Averages
       addSMA,   	# simple moving average
       addEMA,   	# exponential moving average
       addWMA,   	# weigthed moving average
       addDEMA,  	# double exponential moving average
       addEVWMA, 	# elastic, volume-weighted moving average
       addZLEMA, 	# zero lag exponential moving average

      # not yet implemented
      #addVHF,      # vertical horizontal filter
      #addWilliamsAD, # william's AD

       addOBV,      # on balance volume
       addCLV,      # close location value
       addEMV,      # ease of movement 
       addChAD,     # chaikin AD
       addChVol,    # chaikin Volatility
       addVolatility, # volatility (close, garman.klass, parkinson, rogers.satchell)
       addZigZag,   # Zig-Zag
       addAroon,    # aroon
       addAroonOsc, # aroon oscillator
       addKST,      # know sure thing
       addMFI,      # money flow index
       addTDI,      # trend detection index
       addSMI,   	# stochastic momentum index
       addADX,   	# directional movement index 
       addDPO,   	# de-trended price oscillator 
       addCCI,   	# commodity channel index
       addCMF,   	# chaikin money flow
       addCMO,   	# chande momentum oscillator
       addMomentum, # momentum
       addATR,      # average true range
       addTRIX,     # triple smoothed exponential oscillator
       addRSI,      # relative strength index
       addROC,      # rate of change
       addWPR,      # william's %R
       addSAR,      # parabolic stop-and-reverse
       addMACD,     # moving average convergence divergence
       addBBands    # Bollinger Bands
      #addPctB      # Bollinger %b
      #addBBwidth   # Bollinger band width
      )


export(
       modelData,
       modelSignal,

       Op, has.Op,
       Lo, has.Lo,
       Hi, has.Hi,
       Cl, has.Cl,
       Vo, has.Vo,
       Ad, has.Ad,

       # Price extraction functions
       getPrice,
       is.BBO, is.TBBO,
       has.Bid,
       has.Ask,
       has.Price,
       has.Trade,
       has.Qty,

       OHLC, has.OHLC, is.OHLC, # OHLC extraction and test
       OHLCV, has.OHLCV, is.OHLCV, # OHLCV extraction and test
       HLC, has.HLC, is.HLC,    # HLC  extraction and test

       # quick delta calculation functions
       OpCl, OpOp, ClCl, OpHi, OpLo, LoCl, HiCl, LoHi,

       seriesHi,seriesLo,
       seriesIncr, seriesDecr,
       seriesAccel, seriesDecel,

       findPeaks,
       findValleys,
       peak, # deprecated
       valley, # deprecated

       Delt,
       Next,
       Lag,

       options.expiry,futures.expiry,

    periodReturn,
    dailyReturn,weeklyReturn,monthlyReturn,quarterlyReturn,annualReturn,
    yearlyReturn,
    allReturns,
    tradeModel,
#    saveModels,
#    loadModels,
#	period.apply,
#	breakpoints,
	specifyModel,
	getModelData,
#    predictModel,

    getFinancials,getFin,
    viewFinancials,viewFin,

    getDividends,
    getSplits,

    getQuote,
    standardQuote,
    yahooQF,
    yahooQuote.EOD,

    getOptionChain,

    attachSymbols,
    flushSymbols,

    loadSymbols,
    getSymbols,
    getSymbols.MySQL,
    getSymbols.SQLite,
    getSymbols.mysql,
    getSymbols.FRED,
    getSymbols.yahoo,
    getSymbols.yahooj,
    getSymbols.oanda,
    #getSymbols.Bloomberg,
    #getSymbols.IBrokers,
    getSymbols.csv,
    getSymbols.rda,
    getSymbols.RData,
    getSymbols.google,
    getSymbols.av,
    getSymbols.alphavantage,

    getFX,
    getMetals,

    oanda.currencies,

    adjustOHLC,

    showSymbols,
    removeSymbols,
    saveSymbols,

    fittedModel,
	buildModel,
	buildData,

    is.quantmod,
    is.quantmodResults,
    as.quantmod.OHLC)

export(
       # symbol lookup utilities

       setSymbolLookup,
       getSymbolLookup,
       saveSymbolLookup,
       loadSymbolLookup
      )

#export(tradeLog)
#export(gainloss)

export(
       # main charting functions
 
       chartSeries,
       reChart,
       saveChart,

       zoomChart,
       zooom,

       barChart,
       lineChart,
       candleChart,
       matchChart
      )

# Defaults functionality
export( 
       importDefaults,
       setDefaults,
       unsetDefaults,
       getDefaults
      )

# S3 methods
S3method(seriesHi,default)
S3method(seriesHi,ts)
S3method(seriesLo,default)
S3method(seriesLo,ts)

S3method(print,financials)
S3method(print,chart.theme)

S3method(Next,zoo)
S3method(Next,numeric)
S3method(Next,data.frame)
S3method(Next,quantmod.OHLC)

S3method(Lag,default)
S3method(Lag,numeric)
S3method(Lag,data.frame)
S3method(Lag,zoo)
S3method(Lag,xts)
S3method(Lag,quantmod.OHLC)

S3method(formula,quantmod)
S3method(fitted,quantmod)
S3method(fitted.values,quantmod)
S3method(coef,quantmod)
S3method(coefficients,quantmod)
S3method(logLik,quantmod)
S3method(vcov,quantmod)
S3method(residuals,quantmod)
S3method(resid,quantmod)
S3method(anova,quantmod)
S3method(plot,quantmod)
S3method(plot,chobTA)
S3method(plot,quantmodResults)
S3method(print,quantmodResults)
S3method(as.zoo,data.frame)
S3method(as.zoo,quantmod.OHLC)
S3method(as.quantmod.OHLC,data.frame)
S3method(as.quantmod.OHLC,zoo)
S3method(as.quantmod.OHLC,quantmod.OHLC)
S3method('[',quantmod.OHLC)
#S3method(periodReturn,zoo)
#S3method(periodReturn,quantmod.OHLC)
#S3method(periodReturn,quantmodResults)
S3method(predictModel,default)
S3method(predictModel,nnet)
S3method(predictModel,mars)
S3method(predictModel,polymars)
S3method(predictModel,lars)
S3method(predictModel,rpart)
S3method(predictModel,tree)
S3method(predictModel,randomForest)

# trade signal functionality

exportClass(quantmod)
#exportClass(quantmodResults,quantmodReturn)
exportClass(quantmodReturn)
exportClass(tradeLog)
exportClass(chob,chobTA)
exportMethods(show,summary,'fittedModel<-')