题目内容
(请给出正确答案)
[主观题]
如下的题目都是基于如下获取雅虎财经上市公司股票的历史数据的程序。 Table 1 在线读入股票历史数
据的代码 from matplotlib.finance import quotes_historical_yahoo_ochl from datetime import date import pandas as pd today = date.today() start = (today.year-2, today.month, ____) quotes = quotes_historical_yahoo_ochl(’____’, start, today)在上图的横线处填入答案,使得获取到的数据是从两年前的今天到现在的微软公司的股票历史数据(关于微软的公司代号,可以在该页面http://finance.yahoo.com/q/cp?s=^DJI 中找到)(请将结果用一个半角分号分隔)。
提问人:网友hlccwp
发布时间:2022-01-07