spot_quotations_sge
Fetch real-time spot quotations from Shanghai Gold Exchange for a specified symbol, returning market data as a pandas DataFrame.
Instructions
上海黄金交易所-实时行情数据 https://www.sge.com.cn/ https://www.sge.com.cn/graph/quotations :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 |