# Packages
Package mocks is a generated GoMock package.
# Functions
DiscreteThreeLevelProbabilities is a method for calculating price levels.
GeneratePriceUsingDiscreteThreeLevel is a method for calculating price levels input is a float price (so divide uint64 price by 10^{num of decimals}) it returns a float price which you want to multiply by 10^{num of decimals} and then round.
New returns a new instance of Bot.
# Constants
CoinAndBinomial uses the coin and binomial method.
DiscreteThreeLevel uses the discrete three level method.
NotSet for when we cannot parse the input string.
# Structs
Bot represents one Normal liquidity bot.
LODParamsConfig is a little data structure which sets the algo and params for how limits orders are generated.
ShapeConfig is the top level definition of a liquidity shape.
Strategy configures the normal strategy.
# Interfaces
CoreService implements the gRPC service of the same name.
CoreStateService implements the gRPC service of the same name.
DataNode is a Vega Data node
go:generate go run github.com/golang/mock/mockgen -destination mocks/datanode_mock.go -package mocks code.vegaprotocol.io/liqbot/bot/normal DataNode.
PricingEngine is the source of price information from the price proxy.
TradingDataService implements the gRPC service of the same name.
# Type aliases
SteeringMethod is an enum for all the possible price calculations methods for price steering.