Skip to content

Instantly share code, notes, and snippets.

View terrah27's full-sized avatar

Tara terrah27

  • Graham Healthcare Group
  • Pittsburgh, PA
  • X @terrah27
View GitHub Profile
@ih2502mk
ih2502mk / list.md
Last active September 22, 2024 12:52
Quantopian Lectures Saved
@imtaehyun
imtaehyun / technical-analysis-indicators-without-talib-code.py
Last active September 18, 2024 11:37
Technical analysis Indicators without Talib (code)
# https://www.quantopian.com/posts/technical-analysis-indicators-without-talib-code
import numpy
import pandas as pd
import math as m
#Moving Average
def MA(df, n):
MA = pd.Series(pd.rolling_mean(df['Close'], n), name = 'MA_' + str(n))
df = df.join(MA)