backpack

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Venue = model.Venue("BACKPACK")

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

func NewPerpAdapter

func NewPerpAdapter(_ context.Context, opts Options) (*Adapter, error)

func (*Adapter) Capabilities

func (a *Adapter) Capabilities() venue.DeclaredCapabilities

func (*Adapter) Close

func (a *Adapter) Close(ctx context.Context) error

func (*Adapter) Data

func (a *Adapter) Data() venue.DataClient

func (*Adapter) Execution

func (a *Adapter) Execution() venue.ExecutionClient

func (*Adapter) Instruments

func (a *Adapter) Instruments() venue.InstrumentProvider

func (*Adapter) Venue

func (a *Adapter) Venue() model.Venue

type Options

type Options struct {
	APIKey     string
	PrivateKey string
	AccountID  model.AccountID
}

Jump to

Keyboard shortcuts

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