retry

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: AGPL-3.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelAllOrdersUntilSuccessful

func CancelAllOrdersUntilSuccessful(ctx context.Context, service advancedOrderCancelService) error

func CancelOrdersUntilSuccessful

func CancelOrdersUntilSuccessful(ctx context.Context, ex types.Exchange, orders ...types.Order) error

func GeneralBackoff

func GeneralBackoff(ctx context.Context, op backoff2.Operation) (err error)

func QueryOpenOrdersUntilSuccessful

func QueryOpenOrdersUntilSuccessful(ctx context.Context, ex types.Exchange, symbol string) (openOrders []types.Order, err error)

func QueryOrderUntilFilled

func QueryOrderUntilFilled(ctx context.Context, queryOrderService types.ExchangeOrderQueryService, symbol string, orderId uint64) (o *types.Order, err error)

func QueryOrderUntilSuccessful added in v1.52.0

func QueryOrderUntilSuccessful(ctx context.Context, query types.ExchangeOrderQueryService, opts types.OrderQuery) (order *types.Order, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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