rest

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmendOrder

func AmendOrder(ctx context.Context, params map[string]interface{}) (swagger.Order, *http.Response, error)

func CancelOrder

func CancelOrder(ctx context.Context, params map[string]interface{}) ([]swagger.Order, *http.Response, error)

func GetClient

func GetClient(ctx context.Context) *swagger.APIClient

func GetOrder

func GetOrder(ctx context.Context, params map[string]interface{}) ([]swagger.Order, *http.Response, error)

func GetPosition

func GetPosition(ctx context.Context, params map[string]interface{}) ([]swagger.Position, *http.Response, error)

func GetTrade

func GetTrade(ctx context.Context, params map[string]interface{}) ([]swagger.Trade, *http.Response, error)

func GetWallet

func GetWallet(ctx context.Context) (swagger.Wallet, *http.Response, error)

func MakeContext

func MakeContext(key string, secret string, host string, timeout int64) context.Context

func NewOrder

func NewOrder(ctx context.Context, params map[string]interface{}) (swagger.Order, *http.Response, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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