The Method of Choosing Parameters for Margin Trading Protocols in the Constant Product Model
Lyudmila Kovalchuk (),
Volodymyr Kostanda,
Oleksandr Marukhnenko,
Nataliia Kuchynska and
Yuliia Marchuk ()
Additional contact information
Lyudmila Kovalchuk: Department of Mathematical Methods of Information Security, Institute of Physics and Technology NTUU “Igor Sikorsky Kyiv Polytechnic Institute”, 03056 Kyiv, Ukraine
Volodymyr Kostanda: PrimexLabs OÜ, Harju Maakond, Kesklinna Linnaosa, Vesivärava tn 50-201, 10152 Tallinn, Estonia
Oleksandr Marukhnenko: PrimexLabs OÜ, Harju Maakond, Kesklinna Linnaosa, Vesivärava tn 50-201, 10152 Tallinn, Estonia
Nataliia Kuchynska: Department of Mathematical Methods of Information Security, Institute of Physics and Technology NTUU “Igor Sikorsky Kyiv Polytechnic Institute”, 03056 Kyiv, Ukraine
Yuliia Marchuk: PrimexLabs OÜ, Harju Maakond, Kesklinna Linnaosa, Vesivärava tn 50-201, 10152 Tallinn, Estonia
Mathematics, 2023, vol. 11, issue 19, 1-20
Abstract:
We introduce a new method of choosing parameters for margin trading protocols in the Constant Product Model and apply it to our new DeFi Margin Trading protocol Primex, which can work with different DEXs and DeFi platforms. The main advantages of Primex, in comparison with existing DeFi protocols, are the following: (1) the possibility to trade with leverage, using large asset amounts and having only a small part (deposit) in one of the assets; (2) full explanation and justification of the choice of protocol parameters and relations (such as liquidation condition, maximum leverage, different fees, etc.), which allows to estimate different risks (for Lenders and the protocol) and reduce them to the required level; (3) additional decentralization and, at the same time, protection against different faults in protocol functioning, achieved by the usage of the decentralized Keeper; (4) transparent rules and conditions for all participants—Lenders, Traders, and Keepers. We give a detailed explanation for our approach to set protocol parameters and build a corresponding method to obtain their numerical values in the case of the Constant Product Model. The obtained numerical results provide additional indirect confirmation of the consistency of our method. Note that it also may be applied (after the corresponding recalculation of some coefficients) to other models, such as the Order Book Model, Constant Sum Model, or the Mixed Constant Sum/Constant Product Model (as described in the Curve whitepaper), and even other types of DeFi protocols after some modification.
Keywords: decentralized margin trading; DEX; constant product model; liquidation condition (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/11/19/4158/pdf (application/pdf)
https://www.mdpi.com/2227-7390/11/19/4158/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:11:y:2023:i:19:p:4158-:d:1253052
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().