import matplotlib.pyplot as plt
import seaborn
import yfinance as yf
import yahoo_fin.stock_info as si
#
# msft = yf.Ticker("600519.SS")
#
# # get stock info
#
# # get historical market data
# hist = msft.history(period="5d")
# # Plot everything by leveraging the very powerful matplotlib package
# hist['Close'].plot(figsize=(16, 9))
#
# plt.show()
quote_table = si.get_quote_table("600519.SS")
print(quote_table["PE Ratio (TTM)"])



