get_qhkc_index_profit_loss
Fetch profit and loss details for Chinese futures indexes from QHCK. Specify an index and end date to retrieve P&L breakdown by futures firm for date ranges.
Instructions
奇货可查-指数-盈亏详情 获得奇货可查的指数数据: '奇货黑链', '奇货商品', '奇货谷物', '奇货贵金属', '奇货饲料', '奇货软商品', '奇货化工', '奇货有色', '奇货股指', '奇货铁合金', '奇货油脂' :param url: 网址 :type url: str :param name: None :type name: str :param start_date: "" :type start_date: str :param end_date: "20190716" 指定 end_date 就可以了 :type end_date: str :return: 盈亏详情 :rtype: pandas.DataFrame indexes value trans_date 招金期货-沪金 -307489200 2019-09-30 平安期货-沪银 -195016650 2019-09-30 建信期货-沪银 -160327350 2019-09-30 国贸期货-沪银 -159820965 2019-09-30 东证期货-沪银 -123508635 2019-09-30 ... ... ... 永安期货-沪银 187411350 2019-09-30 中信期货-沪金 242699750 2019-09-30 华泰期货-沪银 255766185 2019-09-30 永安期货-沪金 293008700 2019-09-30 国泰君安-沪金 302774950 2019-09-30
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https://qhkch.com/ajax/indexes_profit_loss.php | |
| name | No | 奇货商品 | |
| end_date | No | ||
| start_date | No |