rv_from_futures_zh_minute_sina
Retrieve minute-level futures historical data from Sina Finance by contract and period, returning cleaned OHLC rows indexed by datetime for analysis.
Instructions
从新浪财经获取期货的分钟级历史行情数据,并进行数据清洗和格式化 https://vip.stock.finance.sina.com.cn/quotes_service/view/qihuohangqing.html#titlePos_3 :param symbol: 期货合约代码,如"IF2008"代表沪深300期货2020年8月合约 :type symbol: str :param period: 时间周期,可选{'1','5','15','30','60'}分钟 :type period: str :return: 整理后的分钟行情数据,包含Date(索引),Open,High,Low,Close列 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 5 | |
| symbol | No | IF2008 |