aster

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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	APIKey    string
	SecretKey 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