-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to charge closing fees without an order match #909
Comments
Can you elaborate on this scenario? How would the user avoid paying the order-matching fees? Also, it looks like this part has nothing to do with the second part. |
An app user could:
With a small position this might not be profitable because the transaction fees might be more expensive than the order-matching fee, but this route might become more attractive with large positions.
The point of the second part is to highlight that there is another way in which the app user can end up not paying the order-matching fee: by letting it be collaboratively closed on expiry. Such a scenario is related to the first one because in both cases there is no order-matching happening, which is strange in the context of an orderbook. I left it out of #863, because:
|
Thanks for the explanation, now the second part also makes sense to me why it is added to this ticket. 👍 Well in that case, how about only charging a fee for opening a position, but none when closing a position? We could as well charge twice for opening already covering the fees for closing the position upfront - as there is currently no way to not close the position after the expiry. We might want to revise that when supporting perpetuals. |
Let's try to remove the term:
When speaking about That being said, in this case we would lose out one part of the I think there is nothing to do here for now. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Quoting myself :)
Closed as not planned for now |
It is an edge-case, but a trader could simply force-close the channel to avoid paying order-matching fees.
Even if there is no force-close, we do currently enforce frequent collaborative closures that I think circumvent the orderbook. This motivated me to leave the following TODO in #863:
10101/mobile/native/src/ln_dlc/node.rs
Line 248 in dadbc4b
The text was updated successfully, but these errors were encountered: