Choose kind of plot
Let's make some different kinds of plots using our two-weeks of Alphabet stock data. The data is once again given in the DataFrame alphabet2w
and looks like this:
alphabet2w.head()
close volume open high low
date
2019-07-15 1150.51 1058431 1145.34 1150.68 1140.00
2019-07-12 1145.34 1093933 1142.93 1147.50 1138.56
2019-07-11 1144.08 1300529 1146.16 1153.24 1139.53
2019-07-10 1140.91 1535546 1132.32 1142.34 1130.66
2019-07-09 1124.29 1473622 1110.32 1127.86 1107.15
This exercise is part of the course
Intermediate Python for Finance
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot daily trade volume
alphabet2w.____(____='____', rot=90, title='Alphabet Daily Volume')