module
Version:
v0.0.0-...-24c361e
Opens a new window with list of versions in this module.
Published: Aug 14, 2021
License: MIT
Opens a new window with license information.
README
¶
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
Directories
¶
Click to show internal directories.
Click to hide internal directories.