package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

NewEngine returns a reference to a new supplied liquidity calculation engine.

# Variables

ErrNoValidOrders informs that there weren't any valid orders to cover the liquidity obligation with.
the increment of offsets in the offset slice - 1/PriceIncrementFactor as integer.
No description provided by the author
an offset of 100%.
we calculate the probability of trading in increments of 0.001 from of the best bid/ask.

# Structs

Engine provides functionality related to supplied liquidity.

# Interfaces

PriceMonitor provides the range of valid prices, that is prices that wouldn't trade the current trading mode go:generate go run github.com/golang/mock/mockgen -destination mocks/price_monitor_mock.go -package mocks code.vegaprotocol.io/vega/core/liquidity/supplied PriceMonitor.
RiskModel allows calculation of min/max price range and a probability of trading.
No description provided by the author