hyperliquid

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: 12 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	PrivateKey     string
	Vault          string
	AccountAddress string
	AccountID      model.AccountID
}

type PerpAdapter

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

func NewPerpAdapter

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

func (*PerpAdapter) Capabilities

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

func (*PerpAdapter) Close

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

func (*PerpAdapter) Data

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

func (*PerpAdapter) Execution

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

func (*PerpAdapter) Instruments

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

func (*PerpAdapter) Venue

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

type SpotAdapter

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

func NewSpotAdapter

func NewSpotAdapter(_ context.Context, opts Options) (*SpotAdapter, error)

func (*SpotAdapter) Capabilities

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

func (*SpotAdapter) Close

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

func (*SpotAdapter) Data

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

func (*SpotAdapter) Execution

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

func (*SpotAdapter) Instruments

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

func (*SpotAdapter) Venue

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

Jump to

Keyboard shortcuts

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