Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Latest commit

 

History

History
100 lines (62 loc) · 3.5 KB

LinearFundingApi.md

File metadata and controls

100 lines (62 loc) · 3.5 KB

\LinearFundingApi

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

LinearFundingMyLastFee

interface{} LinearFundingMyLastFee(ctx, optional) Get prev funding

This will get prev funding

Required Parameters

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

Optional parameters are passed through a pointer to a LinearFundingMyLastFeeOpts struct

Name Type Description Notes
symbol optional.String

Return type

interface{}

Authorization

apiKey, apiSignature, timestamp

HTTP request headers

  • 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]

LinearFundingPredicted

interface{} LinearFundingPredicted(ctx, symbol) Get predicted funding rate and funding fee.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
symbol string Contract type.

Return type

interface{}

Authorization

apiKey, apiSignature, timestamp

HTTP request headers

  • 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]

LinearFundingPrevRate

interface{} LinearFundingPrevRate(ctx, symbol) Get prev funding

This will get prev funding rate

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
symbol string

Return type

interface{}

Authorization

apiKey, apiSignature, timestamp

HTTP request headers

  • 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]