gobybit

gobybit is a Go module for using the ByBit’s Rest & Websocket API

Documentation

Full API, examples, and implementation notes are available in the Go documentation.

Go Reference

Installation

go get github.com/ginarea/gobybit@latest

Import

import "github.com/ginarea/gobybit"

Example

package main

import "github.com/ginarea/gobybit"

func main() {
    client := gobybit.NewClient()
    client.InversePerpetual().ServerTime()
    client.UsdtPerpetual().ServerTime()
    client.InverseFutures().ServerTime()
    client.Spot().ServerTime()
    client.Spotv3().ServerTime()
    client.AccountAsset()
}

GitHub

View Github