mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 17:28:08 +00:00
更新文档,添加和修改多个API接口的描述,确保文档内容的准确性和完整性,提升开发者使用体验。
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
!!! info "[ApiSettlementPriceRequest](/../../schemas/api_settlement_price_request)"
|
||||
Lookup the historical settlement price of various pairs.<br><br>Pagination works as follows:<ul><li>We perform a reverse chronological lookup, starting from `end_time`. If `end_time` is not set, we start from the most recent data.</li><li>The lookup is limited to `limit` records. If more data is requested, the response will contain a `next` cursor for you to query the next page.</li><li>If a `cursor` is provided, it will be used to fetch results from that point onwards.</li><li>Pagination will continue until the `start_time` is reached. If `start_time` is not set, pagination will continue as far back as our data retention policy allows.</li></ul><br>
|
||||
|
||||
|Name<br>`Lite`|Type|Required<br>`Default`| Description |
|
||||
|-|-|-|-|
|
||||
|base<br>`b` |Currency|True|The base currency to select|
|
||||
|quote<br>`q` |Currency|True|The quote currency to select|
|
||||
|start_time<br>`st` |string|False<br>`0`|Start time of settlement price in unix nanoseconds|
|
||||
|end_time<br>`et` |string|False<br>`now()`|End time of settlement price in unix nanoseconds|
|
||||
|limit<br>`l` |integer|False<br>`30`|The limit to query for. Defaults to 500; Max 1000|
|
||||
|cursor<br>`c` |string|False<br>`''`|The cursor to indicate when to start the query from|
|
||||
??? info "[Currency](/../../schemas/currency)"
|
||||
The list of Currencies that are supported on the GRVT exchange<br>
|
||||
|
||||
|Value| Description |
|
||||
|-|-|
|
||||
|`USD` = 1|the USD fiat currency|
|
||||
|`USDC` = 2|the USDC token|
|
||||
|`USDT` = 3|the USDT token|
|
||||
|`ETH` = 4|the ETH token|
|
||||
|`BTC` = 5|the BTC token|
|
||||
|`SOL` = 6|the SOL token|
|
||||
|`ARB` = 7|the ARB token|
|
||||
|`BNB` = 8|the BNB token|
|
||||
|`ZK` = 9|the ZK token|
|
||||
|`POL` = 10|the POL token|
|
||||
|`OP` = 11|the OP token|
|
||||
|`ATOM` = 12|the ATOM token|
|
||||
|`KPEPE` = 13|the 1000PEPE token|
|
||||
|`TON` = 14|the TON token|
|
||||
|`XRP` = 15|the XRP token|
|
||||
|`TRUMP` = 20|the TRUMP token|
|
||||
|`SUI` = 21|the SUI token|
|
||||
|`LINK` = 25|the LINK token|
|
||||
|`JUP` = 27|the JUP token|
|
||||
|`FARTCOIN` = 28|the FARTCOIN token|
|
||||
|`ENA` = 29|the ENA token|
|
||||
|`DOGE` = 30|the DOGE token|
|
||||
|`ADA` = 33|the ADA token|
|
||||
|`AAVE` = 34|the AAVE token|
|
||||
|`BERA` = 35|the BERA token|
|
||||
|`IP` = 40|the IP token|
|
||||
??? info "[Currency](/../../schemas/currency)"
|
||||
The list of Currencies that are supported on the GRVT exchange<br>
|
||||
|
||||
|Value| Description |
|
||||
|-|-|
|
||||
|`USD` = 1|the USD fiat currency|
|
||||
|`USDC` = 2|the USDC token|
|
||||
|`USDT` = 3|the USDT token|
|
||||
|`ETH` = 4|the ETH token|
|
||||
|`BTC` = 5|the BTC token|
|
||||
|`SOL` = 6|the SOL token|
|
||||
|`ARB` = 7|the ARB token|
|
||||
|`BNB` = 8|the BNB token|
|
||||
|`ZK` = 9|the ZK token|
|
||||
|`POL` = 10|the POL token|
|
||||
|`OP` = 11|the OP token|
|
||||
|`ATOM` = 12|the ATOM token|
|
||||
|`KPEPE` = 13|the 1000PEPE token|
|
||||
|`TON` = 14|the TON token|
|
||||
|`XRP` = 15|the XRP token|
|
||||
|`TRUMP` = 20|the TRUMP token|
|
||||
|`SUI` = 21|the SUI token|
|
||||
|`LINK` = 25|the LINK token|
|
||||
|`JUP` = 27|the JUP token|
|
||||
|`FARTCOIN` = 28|the FARTCOIN token|
|
||||
|`ENA` = 29|the ENA token|
|
||||
|`DOGE` = 30|the DOGE token|
|
||||
|`ADA` = 33|the ADA token|
|
||||
|`AAVE` = 34|the AAVE token|
|
||||
|`BERA` = 35|the BERA token|
|
||||
|`IP` = 40|the IP token|
|
||||
Reference in New Issue
Block a user