UPDATE: Spec is in this comment #13 (comment)
Problem: right now LPs can't exit when buffers are open, measured on gross as long buffer + short buffer. this can create very large buffers that greatly limit an LP's ability to withdraw.
Solution: count the buffers on net as net_buffer = long_buffer - short_buffer and make max(0,net_buffer) the amount LPs can't withdraw. buffers are not necessary for net short positions as max_loss sufficiently backs the LP short-sold into the market (which the LP has exposure to).
Benefit: now you can do two things:
- LPs can exit without any cost whenever the market is flat (longs = shorts)
- LPs can exit by paying the associated cost of making their position flat
simulation / code
TO DO: let's show this in a demo, to compare vs. current approach
Step 4: math formulas that show benefit
e.g. what is the associated cost an LP must pay to exit?
UPDATE: Spec is in this comment #13 (comment)
Problem: right now LPs can't exit when buffers are open, measured on gross as long buffer + short buffer. this can create very large buffers that greatly limit an LP's ability to withdraw.
Solution: count the buffers on net as
net_buffer = long_buffer - short_bufferand makemax(0,net_buffer)the amount LPs can't withdraw. buffers are not necessary for net short positions asmax_losssufficiently backs the LP short-sold into the market (which the LP has exposure to).Benefit: now you can do two things:
simulation / code
TO DO: let's show this in a demo, to compare vs. current approach
Step 4: math formulas that show benefit
e.g. what is the associated cost an LP must pay to exit?