All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
LinearFundingMyLastFee | Get /private/linear/funding/prev-funding | Get prev funding |
LinearFundingPredicted | Get /private/linear/funding/predicted-funding | Get predicted funding rate and funding fee. |
LinearFundingPrevRate | Get /public/linear/funding/prev-funding-rate | Get prev funding |
interface{} LinearFundingMyLastFee(ctx, optional) Get prev funding
This will get prev funding
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *LinearFundingMyLastFeeOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a LinearFundingMyLastFeeOpts struct
Name | Type | Description | Notes |
---|---|---|---|
symbol | optional.String |
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]
interface{} LinearFundingPredicted(ctx, symbol) Get predicted funding rate and funding fee.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | Contract type. |
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]
interface{} LinearFundingPrevRate(ctx, symbol) Get prev funding
This will get prev funding rate
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string |
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]