All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
LinearWalletGetRiskLimit | GET /public/linear/risk-limit | Get risk limit. |
Object LinearWalletGetRiskLimit ()
Get risk limit.
This will get risk limit.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class LinearWalletGetRiskLimitExample
{
public void main()
{
// Configure API key authorization: apiKey
Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("api_key", "Bearer");
// Configure API key authorization: apiSignature
Configuration.Default.AddApiKey("sign", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("sign", "Bearer");
// Configure API key authorization: timestamp
Configuration.Default.AddApiKey("timestamp", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.AddApiKeyPrefix("timestamp", "Bearer");
var apiInstance = new LinearWalletApi();
try
{
// Get risk limit.
Object result = apiInstance.LinearWalletGetRiskLimit();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LinearWalletApi.LinearWalletGetRiskLimit: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
Object
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]