Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Mar 26, 2024
1 parent a8534be commit 6536adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ <h3>Usdt Margin Swap API</h3>
var result = await huobiClient.UsdtMarginSwapApi.ExchangeData.GetContractInfoAsync();</code></pre>

<b id="idocs_example_symbols">Get Symbol Ticker</b><br />
<p>Get the 24h price ticker of a spot symbol</p>
<p>Get the 24h price ticker of a margin swap symbol</p>
<pre><code>var huobiClient = new HuobiRestClient();

var result = await huobiClient.UsdtMarginSwapApi.ExchangeData.GetMarketDataAsync("ETH-USDT");</code></pre>

<b id="idocs_example_symbols">Get Recent Trades</b><br />
<p>Get the most recent trades for a spot symbol</p>
<p>Get the most recent trades for a margin swap symbol</p>
<pre><code>var huobiClient = new HuobiRestClient();

var result = await huobiClient.UsdtMarginSwapApi.ExchangeData.GetRecentTradesAsync("ETH-USDT", 100);</code></pre>
Expand Down

0 comments on commit 6536adb

Please sign in to comment.