现货贸易商报价
<p><strong>简要描述:</strong> </p>
<ul>
<li>现货贸易商报价接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li>参数1:<code>https://api.qhkch.com/trader_prices/{variety}/{date}</code></li>
<li>参数2:<code>https://api.qhkch.com/trader_prices_all/{date}</code></li>
</ul>
<p><strong>请求参数说明</strong>
参数1</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;">variety</td>
<td style="text-align: left;">品种编码</td>
<td>RB</td>
</tr>
<tr>
<td style="text-align: left;">date</td>
<td style="text-align: left;">查询日期</td>
<td>2018-08-08</td>
</tr>
</tbody>
</table>
<p>参数2</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;">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>[
{
&quot;name&quot;: &quot;邻苯二甲醚&quot;,
&quot;price&quot;: 16300,
&quot;band&quot;: &quot;山东淄博&quot;,
&quot;model&quot;: &quot;优等品&quot;,
&quot;unit&quot;: &quot;元/吨&quot;,
&quot;trader&quot;: &quot;厦门裕德顺化工产品有限公司&quot;
},
{
&quot;name&quot;: &quot;邻苯二甲醚&quot;,
&quot;price&quot;: 30000,
&quot;band&quot;: &quot;山东淄博&quot;,
&quot;model&quot;: &quot;优等品&quot;,
&quot;unit&quot;: &quot;元/吨&quot;,
&quot;trader&quot;: &quot;青岛和丰化工有限公司&quot;
}
]
</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;">name</td>
<td style="text-align: left;">string</td>
<td>品种名称</td>
</tr>
<tr>
<td style="text-align: left;">price</td>
<td style="text-align: left;">float</td>
<td>贸易商报价</td>
</tr>
<tr>
<td style="text-align: left;">band</td>
<td style="text-align: left;">string</td>
<td>品牌</td>
</tr>
<tr>
<td style="text-align: left;">model</td>
<td style="text-align: left;">string</td>
<td>型号、规格</td>
</tr>
<tr>
<td style="text-align: left;">unit</td>
<td style="text-align: left;">string</td>
<td>单位</td>
</tr>
<tr>
<td style="text-align: left;">trader</td>
<td style="text-align: left;">string</td>
<td>贸易商</td>
</tr>
</tbody>
</table>