The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. DE 102020211937.6 filed on Sep. 23, 2020, which is expressly incorporated herein by reference in its entirety.
The present invention relates to a method for controlling a cryptocurrency. The present invention also relates to a corresponding device, to a corresponding computer program as well as to a corresponding machine-readable memory medium.
Any protocol in computer networks that initiates a consensus with respect to the sequence of particular transactions is referred to as a decentralized transaction system, a transaction database or a distributed ledger. One common form of such a system is based on a blockchain and forms the basis of numerous so-called cryptocurrencies.
Advanced cryptocurrencies make use of a mechanism known as “curved bonding,” according to which a function referred to as bonding curve is algorithmically defined, which influences the price of units (tokens) of the currency as a function of its current assets. The bonding curve is implemented for this purpose within the scope of an intelligent contract (smart contract), which defines, in particular, the purchase price during the coining (minting) of a token and thus defines (in technical terminology “sets”) a buying rate of the cryptocurrency.
A computer-implemented method for managing a cryptocurrency with “curved bonding” is described in PCT Patent Application No. WO 2019/043668 A1. For this purpose, a plurality of users are provided with an in-market wallet suitable for storing linked digital tokens, which are linked in value to cryptocurrency tokens and are required to be transacted on a digital marketplace platform. A cryptocurrency reserve is provided for storing cryptocurrency tokens. When a user purchases linked digital tokens in a marketplace store, the linked digital tokens are transferred to the in-marketplace wallet and the equivalent value in the form of cryptocurrency tokens is transferred to the cryptocurrency reserve. Responsive to a user withdrawing a number of linked digital tokens from the in-marketplace wallet, the desired number of linked digital tokens are removed from the user's in-marketplace wallet and an equivalent value in the form of cryptocurrency tokens is transferred from the cryptocurrency reserve to an out-of-marketplace wallet of the user for storing cryptocurrency tokens outside of the marketplace platform.
U.S. Patent Application Publication No. US 2020/0167512 A1 describes a framework for simulating the operation of a blockchain system. The simulation may result in quantitative practical estimates of how the variation of the bonding curve or other aspects of the system design affects its performance, cost, and/or other metrics of interest. This is to enable designers and operators to use the data produced from one test or model in another, and to optimize the parameters or the protocol of the system relative to one or more target functions.
U.S. Patent Application Publication No. US 2020/0104835 A1 describes a method for assisting transactions that include preferably an intermediary, who maintains an orderbook and is specified as the buyer in all orders in the orderbook. The method includes matching buy and sell orders into a single indivisible batch order, price adjusting for the bid-ask spread and transferring the gain from the spread to the second order in the orderbook.
A generalization of bonding curves, which is intended to simplify the study of the effects of adaptations of the function process based on so-called configuration spaces, is described by ZARGHAM, Michael; SHORISH, Jamsheed; PARUCH, Krzysztof, “From Curved Bonding to Configuration Spaces,” 2019.
One alternative to “curved bonding” for reducing volatility and stabilizing cryptocurrencies is discussed in SHIBANO, Kyohei; LIN, Ruxin; MOGI, Gento, “Volatility Reducing Effect by Introducing a Price Stabilization Agent on Cryptocurrencies Trading,” in: Proceedings of the 2020 The 2nd International Conference on Blockchain Technology. 2020. pp. 85-89.
Arbitrage and pricing on the cryptocurrency market are investigated in MAKAROV, Igor; SCHOAR, Antoinette, “Trading and arbitrage in cryptocurrency markets,” Journal of Financial Economics, 2020, Vol. 135, No. 2, pp. 293-319.
The present invention provides a method for controlling a cryptocurrency, a corresponding device, a corresponding computer program as well as a corresponding memory medium.
An example embodiment according to the present invention is based on the finding that the size of an appropriate bid-ask spread changes over time. In this regard, the bid-ask spread should be as minimal as possible on the one hand since it creates additional costs for the regular investor. On the other hand, it should be large enough to prevent moderate pump-and-dump or front-running attacks. Moreover, a broader pump-and-dump attack—in connection with which the attacker causes a price hike so that due to the price movement others buy in the hope of a further increase, whereupon the attacker in turn immediately sells off its tokens—may not always be prevented by a spread appropriate for regular trading.
Based on these insights, an example embodiment of the present invention is provided for automatically adapting the bid-ask spread, which is oriented to the dynamics of the system and, for example, is based on a differential equation. In cases in which the automated market maker, which sets the rate for individual commercial transactions based on the bonding curve and the predefined bid-ask spread, is implemented directly within the chain, the complexity of the calculation proves to be decisive. Moreover, decentralized transaction systems operate de facto in discrete time steps, which in the case of a blockchain, for example, correspond to the joining of a single block. However, these intervals could sometimes be insufficient for integrating a differential equation within the chain in a numerically stable manner or for carrying out other extensive numerical calculations. Furthermore, after a non-trading phase, i.e., after a longer time span, in which no purchase or sale takes place—which is followed by an order, either the relevant equation would have to be solved within the scope of just this order and the necessary operating means (gas) would have to be provided or the part of the contract that solves the equation would have to be regularly executed. For this reason, the explicit solution of complex equations within the chain is potentially not practicable.
Against this background, one advantage of the method described below is a dynamic adaptation of the bid-ask spread using limited operating means.
Advantageous refinements of and improvements on the basic features of the present invention are possible with the measures described herein.
Exemplary embodiments of the present invention are represented in the figures and explained in greater detail below.
The two curves are shifted at the “operating point” defined by present circulation volume 7 and marked on the dashed line by the amount ΔPb and ΔPs with respect to the initial curve.
The effective value, for example, for ΔPb is made up of a variable and a fixed portion, the latter ensuring a minimum price range:
ΔPbΔPb,var+ΔPb,min Formula 1
ΔPs=ΔPs,var+ΔPs,min Formula 2
Thus, the following is applicable for bid-ask spread ΔP
ΔPmin=ΔPb,min+ΔPs,min Formula 3
and
ΔP=ΔPb+ΔPs. Formula 4
In one general formulation, a greatest possible spread would typically be applied.
Individual portions ΔPb and ΔPs may be concordantly selected, however, this is generally not required.
It is now assumed that a purchase with a particular volume (6-
Xn in this case marks the new operating point after the ordered commercial transaction.
In order to map the dynamics of the bid-ask spread, a dynamic shift ΔPs,var,add of the curve of the selling rate is introduced according to the present invention. Dot-dashed curve 3 in
ΔPs,var,add could be selected in such a way that the (selling) rate 8 set according to shifted curve 4 in point Xn coincides with (selling) rate 8 set according to original curve 3 in point X, as illustrated in
This approach, which may be readily applied to the buying rate, relates to the first aspect of an appropriate dynamic of the bid-ask spread, namely the increase of the spread during brisk trading and high volumes. A second aspect relates meanwhile to the convergence of the bid-ask spread toward its predefined minimum in the absence of trading, which in the overall view makes it possible to adequately achieve a bid-ask spread as a function of the trading volume.
For this purpose, the subtractive component ΔPs,var,sub is introduced, which reduces the bid-ask spread.
The equations for the points in time n and n+1 determined—for example, by blocks—result under the assumption that the individual portions have already been allocated in ΔPs,var,n at point in time n as follows:
ΔPs,n=ΔPs,var,n+ΔPs,min. Formula 5
The additive component for increasing the bid-ask spread as presented above and the subtractive component explained below are now calculated in such a way that the following applies:
ΔPs,n+1=ΔPs,var,n+ΔPs,var,add,n+1−ΔPs,var,sub,n+1+ΔPs,min Formula 6
with
ΔPs,var,n+1=ΔPs,var,n+ΔPs,var,add,n+1−ΔPs,var,sub,n+1. Formula 7
Subtractive component ΔPs,var,sub,n+1 may in general be a linear, logarithmic, exponential or other function of the instantaneous and previous shift ΔPs. It corresponds preferably to a discretized decay function for ΔPs. A larger bid-ask spread should result, for example, in a quantitatively larger subtractive component, the subtractive component decreasing, the closer ΔPs approximates ΔPs,min. ΔPs,var,sub could, for example, be an arbitrary function of ΔPs, ΔPs+ΔPb or of its previous course. It is selected in such a way that it may be easily calculated in the blockchain, even after the elapse of M time steps with no trade volume.
One approach for illustrating this would be the use of an exponential decay function of the following form:
with
ΔPs,var,Last=ΔPs,var,n, Formula 9
j referring to the number of ΔPs time steps elapsed prior to the update.
This is one example of an approach in which—regardless of the number of elapsed time steps without an update of ΔPs—a single function call is necessary for determining the result.
Note that, in principle, any arbitrary functional form could be used. Polynomial or other functions able to be easily calculated are recommended for a calculation within the blockchain.
ΔPs,var,Last thus relates to ΔPs,var at that time step at which ΔPs has most recently been updated. If an update is necessary—implementation-dependent, for example, with each commercial transaction or only with a purchase or sales transaction—ΔPs,var,Last is updated accordingly, at step k, for example, according to
ΔPs,var,Last=ΔPs,var,k.
It is noted once again that exponential decay represents merely one exemplary option without loss of generality.
Method 10 represented in its entirety in
This results ultimately in a numerically and, in terms of cost, efficiently calculatable, dynamic bid-ask spread, whose properties are able to be parameterized and the parameters are even able to be dynamically adapted. The parameters and functions could, for example, be selected in terms of the physical interpretability as approximations of a spring-mass system.
Method 10 may, for example, be implemented in software or in hardware or in a mixture of software and hardware, for example, in a server 20, as illustrated in the schematic representation of
| Number | Date | Country | Kind |
|---|---|---|---|
| 102020211937.6 | Sep 2020 | DE | national |