order

package
v2.0.0-...-b3d4e52 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buy

func Buy(ctx context.Context, symbol string, quantity string, price string) (*binance.CreateOrderResponse, error)

func Get

func Get(ctx context.Context, symbol string, orderId int64) (*binance.Order, error)

func List

func List(ctx context.Context, symbol string) ([]*binance.Order, error)

func ListOpen

func ListOpen(ctx context.Context, symbol string) ([]*binance.Order, error)

func Sell

func Sell(ctx context.Context, symbol string, quantity string, price string) (*binance.CreateOrderResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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