June 2015
Beginner
348 pages
8h 44m
English
We can easily make a scatter plot of the stock price and volume returns. Again, let's download the necessary data from Yahoo Finance.
dates = quotes.T[4] volume = quotes.T[5]
ret = np.diff(close)/close[:-1] volchange = np.diff(volume)/volume[:-1]
fig = plt.figure()
ax = fig.add_subplot(111)
ax.scatter(ret, volchange, ...
Read now
Unlock full access