0062 XLS-62d: Options #186
Replies: 4 comments 4 replies
-
Great proposal Denis |
Beta Was this translation helpful? Give feedback.
-
It the proposal, you say "Five new transaction types" but then only list three. |
Beta Was this translation helpful? Give feedback.
-
IIUC, this draft doesn't consider American style options. Is that right? |
Beta Was this translation helpful? Give feedback.
-
From my going over this everything in the disclaimer is left to the interface implementing the protocol in their interface correct? none of those issues highlighted there could be addressed on ledger? Maybe something could be looked at to leverage the DiD to "check" and flag some of those issue. eg, requiring a DiD that has the accreditation once that is added only then the option to use options becomes available. |
Beta Was this translation helpful? Give feedback.
-
XLS-62d Options — Options for XRPL Protocol Chains
Problem Statement
The current (XRPL) protocol provides a robust and efficient platform for transferring digital assets and currencies. However, there is a growing demand for more advanced financial instruments, such as options, which are not natively supported by the XRPL in its current form. Options are financial derivatives that give buyers the right or obligation, to buy or sell an underlying asset at a predetermined price within a specified time period. The lack of a standardized protocol for creating and managing options on the XRPL protocols limit the functionality and potential use cases for the ledger. To address this gap and enhance the capabilities of XRPL protocols, we propose a new amendment that introduces a lightweight and flexible framework for options trading. This will enable developers and users to create, trade, and exercise options, thereby expanding the financial utility of XRPL protocols and opening up new opportunities for decentralized finance (DeFi) applications.
Disclaimer
This decentralized investment vehicle involves the creation and use of options, which are complex financial derivatives. Users should be aware that engaging with options carries significant risk and requires a deep understanding of the mechanisms involved.
Licensing Requirements for Listing Options:
Accreditation and Sophistication Requirements:
Legal and Regulatory Compliance:
Due Diligence and Professional Advice:
No Financial Advice:
Amendment
The proposed amendment introduces a new framework for options trading on the XRPL protocols, providing a lightweight and flexible way to create, trade, and exercise options, thus expanding the financial capabilities of the XRPL for decentralized finance applications.
The amendment adds:
ltOPTION
OPTION_DIR
ltOPTION_OFFER
OptionID
Quantity
SealedID
SwapID
Three new transaction types:
OptionList
OptionCreate
OptionExecute
New Ledger Object Type:
Option
The
Option
ledger object is a new on-ledger object that is created with theOptionList
transaction. This object represents an option contract on the XRPL, detailing the terms under which the option can be exercised.The object has the following fields:
Example Option object:
New Ledger Object Type:
OptionOffer
The
OptionOffer
ledger object is a new on-ledger object that represents an offer to buy or sell an option contract on the XRPL. This object is used to match buyers and sellers in the options market, facilitating the trading of options contracts.The object has the following fields:
OptionOffer
object is part of.Example
OptionOffer
object:New Transaction Type:
OptionList
The
OptionList
transaction is used to create a new option contract on the XRPL. This transaction specifies the terms of the option, including the underlying asset, strike price, expiration time, and the broker responsible for the contract.The
Amount
field represents both the underlying asset that the option contract pertains to and the strike price at which the option can be exercised. TheExpiration
field is a UNIX timestamp indicating when the option contract will expire and can no longer be exercised. TheBroker
field identifies the broker who will manage the option contract.Example
OptionList
transaction:OptionList
SummaryThe
OptionList
transaction is a proposed transaction for creating option contracts on the XRP Ledger. When executed, it creates a new ledger entry representing the option, which includes details like the underlying asset, strike price and expiration date. If the transaction is successful, the option contract is officially listed on the ledger.New Transaction Type:
OptionCreate
The
OptionCreate
transaction is used to create a new option contract or to manage an existing one. This transaction can be used to buy or sell (write) a call or put option, and to open or close a position.OptionCreate
FlagsThe
OptionCreate
transaction uses flags to specify the type of option, the action being taken, and whether the position is being opened or closed.The
Amount
field represents the premium of the option contract, which is the price paid by the buyer or received by the seller for the option. TheQuantity
field specifies the number of shares or units covered by the option contract.The
SwapID
field is used when closing an option position and must specify the swap ID associated with the option being closed. In a decentralized exchange (DEX) environment, the matching of options would occur automatically and programmatically, and theSwapID
would not be necessary.Example
OptionCreate
transaction (Open Position):OptionCreate
SummaryThe
OptionCreate
transaction is used to create or manage options contracts on the XRPL ledger. It involves specifying the option details, adjusting account balances, and updating ledger entries. The transaction can seal options by matching buyers and sellers, and it handles the transfer of premiums and collateral. It supports buying or selling options and opening or closing positions.New Transaction Type:
OptionExercise
The
OptionExercise
transaction is used to exercise an option contract on the XRPL. This transaction allows the holder of a call or put option to exercise their right to buy or sell the underlying asset at the specified strike price.tfExpire
flag is set the option will be removed from the ledger.Example Option Exercise:
OptionExercise
SummaryThe
OptionExercise
transaction on the XRPL allows a holder of an option contract to exercise their right to buy or sell the underlying asset at a set price. When this transaction is executed, it checks for the necessary permissions and account balances, transfers the asset and funds between the option holder and writer, updates the ledger, and then finalizes the transaction. If successful, the option is exercised, and the involved accounts are adjusted accordingly. If thetfExpire
flag is set, the option is also removed from the ledger.Beta Was this translation helpful? Give feedback.
All reactions