Making the DLOB more intuitive #655
Replies: 5 comments 1 reply
-
agree with motivations in above. for context, the quirks come from trying to avoid write lock contention for a central data structure. specifically 1. comes from the evolution of the limit order not originally supporting auction params and 2. requires adding the concept of both a taker and maker price for the vamm (taker price being an offset s.t. it can pay the maker rebate). |
Beta Was this translation helpful? Give feedback.
-
Two questions that came up in private chat:
|
Beta Was this translation helpful? Give feedback.
-
Can this be achieved for spot too? Or is there any way to make it less of a surprise when a spot resting limit order gets filled off drift and is charged taker |
Beta Was this translation helpful? Give feedback.
-
Started on #2, fills against vamm still gives maker rebate: #653 |
Beta Was this translation helpful? Give feedback.
-
inspired by the post here did a write up on the life of an order: https://hackmd.io/@bigz/Life-of-an-Order-on-Drift |
Beta Was this translation helpful? Give feedback.
-
Drift v2's design has some quirks that can confuse people coming from a cex. It has multiple liquidity sources (vamm and active mm's) and it doesn't enforce strict price-time priority. While some deviation from the traditional conceptual model is inevitable when moving onchain, it's still good to keep things similar where you can.
Here are some sources of confusion for users new to drift:
To reduce confusion and make drift v2 more intuitive, the following changes can be made:
1 conceptually unifies market orders and limit orders. While they both take during the auction, the market order expires at the end whereas the limit order becomes a maker at its limit price.
1 also makes it easier for drift to replicate price-time priority. While it doesn't enforce it strictly, it does aim to approximate it via keeper incentivizes. By removing the ability for a resting limit order to take, it removes the situation where a limit order takes from another order that was placed after it.
2 makes the fee schedule more predictable and makes the vamm function more similar to other market participants, reducing the cognitive overhead for users new to drift.
This outlines some of the tentative changes coming to v2. If you've noticed other sources of confusion that you think can be eliminated, please raise them in the comments!
Beta Was this translation helpful? Give feedback.
All reactions