package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev

# Functions

GenerateClobPair returns a `ClobPair` object set to default values.
GenerateOrderUsingTemplate is a helper function to generate an test order with a template and opitonal modifier options.
No description provided by the author
MustPerpetualId is a wrapper around ClobPair.GetPerpetualId() which panics if an error is returned.
NewDeleveragingMatchOperation returns a new match operation for deleveraging against a undercollateralized subaccount that has failed liquidation.
NewMatchOperation returns a new operation for matching maker orders against a matchable order.
NewMatchOperationFromPerpetualDeleveragingLiquidation returns a new match operation wrapping the `perpDeleveraging` object.
NewMatchOperationFromPerpetualLiquidation returns a new match operation wrapping the `perpLiquidation` object.
NewMatchOperationRaw returns a new raw operation for matching maker orders against a matchable order.
NewMatchOperationRawFromPerpetualDeleveragingLiquidation returns a new raw match operation wrapping the `perpDeleveraging` object.
NewMatchOperationRawFromPerpetualLiquidation returns a new raw match operation wrapping the `perpLiquidation` object.
NewOrderCancellationOperation returns a new operation for canceling an order.
NewOrderPlacementOperation returns a new operation for placing an order.
NewOrderRemovalOperationRaw returns a new raw order removal operation.
NewPreexistingStatefulOrderPlacementOperation returns a new operation for placing a pre-existing stateful order.
NewShortTermOrderPlacementOperationRaw returns a new raw operation for placing an order.
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
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
No description provided by the author

# Structs

TestHumanOrder is a test order with human readable price and size.

# Type aliases

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