import pybithumb

btc = pybithumb.get_ohlcv("BTC")
close = btc['close']

window = close.rolling(5)
ma5 = window.mean()

# ma5 = close.rolling(5).mean()

print(ma5)



import pybithumb

btc = pybithumb.get_ohlcv("BTC")
close = btc['close']

window = close.rolling(5)
ma5 = window.mean()

# ma5 = close.rolling(5).mean()

print(ma5)



# ma5 = close.rolling(5).mean()