奇货可查接口文档

奇货可查机构VIP接口文档


席位盈亏数据

<p><strong>简要描述:</strong> </p> <ul> <li>席位盈亏数据接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>https://api.qhkch.com/broker_calendar/{broker}/{start_date}/{end_date}</code></li> </ul> <p><strong>请求参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">说明</th> <th>举例</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">broker</td> <td style="text-align: left;">席位</td> <td>永安期货</td> </tr> <tr> <td style="text-align: left;">start_date</td> <td style="text-align: left;">查询开始日期</td> <td>2018-07-08</td> </tr> <tr> <td style="text-align: left;">end_date</td> <td style="text-align: left;">查询结束日期</td> <td>2018-08-08</td> </tr> </tbody> </table> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>Header:</strong></p> <pre><code>X-Token:{token} </code></pre> <p><strong>返回示例</strong></p> <pre><code>[ { "trans_date": "2018-07-09", "profit": 25021180 }, { "trans_date": "2018-07-10", "profit": -2475130 }, { "trans_date": "2018-07-11", "profit": 123766590 }, { "trans_date": "2018-07-12", "profit": 70451060 }, { "trans_date": "2018-07-13", "profit": -60949490 }, { "trans_date": "2018-07-16", "profit": -100485670 }, { "trans_date": "2018-07-17", "profit": 13144005 }, { "trans_date": "2018-07-18", "profit": 27745110 }, { "trans_date": "2018-07-19", "profit": 19083530 }, { "trans_date": "2018-07-20", "profit": 123520216 }, { "trans_date": "2018-07-23", "profit": 84716190 }, { "trans_date": "2018-07-24", "profit": 107352570 }, { "trans_date": "2018-07-25", "profit": 66609815 }, { "trans_date": "2018-07-26", "profit": -19130005 }, { "trans_date": "2018-07-27", "profit": 106558525 }, { "trans_date": "2018-07-30", "profit": 170913305 }, { "trans_date": "2018-07-31", "profit": 14919580 }, { "trans_date": "2018-08-01", "profit": -12416860 }, { "trans_date": "2018-08-02", "profit": 3867490 }, { "trans_date": "2018-08-03", "profit": 158603340 }, { "trans_date": "2018-08-06", "profit": 153776730 }, { "trans_date": "2018-08-07", "profit": 92726915 }, { "trans_date": "2018-08-08", "profit": 33891915 } ]</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">trans_date</td> <td style="text-align: left;">date</td> <td>查询日期</td> </tr> <tr> <td style="text-align: left;">profit</td> <td style="text-align: left;">float</td> <td>席位盈亏,单位元</td> </tr> </tbody> </table>

页面列表

ITEM_HTML