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

# Packages

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

# 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 takes stores and engines and returns a new execution engine to process new orders, etc.

# Variables

ErrInvalidOrderCancellation is returned when an incomplete order cancellation request is used.
ErrInvalidStopOrdersCancellation is returned when an incomplete stop orders cancellation request is used.
ErrMarketDoesNotExist is returned when the market does not exist.
ErrMarketIDRequiredWhenOrderIDSpecified is returned when a stop order cancellation is emitted without an order id.
ErrNoMarketID is returned when invalid (empty) market id was supplied during market creation.
ErrNotAFutureMarket is returned when the market isn't a future market.
ErrParentMarketNotEnactedYet is returned when trying to enact a successor market that is still in proposed state.
ErrStopOrdersNotAcceptedDuringOpeningAuction is returned if a stop order is submitted when the market is in the opening auction.
ErrSuccessorMarketDoesNotExists is returned when SucceedMarket call is made with an invalid successor market ID.

# Structs

Config is the configuration of the execution package.
Engine is the execution engine.