📅  最后修改于: 2022-03-11 14:45:47.127000             🧑  作者: Mango
# Python 2 only
# Install package with 'pip install yahoo-finance'
from yahoo_finance import Share
yahoo = Share('YHOO')
print yahoo.get_open()
print yahoo.get_price()
print yahoo.get_trade_datetime()