pd_addti: create technical indicators

Description Usage Arguments Examples

View source: R/pd_addti.R

Description

pd_addti adds technical indicators to a dataset

Usage

1

Arguments

dt

time series datasets

...

ignored

ti

list of technical indicators, overlay indicators include mm, sma, ema, smma, bb, sar, and oscillators indicators such as macd, roc, ppo, rsi, cci.

  1. overlay technical indicators

  • sma

  • ema

  • smma

  • bb

  • sar

  1. oscillator technical indicators

  • macd

  • ppo

  • rsi

  • cci

  • roc

Examples

1
2
3
dt = md_stock("^000001", source='163')

dt_ti = pd_addti(dt, SMA=list(n=20), SMA=list(n=50))

ShichenXie/getpedr documentation built on Feb. 16, 2019, 5:47 a.m.