📜  在 python 代码示例中获取股票数据

📅  最后修改于: 2022-03-11 14:45:35.768000             🧑  作者: Mango

代码示例2
# First run 'python -m pip install yahoofinancials'

from yahoofinancials import YahooFinancials

yf = YahooFinancials('WFC')
print(yf.get_current_price())
print(yf.get_prev_close_price())