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

NewDefaultConfig creates an instance of the package specific configuration, given a pointer to a logger instance to be used for logging within the package.
NewEngine returns a new Liquidity Engine.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Config represents the configuration of the Liquidity service.
Engine handles Liquidity provision.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Broker - event bus (no mocks needed).
IDGen is an id generator for orders.
go:generate go run github.com/golang/mock/mockgen -destination mocks/orderbook_mock.go -package mocks code.vegaprotocol.io/vega/core/liquidity/v2 OrderBook.
PriceMonitor provides the range of valid prices, that is prices that wouldn't trade the current trading mode.
RiskModel allows calculation of min/max price range and a probability of trading.
No description provided by the author
TimeService provide the time of the vega node using the tm time.

# Type aliases

Orders provides convenience functions to a slice of *veaga/proto.Orders.
Provisions provides convenience functions to a slice of *vega/proto.LiquidityProvision.
ProvisionsPerParty maps parties to *types.LiquidityProvision.