This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas_datareader.data as web | |
from datetime import datetime | |
import numpy as np | |
import plotly.graph_objects as go | |
INCREASING_COLOR = '#17BECF' | |
DECREASING_COLOR = '#7F7F7F' | |
def movingaverage(interval, window_size=10): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas_datareader.data as web | |
from datetime import datetime | |
import numpy as np | |
import pandas as pd | |
import chart_studio.plotly as py | |
df = web.DataReader("gs", 'yahoo', datetime(2008, 1, 1), datetime(2008, 12, 28)) | |
df.head() |