This PR adds a new type of order, market making order.
Tasks
[x] Add MsgMMOrder msg
[x] Write validation function and tests
[x] Add MaxNumMarketMakingOrderTicks param
[x] Write tests
[x] Write simulation test
[x] Delete MMOrderIndex when there's no MMOrder anymore
[x] Write unit tests (MMOrderTicks, deleted MMOrderIndex)
[x] Update relevant docs
[x] Migration code ( order type )
References
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
Description
This PR adds a new type of order, market making order.
Tasks
MsgMMOrder
msgMaxNumMarketMakingOrderTicks
paramMMOrderIndex
when there's noMMOrder
anymoreReferences
Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes