All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
linear_wallet_get_risk_limit | GET /public/linear/risk-limit | Get risk limit. |
Object linear_wallet_get_risk_limit
Get risk limit.
This will get risk limit.
# load the gem
require 'swagger_client'
# setup authorization
SwaggerClient.configure do |config|
# Configure API key authorization: apiKey
config.api_key['api_key'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['api_key'] = 'Bearer'
# Configure API key authorization: apiSignature
config.api_key['sign'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['sign'] = 'Bearer'
# Configure API key authorization: timestamp
config.api_key['timestamp'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['timestamp'] = 'Bearer'
end
api_instance = SwaggerClient::LinearWalletApi.new
begin
#Get risk limit.
result = api_instance.linear_wallet_get_risk_limit
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling LinearWalletApi->linear_wallet_get_risk_limit: #{e}"
end
This endpoint does not need any parameter.
Object
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json