Get Margin Coin Info
info
Do not need authentication
HTTP Request
GET /v5/spot-cross-margin-trade/pledge-token
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | Coin name |
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | array | Object |
> coin | string | Coin name |
> conversionRate | string | Convert ratio |
> liquidationOrder | integer | Liquidation order |
Request Example
- HTTP
- Python
GET /v5/spot-cross-margin-trade/pledge-token?coin=ETH HTTP/1.1
Host: api-testnet.bybit.com
from pybit.unified_trading import HTTP
session = HTTP(testnet=True)
print(session.spot_margin_trade_normal_get_margin_coin_info(
coin="ETH",
))
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"coin": "ETH",
"conversionRate": "0.95",
"liquidationOrder": 2
}
]
},
"retExtInfo": {},
"time": 1677750397414
}