获取币种可开张数
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取币种可开张数</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/swap/wallet-new/get-with-positions</code></li>
</ul>
<h5>请求示例</h5>
<p>`
<a href="http://8.212.45.240:3802/swap/wallet-new/get-with-positions?symbol=BTC%2FUSDT">http://8.212.45.240:3802/swap/wallet-new/get-with-positions?symbol=BTC%2FUSDT</a></p>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>&lt;-- 200 http://8.212.45.240:3802/swap/wallet-new/get-with-positions?symbol=BTC%2FUSDT (33ms)
Server: nginx
Date: Sat, 13 Jan 2024 08:50:22 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-cache
{&quot;data&quot;:{&quot;walletList&quot;:[{&quot;contractCoin&quot;:{&quot;id&quot;:1,&quot;name&quot;:&quot;BTC永续合约&quot;,&quot;symbol&quot;:&quot;BTC/USDT&quot;,&quot;coinSymbol&quot;:&quot;BTC&quot;,&quot;baseSymbol&quot;:&quot;USDT&quot;,&quot;sort&quot;:1,&quot;coinScale&quot;:1,&quot;baseCoinScale&quot;:4,&quot;type&quot;:&quot;PERPETUAL&quot;,&quot;enable&quot;:1,&quot;visible&quot;:1,&quot;exchangeable&quot;:1,&quot;enableOpenSell&quot;:1,&quot;enableOpenBuy&quot;:1,&quot;enableMarketSell&quot;:1,&quot;enableMarketBuy&quot;:1,&quot;enableTriggerEntrust&quot;:1,&quot;spreadType&quot;:1,&quot;spread&quot;:0.00001000,&quot;leverageType&quot;:2,&quot;leverage&quot;:&quot;10,30,50,75,100,120,200&quot;,&quot;shareNumber&quot;:500.00000000,&quot;minShare&quot;:0.01000000,&quot;maxShare&quot;:10000.00000000,&quot;intervalHour&quot;:1,&quot;feePercent&quot;:0.01911000,&quot;maintenanceMarginRate&quot;:0.01000000,&quot;openFee&quot;:0.00050000,&quot;closeFee&quot;:0.00050000,&quot;takerFee&quot;:0.00020000,&quot;makerFee&quot;:0.00020000,&quot;followFee&quot;:0.00025000,&quot;totalProfit&quot;:35199.76092707,&quot;totalLoss&quot;:37060.03640212,&quot;totalOpenFee&quot;:0E-8,&quot;totalCloseFee&quot;:19981.97836366,&quot;currentTime&quot;:null,&quot;currentPrice&quot;:null,&quot;usdtRate&quot;:6.42,&quot;maxTotalShare&quot;:20000.00000000,&quot;minScale&quot;:2},&quot;usdtBalance&quot;:0.00,&quot;usdtFrozenBalance&quot;:0.00,&quot;usdtBuyLeverage&quot;:100.00000000,&quot;usdtBuyPosition&quot;:0.00,&quot;usdtBuyPrincipalAmount&quot;:0.00,&quot;decimalScale&quot;:2}],&quot;todayRevenue&quot;:0,&quot;yesterdayBalance&quot;:null,&quot;todayDeposit&quot;:0,&quot;currentTodayRevenue&quot;:null,&quot;username&quot;:null,&quot;cashBalance&quot;:null,&quot;followBalance&quot;:null,&quot;id&quot;:804910,&quot;balance&quot;:0E-8,&quot;frozenBalance&quot;:0E-8,&quot;totalFrozenBalance&quot;:null,&quot;frozenMargin&quot;:1E-8,&quot;positionType&quot;:0,&quot;moneyType&quot;:1,&quot;isSupervised&quot;:null,&quot;currentPositionWithCutList&quot;:[],&quot;currentDate&quot;:&quot;2024-01-13&quot;,&quot;todayInitialCapital&quot;:-10093.95256231,&quot;spotWallet&quot;:{&quot;balance&quot;:0E-8,&quot;frozenBalance&quot;:0E-8,&quot;totalBalance&quot;:0E-8},&quot;accountInfoList&quot;:null,&quot;currentRevenue&quot;:0,&quot;maketValue&quot;:[0,0],&quot;estimatedBlastRate&quot;:0,&quot;availableBalance&quot;:0E-8,&quot;currentMargin&quot;:0,&quot;currentCapital&quot;:1E-8,&quot;staticBalance&quot;:1E-8,&quot;availableBalanceForOpen&quot;:0E-8,&quot;currentBalance&quot;:0E-8,&quot;todayRevenueRate&quot;:0},&quot;code&quot;:0,&quot;message&quot;:&quot;success&quot;,&quot;totalPage&quot;:null,&quot;to</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<p>响应中的 <code>walletist.usdtBuyPosition</code> 字段即为该币种的可开张数.</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>