package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# Functions
NewEngine returns a new instance of target stake calculation Engine.
No description provided by the author
# Variables
ErrNegativeScalingFactor indicates that a negative scaling factor was supplied to the engine.
ErrTimeSequence signals that time sequence is not in a non-decreasing order.
# Structs
Engine allows tracking price changes and verifying them against the theoretical levels implied by the RangeProvider (risk model).
No description provided by the author
# Interfaces
go:generate go run github.com/golang/mock/mockgen -destination mocks/open_interest_calculator_mock.go -package mocks code.vegaprotocol.io/vega/core/liquidity/target OpenInterestCalculator.