Skip to content

go-numb/go-bybt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-bybt

Bybt of General information for Crypto. This client is wrapper of Bybt.

Description

go-bybt is a go client follow bybt API Document.

Supported

  • Gets Open Interest/With Chart
  • Gets Liquidation/With Chart
  • Get Funding Rate

Usage

package main

import (
	"fmt"

	"github.com/go-numb/go-bybt/auth"
	"github.com/go-numb/go-bybt/rest"
	"github.com/go-numb/go-bybt/rest/futures/fr"
	"github.com/go-numb/go-bybt/rest/futures/liquidation"
	"github.com/go-numb/go-bybt/rest/futures/oi"
)


func main() {
    // Can be obtained by registering with bybt
    key := "bybt apikey"
	c := rest.New(auth.New(auth.New(key)))
	res, err := c.FundingRateWithChart(&fr.RequestWithChart{
		Symbol: "ETH",
	})
	if err != nil {
        log.Fatal(err)
    }

	fmt.Printf("%+v", res)
}

Author

@_numbP

License

MIT

About

Bybt of General information for Crypto. This client is wrapper of Bybt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages