WO2022078303A1 - 合约交易装置 - Google Patents

合约交易装置 Download PDF

Info

Publication number
WO2022078303A1
WO2022078303A1 PCT/CN2021/123151 CN2021123151W WO2022078303A1 WO 2022078303 A1 WO2022078303 A1 WO 2022078303A1 CN 2021123151 W CN2021123151 W CN 2021123151W WO 2022078303 A1 WO2022078303 A1 WO 2022078303A1
Authority
WO
WIPO (PCT)
Prior art keywords
asset
contract
trading
user
transaction
Prior art date
Application number
PCT/CN2021/123151
Other languages
English (en)
French (fr)
Inventor
张大成
陈洁
张超
侯典杰
汪欣
郭子氚
梁尧
Original Assignee
张大成
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 张大成 filed Critical 张大成
Priority to CA3195995A priority Critical patent/CA3195995A1/en
Priority to CN202180022211.3A priority patent/CN115335845A/zh
Priority to EP21879347.9A priority patent/EP4231223A4/en
Priority to AU2021359474A priority patent/AU2021359474A1/en
Priority to KR1020227019196A priority patent/KR20230088304A/ko
Priority to JP2022529536A priority patent/JP7248960B2/ja
Publication of WO2022078303A1 publication Critical patent/WO2022078303A1/zh
Priority to US17/871,700 priority patent/US20220374986A1/en
Priority to JP2023033587A priority patent/JP2023071891A/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/027Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] involving a payment switch or gateway
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • G06Q20/0655Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash managed centrally
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/381Currency conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2220/00Business processing using cryptography
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Definitions

  • the invention relates to the technical field of blockchain, in particular to a contract transaction device.
  • Blockchain technology is increasingly favored by companies in the fields of finance, insurance and other fields because of its features of decentralization and information immutability.
  • the automatic market maker AMM Automated Market Maker
  • this multi-asset fund pool model makes participation in liquidity Mining users always do the opposite to the market, which damages the assets and data stored by market makers on the blockchain.
  • the insecurity of such assets and data is usually called impermanent loss in the industry, said a researcher at the University of La, France. Alexis Direr published a paper pointing out that impermanent losses may be permanent, and it is difficult for existing trading systems to effectively reduce this risk, which seriously restricts the further development of DEFI.
  • a contract transaction device including:
  • a contract subject manager used to manage the contract exchange rate Ph between the first asset A and the second asset B;
  • a margin determiner which is used for trading users to select one of their available assets as a trading margin
  • a transaction engine which is configured to execute the transaction after receiving the transaction user's transaction instruction for the contract exchange rate Ph;
  • the spot market processor is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • Spot exchange rate Px is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • the user position adjustment processor is configured to convert the contract position of the trading user into the quantity of the first asset A and the contract exchange rate Ph in a continuous period of time according to the change of the contract exchange rate Ph Negative correlation, the amount equivalent to the second asset B is positively correlated with the contract exchange rate Ph;
  • the transaction data storage is used to store the basic information of the transaction user
  • the basic information includes at least one of order information, position status, asset magnification, and transaction records.
  • a position closing processor which is used for initiating a forced closing order for the trading users who reach the preset closing price
  • the user's position can be adjusted in real time according to the change of the contract exchange rate Ph, which can effectively reduce the impermanent loss of automatic market makers and improve the security of assets and data.
  • the user position adjustment processor is configured to, according to the change of the contract exchange rate Ph, make the contract position of the trading user converted into the quantity of the first asset A in a continuous period of time as the contract exchange rate Ph changes.
  • the amount of the equivalent second asset B increases with the increase of the contract exchange rate Ph;
  • the user position adjustment processor may be further configured to convert the contract position of the trading user into the amount of the first asset A in a continuous period of time according to the change of the contract exchange rate Ph, as the contract exchange rate changes.
  • the increase of Ph decreases, and the amount equivalent to the second asset B decreases with the decrease of the contract exchange rate Ph;
  • the user position adjustment processor is configured to maintain the contract position amount of the trading user at the amount equivalent to the first asset A in a continuous period of time according to the change of the c-th power of the contract exchange rate Ph. It is d times of b/(Ph) ⁇ c, where 0 ⁇
  • ⁇ 1, b>0, d>0, b and c are preset constants, optional, c 0.5 or -0.5;
  • the variety related to the transaction target as the transaction margin, such as the first asset A or the second asset B;
  • the transaction deposits of the transaction users are all stable coins.
  • the contract trading device further includes an asset operational amplifier, and the asset operational amplifier feeds back the asset magnification ratio of the trading user to the position closing processor, and the asset amplification ratio of the trading user is a ratio between the position value and the margin value.
  • the initial asset magnification ratio of the transaction user is m0, then
  • the transaction engine further includes a virtual pricing system
  • the virtual pricing system includes a virtual variety C and a virtual variety D
  • the virtual value of the virtual variety C converted to the quantity of the first asset A is negatively correlated with the contract exchange rate Ph, equivalent to The quantity of the second asset B is positively related to the contract exchange rate Ph
  • the virtual value of the virtual variety D is positively related to the price of the first asset A or the second asset B
  • the matching transaction includes determining the price according to the virtual pricing system. The transaction price of the trading user.
  • the contract trading device further includes a delivery system, and the delivery system is configured to close the position on the delivery date agreed in the contract;
  • the delivery system includes a delivery price calculation system, and the delivery price calculation system initiates an inquiry to the spot market server gateway before delivery, and determines the delivery price according to the inquired spot exchange rate Px;
  • the contract trading device further includes a funding rate manager, and the funding rate manager is configured to charge a funding rate for a long-selling user or a short-selling user at a fixed time;
  • the rate collection method adopted by the funding rate manager includes: when the contract exchange rate Ph has a positive premium relative to the spot exchange rate, the funding rate is charged to long users, and the funding rate is subsidized to short users; when the contract exchange rate Ph is relatively When there is a negative premium in the spot exchange rate, the short-selling user will be charged the funding rate, and the long-selling user will be subsidized for the funding rate.
  • the optional transaction object of the contract transaction device may include one or more of the exchange rate of Bitcoin to stable currency, the exchange rate of Ethereum to stable currency, and the exchange rate of stable currency to stable currency;
  • the stablecoin includes one or more of digital currencies USDT, USDC, PAX, TUSD, BUSD, DAI, DCEP, EURT, GYEN.
  • transaction data storage includes a centralized database or a decentralized database.
  • the centralized database includes a distributed database
  • the decentralized database includes a public blockchain
  • the public blockchain includes one or more of Ethereum, Polkadot, EOS (ENTERPRISE OPERATION SYSTEM), TRON, and Cosmo;
  • the public blockchain further includes a storage blockchain for storing data related to contract transactions.
  • the storage blockchain includes IPFS or Storj.
  • the contract trading device provided by the present invention can effectively reduce the impermanent loss of the automatic market maker, and reduce the asset and data risks of the market maker.
  • one or more embodiments of the present invention further provide a transaction method, the transaction method includes:
  • the transaction method further includes:
  • the transaction method using the contract transaction device of the present invention includes:
  • Another embodiment of the present invention discloses a contract transaction device, and the contract transaction device includes:
  • a contract subject manager used to manage the contract exchange rate Ph between the first asset A and the second asset B;
  • a margin determiner which is used for trading users to select one of their available assets as a trading margin
  • a fund pool manager configured to receive the first asset A and/or the second asset B for deposit into the fund pool
  • a transaction engine which is used to execute the counterparty transaction between the transaction user and the fund pool after receiving the transaction user's transaction instruction for the contract exchange rate Ph;
  • the spot market processor is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • Spot exchange rate Px is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • the user position adjustment processor is configured to convert the contract position of the trading user into the quantity of the first asset A and the contract exchange rate Ph in a continuous period of time according to the change of the contract exchange rate Ph Negative correlation, the amount equivalent to the second asset B is positively correlated with the contract exchange rate Ph;
  • the transaction data storage includes basic information for storing transaction users
  • a capital pool position adjustment processor which is configured to initiate a forced position increase or reduction order for the contract position when the contract exchange rate reaches a preset value.
  • the user position adjustment processor is configured to maintain the contract position amount of the trading user at the amount equivalent to the first asset A in a continuous period of time according to the change of the c-th power of the contract exchange rate Ph. It is d times of b/(Ph) ⁇ c, where 0 ⁇
  • the contract transaction device further includes a voucher generator, the voucher generator is configured to generate the first asset A or the second asset B after the fund pool manager receives the deposit of the first asset A or the second asset B.
  • voucher or is configured to generate a second voucher after a transaction is established between the transaction user and the fund pool, the first voucher is positively related to the amount of the first asset A or the second asset B in the fund pool, the The first voucher is configured as a voucher for initiating a withdrawal request to the fund pool, the second voucher is positively correlated with the contract position between the trading user and the fund pool in a continuous period of time, and the first voucher is The second credential is configured as a credential for releasing the deposit of the trading user.
  • the amount of funds represented by the first certificate converted into the second asset B is greater than or equal to the amount of the second asset B converted from the position represented by the second certificate.
  • the contract transaction device further includes a voucher destroyer, and the voucher destroyer is configured to destroy the first voucher or the second voucher after the voucher holder initiates a withdrawal request to the contract transaction device.
  • Fig. 1 is the working schematic diagram of the embodiment of the present invention.
  • FIG. 2 is an effect diagram of a contract transaction device according to an embodiment of the present invention.
  • FIG. 3 is an effect diagram of a contract transaction device according to another embodiment of the present invention.
  • FIG. 4 is a working principle diagram of a contract transaction device according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of the virtual pricing system of the present invention.
  • a contract transaction device includes:
  • a contract subject manager used to manage the contract exchange rate Ph between the first asset A and the second asset B;
  • a margin determiner which is used for trading users to select one of their available assets as a trading margin
  • the margin of trading users here is not limited to variety A and variety B, and may also be other assets, such as variety AB.
  • a transaction engine which is used to execute a transaction after receiving the transaction user's transaction instruction for the contract exchange rate Ph.
  • the transaction engine executes a long and short transaction after receiving the transaction user's transaction instruction to do long and short.
  • Matchmaking transactions between users; transaction users include long buyers or short sellers.
  • the spot market processor is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • Spot rate Px is equal to the contract rate.
  • the spot market server here can be either a centralized exchange, such as Binance, Huobi, OKEX, etc., or a decentralized exchange, such as Uniswap, Curve, SushiSwap, Balancer, Kyber Network, etc.
  • a centralized exchange such as Binance, Huobi, OKEX, etc.
  • a decentralized exchange such as Uniswap, Curve, SushiSwap, Balancer, Kyber Network, etc.
  • the spot market server is not limited to exchanges, but can also be third-party quotation platforms that provide quotations, such as tradingview, aicoin, etc., or from blockchain-based Oracle Link, etc. to obtain spot price information.
  • Px Ph
  • Ph will deviate from Px.
  • the price in the present invention refers to the ratio of the exchange quantities of the first asset A and the second asset B involved in the transaction object.
  • a user position adjustment processor configured to convert the contract position of the trading user into the amount of the first asset A and the contract exchange rate Ph in a continuous period of time according to changes in the contract exchange rate Ph Negative correlation, the amount equivalent to the second asset B is positively correlated with the contract exchange rate Ph;
  • the transaction data storage includes basic information for storing transaction users, and the basic information includes at least one of order information, position status, asset magnification, and transaction records; the transaction data storage can also be used for storing market data, etc.; a position closing processor, which is used to initiate a forced liquidation order for trading users who reach the preset closing price;
  • the preset closing price here refers to the price set when the user opens a position, not the price calculated in real time.
  • the time from the initiation of the position closing instruction to the position opening time of the user is greater than or equal to the continuous time period.
  • trading users can only trade the exchange rate changes of multiple varieties while holding one margin asset, which is equivalent to holding multiple assets at the same time.
  • the trading users can make the contract exchange rate Ph At the same time, dynamically adjust the positions of the first asset A and the second asset B, which can well reduce the multi-asset holding risk of automatic market makers.
  • the user position adjustment processor can also be configured to make the contract position of the trading user in a continuous period of time according to the change of the contract exchange rate Ph.
  • the quantity of the internally converted first asset A increases with the fall of the contract exchange rate Ph, and the quantity of the equivalent second asset B increases with the rise of the contract exchange rate Ph; or the user position adjustment processor can also be configured to adjust according to the contract.
  • the change of the exchange rate Ph makes the contract position of the trading user, equivalent to the first asset A, decrease with the rise of the contract exchange rate Ph, and the amount of the second asset B equivalent to the decline of the contract exchange rate Ph in a continuous period of time. reduce;
  • the holding time is longer than that of the automatic market maker in one block on the blockchain time, that is, the contract positions of long and short trading users should satisfy the above relationship for a continuous period of time.
  • the user position adjustment processor is configured to maintain the contract position of the trading user at the equivalent of the first asset A for a continuous period of time according to the change of the c-th power of the contract exchange rate Ph.
  • the number is d times b/(Ph) ⁇ c, where 0 ⁇ c ⁇ 1, b>0, d>0, b and c are preset constants;
  • Uniswap is based on a constant product automatic market-making mechanism, that is, it includes the first asset A and the second asset B in a fund pool,
  • the digital currency ETH position held by the liquidity mining user in the contract trading device of the present invention will be adjusted to: -2x0*((P0) ⁇ 0.5)*1/(Pn) ⁇ 0.5 under the control of the user's position adjustment processor
  • the profit and loss change of the digital currency ETH in the contract trading device of the liquidity mining user is: 2x0-2x0*((P0) ⁇ 0.5)*1/(Pn) ⁇ 0.5, then the net number held by the market maker at this time
  • the profit and loss of the currency ETH is:
  • the market maker wants to hold the digital currency USDT, he can choose to hold the digital currency for a long time by shorting 2x0 digital currency ETH in the currency-standard contract of the existing exchange according to the above method. USDT while earning market making fees and UNI tokens.
  • the user position adjustment processor may be further configured to maintain the contract position of the trading user at the equivalent of the second asset B for a continuous period of time according to the change of the c-th power of the contract exchange rate Ph
  • the quantity is d times b/(Ph) ⁇ c, where -1 ⁇ c ⁇ 0,b>0,d>0, b and c are preset constants, so that the trading user's position is equivalent to the quantity of the second asset B in line with price movements.
  • the price of the digital currency ETH/digital currency USDT is P0, a liquidity mining user sends the digital currency ETH-digital to the Uniswap fund pool.
  • the change of the digital currency USDT of the liquidity mining user in the contract trading device of the present invention is 2y0-(2y0/(P0) ⁇ 0.5)*(Pn) ⁇ 0.5
  • the digital currency USDT loses as much as 43% during the period, but chooses to trade in the contract trading device of the present invention at the same time, and the net digital currency USDT remains unchanged at $1,000 during the period, indicating that the contract of the present invention
  • the trading device can completely reduce the risk of impermanent loss of the automatic market maker mechanism, truly realize the hedging of the automatic market maker, and ensure the security of user data and assets.
  • the contract trading device is also configured to calculate the change of the trading user's trading margin converted to the first asset A or the second asset B according to L*(P2 ⁇ 0.5-P1 ⁇ 0.5), where P1 is the first asset A at the first moment and the exchange rate between the second asset B, the P2 is the exchange rate between the first asset A and the second asset B at the second moment, and the L is the number of positions held by the trading user in the contract trading device.
  • the Pq is the clearing price of the trading user
  • the P0 is the opening price of the trading user
  • u0 is the amount of margin for opening a position
  • m0 is the magnification rate of the assets for opening a position
  • the margin u of the trading user at the price Pn is:
  • the trading margin to be the first asset A or the second asset B;
  • the trading deposits of the trading users are all stable coins
  • the contract trading device further includes an asset operational amplifier, the asset operational amplifier feeds back the asset amplification rate of the trading user to the position closing processor, and the asset amplification ratio of the trading user is between the position value and the margin value
  • the contract trading device of the present invention provides 1-1000 times asset magnification transactions, and trading users can trade a large amount of money with a small margin through the asset operational amplifier without borrowing, thereby improving capital efficiency, that is, the transaction
  • the amount of the user's contract position converted into the corresponding product of the margin is greater than the amount of the transaction user's margin and allows the trader to speculate on the price change of the asset without holding the asset itself.
  • the change in the value of the transaction user's contract position is equal to Changes in the contract margin of the trading user.
  • the contract position in the present invention refers to the virtual asset corresponding to the target of the transaction, so the change in the value of the transaction user's contract position will be equal to the change in the transaction user's contract margin.
  • the initial asset magnification ratio of the trading user is set to m0, preferably,
  • ((m0-1)/m0) ⁇ 2 is the ratio between the first set price Pq of the contract trading device and the second set price P0, where (m0-2)/m0 is the first set price of the traditional contract trading device
  • (m0-2)/m0 is the first set price of the traditional contract trading device
  • the first set price is the clearing price of the trading user
  • the second set price P0 is the opening price of the trading user
  • the asset operational amplifier feeds back the asset amplification rate of the trading user to the liquidation processor in real time, and can also send a reminder to the trading user when the asset amplification rate is too high
  • Carry out risk warning if the asset amplification rate threshold set by the system is exceeded, a forced liquidation order will be issued to the trading engine, that is, the user's position will be liquidated.
  • the contract trading device will also be configured so that the asset magnification ratio of the trading user is
  • the transaction engine of the present invention further includes a virtual pricing system
  • the virtual pricing system includes a virtual product C and a virtual product D
  • the virtual value of the virtual product C is converted to the quantity of the first asset A and the contract exchange rate Ph is negatively correlated
  • the quantity equivalent to the second asset B is positively correlated with the contract exchange rate Ph
  • the virtual value of the virtual variety D is positively correlated with the price of the first asset A or the second asset B
  • the matching transaction includes
  • the contract trading device of the present invention further includes a delivery system, and the delivery system is used to close the position on the delivery date agreed in the contract; in this way, the fixed-term contract product can be released on the contract trading device, and the fixed-term contract will Forced delivery at a fixed time.
  • the delivery system includes a delivery price calculation system, and the delivery price calculation system initiates a query to the spot market server gateway before delivery, and determines the delivery price according to the queried spot exchange rate Px;
  • the spot market server here can be either a centralized exchange, such as Binance, Huobi, OKEX, etc., or a decentralized exchange, such as Uniswap, Curve, SushiSwap, Balancer, Kyber Network, etc.
  • a centralized exchange such as Binance, Huobi, OKEX, etc.
  • a decentralized exchange such as Uniswap, Curve, SushiSwap, Balancer, Kyber Network, etc.
  • the spot market server is not limited to exchanges, but can also be third-party quotation platforms that provide quotations, such as tradingview, aicoin, etc., or from blockchain-based Oracle Link, etc. to obtain spot price information.
  • the contract trading device of the present invention further includes a funding rate manager, and the funding rate manager is configured to charge a funding rate to a long-selling user or a short-selling user at a fixed time;
  • the rate collection method adopted by the funding rate manager includes: when the contract exchange rate Ph has a positive premium relative to the spot exchange rate, the funding rate is charged to long users, and the funding rate is subsidized to short users; when the contract exchange rate Ph is relatively When the spot exchange rate has a negative premium, the short-selling user will be charged the funding rate, and the long-selling user will be subsidized for the funding rate.
  • the transaction price is effectively anchored to the spot price, so that the trading user does not need to transfer positions through delivery. You can always hold related positions.
  • the optional transaction object of the contract transaction device of the present invention may include one or more of the exchange rate of Bitcoin to stable currency, the exchange rate of Ethereum to stable currency, and the exchange rate of stable currency to stable currency;
  • the stablecoin includes one or more of digital currencies USDT, USDC, PAX, TUSD, BUSD, DAI, DCEP, EURT, GYEN.
  • transaction data storage includes a centralized database or a decentralized database.
  • the centralized database includes one or more of mysql, SQL Server, Oracle, Sybase, and DB2.
  • the centralized database includes a distributed database
  • the decentralized database includes a public blockchain
  • the public blockchain includes at least one of Ethereum, Polkadot, EOS (ENTERPRISE OPERATION SYSTEM), TRON, and Cosmo;
  • the public blockchain further includes a storage blockchain for storing data related to contract transactions.
  • the storage blockchain includes IPFS or Storj.
  • the executable program in the contract trading device of the present invention includes at least one of the following: a contract subject manager, a margin determiner, a transaction engine, a spot market processor, a user position adjustment processor, and a close position processor,
  • the executable program can run on cloud servers, such as Amazon AWS, Facebook Cloud, Tencent Cloud, etc.,
  • an embodiment of the present invention also provides a blockchain system, the blockchain system is configured to participate in the execution or trigger the execution of the executable program in the contract transaction device, the The executable program runs on at least one of the following: a contract target manager, a margin determiner, a trading engine, a spot market processor, a user position adjustment processor, and a closing position processor.
  • the present invention also provides a transaction method, the transaction method includes:
  • the transaction method further includes:
  • the present invention also provides another hedging method, and the transaction method includes:
  • V is a positive integer
  • the present invention also provides a contract transaction method executed by a contract transaction device composed of at least one computer processor, the contract transaction method comprising:
  • the contract transaction target is determined by the contract target manager, and the contract target includes the contract exchange rate Ph between the first asset A and the second asset B;
  • the contract transaction between the transaction user and the contract exchange rate Ph is executed by the transaction engine
  • the contract position adjustment processor adjusts the contract position of the trading user according to the change of the contract exchange rate Ph so that the amount equivalent to the first asset A is negatively correlated with the contract exchange rate Ph, and the amount equivalent to the second asset B is positively related to the contract exchange rate Ph related;
  • the basic information of the transaction user is stored by the transaction memory;
  • the position closing processor sets a preset closing price for the trading user, and initiates a forced closing order for the trading user who reaches the preset closing price.
  • the contract transaction method of the present invention further includes:
  • the contract position of the trading user is maintained to be equivalent to the amount of the first asset A or the second asset B in a continuous period of time as b/(Ph) ⁇ d times of c, where 0 ⁇
  • the contract transaction method of the present invention further includes:
  • the contract transaction method of the present invention further includes:
  • the contract position adjustment processor calculates the change of the transaction margin of the trading user converted to the first asset A or the second asset B, and the P1 is the first asset A and the first asset at the first moment.
  • the exchange rate between the second assets B, the P2 is the exchange rate between the first asset A and the second asset B at the second moment, and the L is the number of positions held by the trading user in the contract trading device.
  • the contract transaction method of the present invention further includes:
  • the contract transaction method of the present invention further includes:
  • a limit order for long or short at the contract exchange rate Ph of the first asset A against the second asset B is received by the trading engine, and the order quantity is V contracts;
  • the contract transaction method of the present invention further includes:
  • the contract position adjustment processor divides the trading user's margin or contract position into two equal parts, and according to the spot exchange rate Px, half of them is exchanged for another asset in the contract transaction subject.
  • the contract transaction method of the present invention further includes:
  • a non-fungible token is created for the amplified asset by the token manager.
  • the contract transaction method of the present invention further includes:
  • the initial asset magnification ratio of the trading user is configured by the asset operational amplifier to satisfy
  • All of the above transaction methods can be run on cloud servers, such as Amazon AWS, Facebook Cloud, Tencent Cloud, etc. Running on cloud servers can effectively improve transaction processing speed. Of course, it can also run on the blockchain, such as Ethereum, Polkadot, EOS (ENTERPRISE OPERATION SYSTEM), TRON, cosmo, etc.
  • the transaction method can be implemented in the form of smart contracts , which can effectively reduce the risk of asset loss.
  • the following smart contract is established: a transaction user 1 locks the margin B1 at the price P1 and simultaneously generates a non-integer multiple of the value of a single contract. Homogeneous tokens Coin+(P1, B1, H1) n1, another transaction user 2 locks the margin B2 at the price of P2 and generates a non-fungible token Coin-(P2, B2 which is an integer multiple of the value of a single contract ,H1)n2,
  • Transaction user 1 transfers money to transaction user 2, and transaction user 2 receives Coin+(P1, B1, H1)n1 tokens.
  • the annihilation here means that the amount of tokens is cleared and the deposit is released.
  • the above non-fungible tokens all lock the corresponding amount of deposit.
  • This smart contract working mode using non-fungible tokens enables each digital currency wallet to have the function of an exchange, which is not only applicable to the contract transaction device of the present invention, but also to other contract transaction devices, such as linear Contracts, Inverse Contracts, Options Contracts, Futures Contracts, etc.
  • the present invention also provides a method for creating a non-fungible token executed by a contract transaction device composed of at least one computer processor, the creation method comprising:
  • the asset amplification contract manager interacts with an asset amplification contract, and the asset amplification contract targets involve the first asset A and the second asset B;
  • the asset amplification contract is configured by the asset amplification contract manager so that the contract position of the trading user is converted into the quantity of the second asset B and the contract exchange rate Ph between the first asset A and the second asset B is positively correlated;
  • a non-fungible token is generated for the transaction user by the token manager, and the attributes of the non-fungible token at least include the number of positions held by the trading user in the asset amplification contract and the position price of the asset amplification contract.
  • the method for creating a non-fungible token according to the present invention includes: configuring, by the contract position adjustment processor, the asset enlargement contract trading user's contract position to be 1 in a continuous period of time. The amount equivalent to the first asset A or the second asset B is d times b/(Ph) ⁇ c, where 0 ⁇
  • the method for creating a non-fungible token of the present invention includes: the asset amplification contract is one or more of a linear contract, an inverse contract, an option contract and a futures contract.
  • the method for creating a non-fungible token of the present invention further includes:
  • the non-fungible tokens are split by the token manager.
  • the method for creating a non-fungible token according to the present invention further comprises: the token manager further includes fusing at least two of the non-fungible tokens to generate a new non-fungible token Tokenization.
  • Fusion here refers to the process of performing mathematical operations on the same properties of said non-fungible tokens to combine into one non-fungible token.
  • the attribute of the first non-fungible token is L1 long asset amplification contracts and the price of the position contract is P1
  • the attribute of the second non-fungible token is L2 long asset amplification contracts and the contract position price is P2
  • a third non-fungible token will be newly generated, the attribute is (L1+L2) shares, and the contract position price is (L1*P1+L2*P2)/(L1+L2).
  • the method for creating a non-fungible token of the present invention further includes: creating, by the asset amplification contract manager, an amplification asset for the transaction user according to the asset amplification contract.
  • the method for creating a non-fungible token of the present invention further includes: creating, by the asset amplification contract manager, a first amplification asset and a second amplification for the transaction user according to the asset amplification contract Assets, the first amplified asset and the second amplified asset are in opposite directions.
  • the present invention also discloses a blockchain system configured to participate in the execution or trigger execution of the creation method of the non-fungible token.
  • the contract transaction device includes:
  • the contract subject includes the contract exchange rate Ph between the first asset A and the second asset B;
  • a margin determiner which is used for trading users to select one of their available assets as a trading margin
  • a fund pool manager configured to receive the first asset A and/or the second asset B for deposit into the fund pool
  • a transaction engine which is used to execute the counterparty transaction between the transaction user and the fund pool after receiving the transaction user's transaction instruction for the contract exchange rate Ph;
  • the spot market processor is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • Spot exchange rate Px is configured to initiate a query request to the spot market server gateway to obtain the spot price of the first asset A and the second asset B or the price between the first asset A and the second asset B.
  • the user position adjustment processor is configured to convert the contract position of the trading user into the quantity of the first asset A and the contract exchange rate Ph in a continuous period of time according to the change of the contract exchange rate Ph Negative correlation, the amount equivalent to the second asset B is positively correlated with the contract exchange rate Ph;
  • the transaction data storage includes basic information for storing transaction users
  • a capital pool position adjustment processor which is configured to initiate a forced position increase or reduction order for the contract position when the contract exchange rate reaches a preset value.
  • the increase in positions is equivalent to the process of providing liquidity to automatic market makers such as Uniswap, and the reduction of positions is the process of withdrawing liquidity;
  • the reduction of positions is equivalent to the process of providing liquidity to automatic market makers such as Uniswap, and the addition of positions is equivalent to the process of withdrawing liquidity; open interest in the contract mentioned.
  • the user position adjustment processor is configured to maintain the contract position amount of the trading user at the amount equivalent to the first asset A in a continuous period of time according to the change of the c-th power of the contract exchange rate Ph. It is d times of b/(Ph) ⁇ c, where 0 ⁇
  • the contract transaction device further includes a voucher generator, the voucher generator is configured to generate the first asset A or the second asset B after the fund pool manager receives the deposit of the first asset A or the second asset B.
  • voucher or is configured to generate a second voucher after a transaction is established between the transaction user and the fund pool, the first voucher is positively related to the amount of the first asset A or the second asset B in the fund pool, the The first voucher is configured as a voucher for initiating a withdrawal request to the fund pool, the second voucher is positively correlated with the contract position between the trading user and the fund pool in a continuous period of time, and the first voucher is The second credential is configured as a credential for releasing the deposit of the trading user.
  • the first certificate and the second certificate may be decentralized digital currency.
  • the amount of funds represented by the first certificate converted into the second asset B is greater than or equal to the amount of the second asset B converted from the position represented by the second certificate.
  • the amount of funds represented by the first certificate indicates that the amount of funds in the capital pool of the contract trading device is the amount of the first certificate. For example, if there is 1000USDT in the capital pool, the first certificate represents 1000USDT, and the second certificate represents the transaction.
  • the contract transaction device further includes a voucher destroyer, and the voucher destroyer is configured to destroy the first voucher or the second voucher after the voucher holder initiates a withdrawal request to the contract transaction device.
  • SL_USD is the withdrawal certificate, which is equivalent to the first certificate, that is, any user who holds SL_USD can initiate a withdrawal request to the contract trading device. , after the withdrawal, the user will get the corresponding amount of digital currency USDT, and at the same time destroy the corresponding amount of digital currency SL_USD;
  • the contract trading device When a trading user initiates a transaction request to the contract trading device, a certain amount of margin will be frozen, and a counterparty transaction between the trading user and the fund pool will be established.
  • the contract trading device will set the value of a single contract to P ⁇ 0.5 USDT, and P is a number
  • the exchange rate of the currency ETH to USDT here can also provide a certain asset magnification ratio for trading users, such as 5 times asset magnification ratio, the amount of frozen USDT margin is 1/5 of the transaction volume V,
  • the contract trading device After receiving the transaction request, the contract trading device establishes the counterparty transaction between the trading user and the fund pool, and then the fund pool will take out the USDT corresponding to the transaction volume and send the USDT to the fund pool ETH-USD of automatic market makers such as Uniswap. , convert the USDT of V/2 into ETH, and then deposit the converted ETH and the remaining USDT of V/2 into the fund pool ETH-USD.
  • the corresponding amount of digital currency L_ETH is given to the trading user, and L_ETH is The withdrawal certificate is equivalent to the second certificate, that is, any user who holds L_ETH can initiate a request to unfreeze the deposit to the contract trading device, the deposit will be released to the user, and the corresponding amount of digital currency L-ETH will be destroyed at the same time.
  • the price fluctuation of the digital currency L_ETH will be larger than that of ETH.
  • the asset amplification rate here is equal to the opening value / Margin value
  • the fluctuation of L_ETH will be about m/2 times the fluctuation of ETH
  • L_ETH is equivalent to an enlarged digital currency that tracks the price of ETH and is bullish on ETH.
  • the initial asset magnification ratio of the trading user is configured as m0, then
  • the rise and fall have the highest correlation with the rise and fall of ETH. For example, if ETH rises by 5%, L_ETH will rise by approximately 15%;
  • SL_USD is equivalent to a USDT-pegged stable currency automatically minted through the contract trading device. Since the trading user's margin will have profit and loss with the change of ETH price, that is, the trading user's asset amplification rate will also dynamically change with the price.
  • a preset range is set for the trading user's asset amplification rate. (m1, m2), when the asset magnification ratio of the transaction user exceeds the above-mentioned preset range, the asset operation amplifier of the transaction user is used to adjust the asset magnification ratio of the transaction user to within the preset range.
  • the contract trading device when m>m2, the contract trading device will automatically initiate withdrawal and exchange operations to automatic market maker systems such as uniswap, and at the same time convert ETH into USDT and deposit it into the USDT fund pool of the contract trading device. Since the asset magnification ratio of trading users and fund pool contract positions has decreased, when m ⁇ m1, the contract trading device will automatically initiate exchange and deposit operations to automatic market maker systems such as uniswap, and send USDT to automatic market making such as Uniswap.
  • L_ETH-SL_USD and SL_USD-USDT fund pools can be opened in automatic market makers such as uniswap to facilitate relevant holders to trade.
  • ETH price falls, there will be more
  • the trading user initiates a transaction request to the contract trading device to obtain L_ETH, sells it in the capital pool L_ETH-SL_USD, and then initiates a withdrawal request to the contract trading device to obtain USDT with the exchanged SL_USD, and the price of L_ETH-SL_USD does not change during the whole process. Before, it is equivalent to realize an arbitrage operation and get more USDT.
  • the price of ETH falls perform the opposite operation.
  • the counterparties are all transaction users, and in this embodiment, one side of the counterparty is a transaction user, and the other side is a fund pool, so it can be implemented without an order book, that is, it can be completely run on the blockchain
  • the amplification of digital currency and the effect of anchoring stable currency can be achieved without an oracle.
  • a corresponding amount of digital currency is generated.
  • SL_ETH is given to liquidity mining users.
  • SL_ETH is the withdrawal certificate, which is equivalent to the first certificate. That is, any user who holds SL_ETH can initiate a withdrawal request to the contract trading device. After withdrawal, the user will receive the corresponding amount of digital currency ETH. At the same time, the corresponding amount of digital currency SL_ETH will be destroyed; when a trading user initiates a transaction request to the contract trading device, a certain amount of margin will be frozen to establish a transaction between the trading user and the fund pool.
  • the contract trading device will set the value of a single contract to 1 /P ⁇ 0.5 ETH, P is the exchange rate of digital currency ETH to USDT, here can also provide a certain asset magnification rate for trading users, such as 5 times magnification rate, the amount of frozen ETH margin is 1/5 of the transaction volume V That's it,
  • the contract trading device After receiving the transaction request, the contract trading device establishes a counterparty transaction between the transaction user and the fund pool, and then the fund pool will take out the ETH corresponding to the transaction volume and send the ETH to the fund pool of automatic market makers such as Uniswap ETH- In USD, convert V/2 ETH into USDT, and then deposit the converted USDT and the remaining V/2 ETH into the capital pool ETH-USDT.
  • automatic market makers such as Uniswap ETH- In USD, convert V/2 ETH into USDT, and then deposit the converted USDT and the remaining V/2 ETH into the capital pool ETH-USDT.
  • L_ETH is a withdrawal certificate, which is equivalent to a second certificate, that is, any user who holds L_ETH can initiate a request to unfreeze the deposit to the contract trading device, the deposit will be released to the user, and the corresponding amount of digital currency L-ETH will be destroyed.
  • the price fluctuation of the digital currency L_ETH will be larger than that of ETH.
  • the asset amplification rate here is equal to the opening value / Margin value
  • the fluctuation of L_ETH will be about m/2 times of the fluctuation of ETH
  • L_ETH is equivalent to an enlarged digital currency that tracks the price of ETH and bears ETH.
  • the initial asset magnification ratio of the trading user is configured as m0, then
  • the rise and fall have the highest correlation with the rise and fall of ETH. For example, if ETH falls by 5%, L_ETH will rise by approximately 15%;
  • SL_ETH and ETH are equivalent exchange, then SL_ETH is equivalent to an ETH anchor coin automatically minted by this contract trading device. Since the trading user's margin will change with the ETH price, profit and loss will occur, that is, the trading user's asset amplification rate will also dynamically change with the price.
  • a preset range is set for the trading user's asset amplification rate. (m1, m2), when the asset magnification ratio of the transaction user exceeds the above preset range, the asset magnification ratio of the transaction user is adjusted to within the preset range through the asset operational amplifier.
  • the contract trading device when m>m2, the contract trading device will automatically initiate withdrawal and exchange operations to automatic market maker systems such as uniswap, and at the same time convert USDT into ETH and deposit it into the ETH fund pool of the contract trading device. Since the asset magnification rate of the trading user has decreased, when m ⁇ m1, the contract trading device will automatically initiate exchange and deposit operations to the automatic market maker system such as uniswap, and send ETH to the capital pool ETH of the automatic market maker such as Uniswap. -In USD, convert the Vp/2 ETH into USDT, and then deposit the exchanged USDT and the remaining Vp/2 ETH into the fund pool ETH-USD, which is equivalent to the increase in the asset amplification rate of the trading user. .
  • L_ETH-SL_USD and SL_ETH-ETH fund pools can be opened in automatic market makers such as uniswap to facilitate relevant holders to trade.
  • the trading user initiates a transaction request to the contract trading device to obtain L_ETH, sells it in the fund pool L_ETH-SL_ETH, and then initiates a withdrawal request to the contract trading device for the SL_ETH obtained from the exchange to obtain ETH.
  • the price of SL_ETH-ETH does not change during the whole process. Before, it is equivalent to realize an arbitrage operation and get more ETH. When the price of ETH falls, perform the opposite operation.
  • the counterparties are all transaction users, and in this embodiment, one side of the counterparty is the transaction user, and the other side is the fund pool, so it can be implemented without an order book, that is, it can run completely on the blockchain
  • it has completely reduced impermanent losses, ensured the security of user data and assets, and has the technical effect of issuing decentralized, amplified digital currencies and anchor coins.
  • the amplified digital currencies and anchor coins have corresponding
  • the underlying asset can realize the amplification of digital currency and the effect of digital currency anchor currency without oracles.
  • the present invention also discloses a blockchain system, which is configured to participate in the execution or trigger execution of the executable program in the above-mentioned contract transaction device.
  • the present invention also provides a method for creating amplifying assets executed by a contract transaction device composed of at least one computer processor, comprising:
  • the contract target manager determines the contract transaction target of the enlarged asset by the contract target manager, and the contract target relates to the spot exchange rate Px between the first asset A and the second asset B;
  • the trading engine executes the contract transaction between the trading user and the spot exchange rate Px to open a contract position
  • the contract position adjustment processor adjusts the contract position value of the enlarged asset so that the amount equivalent to the first asset A is negatively correlated with the spot exchange rate Px, and the amount equivalent to the second asset B is negatively correlated with the contract exchange rate Px is positively correlated.
  • the creation method further includes: generating, by an amplified asset generator, a first amplified asset and a second amplified asset, the margin of the first amplified asset is A, and the margin of the second amplified asset is B .
  • the method for creating an enlarged asset further includes:
  • the initial asset magnification ratio of the amplified asset is configured by the asset operational amplifier to satisfy
  • the method for creating an enlarged asset further includes:
  • the method for creating an amplified asset further includes: setting a preset range (m1, m2) for the amplified asset asset amplification ratio by the asset operational amplifier, where m1, m2>1, when all When the asset amplification ratio of the amplified asset exceeds the preset range, the asset amplification ratio of the amplified asset is adjusted to be within the preset range through the asset operational amplifier.
  • the method for creating the enlarged asset further includes: creating, by a capital pool manager, a first capital pool and a second capital pool for the enlarged asset, the first capital pool being a margin capital pool, and the The second fund pool is the contract position fund pool.
  • the method for creating an amplified asset further comprises: creating, by a token manager, a non-fungible token for the amplified asset.
  • the attributes of the non-fungible token include at least the contract position number of the amplified asset and the contract position price.
  • the present invention also discloses a blockchain system configured to participate in the execution or trigger execution of the creation method of the amplified asset.
  • the contract transaction device further includes a virtual pricing system, and the virtual pricing system includes the virtual first asset VA-virtual second in the capital pool.
  • the transaction price of the contract exchange rate Ph of an asset A and a second asset B when the contract trading device receives a transaction with a trading user's open position V, the virtual trading system will generate virtual second assets Bz with an equivalent transaction volume, Convert n2 virtual second assets B into virtual first assets An1, so that:
  • the contract trading device When the contract trading device receives a transaction with a closing volume of V from a trading user, the value is converted into a number of z second assets B, and the virtual market making trading system converts n1 virtual first assets A and Z-n2 virtual assets
  • the second asset B is taken out from the fund pool, and then n1 virtual first assets A are exchanged for n2 virtual second assets B, then z virtual second assets B are destroyed at this time, so that:
  • the contract trading device further includes a virtual pricing system
  • the virtual pricing system includes the virtual VC variety of the capital pool and the virtual second asset VB , where the value of the virtual VC variety is d times the amount equivalent to the first asset VA of b/(Ph) ⁇ c, where 0 ⁇
  • the following takes the digital currencies ETH and USDT as examples to illustrate the working principle of the virtual pricing system.
  • the first asset VA is ETH
  • the second asset VB is USDT
  • the value of a single VC variety is defined as P ⁇ 0.5USDT
  • y1 is the contract margin
  • m is the magnification of the opening assets
  • y1 is the contract margin
  • m is the magnification of the opening assets
  • the transaction price of the contract transaction of the trading user can be determined without an order book, which is suitable for realizing the contract transaction device on the blockchain.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请公开了一种合约交易装置,包括:合约标的管理器,用于管理第一资产A和第二资产B之间的合约汇率Ph;保证金确定器,用于确定交易用户的交易保证金;交易引擎,用于撮合用户之间的交易;现货行情处理器,被配置为可以向现货行情服务器网关发起查询请求以获取现货汇率Px;用户持仓调整处理器,被配置为根据所述Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合A的数量与Ph负相关,折合B的数量与Ph正相关;交易数据存储器,用于存储交易用户的基本信息;平仓处理器,用于向交易服务器对交易用户发起强制平仓请求;本申请实施例的合约交易装置可以有效降低无常损失,提高资产和数据的安全性,实现单一资产的流动性挖矿。

Description

合约交易装置
优先权申明
本申请要求于2020年10月18日提交的申请号为2020111040690,申请名称为“合约交易系统”、2020年12月13日提交的申请号为202011457356X,申请名称为“合约交易系统”以及2021年1月31日提交的申请号为2021101324510,申请名称为“合约交易系统”中国专利申请的优先权,该三件中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本发明涉及区块链技术领域,特别是一种合约交易装置。
背景技术
区块链技术因其具备的去中心化、信息不可篡改性等特点,越来越受到金融、保险等领域的公司的青睐,尤其是今年以来,去中心化金融(DEFI)出现了爆发式的发展,其中自动做市商AMM(Automated Market Maker)在这波DEFI浪潮中迅速崛起,然而自动做市商由于采用资金池的流动性挖矿模式,这种多资产的资金池模式使得参与流动性挖矿的用户总是与市场做出相反的操作,使得做市商在区块链上保存的资产和数据受到损坏,这种资产和数据的不安全性业内通常叫做无常损失,法国奥尔良大学研究员Alexis Direr发表论文指出,无常损失可能是永久性的,而现有交易系统难以有效降低该风险,严重制约了DEFI的进一步发展。
发明内容
为了解决上面的技术问题,降低无常损失,提高用户资产和数据的安全性,实现单一资产挖矿,本发明实施例公开了一种合约交易装置,包括:
合约标的管理器,用于管理第一资产A和第二资产B之间的合约汇率Ph;
保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行交易;
现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
交易数据存储器,所述交易数据存储器用于存储交易用户的基本信息,
可选的,所述基本信息包括下单信息、持仓情况、资产放大率、成交记录中至少之一。
平仓处理器,所述平仓处理器用于对达到预设平仓价格的交易用户发起强制平仓指令;
通过该合约交易装置,可以根据合约汇率Ph的变化实时调整用户的持仓量,从而可以有效降低 自动做市商的无常损失和提高资产和数据的安全性。
可选的,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量随着合约汇率Ph的下跌而增加,折合第二资产B的数量随着合约汇率Ph的上涨而增加;
可选的,所述用户持仓调整处理器还可以被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量随着合约汇率Ph的上涨而减少,折合第二资产B的数量随着合约汇率Ph的下跌而减少;
通过以上设计,这样不管合约汇率Ph上涨还是下跌,均可以有效降低自动做市商的无常损失,保证了用户资产和数据的安全性。
可选的,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数,可选的,c=0.5或-0.5;
进一步的,我们可以选择与交易标的相关的品种作为交易保证金,如第一资产A或第二资产B;
优选的,所述交易用户的所述交易保证金均为稳定币。
另外,我们还可以选择与交易标的不同的品种作为交易保证金,如不同于第一资产A和第二资产B的C品种,这样可以在不持有A和B的情况下,对AB之间的汇率Ph进行买卖操作。
进一步的,所述合约交易装置还包括资产运算放大器,所述资产运算放大器将交易用户的资产放大率反馈给平仓处理器,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值;优选的,所述交易用户的初始资产放大率为m0,则|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
进一步的,所述交易引擎还包括虚拟定价系统,所述虚拟定价系统包括虚拟品种C和虚拟品种D,所述虚拟品种C的虚拟价值折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关,所述虚拟品种D的虚拟价值与第一资产A或第二资产B的价格正相关,所述撮合交易包括根据所述虚拟定价系统确定所述交易用户的成交价。
可选的,所述合约交易装置还包括交割系统,所述交割系统用于对于所述合约约定的交割日期进行平仓;
所述交割系统包括交割价格计算系统,所述交割价格计算系统在交割前通过向现货行情服务器网关发起查询,根据查询到的现货汇率Px以确定交割价格;
可选地,所述合约交易装置还包括资金费率管理器,所述资金费率管理器用于在固定时间对做多用户或做空用户收取资金费率;
所述资金费率管理器采用的费率收取方式包括:当合约汇率Ph相对于现货汇率出现正溢价时,对做多用户收取资金费率,对做空用户补贴资金费率;当合约汇率Ph相对于现货汇率出现负溢价时,对 做空用户收取资金费率,对做多用户补贴资金费率;通过以上方式,使得交易用户不用通过交割移仓的方式,就可以一直持仓相关仓位。
所述合约交易装置可选的交易标的可以包括比特币对稳定币的汇率、以太坊对稳定币、稳定币对稳定币的汇率中的一个或多个;
所述稳定币包括数字货币USDT、USDC、PAX、TUSD、BUSD、DAI、DCEP、EURT、GYEN中的一个或多个。
进一步的,所述交易数据存储器包括中心化数据库或去中心化数据库。
所述中心化数据库包括分布式数据库;
所述去中心化数据库包括公有区块链;
所述公有区块链包括以太坊、波卡链、EOS(ENTERPRISE OPERATION SYSTEM)、波场、cosmo中的一个或多个;
所述公有区块链还包括存储区块链,所述存储区块链用于存储合约交易相关数据。
所述存储区块链包括IPFS或Storj。
本发明提供的合约交易装置可以有效降低自动做市商的无常损失,降低做市商的资产和数据风险。
为了实现以上技术效果,本发明的一个或多个实施例还提供一种交易方法,所述交易方法包括:
S1、监控所述合约汇率Ph与现货汇率Px之间的差值;
S2、当所述差值小于预设值时,在所述合约交易装置建立价值为0.9V到1.1V对所述合约汇率Ph的做多合约;
S3、在自动做市交易所资金池A-B中存入等值V/2的第一资产A和等值V/2的第二资产B;
可选的,所述交易方法还包括:
S4、监控所述做多合约的清算价格;
S5、当所述清算价格距离现货价格小于设置范围时,对合约账户补充保证金。
在一个实施例中,使用本发明合约交易装置的交易方法包括:
S6、在本合约交易装置中在第一资产A兑第二资产B合约汇率Py处挂做多或做空的限价订单,所述订单下单量为V份合约;
S7、监控所述限价订单的成交状态,当所述限价订单成交后,向自动做市交易所资金池A-B中存入等值V/2的第一资产A和V/2的第二资产B;
在所述限价订单成交后,还包括:
S8:将交易用户的可用资产兑换成等值V/2的第一资产A和V/2的第二资产B;
本发明另一实施例中公开了一种合约交易装置,所述合约交易装置包括:
合约标的管理器,用于管理第一资产A和第二资产B之间的合约汇率Ph;
保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
资金池管理器,所述资金池管理器被配置为接收第一资产A和/或第二资产B以存入资金池;
交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行所述交易用户与资金池之间的对手交易;
现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
交易数据存储器,所述交易数据存储器包括用于存储交易用户的基本信息;
资金池持仓调整处理器,所述资金池持仓调整处理器用于在所述合约汇率达到预设值时对所述的合约持仓量发起强制加仓或减仓指令。
可选的,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
在一个实施例中所述合约交易装置,还包括凭证生成器,所述凭证生成器被配置为在所述资金池管理器收到第一资产A或第二资产B的存入后生成第一凭证,或被配置为在所述交易用户与资金池之间建立交易后,生成第二凭证,所述第一凭证与所述资金池中第一资产A或第二资产B数量正相关,所述第一凭证被配置为用于向资金池发起取款请求的凭证,所述第二凭证与所述交易用户与所述资金池之间的合约持仓量在连续的一个时间段内正相关,所述第二凭证被配置为用于释放所述交易用户保证金的凭证。
可选的,所述第一凭证代表的资金量折合成第二资产B的数量大于等于所述第二凭证代表的持仓量折合成第二资产B的数量。
可选的,所述合约交易装置还包括凭证销毁器,所述凭证销毁器被配置为在凭证持有用户向所述合约交易装置发起取款请求后,销毁第一凭证或第二凭证。
附图说明
图1为本发明实施例的工作示意图;
图2为本发明实施例的合约交易装置效果图;
图3为本发明另一实施例的合约交易装置效果图;
图4为本发明另一实施例合约交易装置工作原理图;
图5为本发明虚拟定价系统原理图。
具体实施方式
以下结合附图对本发明的实施例进行详细说明,应当理解的是,以下实施例仅是为了说明和解释本发明,并不对本发明进行限定。
如图1所示,在本发明一种实施例中,一种合约交易装置包括:
合约标的管理器,用于管理第一资产A和第二资产B之间的合约汇率Ph;
所述合约汇率Ph为买方和卖方对第一资产A兑基础资产的价格PhA和第二资产B兑基础资产的价格PhB之比,即Ph=PhA/PhB。
保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
这里交易用户的保证金不限于品种A和品种B,也可能是其他资产,如品种AB。
交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行交易,例如,交易引擎收到做多和做空的交易用户交易指令后,执行做多和做空的交易用户之间的撮合交易;交易用户包括做多的买方或做空的卖方。
现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;可选的,现货汇率Px与合约汇率相等。
这里的现货行情服务器既可以是中心化的交易所,如币安、火币、OKEX等中心化交易所,也可以是去中心化交易所,如Uniswap、Curve、SushiSwap、Balancer、Kyber Network等,具体可以参考 https://debank.com/ranking/dex,当然现货行情服务器并不限于是交易所,还可以是提供报价的第三方报价平台,如tradingview、aicoin等,或者从基于区块链的预言机Link等获取现货价格信息。
所述现货汇率Px为第一资产A现货价格PxA和第二资产B现货价格PxB的比值,即Px=PxA/PxB。一般的,在现货资产放大合约交易中,Px=Ph,在期货资产放大合约交易中,Ph会偏离Px。本发明中的价格是指交易标的涉及的第一资产A和第二资产B的兑换数量之比。
用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
交易数据存储器,所述交易数据存储器包括用于存储交易用户的基本信息,所述基本信息包括下单信息、持仓情况、资产放大率、成交记录中至少之一;所述交易数据存储器还可以用于存储行情数据等;平仓处理器,所述平仓处理器用于对达到预设平仓价格的交易用户发起强制平仓指令;
这里的预设平仓价格指的是在用户开仓时设定的价格,而不是实时计算出来的价格。
在一个实施例中,所述发起平仓指令距离所述用户开仓时间大于或等于所述连续的一个时间段。
通过上述交易系统,交易用户可以仅仅在持有一种保证金资产的情况下,交易 多个品种的汇率变化,相当于同时持有了多种资产,通过持仓调整系统,使得交易用户根据合约汇率Ph的变化同时动态调整第一资产A和第二资产B的持仓量,可以很好的降低自动做市商多资产持有风险。
为了更好的适应市场变化情况,有效降低自动做市商上述风险,用户持仓调整处理器还可以被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量随着合约汇率Ph的下跌而增加,折合第二资产B的数量随着合约汇率Ph的上涨而增加;或者用户持仓调整处理器还可以被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量随着合约汇率Ph的上涨而减少,折合第二资产B的数量随着合约汇率Ph的下跌而减少;
这里需要说明的是,在连续的一个时间段内,指的是做多和做空的交易用户持仓量的上述关系具有可持续性,例如持仓时间大于自动做市商在区块链上一个区块的时间,即做多和做空的交易用户的合约持仓量在连续的一段时间内都应该满足上述关系。
为了更加精确的降低上述风险,用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍,其中0<c<1,b>0,d>0,b和c为预设常数;
可选的c=0.5,d=1,下面以Uniswap交易为例,详细说明一下本发明的合约交易装置是如何降低Uniswap无常损失风险或实现单一资产挖矿的,提高用户资产和数据的安全性,我们知道Uniswap是基于恒定乘积自动做市机制,即在一个资金池中包括第一资产A和第二资产B,
这里以第一资产A数字货币ETH和第二资产B数字货币USDT构成的资金池举例说明,但本发明不受具体品种的限制,其中资金池中数字货币ETH的数量为x,数字货币USDT的数量y,那么资金池数字货币ETH-数字货币USDT满足y=k/x,则交易者实际的兑换价格P为|⊿y/⊿x|,那么|⊿y/⊿x|=|dy/dx|=|y’|=k/x^2,即x=(k/P)^0.5,
假定一个使用本发明合约交易装置的流动性挖矿用户希望长期持有数字货币ETH,同时又想在Uniswap进行流动性挖矿赚取手续费和代币,然而在相关技术中却找不到有效的手段,当数字货币ETH价格上涨时,做市商将损失数字货币ETH,价格下跌时将损失数字货币USDT,这就是所谓的无常损失,为了便于用户操作,一般将b/(Ph)^c的范围设置在等值0.1美元至1000美元之间,在一个实施例中,本发明合约交易装置中的参数设置为b=1,c=0.5,这里每个交易用户的b和c均相同,这样可以将每个交易用户的合约持仓量均分成多份合约,单份合约绝对价值维持在1/(Ph)^0.5个数字货币ETH,
由于1/(Ph)^0.5与价格呈负相关关系,为了与实际市场走势相同,我们将单份合约价值定义为-1/(Ph)^0.5个数字货币ETH,此时合约价值将随着价格上涨而增大,符合市场规律,这样也可以满足 交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍的要求,在数字货币ETH/数字货币USDT价格为P0时做市商向Uniswap资金池数字货币ETH-数字货币USDT存入x0个数字货币ETH和y0个数字货币USDT,同时在本发明合约交易装置中做多L=2x0*((P0)^0.5)份合约,即此时持有-2x0个数字货币ETH,当数字货币ETH/数字货币USDT价格波动到Pn时:
在Uniswap中不考虑手续费的情况下满足:
x0=(k/P0)^0.5
xn=(k/Pn)^0.5
Uniswap中数字货币ETH的盈亏变化为:2xn-2x0=2*x0(P0/Pn)^0.5-2x0
流动性挖矿用户在本发明合约交易装置持有的数字货币ETH仓位将在用户持仓调整处理器的控制下,调整为:-2x0*((P0)^0.5)*1/(Pn)^0.5
流动性挖矿用户在本合约交易装置中数字货币ETH的盈亏变化为:2x0-2x0*((P0)^0.5)*1/(Pn)^0.5则该做市商此时持有的净数字货币ETH盈亏为:
2*x0(P0/Pn)^0.5-2x0+2x0-2x0*((P0)^0.5)*1/(Pn)^0.5=0
由此可见该做市商无论数字货币ETH的价格如何波动其净盈亏为0,说明通过本发明的合约交易装置几乎完全降低了无常损失,保证了用户数据和资产的安全性,使得做市商既可以长期无损失的持有数字货币ETH又可以赚取做市手续费和UNI代币,相当于实现了单一资产进行流动性挖矿。
在一个实施例中,如果该做市商想持有数字货币USDT,则可以选择按上述方法通过现有交易所的币本位合约中做空等值2x0个数字货币ETH即可以实现长期持有数字货币USDT而同时赚取做市手续费和UNI代币。
为了更加直观的体现做市商降低无常损失的风险,在一个实施例中,我们选择了2020年3月16至2020年9月1日的数据进行了回测,在2020年3月16向Uniswap中存入等值2个数字货币ETH,图2显示数字货币ETH价格从100美元涨至490美元,仅在Uniswap进行做市(流动性挖矿),数字货币ETH的数量从2个降至0.903507903个,减少了一半多,对于想长期持有数字货币ETH的用户来说这种损失是无法接受的,而从一开始就选择在本合约交易装置进行交易,其净数字货币ETH数量一直维持2个不变,表明本合约交易装置完全降低了上述风险,实现了币本位的套期保值,保证了用户数据和资产的安全性。
在一个实施例中,用户持仓调整处理器还可以被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第二资产B的数量为b/(Ph)^c的d倍,其中-1<c<0,b>0,d>0,b和c为预设常数,这样交易用户持仓量折合第二资产B的数量与价格变动保持一 致。
在一个实施例中,我们选取c=-0.5,b=1,即单份合约的价值折合第二资产B的数量为(Ph)^0.5,b和c一般使得b/(Ph)^c在0.1-1000美元之间,可以使得本合约交易装置更好的在区块链上运行,在数字货币ETH/数字货币USDT价格为P0时一个流动性挖矿用户向Uniswap资金池数字货币ETH-数字货币USDT存入x0个数字货币ETH和y0个数字货币USDT,同时在本发明合约交易装置中做空L=2y0/(P0)^0.5份合约,即此时持有2y0个数字货币USDT的空单,当数字货币ETH/数字货币USDT价格波动到Pn时:
在Uniswap不考虑手续费的情况下满足:
x0=(k/P0)^0.5
xn=(k/Pn)^0.5
y0=(kP0)^0.5
yn=(kPn)^0.5
yn=y0*(Pn/P0)^0.5
该流动性挖矿用户在Uniswap中数字货币USDT的变化为2yn-2y0=2y0*(Pn/P0)^0.5-2y0
该流动性挖矿用户在本发明合约交易装置中数字货币USDT的变化为2y0-(2y0/(P0)^0.5)*(Pn)^0.5
则该流动性挖矿用户数字货币USDT净盈亏为2y0*(Pn/P0)^0.5-2y0+2y0-2y0/(P0)^0.5*(Pn)^0.5=0
由此可见该做市商无论数字货币ETH的价格如何波动其数字货币USDT净盈亏为0,说明通过本发明的合约交易装置几乎完全降低了无常损失,保证了用户数据和资产的安全性,使得做市商相当于既可以长期无损失的持有数字货币USDT又可以赚取做市手续费和UNI代币,相当于实现了单一资产进行流动性挖矿,稳定币的套期保值。
为了更加直观的体现做市商降低无常损失的风险,在一个实施例中,如图3我们选择了2020年2月15至2020年3月13日的数字货币ETH/数字货币USDT数据进行了回测,在2020年2月15向Uniswap数字货币ETH-数字货币USDT资金池中存入等值1000数字货币USDT,图2显示数字货币ETH价格从290数字货币USDT跌至85数字货币USDT,该流动性做市商如果仅在Uniswap中做市,期间数字货币USDT亏损幅度高达43%,而选择同时在本发明合约交易装置中交易,期间净数字货币USDT保持为1000美元不变,表明本发明合约交易装置可以完全降低自动做市机制的无常损失风险,真正实现了自动做市商的套期保值,保证了用户数据和资产的安全性。
因此本合约交易装置还被配置为根据L*(P2^0.5-P1^0.5)计算所述交易用户交易保证金折合第一资产A或第二资产B的变化,P1为第一时刻第一资产A与第二资产B之间的汇率,所述P2为第二时刻第一资产A与第二资产B之间的汇率,所述L为所述交易用户在本合约交易装置的持仓份数。
所述Pq为所述交易用户的清算价格,所述P0为所述交易用户的开仓价格,u0为开仓保证金数量, m0为开仓资产放大率,交易用户从价格P0到Pq合约保证金变化为:
u0=L(P0^0.5-Pq^0.5),
所述交易用户在价格Pn时的保证金u为:
L(Pn^0.5–Pq^0.5)=u0*(Pn^0.5–Pq^0.5)/(P0^0.5-Pq^0.5)。
在一个实施例中,我们可以选择交易保证金为第一资产A或第二资产B;
在一个实施例中,交易用户的交易保证金均为稳定币;
在一个实施例中,我们可以选择与第一资产A和第二资产B不同的A第二资产B,这样可以在不持有A和B的情况下,交易A和B的汇率,例如A为数字货币BTC,B为数字货币USDT,AB为数字货币ETH,这样我们可以通过持有数字货币ETH来交易数字货币BTC/USDT汇率。
在一个实施例中,合约交易装置还包括资产运算放大器,所述资产运算放大器将交易用户的资产放大率反馈给平仓处理器,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值;本发明合约交易装置提供1-1000倍资产放大交易,交易用户通过资产运算放大器无需借贷就可以在持有少量保证金就可以交易较大金额从而实现了资金效率的提升,即所述交易用户的合约持仓量折合成保证金对应品种的数量大于所述交易用户保证金的数量和允许交易者在不持有资产本身的情况下推测资产的价格变动,所述交易用户合约持仓量价值的变化等于所述交易用户合约保证金的变化。本发明中的合约持仓量指的是对应交易标的的虚拟资产,因此交易用户的合约持仓量价值的变化会等于所述交易用户合约保证金的变化。
如做市商选择在本发明合约交易装置进行交易,拿出10%左右的资金在本系统中进行交易即可,极大的提高了资金利用率。
为了保证本合约交易装置和传统合约交易装置的近似性,所述交易用户的初始资产放大率被设定为m0,优选的,|((m0-1)/m0)^2–(m0-2)/m0|<11.11%,
其中((m0-1)/m0)^2为本合约交易装置第一设定价格Pq和第二设定价格P0之间的比值,其中(m0-2)/m0为传统合约交易装置第一设定价格Pq和第二设定价格P0之间的比值,可选的,第一设定价格为交易用户的清算价格,第二设定价格P0为交易用户的开仓价格,则|((m0-1)/m0)^2–(m0-2)/m0|差值越小,两种合约交易装置越相近;
为了避免穿仓风险,即穿过清算价格,所述所述资产运算放大器实时的将交易用户的资产放大率反馈给平仓处理器,当资产放大率过高时,也可以发提醒给交易用户进行风险提示,超过系统设定的资产放大率阈值,将向交易引擎发起强制平仓指令,即用户仓位产生爆仓。
当第二设定价格为第一价格Pn时,则满足:
Pq/P0=((m0-1)/m0)^2
Pq/Pn=((m-1)/m)^2
则在第一价格Pn时本合约交易装置还将配置为使得交易用户的资产放大率
m=m0*Pn^0.5*(P0^0.5+m0(Pn^0.5-P0^0.5))。
在一个实施例中,本发明所述交易引擎还包括虚拟定价系统,所述虚拟定价系统包括虚拟品种C和虚拟品种D,所述虚拟品种C的虚拟价值折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关,所述虚拟品种D的虚拟价值与第一资产A或第二资产B的价格正相关,所述撮合交易包括根据所述虚拟定价系统确定所述交易用户的成交价;优选的,所述虚拟品种C的数量x和虚拟品种D的数量y满足xy=k,k为常数。
在一个实施例中,本发明合约交易装置还包括交割系统,所述交割系统用于对于所述合约约定的交割日期进行平仓;这样可以在本合约交易装置上发布定期合约产品,定期合约会在固定时间进行强行交割。
为了确定交割价格,所述交割系统包括交割价格计算系统,所述交割价格计算系统在交割前通过向现货行情服务器网关发起查询,根据查询到的现货汇率Px以确定交割价格;
这里的现货行情服务器既可以是中心化的交易所,如币安、火币、OKEX等中心化交易所,也可以是去中心化交易所,如Uniswap、Curve、SushiSwap、Balancer、Kyber Network等,具体可以参考 https://debank.com/ranking/dex,当然现货行情服务器并不限于是交易所,还可以是提供报价的第三方报价平台,如tradingview、aicoin等,或者从基于区块链的预言机Link等获取现货价格信息。
在一个实施例中,本发明合约交易装置还包括资金费率管理器,所述资金费率管理器用于在固定时间对做多用户或做空用户收取资金费率;
所述资金费率管理器采用的费率收取方式包括:当合约汇率Ph相对于现货汇率出现正溢价时,对做多用户收取资金费率,对做空用户补贴资金费率;当合约汇率Ph相对于现货汇率出现负溢价时,对做空用户收取资金费率,对做多用户补贴资金费率;通过以上方式,使得交易价格有效锚定现货价格,使得交易用户不用通过交割移仓的方式,就可以一直持仓相关仓位。
在一个实施例中,本发明合约交易装置可选的交易标的可以包括比特币对稳定币的汇率、以太坊对稳定币、稳定币对稳定币的汇率中的一个或多个;
所述稳定币包括数字货币USDT、USDC、PAX、TUSD、BUSD、DAI、DCEP、EURT、GYEN中的一个或多个。
进一步的,所述交易数据存储器包括中心化数据库或去中心化数据库。
所述中心化数据库包括mysql、SQL Server、Oracle、Sybase、DB2中的一个或多个.
为了提高数据存储的效率和安全性,所述中心化数据库包括分布式数据库;
所述去中心化数据库包括公有区块链;
所述公有区块链包括以太坊、波卡链、EOS(ENTERPRISE OPERATION SYSTEM)、波场、cosmo中 的至少一个;
所述公有区块链还包括存储区块链,所述存储区块链用于存储合约交易相关数据。
所述存储区块链包括IPFS或Storj。
在一个实施例中,本发明合约交易装置中可执行程序包括至少以下之一:合约标的管理器、保证金确定器、交易引擎、现货行情处理器、用户持仓调整处理器和平仓处理器,
所述可执行程序可以运行在云服务器上,如Amazon AWS,阿里云,腾讯云等,
也可以运行在区块链上,如以太坊、波卡链、EOS(ENTERPRISE OPERATION SYSTEM)、波场、cosmo等公有区块链上。
运行在区块链上时,本发明的一个实施例还提供一种区块链系统,所述区块链系统被配置为参与执行或触发执行所述合约交易装置中的可执行程序,所述可执行程序运行在至少以下之一:合约标的管理器、保证金确定器、交易引擎、现货行情处理器、用户持仓调整处理器和平仓处理器。
在一个实施例中,本发明还提供一种交易方法,所述交易方法包括:
S1、监控所述合约汇率Ph与现货汇率Px之间的差值;
S2、当所述差值小于预设值时,在所述合约交易装置建立价值为0.9V到1.1V对所述合约汇率Ph的做多合约;
S3、在自动做市交易所资金池A-B中存入等值V/2的第一资产A和等值V/2的第二资产B;
可选的,所述交易方法还包括:
S4、监控所述做多合约的清算价格;
S5、当所述清算价格距离现货价格小于设置范围时,对合约账户补充保证金。
通过以上步骤可以避免因爆仓导致的损失。
在一个实施例中,本发明还提供另外一种对冲方法,所述交易方法包括:
S6、在本合约交易装置中在第一资产A兑第二资产B合约汇率Py处挂做多或做空的限价订单,所述订单下单量为V份合约;
S7、监控所述限价订单的成交状态,当所述限价订单成交后,向自动做市交易所资金池A-B中存入等值V/2的第一资产A和V/2的第二资产B;
在所述限价订单成交后,还包括:
S8:将交易用户的可用资产兑换成等值V/2的第一资产A和V/2的第二资产B;
其中V为正整数,使用该交易方法可以在区块链拥堵的情况下,有效降低滑点损失。
在一个实施例中,本发明还提供一种由至少一个计算机处理器组成的合约交易装置执行的合约交易方法,所述合约交易方法包括:
由合约标的管理器确定合约交易标的,所述合约标的包括第一资产A和第二资产B之间的合约汇率 Ph;
由现货行情处理器获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
由交易引擎执行交易用户对所述合约汇率Ph之间的合约交易;
由合约持仓调整处理器根据所述合约汇率Ph的变化,将交易用户的合约持仓量调整为折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
由交易存储器存储交易用户的基本信息;
由平仓处理器对所述交易用户设定预设平仓价格,对达到预设平仓价格的交易用户发起强制平仓指令。
在一个实施例中,本发明所述的合约交易方法还包括:
根据所述合约汇率Ph的c次幂的变化,使得所述交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A或第二资产B的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。在一个实施例中,本发明所述的合约交易方法还包括:
由资产运算放大器将所述交易用户的初始资产放大率配置为m0,所述初始资产放大率满足Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值。
在一个实施例中,本发明所述的合约交易方法还包括:
由合约持仓调整处理器根据L*(P2^0.5-P1^0.5)计算所述交易用户交易保证金折合第一资产A或第二资产B的变化,所述P1为第一时刻第一资产A与第二资产B之间的汇率,所述P2为第二时刻第一资产A与第二资产B之间的汇率,所述L为所述交易用户在本合约交易装置的持仓份数。
在一个实施例中,本发明所述的合约交易方法还包括:
由所述合约持仓调整处理器根据u=u0*(Pn^0.5–Pq^0.5)/(P0^0.5-Pq^0.5)计算所述交易用户在第一价格Pn时的保证金数量,其中u0为所述交易用户在第二设定价格P0时的保证金数量,所述Pq为所述交易用户的清算价格。
在一个实施例中,本发明所述的合约交易方法还包括:
由所述交易引擎接收在第一资产A兑第二资产B合约汇率Ph处做多或做空的限价订单,所述订单下单量为V份合约;
在一个实施例中,本发明所述的合约交易方法还包括:
由所述合约持仓调整处理器将所述交易用户保证金或合约持仓量分成价值相等的两部分,根据所述现货汇率Px将其中一半兑换成所述合约交易标的涉及品种中的另外一种资产。
在一个实施例中,本发明所述的合约交易方法还包括:
由代币管理器为所述放大资产创建非同质化代币。
在一个实施例中,本发明所述的合约交易方法还包括:
由所述资产运算放大器将所述交易用户的初始资产放大率配置为满足|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
以上交易方法均可以运行在云服务器上,如Amazon AWS,阿里云,腾讯云等,运行在云服务器上,可以有效提高交易处理速度。当然也可以运行在区块链上,如以太坊、波卡链、EOS(ENTERPRISE OPERATION SYSTEM)、波场、cosmo等,当运行在区块链时,可以通过智能合约的形式实现所述交易方法,这样可以有效降低资产丢失风险。
为了在区块链上实现本发明的合约交易装置,在一个可选的实施例中,建立以下智能合约:一个交易用户1在价格P1时锁定保证金B1同时生成单份合约价值的整数倍的非同质化代币Coin+(P1,B1,H1)n1个,另一个交易用户2在价格P2时锁定保证金B2同时生成单份合约价值的整数倍的非同质化代币Coin-(P2,B2,H1)n2个,
交易用户1向交易用户2转账,交易用户2收到代币Coin+(P1,B1,H1)n1个,当P1=P2时,且n1>=n2时,将生成同质化(n1-n2)个代币Coin±(P1,B1,H1),同时湮灭掉n1个Coin+(P1,B1,H1)和n2个Coin-(P1,B1,H1),此时交易用户2持有(n1-n2)个代币Coin±(P1,B1,H1)和(n1-n2)个Coin+(P1,B1,H1),如果交易用户2在价格P3时,在价格P3时锁定保证金B2同时生成单份合约价值的整数倍的非同质化代币Coin-(P2,B2,H2)(n1-n2)个,当P3>P1时交易用户2中的(n1-n2)个代币Coin±(P1,B1,H1)和Coin-(P2,B2,H2)将被湮灭掉,同时进行盈亏结算,交易用户2将获得盈利的保证金,
这里的湮灭表示该数量的代币清零且释放保证金,上述非同质化代币均锁定了相应数量的保证金。这种采用非同质化代币的智能合约工作模式,使得每个数字货币钱包均具有了交易所的功能,不仅仅适用于本发明的合约交易装置,也适用于其他合约交易装置,如线性合约,反向合约,期权合约,期货合约等。
在一个实施例中,本发明还提供一种由至少一个计算机处理器组成的合约交易装置执行的非同质化代币的创建方法,所述创建方法包括:
由资产放大合约管理器与一个资产放大合约进行交互,所述资产放大合约标的涉及第一资产A和第二资产B;
由资产放大合约管理器将所述资产放大合约配置为交易用户的合约持仓量折合第二资产B的数量与第一资产A与第二资产B之间的合约汇率Ph正相关;
由代币管理器为所述交易用户生成非同质化代币,所述非同质化代币的属性至少包括交易用户的所述资产放大合约持仓份数和所述资产放大合约持仓价格。
在一个实施例中,本发明所述的非同质化代币创建方法还包括:由资产运算放大器将所述资产放大合 约交易用户的初始资产放大率被配置为满足:Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述资产放大合约交易用户持仓价值与保证金价值之间的比值。
在一个实施例中,本发明所述的非同质化代币创建方法包括:由所述资产运算放大器将所述资产放大合约交易用户的初始资产放大率m0/2配置为满足:Pq/P0=((m0-2)/m0),所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述资产放大合约交易用户持仓价值与保证金价值之间的比值。在一个实施例中,本发明所述的非同质化代币创建方法包括:由合约持仓调整处理器将所述资产放大合约交易用户的合约持仓量被配置为在连续的一个时间段内为折合第一资产A或第二资产B的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
在一个实施例中,本发明所述的非同质化代币创建方法包括:所述资产放大合约为线性合约、反向合约、期权合约和期货合约中的一种或多种。
在一个实施例中,本发明所述的非同质化代币创建方法还包括:
由代币管理器将所述非同质化代币进行拆分。
在一个实施例中,本发明所述的非同质化代币创建方法还包括:由代币管理器还包括将至少两个所述非同质化代币进行融合以生成新的非同质化代币。
这里的融合是指对所述非同质化代币的相同属性进行数学运算以结合成一个非同质化代币的过程。例如,第一非同质化代币的属性为L1份做多资产放大合约和持仓合约价格为P1,第二非同质化代币的属性为L2份做多资产放大合约和合约持仓价格为P2,那么融合之后,将新生成一个第三非同质化代币,属性为(L1+L2)份,合约持仓价格为(L1*P1+L2*P2)/(L1+L2)。
在一个实施例中,本发明所述的非同质化代币创建方法还包括:由所述资产放大合约管理器为所述交易用户根据所述资产放大合约创建放大资产。
在一个实施例中,本发明所述的非同质化代币创建方法还包括:由所述资产放大合约管理器为所述交易用户根据所述资产放大合约创建第一放大资产和第二放大资产,所述第一放大资产和第二放大资产方向相反。
在一个实施例中,本发明还公开一种区块链系统,所述区块链系统被配置为参与执行或触发执行所述非同质化代币的创建方法。
为了完全在区块链上实现本合约交易装置,本发明在另一实施例中,所述合约交易装置包括:
合约标的管理器,所述合约标的包括第一资产A和第二资产B之间的合约汇率Ph;
保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
资金池管理器,所述资金池管理器被配置为接收第一资产A和/或第二资产B以存入资金池;
交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行所述交易用户与资金池之间的对手交易;
现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
这里需要说明的是,在连续的一个时间段内,表示持仓量上述关系的变化具有可持续性,比如所述交易用户的持仓时间大于自动做市商在区块链上一个区块的时间。
交易数据存储器,所述交易数据存储器包括用于存储交易用户的基本信息;
资金池持仓调整处理器,所述资金池持仓调整处理器用于在所述合约汇率达到预设值时对所述的合约持仓量发起强制加仓或减仓指令。
可选的,所述加仓等效为向自动做市商如Uniswap等提供流动性的过程,减仓为退出流动性的过程;
可选的,所述减仓等效为向自动做市商如Uniswap等提供流动性的过程,加仓等效为退出流动性的过程;可选的,所述加仓或减仓为增加或减少所述的合约持仓量。
可选的,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
在一个实施例中所述合约交易装置,还包括凭证生成器,所述凭证生成器被配置为在所述资金池管理器收到第一资产A或第二资产B的存入后生成第一凭证,或被配置为在所述交易用户与资金池之间建立交易后,生成第二凭证,所述第一凭证与所述资金池中第一资产A或第二资产B数量正相关,所述第一凭证被配置为用于向资金池发起取款请求的凭证,所述第二凭证与所述交易用户与所述资金池之间的合约持仓量在连续的一个时间段内正相关,所述第二凭证被配置为用于释放所述交易用户保证金的凭证。
所述第一凭证和第二凭证可以为去中心化的数字货币。
可选的,所述第一凭证代表的资金量折合成第二资产B的数量大于等于所述第二凭证代表的持仓量折合成第二资产B的数量。这里第一凭证代表的资金量表示,本合约交易装置资金池有多少资金量则第一凭证有多少,例如资金池中有1000USDT,则第一凭证代表1000USDT,而第二凭证则代表的是交易用户的合约持仓量,如一份合约的价值为P^0.5USDT,P=100时,交易用户持仓量为20份合约,则持仓量代表的资金量为200USDT,则第二凭证则代表交易用户持仓200USDT。
可选的,所述合约交易装置还包括凭证销毁器,所述凭证销毁器被配置为在凭证持有用户向所述合约交易装置发起取款请求后,销毁第一凭证或第二凭证。
下面以一个具体实施例说明一下本合约交易装置的工作原理,如图4所示,以数字货币ETH和USDT 为例,在本合约交易装置模式下,流动性挖矿用户向本合约交易装置资金池存入数字货币USDT后,生成相应数量的数字货币SL_USD给流动性挖矿用户,SL_USD为取款凭证,相当于第一凭证,即任何持有SL_USD的用户均可以向本合约交易装置发起取款请求,取款后,用户将得到相应数量的数字货币USDT,同时销毁相应数量的数字货币SL_USD;
交易用户向合约交易装置发起交易请求时,将冻结一定数量的保证金,建立交易用户和资金池之间的对手交易,本合约交易装置将单份合约的价值设置为P^0.5个USDT,P为数字货币ETH兑USDT的汇率,这里还可以给交易用户提供一定的资产放大率,如5倍资产放大率,则冻结的USDT保证金数量为交易量V的1/5即可,
合约交易装置在接收到交易请求后,建立交易用户和资金池的对手交易,随后资金池将取出所述交易量相对应的USDT,将USDT发送到Uniswap等自动做市商的资金池ETH-USD中,将其中V/2的USDT兑换成ETH,随后将兑换好的ETH和剩余的V/2的USDT存入资金池ETH-USD中,此时相应数量的数字货币L_ETH给交易用户,L_ETH为取款凭证,相当于第二凭证,即任何用户持有L_ETH的用户均可以向本合约交易装置发起解冻保证金的请求,保证金将释放给该用户,同时销毁相应数量的数字货币L-ETH,
由于交易用户仅冻结了少于交易量的保证金,那么数字货币L_ETH的价格波动将比ETH更大,例如,给交易用户提供m倍的资产放大率时,这里的资产放大率等于开仓价值/保证金价值,当m较大时,如m>3,那么L_ETH的波动将约为ETH波动的m/2倍,那么L_ETH相当于一个追踪ETH价格并看多ETH的放大型数字货币,为了进一步提高L_ETH的与ETH的相关性,交易用户的初始资产放大率被配置为m0,则|((m0-1)/m0)^2–(m0-2)/m0|<11.11%,此时L_ETH的涨跌与ETH的涨跌相关性最高,比如ETH上涨5%,则L_ETH将上涨近似于15%;
而SL_USD与USDT为等价兑换,则SL_USD相当于通过本合约交易装置自动铸造的一个锚定USDT的稳定币。由于交易用户的保证金会随着ETH价格变化而发生盈亏,即交易用户的资产放大率也会跟随价格在动态变化,为了保证交易系统的稳定运行,对于交易用户的资产放大率设置一个预设范围(m1,m2),当交易用户的资产放大率超过上述预设范围时,通过资产运算放大器将交易用户的资产放大率调整至所述预设范围内。
可选的,当m>m2时,合约交易装置将自动向如uniswap等自动做市商系统发起取款和兑换操作,同时将ETH兑换成USDT存入合约交易装置的USDT资金池中,此时相当于交易用户和资金池合约持仓的资产放大率下降了,当m<m1时,合约交易装置将自动向如uniswap等自动做市商系统发起兑换和存款操作,将USDT发送到Uniswap等自动做市商的资金池ETH-USD中,将其中Vp/2的USDT兑换成ETH,随后将兑换好的ETH和剩余的Vp/2的USDT存入资金池ETH-USDT中,此时相当于交易用户和资金池合约持仓的资产放大率上升了。
为了进一步增加本合约交易装置的活跃性,可以在uniswap等自动做市商开设L_ETH-SL_USD和SL_USD-USDT的资金池,方便相关持有者进行交易,当ETH价格下跌时,将有更多的交易用户向本合约交易装置发起交易请求以得到L_ETH,到资金池L_ETH-SL_USD进行抛售,然后将兑换得到的SL_USD向合约交易装置发起取款请求,以得到USDT,整个过程在L_ETH-SL_USD价格未变动前,则相当于实现了一次套利操作,得到更多的USDT,当ETH价格下跌时,则执行相反的操作即可,为了保证SL_USD价格的稳定性,当SL_USD/USDT>预设值p1时,系统进行SL_USD等比例的增发,当SL_USD/USDT<预设值p2时,系统进行SL_USD等比例的通缩。
在一些实施例中交易对手均为交易用户,而在该实施例中,交易对手一方为交易用户,一方为资金池,因此可以在没有订单簿的情况下实现,即可以完全运行在区块链系统上,实现了完全降低无常损失,保证用户数据和资产的安全性,发行去中心化的放大型数字货币和稳定币的技术效果,该放大型数字货币和稳定币均有对应的底层资产,可以在没有预言机的情况下实现数字货币的放大化和锚定稳定币的效果。
在另一实施例中,还是以数字货币ETH和USDT为例,在本合约交易装置模式下,流动性挖矿用户向本合约交易装置资金池存入数字货币ETH后,生成相应数量的数字货币SL_ETH给流动性挖矿用户,SL_ETH为取款凭证,相当于第一凭证,即任何持有SL_ETH的用户均可以向本合约交易装置发起取款请求,取款后,用户将得到相应数量的数字货币ETH,同时销毁相应数量的数字货币SL_ETH;交易用户向合约交易装置发起交易请求时,将冻结一定数量的保证金,建立交易用户和资金池之间的交易,本合约交易装置将单份合约的价值设置为1/P^0.5个ETH,P为数字货币ETH兑USDT的汇率,这里还可以给交易用户提供一定的资产放大率,如5倍放大率,则冻结的ETH保证金数量为交易量V的1/5即可,
合约交易装置在接收到交易请求后,建立交易用户和资金池之间的对手交易,随后资金池将取出所述交易量相对应的ETH,将ETH发送到Uniswap等自动做市商的资金池ETH-USD中,将其中V/2的ETH兑换成USDT,随后将兑换好的USDT和剩余的V/2的ETH存入资金池ETH-USDT中,此时相应数量的数字货币L_ETH给交易用户,L_ETH为取款凭证,相当于第二凭证,即任何用户持有L_ETH的用户均可以向本合约交易装置发起解冻保证金的请求,保证金将释放给该用户,同时销毁相应数量的数字货币L-ETH,
由于交易用户仅冻结了少于交易量的保证金,那么数字货币L_ETH的价格波动将比ETH更大,例如,给交易用户提供m倍的资产放大率时,这里的资产放大率等于开仓价值/保证金价值,当m较大时,如m>3,那么L_ETH的波动将约为ETH波动的m/2倍,那么L_ETH相当于一个追踪ETH价格并看空ETH的放大型数字货币,为了进一步提高L_ETH的与ETH的相关性,交易用户的初始资产放大率被配置为m0,则|((m0-1)/m0)^2–(m0-2)/m0|<11.11%,此时L_ETH的涨跌与ETH的涨跌相关性 最高,比如ETH下跌5%,则L_ETH将上涨近似于15%;
而SL_ETH与ETH为等价兑换,则SL_ETH相当于通过本合约交易装置自动铸造的一个ETH锚定币。由于交易用户的保证金会随着ETH价格变化而发生盈亏,即交易用户的资产放大率也会跟随价格在动态变化,为了保证交易系统的稳定运行,对于交易用户的资产放大率设置一个预设范围(m1,m2),当交易用户的资产放大率超过上述预设范围时,通过资产运算放大器将交易用户的资产放大率调整至所述预设范围内。
可选的,当m>m2时,合约交易装置将自动向如uniswap等自动做市商系统发起取款和兑换操作,同时将USDT兑换成ETH存入合约交易装置的ETH资金池中,此时相当于交易用户的资产放大率下降了,当m<m1时,合约交易装置将自动向如uniswap等自动做市商系统发起兑换和存款操作,将ETH发送到Uniswap等自动做市商的资金池ETH-USD中,将其中Vp/2的ETH兑换成USDT,随后将兑换好的USDT和剩余的Vp/2的ETH存入资金池ETH-USD中,此时相当于交易用户的资产放大率上升了。
为了进一步增加本合约交易装置的活跃性,可以在uniswap等自动做市商开设L_ETH-SL_USD和SL_ETH-ETH的资金池,方便相关持有者进行交易,当ETH价格上涨时,将有更多的交易用户向本合约交易装置发起交易请求以得到L_ETH,到资金池L_ETH-SL_ETH进行抛售,然后将兑换得到的SL_ETH向合约交易装置发起取款请求,以得到ETH,整个过程在SL_ETH-ETH价格未变动前,则相当于实现了一次套利操作,得到更多的ETH,当ETH价格下跌时,则执行相反的操作即可,为了保证SL_ETH价格的稳定性,当SL_ETH/ETH>预设值p1时,系统进行SL_ETH等比例的增发,当SL_ETH/ETH<预设值p2时,系统进行SL_ETH等比例的通缩。
在订单簿模式下交易对手均为交易用户,而在该实施例中,交易对手一方为交易用户,一方为资金池,因此可以在没有订单簿的情况下实现,即可以完全运行在区块链系统上,实现了完全降低无常损失,保证了用户数据和资产的安全性,发行去中心化的放大型数字货币和锚定币的技术效果,该放大型数字货币和锚定币均有对应的底层资产,可以在没有预言机的情况下实现数字货币的放大化和数字货币锚定币的效果。
在一个实施例中,本发明还公开一种区块链系统,所述区块链系统被配置为参与执行或触发执行上述合约交易装置中的可执行程序。
在一个实施例中,本发明还提供一种由至少一个计算机处理器组成的合约交易装置执行的放大资产的创建方法,包括:
由合约标的管理器确定所述放大资产的合约交易标的,所述合约标的涉及第一资产A和第二资产B之间的现货汇率Px;
由现货行情处理器获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货 汇率Px;
冻结交易用户的保证金;
由交易引擎执行交易用户对所述现货汇率Px之间的合约交易以开立合约仓位;
由合约持仓调整处理器根据所述现货汇率Px的变化,将所述放大资产的合约持仓价值调整为折合第一资产A的数量与现货汇率Px负相关,折合第二资产B的数量与合约汇率Px正相关。
在一个实施例中,所述创建方法还包括:由资产运算放大器将所述放大资产的初始资产放大率配置为m0,满足:Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述放大资产的合约持仓资产价值与保证金价值之间的比值。
在一个实施例中,所述创建方法还包括:由放大资产生成器生成第一放大资产和第二放大资产,所述第一放大资产的保证金为A,所述第二放大资产的保证金为B.
在一个实施例中,所述放大资产的创建方法还包括:
由所述资产运算放大器将所述放大资产的初始资产放大率配置为满足|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
在一个实施例中,所述放大资产的创建方法还包括:
由所述资产运算放大器将所述放大资产在第一价格Pn时的资产放大率配置为m=m0*Pn^0.5/(P0^0.5+m0(Pn^0.5-P0^0.5))。
在一个实施例中,所述放大资产的创建方法还包括:由所述资产运算放大器对所述放大资产资产放大率设置一个预设范围(m1,m2),其中m1,m2>1,当所述放大资产的资产放大率超过上述预设范围时,通过资产运算放大器将所述放大资产的资产放大率调整至所述预设范围内。
在一个实施例中,所述放大资产的创建方法还包括:由资金池管理器为所述放大资产创建第一资金池和第二资金池,所述第一资金池为保证金资金池,所述第二资金池为所述合约持仓资金池。
在一个实施例中,所述放大资产的创建方法还包括:由代币管理器为所述放大资产创建非同质化代币。
在一个实施例中,所述非同质化代币的属性至少包括所述放大资产的合约持仓份数和所述合约持仓价格。
在一个实施例中,本发明还公开一种区块链系统,所述区块链系统被配置为参与执行或触发执行所述放大资产的创建方法。
为了在区块链上给交易用户对手方的撮合交易进行定价,在一个实施例中,本合约交易装置还包括虚拟定价系统,所述虚拟定价系统包括资金池虚拟第一资产VA-虚拟第二资产VB,所述虚拟第一资产VA和虚拟第二资产VB的初始数量分别为x0和y0,则x0y0=k,k为预设值,当保证金为第二资产B时,为了确定交易用户第一资产A和第二资产B的合约汇率Ph的成交价,合约交易装置在 接受到交易用户开仓量为V的交易时,虚拟交易系统将生成交易量等值的虚拟第二资产Bz个,将其中n2个虚拟第二资产B兑换成虚拟第一资产An1个,使得满足:
兑换前:x0y0=k0
兑换后:(x0+n1)(y0-n2)=k0
存入前后:(y0+z-n2)/(x0+n1)=(z-n2)/n1
将n1个虚拟A和z-n2个虚拟B存入虚拟自动做市资金池A-B中,则所述交易用户的开仓合约汇率为Ph=n2/n1。
当合约交易装置在接受到交易用户平仓量为V的交易时,价值折算为第二资产B的数量为z个,虚拟做市交易系统将n1个虚拟第一资产A和Z-n2个虚拟第二资产B从资金池中取出,然后将n1个虚拟第一资产A兑换成n2个虚拟第二资产B,则此时将z个虚拟第二资产B销毁,使得满足:
取出前后:y0/x0=(y0-z+n2)/(x0-n1)
兑换前:(x0-n1)(y0-z+n2)=k1
兑换后:(x0-n1+n1)(y0-z+n2-n2)=k1
则所述交易用户的平仓合约汇率Ph=n2/n1=(y0-z)/x0。
为了在区块链上给交易用户对手方的撮合交易进行定价,在一个实施例中,本合约交易装置还包括虚拟定价系统,所述虚拟定价系统包括资金池虚拟VC品种和虚拟第二资产VB,其中虚拟VC品种的价值为折合第一资产VA的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。下面以以数字货币ETH和USDT为例,说明一下虚拟定价系统的工作原理,如图5所示,这里第一资产VA为ETH,第二资产VB为USDT,单个VC品种的价值定义为P^0.5USDT,则虚拟定价系统,包括资金池虚拟C(P^0.5)-虚拟USDT,其虚拟VC品种为x个和虚拟USDT为y个,满足:xy=k,当本发明合约交易装置接收到交易用户的交易请求后,开仓量为v份做多或平空的P^0.5合约,那么向资金池虚拟VC(P^0.5)-虚拟USDT购买v个虚拟VC(P^0.5),那么资金池满足:
兑换前:xy=k
兑换后:(x-v)(y+y1*m)=k
其中y1为合约保证金,m为开仓资产放大率,则合约成交价为Ph=(P^0.5)^2=(y1*m/v)^2。
当开仓量为v份做空或平多的P^0.5合约,那么向资金池虚拟C(P^0.5)-虚拟USDT出售v个虚拟C(P^0.5),那么资金池满足:
兑换前:xy=k
兑换后:(x+v)(y-y1*m)=k
其中y1为合约保证金,m为开仓资产放大率,则合约成交价为Ph=(P^0.5)^2=(y1*m/v)^2。
根据以上虚拟定价系统可以实现在没有订单簿的情况下确定交易用户的合约交易的成交价,适合在区 块链上实现本合约交易装置。
以上所述仅是本发明的实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰或组合,这些改进和润饰也应视为本发明的保护范围。

Claims (50)

  1. 一种合约交易装置,所述合约交易装置包括:
    合约标的管理器,用于管理第一资产A和第二资产B之间的合约汇率Ph;
    保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
    交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行交易;
    用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得交易用户的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
    交易数据存储器,所述交易数据存储器包括用于存储交易用户的基本信息;
    平仓处理器,所述平仓处理器用于对达到预设平仓价格的交易用户发起强制平仓指令。
  2. 如权利要求1所述的合约交易装置,还包括:现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px。
  3. 如权利要求1所述的合约交易装置,所述交易用户的合约持仓量折合成保证金对应品种的数量大于所述交易用户保证金的数量。
  4. 如权利要求1所述的合约交易装置,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A或第二资产B的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
  5. 如权利要求1所述的合约交易装置,所述合约交易装置运行在区块链上,所述连续的一个时间段为大于所述区块链上一个区块的时间。
  6. 如权利要求1所述的合约交易装置,所述交易用户的合约持仓份数为L,所述合约持仓每一份的价值大于0.1美元小于1000美元。
  7. 如权利要求1-6所述的合约交易装置,所述合约交易装置还包括资产运算放大器,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值,所述交易用户的初始资产放大率由所述资产运算放大器配置为m0,所述初始资产放大率被配置为满足Pq/P0=((m0-1)/m0)^2,所述Pq为第一设定价格,所述P0为第二设定价格。
  8. 如权利要求7所述的合约交易装置,所述合约交易装置还被配置为根据L*(P2^0.5-P1^0.5)计算所述交易用户交易保证金折合第一资产A或第二资产B的变化,所述P1为第一时刻第一资产A与第二资产B之间的汇率,所述P2为第二时刻第一资产A与第二资产B之间的汇率,所述L为所述交易用户在本合约交易装置的持仓份数。
  9. 如权利要求7所述的合约交易装置,所述资产运算放大器还将交易用户在第一价格Pn时的资产放 大率配置为m=m0*Pn^0.5/(P0^0.5+m0(Pn^0.5-P0^0.5))。
  10. 如权利要求7所述的合约交易装置,所述交易用户在第一价格Pn时的保证金数量u=u0*(Pn^0.5–Pq^0.5)/(P0^0.5-Pq^0.5),u0为所述交易用户在第二设定价格P0时的保证金数量,所述Pq为所述交易用户的清算价格。
  11. 如权利要求1-6所述的合约交易装置,所述交易用户的初始资产放大率满足|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
  12. 如权利要求1所述的合约交易装置,所述合约交易装置还将为所述交易用户创建非同质化代币,所述非同质化代币的属性至少包括交易用户的合约持仓份数和合约持仓价格。
  13. 如权利要求12所述的合约交易装置,所述合约持仓份数为整数。
  14. 一种区块链系统,所述区块链系统被配置为参与执行或触发执行如权利要求1-6所述的合约交易装置中的可执行程序。
  15. 如权利要求14所述的区块链系统,所述可执行程序运行在至少以下之一:合约标的管理器、保证金确定器、交易引擎、现货行情处理器、用户持仓调整处理器和平仓处理器。
  16. 一种合约交易装置,所述合约交易装置包括:
    合约标的管理器,所述合约标的包括第一资产A和第二资产B之间的合约汇率Ph;
    保证金确定器,所述保证金确定器用于供交易用户从其可用资产中选取一种作为交易保证金;
    资金池管理器,所述资金池管理器被配置为接收第一资产A和/或第二资产B以存入资金池;
    交易引擎,所述交易引擎用于收到交易用户对所述合约汇率Ph的交易指令后执行所述交易用户与资金池之间的对手交易;
    现货行情处理器,所述现货行情处理器被配置为可以向现货行情服务器网关发起查询请求以获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
    用户持仓调整处理器,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的变化,使得所述交易用户和所述资金池之间的合约持仓量在连续的一个时间段内折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
    交易数据存储器,所述交易数据存储器包括用于存储交易用户的基本信息;
    资金池持仓调整处理器,所述资金池持仓调整处理器用于在所述合约汇率达到预设值时对所述的合约持仓量发起强制加仓或减仓指令。
  17. 如权利要求16所述的合约交易装置,所述用户持仓调整处理器被配置为根据所述合约汇率Ph的c次幂的变化,使得交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
  18. 如权利要求16所述的合约交易装置,还包括凭证生成器,所述凭证生成器被配置为在所述资金 池管理器收到第一资产A或第二资产B的存入后生成第一凭证,或被配置为在所述交易用户与资金池之间建立交易后,生成第二凭证,所述第一凭证与所述资金池中第一资产A或第二资产B数量正相关,所述第一凭证被配置为用于向资金池发起取款请求的凭证,所述第二凭证与所述交易用户与所述资金池之间的合约持仓量在连续的一个时间段内正相关,所述第二凭证被配置为用于释放所述交易用户保证金的凭证。
  19. 如权利要求18所述的合约交易装置,所述第一凭证代表的资金量折合成第二资产B的数量大于等于所述第二凭证代表的持仓量折合成第二资产B的数量。
  20. 如权利要求18所述的合约交易装置,所述合约交易装置还包括凭证销毁器,所述凭证销毁器被配置为在凭证持有用户向所述合约交易装置发起取款请求后,销毁第一凭证或第二凭证。
  21. 如权利要求16-20所述的合约交易装置,所述合约交易装置还包括资产运算放大器,所述资产运算放大器将交易用户的资产放大率反馈给资金池持仓调整处理器,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值,所述交易用户的初始资产放大率被配置为m0,则|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
  22. 一种由至少一个计算机处理器组成的合约交易装置执行的合约交易方法,所述合约交易方法包括:
    由合约标的管理器确定合约交易标的,所述合约标的包括第一资产A和第二资产B之间的合约汇率Ph;
    由现货行情处理器获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
    由交易引擎执行交易用户对所述合约汇率Ph之间的合约交易;
    由合约持仓调整处理器根据所述合约汇率Ph的变化,将交易用户的合约持仓量调整为折合第一资产A的数量与合约汇率Ph负相关,折合第二资产B的数量与合约汇率Ph正相关;
    由交易存储器存储交易用户的基本信息;
    由平仓处理器对所述交易用户设定预设平仓价格,对达到预设平仓价格的交易用户发起强制平仓指令。
  23. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:
    有所述合约持仓调整处理器根据所述合约汇率Ph的c次幂的变化,使得所述交易用户的合约持仓量在连续的一个时间段内保持为折合第一资产A或第二资产B的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
  24. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由资产运算放大器将所述交易用户的初始资产放大率配置为m0,所述初始资产放大率满足Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述交易用户的资产放大率为持仓价值与保证金价值之间的比值。
  25. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由所述合约持仓调整处理器根据L*(P2^0.5-P1^0.5)计算所述交易用户交易保证金折合第一资产A或第二资产B的变化,所述P1为第一时刻第一资产A与第二资产B之间的汇率,所述P2为第二时刻第一资产A与第二资产B之间的汇率,所述L为所述交易用户在本合约交易装置的持仓份数。
  26. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由所述合约持仓调整处理器根据u=u0*(Pn^0.5–Pq^0.5)/(P0^0.5-Pq^0.5)计算所述交易用户在第一价格Pn时的保证金数量u,其中u0为所述交易用户在第二设定价格P0时的保证金数量,所述Pq为所述交易用户的清算价格。
  27. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由所述交易引擎接收在第一资产A兑第二资产B合约汇率Ph处做多或做空的限价订单,所述订单下单量为V份合约。
  28. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由所述合约持仓调整处理器将所述交易用户保证金或合约持仓量分成价值相等的两部分,根据所述现货汇率Px将其中一半兑换成所述合约交易标的涉及品种中的另外一种资产。
  29. 如权利要求22所述的合约交易方法,所述合约交易方法还包括:由代币管理器为所述放大资产创建非同质化代币。
  30. 如权利要求24所述的合约交易方法,所述合约交易方法还包括:由所述资产运算放大器将所述交易用户的初始资产放大率配置为满足|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
  31. 一种由至少一个计算机处理器组成的合约交易装置执行的放大资产的创建方法,所述创建方法包括:
    由合约标的管理器确定所述放大资产的合约交易标的,所述合约标的涉及第一资产A和第二资产B之间的现货汇率Px;
    由现货行情处理器获取第一资产A和第二资产B的现货价格或第一资产A和第二资产B之间的现货汇率Px;
    冻结交易用户的保证金;
    由交易引擎执行交易用户对所述现货汇率Px之间的合约交易以开立合约仓位;
    由合约持仓调整处理器根据所述现货汇率Px的变化,将所述放大资产的合约持仓价值调整为折合第一资产A的数量与现货汇率Px负相关,折合第二资产B的数量与合约汇率Px正相关。
    由放大资产生成器创建所述放大资产;
  32. 如权利要求31所述的创建方法,所述创建方法还包括:由资产运算放大器将所述放大资产的初始资产放大率配置为m0,满足:Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述放大资产的合约持仓资产价值与保证金价值之间的比值。
  33. 如权利要求31所述的创建方法,所述创建方法还包括:由放大资产生成器生成第一放大资产和第 二放大资产,所述第一放大资产的保证金为A,所述第二放大资产的保证金为B。
  34. 如权利要求32所述的创建方法,所述创建方法还包括:
    由所述资产运算放大器将所述放大资产的初始资产放大率配置为满足|((m0-1)/m0)^2–(m0-2)/m0|<11.11%。
  35. 如权利要求32所述的创建方法,所述创建方法还包括:
    由所述资产运算放大器将所述放大资产在第一价格Pn时的资产放大率配置为m=m0*Pn^0.5/(P0^0.5+m0(Pn^0.5-P0^0.5))。
  36. 如权利要求32所述的创建方法,所述创建方法还包括:由所述资产运算放大器对所述放大资产资产放大率设置一个预设范围(m1,m2),其中m1,m2>1,当所述放大资产的资产放大率超过所述预设范围时,通过所述资产运算放大器将所述资产放大率调整至所述预设范围内。
  37. 如权利要求32所述的创建方法,所述创建方法还包括:由资金池管理器为所述放大资产创建第一资金池和第二资金池,所述第一资金池为保证金资金池,所述第二资金池为所述合约持仓资金池。
  38. 如权利要求31所述的创建方法,所述创建方法还包括:由代币管理器为所述放大资产创建非同质化代币。
  39. 如权利要求38所述的创建方法,所述非同质化代币的属性至少包括所述放大资产的合约持仓份数和所述合约持仓价格。
  40. 一种由至少一个计算机处理器组成的合约交易装置执行的非同质化代币的创建方法,所述创建方法包括:
    由资产放大合约管理器与一个资产放大合约进行交互,所述资产放大合约标的涉及第一资产A和第二资产B;
    由资产放大合约管理器将所述资产放大合约配置为交易用户的合约持仓量折合第二资产B的数量与第一资产A与第二资产B之间的合约汇率Ph正相关;
    由代币管理器为所述交易用户生成非同质化代币,所述非同质化代币的属性至少包括交易用户的所述资产放大合约持仓份数和所述资产放大合约持仓价格。
  41. 如权利要求40所述的创建方法,所述创建方法还包括:由资产运算放大器将所述资产放大合约交易用户的初始资产放大率被配置为满足:Pq/P0=((m0-1)/m0)^2,所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述资产放大合约交易用户持仓价值与保证金价值之间的比值。
  42. 如权利要求40所述的创建方法,所述创建方法还包括:由所述资产运算放大器将所述资产放大合约交易用户的初始资产放大率m0/2被配置为满足:Pq/P0=((m0-2)/m0),所述Pq为清算价格,所述P0为开仓价格,所述资产放大率为所述资产放大合约交易用户持仓价值与保证金价值之间的比值。
  43. 如权利要求40所述的创建方法,所述创建方法还包括:由合约持仓调整处理器将所述资产放大 合约交易用户的合约持仓量被配置为在连续的一个时间段内为折合第一资产A或第二资产B的数量为b/(Ph)^c的d倍,其中0<|c|<1,b>0,d>0,b和c为预设常数。
  44. 如权利要求40所述的创建方法,所述资产放大合约为线性合约、反向合约、期权合约和期货合约中的一种或多种。
  45. 如权利要求40所述的创建方法,所述创建方法还包括:由代币管理器还包括将所述非同质化代币进行拆分。
  46. 如权利要求40所述的创建方法,所述创建方法还包括:由代币管理器还包括将至少两个所述非同质化代币进行融合以生成新的非同质化代币。
  47. 如权利要求40所述的创建方法,所述创建方法还包括:由所述资产放大合约管理器为所述交易用户根据所述资产放大合约创建放大资产。
  48. 如权利要求47所述的创建方法,所述创建方法还包括:由所述资产放大合约管理器为所述交易用户根据所述资产放大合约创建第一放大资产和第二放大资产,所述第一放大资产和第二放大资产方向相反。
  49. 一种区块链系统,所述区块链系统被配置为参与执行或触发执行如权利要求16-21所述的合约交易装置中的可执行程序。
  50. 一种区块链系统,所述区块链系统被配置为参与执行或触发执行如权利要求22-48所述的方法
PCT/CN2021/123151 2020-10-18 2021-10-11 合约交易装置 WO2022078303A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
CA3195995A CA3195995A1 (en) 2020-10-18 2021-10-11 Apparatus for contract transactions
CN202180022211.3A CN115335845A (zh) 2020-10-18 2021-10-11 合约交易装置
EP21879347.9A EP4231223A4 (en) 2020-10-18 2021-10-11 CONTRACT NEGOTIATION DEVICE
AU2021359474A AU2021359474A1 (en) 2020-10-18 2021-10-11 Contract trading device
KR1020227019196A KR20230088304A (ko) 2020-10-18 2021-10-11 계약 거래 장치
JP2022529536A JP7248960B2 (ja) 2020-10-18 2021-10-11 契約取引装置
US17/871,700 US20220374986A1 (en) 2020-10-18 2022-07-22 Apparatus for contract transactions
JP2023033587A JP2023071891A (ja) 2020-10-18 2023-03-06 契約取引装置

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202011104069 2020-10-18
CN202011104069.0 2020-10-18
CN202011457356 2020-12-13
CN202011457356.X 2020-12-13
CN202110132451.0A CN112884575A (zh) 2020-10-18 2021-01-31 合约交易系统
CN202110132451.0 2021-01-31

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/871,700 Continuation US20220374986A1 (en) 2020-10-18 2022-07-22 Apparatus for contract transactions

Publications (1)

Publication Number Publication Date
WO2022078303A1 true WO2022078303A1 (zh) 2022-04-21

Family

ID=76052107

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123151 WO2022078303A1 (zh) 2020-10-18 2021-10-11 合约交易装置

Country Status (8)

Country Link
US (1) US20220374986A1 (zh)
EP (1) EP4231223A4 (zh)
JP (2) JP7248960B2 (zh)
KR (1) KR20230088304A (zh)
CN (3) CN116563018A (zh)
AU (1) AU2021359474A1 (zh)
CA (1) CA3195995A1 (zh)
WO (1) WO2022078303A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116563018A (zh) * 2020-10-18 2023-08-08 张大成 合约交易系统
CN113220697A (zh) * 2021-06-04 2021-08-06 杭州复杂美科技有限公司 针对去中心化交易所的存储方法、设备及储存介质
CN113837857A (zh) * 2021-08-13 2021-12-24 合肥维天运通信息科技股份有限公司 一种基于区块链的待结算订单期权交易方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463676A (zh) * 2014-10-21 2015-03-25 中国建设银行股份有限公司 基于移动终端的期货交易数据传输的方法和系统
CN108230147A (zh) * 2017-12-06 2018-06-29 深圳国泰安教育技术股份有限公司 一种量化投资策略的交易清算方法、系统及装置
CN108242023A (zh) * 2018-01-04 2018-07-03 众安信息技术服务有限公司 一种智能交易系统
US20200065904A1 (en) * 2015-08-28 2020-02-27 Chicago Mercantile Exchange Inc. Api framework for clearing non-deliverable interest rate swaps
CN112884575A (zh) * 2020-10-18 2021-06-01 张大成 合约交易系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019246627A1 (en) * 2018-06-22 2019-12-26 Mshift, Inc. Blockchains for facilitating decentralized fund transfer
WO2020025141A1 (en) * 2018-08-03 2020-02-06 Salamantex Gmbh Processing system for processing cryptocurrencies and method for processing cryptocurrencies
US11164250B2 (en) * 2018-08-06 2021-11-02 Inveniam Capital Partners, Inc. Stable cryptocurrency coinage
JP7098734B2 (ja) 2018-08-29 2022-07-11 double jump.tokyo株式会社 ブロックチェーンシステム、及びブロックチェーンシステムの制御方法
US20200211109A1 (en) * 2018-12-31 2020-07-02 bZeroX, LLC Methods and systems for margin lending and trading on a decentralized exchange
KR20200094061A (ko) * 2019-01-29 2020-08-06 김성일 스테이블코인을 대출해주기 위한 제어 방법 및 이를 위한 컴퓨팅 시스템
CN110555775A (zh) 2019-09-18 2019-12-10 南京第三极区块链科技有限公司 一种基于算法交易连续回购实现分红的经济系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463676A (zh) * 2014-10-21 2015-03-25 中国建设银行股份有限公司 基于移动终端的期货交易数据传输的方法和系统
US20200065904A1 (en) * 2015-08-28 2020-02-27 Chicago Mercantile Exchange Inc. Api framework for clearing non-deliverable interest rate swaps
CN108230147A (zh) * 2017-12-06 2018-06-29 深圳国泰安教育技术股份有限公司 一种量化投资策略的交易清算方法、系统及装置
CN108242023A (zh) * 2018-01-04 2018-07-03 众安信息技术服务有限公司 一种智能交易系统
CN112884575A (zh) * 2020-10-18 2021-06-01 张大成 合约交易系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4231223A4

Also Published As

Publication number Publication date
US20220374986A1 (en) 2022-11-24
AU2021359474A1 (en) 2023-05-04
CN115335845A (zh) 2022-11-11
JP2022547348A (ja) 2022-11-11
CN116563018A (zh) 2023-08-08
EP4231223A4 (en) 2024-04-03
CA3195995A1 (en) 2022-04-21
EP4231223A1 (en) 2023-08-23
JP7248960B2 (ja) 2023-03-30
CN112884575A (zh) 2021-06-01
JP2023071891A (ja) 2023-05-23
KR20230088304A (ko) 2023-06-19

Similar Documents

Publication Publication Date Title
WO2022078303A1 (zh) 合约交易装置
US8751355B2 (en) System and method for credit enhancing a debt issuance and creating a present value investable arbitrage
US8639609B2 (en) Cross margining of tri-party repo transactions
US20050080734A1 (en) Method, system, and computer program product for trading diversified credit risk derivatives
Dietrich Financial services and financial institutions: Value creation in theory and practice
AU2020200277A1 (en) Flexible-rate, financial option and method of trading
Das et al. Auction theory: A summary with applications to treasury markets
JP2019175506A (ja) 中央清算型デリバティブを用いたファイナンシング及び金利プライス・ディスカバリ方法
US20140129403A1 (en) System and method to create an investment exchange by reallocation of yields of financial securities
US20070250434A1 (en) Index Participation Notes Securitized by Options Contracts
US7769674B2 (en) Upside participation / downside protection index participation notes
US7778917B2 (en) Magnified bull and/or bear index participation notes
Svec et al. Market structure of cryptocurrencies
CN113962678A (zh) 用于控制加密货币的方法和装置
US20190026706A1 (en) Method of creating and maintaining a stable crypto-currency
US20120158614A1 (en) Executing a Leveraged Long/Short Strategy for an ETF
Brown et al. Financial futures markets
Graham Currency Futures
US20210264515A1 (en) System and method for facilitating collateralized term transactions
US20240070665A1 (en) Systems and methods for providing a structured product as a derivative-based investment vehicle using a dual pool structure with a periodic reset operating on a blockchain-based token exchange
Bhat BANK-RELATED FINANCIAL MARKETS: AN ANALYSIS
Singh et al. Derivatives
Cheung trading in treasury Bond Futures Contracts and Bonds in australia
Chen et al. Mergers and acquisitions: collar contracts
Armstrong-Taylor et al. Capital Account Liberalization

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022529536

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21879347

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3195995

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2021359474

Country of ref document: AU

Date of ref document: 20211011

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021879347

Country of ref document: EP

Effective date: 20230519