mm

package
v0.0.0-...-82616d5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UserID         int64
	OrderSize      float64
	MinSpread      float64
	SeedOffset     float64
	ExchnageClient *client.Client
	MakeInterval   time.Duration
	PriceOffset    float64
}

type MarketMaker

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

func NewMarketMaker

func NewMarketMaker(cfg Config) *MarketMaker

func (*MarketMaker) SeedMarket

func (mm *MarketMaker) SeedMarket() error

func (*MarketMaker) Start

func (mm *MarketMaker) Start()

Jump to

Keyboard shortcuts

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