You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fleupold proposed an incremental approach: store the fee policy for an order the first time it appears in an auction. If the fee policy doesn't change in subsequent auctions, skip saving it again. If it does change, save the updated policy. When retrieving the fee policy for Auction X, search backwards through previous auctions (X, X-1, etc.) until the relevant policy is found.
Alternatives considered
One alternative is to shift fee policy creation to the orderbook and link it directly to order creation. Although this would involve significantly more work, it’s worth investigating how much effort this would actually require before fully committing to the incremental approach.
The text was updated successfully, but these errors were encountered:
Problem
The last attempt to save fee policies for all orders in the auction didn't work as expected (see PR: #3011).
We need a more efficient way to store fee policies so that they can be retrieved for each order in each auction.
This is a requirement for Issue #2844.
Suggested solution
@fleupold proposed an incremental approach: store the fee policy for an order the first time it appears in an auction. If the fee policy doesn't change in subsequent auctions, skip saving it again. If it does change, save the updated policy. When retrieving the fee policy for Auction X, search backwards through previous auctions (X, X-1, etc.) until the relevant policy is found.
Alternatives considered
One alternative is to shift fee policy creation to the orderbook and link it directly to order creation. Although this would involve significantly more work, it’s worth investigating how much effort this would actually require before fully committing to the incremental approach.
The text was updated successfully, but these errors were encountered: