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

Latest commit

 

History

History
81 lines (49 loc) · 2.39 KB

CommonApi.md

File metadata and controls

81 lines (49 loc) · 2.39 KB

\CommonApi

All URIs are relative to https://api.bybit.com

Method HTTP request Description
CommonAnnouncements Get /v2/public/announcement Get Bybit OpenAPI announcements in the last 30 days in reverse order.
CommonGetLcp Get /v2/private/account/lcp Query LCP info.
CommonGetTime Get /v2/public/time Get bybit server time.

CommonAnnouncements

interface{} CommonAnnouncements(ctx, ) Get Bybit OpenAPI announcements in the last 30 days in reverse order.

Required Parameters

This endpoint does not need any parameter.

Return type

interface{}

Authorization

No authorization required

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]

CommonGetLcp

interface{} CommonGetLcp(ctx, symbol) Query LCP info.

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

No authorization required

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]

CommonGetTime

interface{} CommonGetTime(ctx, ) Get bybit server time.

Required Parameters

This endpoint does not need any parameter.

Return type

interface{}

Authorization

No authorization required

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]