Skip to content
Snippets Groups Projects
Commit 5163fe12 authored by Mathïs's avatar Mathïs
Browse files

Modified plot for OHLC

parent b168254d
No related branches found
No related tags found
No related merge requests found
......@@ -25,5 +25,6 @@ returns:
"""
# get historical market data, here max is 5 years.
print(msft.history(period="max"))
msft.history(period="max").plot()
\ No newline at end of file
print(msft.history(period="6mo"))
msft.history(period="6mo")[['Open', 'Low', 'High', 'Close']].plot()
plt.show()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment