market

package
v0.72.11 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 8 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 {
	RiskModels          *riskModels
	FeesConfig          *feesConfig
	OracleConfigs       *oracleConfigs
	PriceMonitoring     *priceMonitoring
	MarginCalculators   *marginCalculators
	LiquidityMonitoring *liquidityMonitoring
}

func NewMarketConfig

func NewMarketConfig() *Config

type OracleConfig

type OracleConfig struct {
	Spec    *vegapb.OracleSpec
	Binding *types.DataSourceSpecToFutureBinding
}

type SuccessorConfig added in v0.72.0

type SuccessorConfig struct {
	ParentID            string
	InsuranceFraction   num.Decimal
	PriceMonitoring     *priceMonitoring
	LiquidityMonitoring *liquidityMonitoring
	RiskModels          *riskModels
	PositionDecimals    int64
	Decimals            uint64
	PriceRange          num.Decimal
	LinSlip             num.Decimal
	QuadSlip            num.Decimal
}

func NewSuccessorConfig added in v0.72.0

func NewSuccessorConfig() *SuccessorConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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