h

package
v0.0.0-...-3744841 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Fees = model.Fees{
		MakerTakerRatio:    decimal.RequireFromString("0.0017"),
		WithdrawalFlatXCH:  decimal.RequireFromString("0.0005"),
		WithdrawalFlatUSDT: decimal.NewFromInt(1),
	}
	AskAddition  = decimal.NewFromInt(1).Add(Fees.MakerTakerRatio)
	BidReduction = decimal.NewFromInt(1).Sub(Fees.MakerTakerRatio)
)

Functions

func Balances

func Balances() (b model.Balances, err error)

func Book

func Book() ([]model.Order, []model.Order, error)

func Buy

func Buy(price, size decimal.Decimal) (string, error)

func GetOrder

func GetOrder(id string) (*order.GetOrderResponse, error)

func LoadClient

func LoadClient(conf *arboconfig.Config)

func OrderTest

func OrderTest()

func Sell

func Sell(price, size decimal.Decimal) (string, error)

func WSTest

func WSTest()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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