bingx

package module
v0.0.0-...-8185413 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 3 Imported by: 0

README

BingX

A simple API connector for BingX written in Go. Heavily influenced/ported from niewiemczego's niewiemczego/python-bingx

USE AT YOUR OWN RISK. Please review everything yourself. I'm not responsible for any damages/bad trades/etc. that may result from use of this software.

Not completed, you'll need to implement the actual calls if you want to use this.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Documentation

Index

Constants

View Source
const BASE_URL string = "https://open-api.bingx.com"
View Source
const DEMO_BASE_URL string = "https://open-api-vst.bingx.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type BingX

type BingX struct {
	Perpetual *perpetualv2.PerpetualV2
	Spot      *spot.Spot
	Standard  *standard.Standard
	IsDemo    bool
}

func Create

func Create(isDemo bool) *BingX

func (*BingX) AddPerpetualKey

func (obj *BingX) AddPerpetualKey(api, secret string)

func (*BingX) AddSpotKey

func (obj *BingX) AddSpotKey(api, secret string)

func (*BingX) AddStandardKey

func (obj *BingX) AddStandardKey(api, secret string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL