指数的席位盈亏数据
<p><strong>简要描述:</strong> </p>
<ul>
<li>指数的席位盈亏数据接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://api.qhkch.com/index_profit/{index_id}/{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;">index_id</td>
<td style="text-align: left;">指数id</td>
<td>index0070c0eb-93ba-2da9-6633-fa70cb90e959</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>[
{
"broker": "中辉期货",
"profit": -236037050
},
{
"broker": "国富期货",
"profit": -211233900
},
{
"broker": "招商期货",
"profit": -189026430
},
{
"broker": "徽商期货",
"profit": -177303650
},
{
"broker": "中信建投",
"profit": -162059340
},
{
"broker": "光大期货",
"profit": -161708310
},
{
"broker": "宏源期货",
"profit": -152712930
},
{
"broker": "南华期货",
"profit": -123349780
},
{
"broker": "中大期货",
"profit": -98211620
},
{
"broker": "西南期货",
"profit": -81650470
},
{
"broker": "国贸期货",
"profit": -77964940
},
{
"broker": "东证期货",
"profit": -55215900
},
{
"broker": "华泰期货",
"profit": -49744790
},
{
"broker": "国信期货",
"profit": -40138400
},
{
"broker": "道通期货",
"profit": -39560450
},
{
"broker": "中信期货",
"profit": -36253880
},
{
"broker": "倍特期货",
"profit": -25529630
},
{
"broker": "上海大陆",
"profit": -22757910
},
{
"broker": "中国国际",
"profit": -22142170
},
{
"broker": "中财期货",
"profit": -19836110
},
{
"broker": "广金期货",
"profit": -18279570
},
{
"broker": "中钢期货",
"profit": -17560300
},
{
"broker": "创元期货",
"profit": -17375800
},
{
"broker": "美尔雅",
"profit": -15690960
},
{
"broker": "东吴期货",
"profit": -13673950
},
{
"broker": "集成期货",
"profit": -13355650
},
{
"broker": "混沌天成",
"profit": -13257740
},
{
"broker": "国联期货",
"profit": -12468570
},
{
"broker": "天风期货",
"profit": -12027000
},
{
"broker": "英大期货",
"profit": -10035590
},
{
"broker": "财达期货",
"profit": -8763210
},
{
"broker": "广州期货",
"profit": -8127120
},
{
"broker": "中银国际",
"profit": -7973370
},
{
"broker": "北京首创",
"profit": -7760980
},
{
"broker": "华信期货",
"profit": -7532220
},
{
"broker": "华龙期货",
"profit": -7466200
},
{
"broker": "新纪元",
"profit": -6723100
}
]</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;">broker</td>
<td style="text-align: left;">string</td>
<td>席位</td>
</tr>
<tr>
<td style="text-align: left;">profit</td>
<td style="text-align: left;">float</td>
<td>盈亏金额,正数为盈利,负数为亏损,单位元</td>
</tr>
</tbody>
</table>