get_qhkc_index
Retrieves detailed index data from 奇货可查 (Qihuo Kecha) for commodity indices like black chain, chemicals, and precious metals, including price, volume, margin, profit, and long-short ratio.
Instructions
奇货可查-指数-指数详情 获得奇货可查的指数数据: '奇货黑链', '奇货商品', '奇货谷物', '奇货贵金属', '奇货饲料', '奇货软商品', '奇货化工', '奇货有色', '奇货股指', '奇货铁合金', '奇货油脂' :param url: 网址 :type url: str :param name: 中文名称 :type name: str :return: 指数详情 :rtype: pandas.DataFrame date price volume ... margin profit long_short_ratio 2013-01-04 1000 260820 ... 1130485758 1816940 52.78 2013-01-07 998.244 245112 ... 1132228518 2514410 52.15 2013-01-08 1000.8 318866 ... 1160374489 2981010 51.99 2013-01-09 998.661 247352 ... 1166611242 3904220 52.44 2013-01-10 999.802 161292 ... 1153164771 1448190 52.81 ... ... ... ... ... ... ... 2019-09-24 845.391 881138 ... 1895149977 128379050 48.5 2019-09-25 845.674 715180 ... 1797235248 128788230 48.29 2019-09-26 840.154 1347570 ... 1730488227 137104890 48.44 2019-09-27 834.831 920160 ... 1605342767 143128540 48.77 2019-09-30 831.959 1031558 ... 1521875378 147810580 48.82
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https://www.qhkch.com/ajax/index_show.php | |
| name | No | 奇货商品 |