All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
fundingMyLastFee | GET /open-api/funding/prev-funding | Funding settlement occurs every 8 hours at 00:00 UTC, 08:00 UTC and 16:00 UTC. The current interval's fund fee settlement is based on the previous interval's fund rate. For example, at 16:00, the settlement is based on the fund rate generated at 8:00. The fund rate generated at 16:00 will be used at 0:00 on the next day. |
fundingPredicted | GET /open-api/funding/predicted-funding | Get predicted funding rate and funding fee. |
fundingPrevRate | GET /open-api/funding/prev-funding-rate | Get predicted funding rate and funding fee. |
Object fundingMyLastFee(symbol)
Funding settlement occurs every 8 hours at 00:00 UTC, 08:00 UTC and 16:00 UTC. The current interval's fund fee settlement is based on the previous interval's fund rate. For example, at 16:00, the settlement is based on the fund rate generated at 8:00. The fund rate generated at 16:00 will be used at 0:00 on the next day.
// Import classes:
//import io.swagger.client.api.FundingApi;
FundingApi apiInstance = new FundingApi();
String symbol = "symbol_example"; // String | Contract type.
try {
Object result = apiInstance.fundingMyLastFee(symbol);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FundingApi#fundingMyLastFee");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
symbol | String | Contract type. |
Object
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
Object fundingPredicted(symbol)
Get predicted funding rate and funding fee.
// Import classes:
//import io.swagger.client.api.FundingApi;
FundingApi apiInstance = new FundingApi();
String symbol = "symbol_example"; // String | Contract type.
try {
Object result = apiInstance.fundingPredicted(symbol);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FundingApi#fundingPredicted");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
symbol | String | Contract type. |
Object
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
Object fundingPrevRate(symbol)
Get predicted funding rate and funding fee.
// Import classes:
//import io.swagger.client.api.FundingApi;
FundingApi apiInstance = new FundingApi();
String symbol = "symbol_example"; // String | Contract type.
try {
Object result = apiInstance.fundingPrevRate(symbol);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FundingApi#fundingPrevRate");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
symbol | String | Contract type. |
Object
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json