November 2017
Intermediate to advanced
304 pages
6h 58m
English
The following code snippet will plot the data we downloaded and processed:
def show_plot(key="", show=True):
fig = plt.figure()
fig.set_figwidth(20)
fig.set_figheight(15)
for code in codes:
index = code.split("/")[1]
if key and len(key) > 0:
label = "{}_{}".format(index, key)
else:
label = index
_ = plt.plot(closings[label], label=label)
_ = plt.legend(loc='upper right')
if show:
plt.show()
show = True
show_plot("", show=show)
show_plot("scaled", show=show)
show_plot("log_return", show=show)
The original market data to close values. As you can see here, the value for WAWEL is a couple of magnitudes larger than the other markets:
The closing values for WAWEL visually reduced the trends in data for the other market values. ...
Read now
Unlock full access