spot_hist_sge
Retrieve historical spot prices from the Shanghai Gold Exchange for various gold and silver products, including Au99.99 and Ag(T+D), to analyze market trends.
Instructions
上海黄金交易所-数据资讯-行情走势-历史数据 https://www.sge.com.cn/sjzx/mrhq :param symbol: choice of {'Au99.99', 'Au99.95', 'Au100g', 'Pt99.95', 'Ag(T+D)', 'Au(T+D)', 'mAu(T+D)', 'Au(T+N1)', 'Au(T+N2)', 'Ag99.99', 'iAu99.99', 'Au99.5', 'iAu100g', 'iAu99.5', 'PGC30g', 'NYAuTN06', 'NYAuTN12'}; 可以通过 ak.spot_symbol_table_sge() 获取品种表 :type symbol: str :return: 历史数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Au99.99 |