1 Introduction

With the development and extensive application of blockchain technology, cryptocurrencies represented by bitcoin are also gradually known. Figure 1 is a trend graph of the frequency with which bitcoin was retrieved as a keyword in Google [1]. Bitcoin’s attention has been increasing since 2016. Although people and government have different attitudes toward cryptocurrency, and different kinds of virtual currency prices fluctuate greatly, some investors’ enthusiasm for investing in cryptocurrency remains unabated.

Fig. 1.
figure 1

Google trends of Bitcoin

Different from the traditional currency issuance strategy, the addition of virtual currency requires the miners to contribute computing resources to compete for additional currency per unit of time. This process is called mining, and professional mining tools are called miners. Mining maintains the issuance and circulation of the entire virtual currency. As the virtual currency prices have risen, mining has turned from the small profits of the past to a business that can be turned over, and more and more people are starting to purchase large quantities of miners for professional mining. Naturally, the miner’s price and even the price of the video card have also skyrocketed.

Mining [2] is the process of a node that participating in maintaining the cryptocurrency network obtains a certain amount of new cryptocurrencies through assisting in generating new blocks. Mining is also a very hot profitable industry. From ordinary CPUs, GPUs, and FPGAs, to ASIC miners, and to mining pools formed by numerous miners. In just a few years, the technology of miners has gone through the evolution of integrated circuit technology over the past decades. At present, mining is mainly concentrated in China. Driven by huge profits, the Chinese miner’s market has developed rapidly and is favored by investors. This paper, through the follow-up investigation of the miner’s market, the pricing strategy of the miner’s market was discovered. That is, the current miner’s price is determined by the price of the previous cryptocurrency. The results of this study have important guiding significance for investors to purchase miners and avoid risks.

2 Research Background

On October 31, 2008, Satoshi Nakamoto first proposed the concept of bitcoin in Bitcoin: A Peer-to-Peer Electronic Cash System [3]. Bitcoin is a cryptocurrency and worldwide payment system. It is the first decentralized digital currency, as the system works without a central bank or single administrator. An alternative, the numerous among of other cryptocurrencies have been created. In cryptocurrency, miner is a computer or group of computers searching for cryptocurrency. They constantly verify transactions and as an incentive, they get rewarded with cryptocurrency.

2.1 Bitcoin

Researchers have conducted in-depth research on whether or not bitcoin has monetary functions and obtained many valuable results. In 2015, Kristoufek [4] used the continuous wavelet framework to study the evolution of bitcoin in both time and frequency domains, showing that bitcoin formed a unique asset with standard financial assets and speculative assets. In 2016, Bouri [5] used the dynamic conditional correlation model to analyze the relationship between bitcoin and major world equity indices, bonds, oil, gold, general commodity indices and US dollars. From the perspective of research assets, bitcoin can be seen as a digital currency. In 2017, Indera [6] proposed a Multi-Layer Perceptron based Non-Linear Autoregressive model. Use bitcoin’s historical price trend to predict the future price of bitcoin and achieve better results.

2.2 Cryptocurrency

A cryptocurrency is a digital asset designed to work as a medium of commutation that uses cryptanalytics to secure its transactions, to control the introduction of additional unit of measurement, and to verify the transfer of assets. Cryptocurrency is based on cryptography and network P2P technology, generated by computer programs, and distributed and circulated on the Internet. The cryptocurrency [7] has received increasing attention from the media, the public, scholars and the government. In addition to research from computer science, cryptography, etc., more and more scholars have begun to pay attention to the economic analysis of cryptocurrency, its currency or asset characteristic, and the innovation of cryptocurrency to traditional currency theory and payment methods.

In 2013, Ahamad [8] criticized the legal currency issued by the government, gave a detailed introduction to various virtual currencies, and proposed a feasible scheme to replace the legal currency with virtual currency. Recently, the perspective of the central bank, the design of cryptocurrency should not only consider protecting people’s privacy, but also need to pay attention to social security and social order. In short, cryptocurrency is still in its early stages of development, and many new ideas have emerged. However, there are obvious argument that guarantee deep research.

2.3 Miner

Mining is the process of confirming the transactions that occur in the bitcoin system over a period of time and recording the formation of new blocks on the blockchain. Bitcoin may be obtained through mining, with objective benefits. In 2016, Bouiyour [9] made a quantitative analysis of the sharp declination in price of bitcoin from 2015 to mid-2016 using Asymmetric-power GARCH. Researchers showed that the bitcoin market was very immature and had an impact on price fluctuations in the miner’s market. In 2015, Hayes [10] analyzed 66 virtual currencies and conducted regression analysis from the three dimensions: the difficulty in mining for coins, the rate of unit production and the cryptographic algorithm. Researches showed that bitcoin production was similar to the highly competitive commodity market. Theoretically, miners will always produce until their marginal cost is equal to their marginal turnout. Anything that helps to reducing bitcoin’s production costs will have a negative impact on its price, such as increasing the energy efficiency of mining hardware or lowering global electricity prices. At the same time, the increased computing power of the global mining network will increase the difficulty of mining and will have a positive impact on prices.

Hayes’s researchers showed that bitcoin’s price was related to miner’s hashrate. On this basis, this paper used Granger causality relation test and distributed lag model, quantitatively expounded the impact of bitcoin price changes on the changes of hashrate.

3 The Relationship Between Hashrate and Price

This section examines the relationship between hash rate and price. The information of bitcoin from 2016.01.01 to 2018.03.31 is obtained from bitinfocharts.com, and the average price and hash rate are calculated monthly. Figure 2 shows that prices and hash rates have risen in synchrony. So, is there a stable relationship between them? Is there a causal relationship with “who causes changes”? The following applies the principles of econometrics to answer this question.

Fig. 2.
figure 2

The trend of Bitcoin’s price and hashrate

3.1 Unit Root Test

In econometric theory, finding the relationship between variables requires a stability test. If it is a stationary time series given that a classical model such as a regression model can be constructed; if it is not a stationary time series, a stationary series is constructed by difference, and then a cointegration relationship between variables is established. Unit root test [11] is often used to verify the smoothness of the variables.

Using Eviews 9.0 [12], the unit root test results for the hash rate series is shown in Fig. 3. Prob = 1.0000 > 0.05 accepts the null hypothesis. That is, the hash rate series has a given unit root and is an unstable series.

Fig. 3.
figure 3

The results of unit root test for hashrate

If a time series is smoothed by a difference, the original series is said to be integrated of order 1 and denoted as I(1). The differential operation and unit root verification are performed on the sequence of hashrate. Studies have shown that the hashrate series is not integrated of order 1 but integrated of order 2. Prob = 0.0028 < 0.05, rejecting the null hypothesis that the second-order difference of the hashrate series is a stationary sequence (Fig. 4).

Fig. 4.
figure 4

The results of unit root test for hashrate I(2)

A unit root test of the price series makes it easy to know that the price series is not a sequence of I(0) and I(1). In Fig. 5, with Prob = 0.0029 < 0.05, the price series is integrated of order 2.

Fig. 5.
figure 5

The results of unit root test for price

3.2 Cointegration Test

The cointegration test is a causality test for non-stationary sequences. If the linear combination of non-stationary sequences is stationary, this combination reflects the long-term stable proportional relationship between variables.

Both the hash rate series and the price series are integrated of order 2 and denoted as I(2), and the two-variable Engle-Granger test is used to study the assistance relationships between variables. The OLS (Ordinary Least Square) regression was performed on the second-order differential of the hash rate and price to obtain the residual sequence denoted as e. The ADF (Augmented Dickey-Full) test result is shown in Fig. 6.

Fig. 6.
figure 6

The results of ADF test for residual sequence

The t-statistic of the residual sequence is −4.716343, Prob = 0.0010 < 0.05, and the residual sequence of the regression model is a stationary sequence, indicating that there is a cointegration relationship between the hash rate and price.

3.3 Granger Causal Relation Test

Clive W. J. Granger, winner of the 2003 Nobel Prize in Economics, proposed Granger’s causality relation test. This method is suitable for econometric variables prediction. Granger causality relation refers to the previous changes in variable X that helps to explain the future changes of variable Y.

Cointegration results indicate that there is a long-term equilibrium relationship among variables. In the end, it is “who causes changes”? Granular causality validation can be used for integrated of the same order.

In Fig. 7, Prob = 0.105 > 0.05, receiving the null hypothesis. In this Case, the change in hash rate does not Granger cause for price change. Prob = 0.0005 < 0.05, rejecting the null hypothesis. It shows that the change of the price in the previous period helps to explain the change of hashrate in the future. That is to say, the change in price is the Granger cause of change in hashrate.

Fig. 7.
figure 7

The results of Granger Causality Tests

In the next section, we use the price as an independent variable and the hashrate as a dependent variable to establish a distributed lag model to reveal the Granger causality between the hashrate and the price.

4 Distributed Lag Model

4.1 Model Introduction

In real life, there is widespread time lag effect. A certain variable is not only affected by various factors in current period, but also affected by various factors in the past period or even its own past value. We call this kind of hysteretic variable in the past period a lagged variable. Models with lagged variables are called lagged variable models. The general form of the model [13] is:

$$ {\text{Y}}_{t} = \alpha + \beta_{0} X_{t} + \beta_{1} X_{t - 1} + \cdots + \beta_{p} X_{t - p} + u_{t} \quad \left( {t = p + 1,p + 2, \cdots ,n} \right) $$
(4.1)

Equation (4.1) is called the distributed lag model, which shows the influence of the explanatory variable X over time on the explained variable Y. Where \( \alpha \) is a constant term and \( u_{t} \) is the random interference. The coefficient \( \beta_{i} \) reflects the different degree of influence of the current value of the explanatory variable and the lag value of each period on the explained variable, also known as the multiplier.

p is the lag time interval and is called the lag period. If the length of the lag period is limited, the model is called a finite distributed lag model; if the lag period is infinite, the model is called an infinite distributed lag model.

4.2 Koyck Method

For the infinite distributed lag model [13],

$$ {\text{Y}}_{t} = \alpha + \sum\nolimits_{i = 0}^{\infty } {\beta_{i} X_{t - i} + u_{t} } $$
(4.2)

The degree of influence of the lag explanatory variable on the explained variable is gradually weakened with the time interval. The Koyck method assumes that the decay is in decreasing geometric order, that is, the coefficient of the lag explanatory variable \( \beta_{i} \) satisfies (4.3):

$$ \beta_{i} = \beta \gamma^{i} ,\;0 < \gamma < 1\quad \left( {i = 0,1,2, \cdots } \right) $$
(4.3)

\( \gamma \) is called distributed lag decay rate and \( 1 - \gamma \) is called speed of adjustment. Substituting (4.3) into (4.2) gives:

$$ {\text{Y}}_{t} = \alpha + \beta \left( {X_{t} + \gamma X_{t - 1} + \cdots + \gamma^{p} X_{t - 1 - p} + \cdots } \right) + u_{t} $$
(4.4)

Equation (4.4) is called the Koyck distributed lag model.

$$ {\text{Y}}_{t - 1} = \alpha + \beta \left( {X_{t - 1} + \gamma X_{t - 2} + \cdots + \gamma^{p} X_{t - 1 - p} + \cdots } \right) + u_{t - 1} $$
(4.5)

(4.4) minus the result of \( \upgamma \) multiply by (4.5):

$$ {\text{Y}}_{t} - \gamma {\text{Y}}_{t - 1} = \alpha (1 - \gamma ) + \beta X_{t} + \left( {u_{t} - \gamma u_{t - 1} } \right) $$
(4.6)

After finishing:

$$ {\text{Y}}_{t} = \alpha (1 - \gamma ) + \beta X_{t} + \gamma {\text{Y}}_{t - 1} + v_{t} ,\quad v_{t} = \left( {u_{t} - \gamma u_{t - 1} } \right) $$
(4.7)

From Eq. (4.7), an infinitely distributed lag model can be transformed into an autoregressive model using the Koyck transform. The larger the \( \gamma \) value, the more prolonged effect of lagged variables.

4.3 Model Solving

With 9.0, the Eq. (4.7) is solved by using the OLS method. The time series is constructed from the daily price and hash rate of bitcoin from 2016.01.01 to 2018.03.31. The price unit is $ and the unit of hash rate is \( 10^{16} \,{\text{hash}}/{\text{s}} \).

Figure 8 shows that Adjusted R-squared = 0.985656, DW = 2.5245, p-values for both t-test and F-test are less than 0.05, and given that the model is significant. Substituting the coefficient into (4.7) gives:

Fig. 8.
figure 8

The results of Least Squares

$$ {\text{Y}}_{t} = 4.3655 + 0.0043X_{t} + 0.9740{\text{Y}}_{t - 1} $$
(4.8)

Then, \( \beta = 0.0043,\,\gamma = 0.9740,\,\alpha = 167.9038 \). Substituting the values of \( \beta \) and \( \gamma \) into (4.3) obtained:

$$ {\text{Y}}_{t} = 167.9038 + 0.0043X_{t} + 0.0042X_{t - 1} + 0.0041X_{t - 2} + 0.0040X_{t - 3} + \cdots $$
(4.9)

4.4 Research Results

In Eq. (4.1), \( \sum\nolimits_{i = 0}^{p} {\beta_{i} } \) is called the long-term or equilibrium multiplier. It indicates that when X changes a unit, the total influence of Y on average is caused by lagging effect.

In Eq. (4.9), \( \sum\nolimits_{i = 0}^{\infty } {\beta_{i} } = \sum\nolimits_{i = 0}^{\infty } {\beta \gamma^{i} = \beta /(1 - \gamma ) < \infty } \). So what should be the lag period? The distributed lag model gives the definition of the average lag period s:

$$ {\text{s}} = \left( {\sum\nolimits_{{{\text{i}} = 0}}^{\infty } {({\text{i}} + 1)\upbeta_{\text{i}} } } \right)/\left( {\sum\nolimits_{{{\text{i}} = 0}}^{\infty } {\upbeta_{\text{i}} } } \right) $$
(4.10)

The average lag period is defined as the weighted average of all lags. According to the Granger causal analysis, the lag period of early price change affects the future hashrate change is one month. \( {\text{S}} = 13.92 \) is obtained by replacing the value of \( \beta_{i} \) into Eq. (4.10). Which is given that the price modification is the Granger cause of the hash rate change, and the norm lag period of time is about fourteen days.

5 The Pricing Strategy

Bitmain [14] is a Chinese IC design company established in early 2013. It specializes in research, development, and sales of bitcoin-specific mining chips and miner. The AntMiner S9 [15] is a highly available and low power consumption mining equipment developed by Bitmain. The BM1387 chip used by S9 is bitcoin’s fifth-generation bitcoin miner chip independently developed by Bitmain. It is by far the lowest power chip in the history of bitcoin chips. For a given type of miner, before they leave the factory, its rated hash rate and power are fixed. The AntMiner S9 has a rated hashrate of 11.85 TH/s (1TH/s equals \( 10^{12} \,{\text{hash}}/{\text{s}} \)) and the power consumption at the wall is 1172 W.

As we derived, since the modification in bitcoin price is a Granger cause of change in hashrate, the average lag period is 14 days. At the same time, the rated hashrate of each mining machine is fixed. Therefore, the price change of the mining machine is caused by the price change of bitcoin. The same lag period is 14 days. In other words, the price of bitcoin 14 days ago is in one-to-one correspondence with the price of the current miner.

Compared with bitcoin prices, miner prices are lagging behind. The main selling of the miner market is the miner futures. In other words, the future miner’s price is determined by the price of bit coin in the previous period. The market phenomenon is consistent with our findings.

5.1 Survey and Forecast

On February 28, 2018, the survey results of the Shenzhen Huaqiangbei miner’s market revealed that the AntMiner S9 had a futures price of 3018.03 dollars. Bitcoin prices and tracking surveys of miner’s prices are shown in the Table 1 below:

Table 1. The price of bitcoin and miner futures

On April 1, 2018, the price of bitcoin was 6,826 dollars. Using the linear regression model, the forecasted miner’s futures price is 1432.77 dollars.

Figure 9 is the scatter plot of bitcoin’s price and price of miner futures, and the bitcoin’s price is expressed by abscissa, and the price of miner futures is expressed by ordinate. The straight line in Fig. 9 is linear regression line. When the bitcoin’s price is 6826 dollars, the price of the miner futures will be 1432.77 dollars.

Fig. 9.
figure 9

The linear regression model between bitcoin’s price and the price of miner futures

5.2 Verification of Results

According to the inquiry from the official website of Bitmain, the latest futures price of the AntMiner S9 is 1509.01 dollars. In Fig. 10, the broken line represents the prediction price of the miner futures, and the diamond square dot represents the actual price of the current miner futures.

Fig. 10.
figure 10

The price trend chart of miner futures

$$ {\text{the}}\;{\text{error}}\;{\text{rate}} = \frac{{\left| {{\text{predicted}}\;{\text{value}} - {\text{actual}}\;{\text{value }}} \right|}}{{{\text{actual }}\;{\text{value}}}} \times 100\% $$
(4.11)

In April 1st, the prediction price of AntMiner S9 is 1432.77 dollars, and the actual price is 1509.01 dollars. In the form of (4.11), the error rate is 5.07%.

The error rate is small, which indicates that our distributed lag model is scientific and reasonable. We can predict the price of future miners based on the early price of cryptocurrency.

From the perspective of economics, the cryptocurrency miner can be used to mine and bring huge gains, which is the value of the cryptocurrency miner. In the cryptocurrency miner market, value determines prices, prices are affected by supply and demand, and they fluctuate around value. When supply is constant and demand increases, prices will rise; when demand does not change and supply increases, prices will fall.

For miner’s suppliers, the goal of pricing strategy is to obtain profits and to raise the market share. Profit is the most important reference of funds for suppliers. When suppliers have a dominant position in the product market place, they will object to maximize net gains. This pricing strategy is based on a comprehensive consideration of various factors within a certain period of time. Based on the maximum difference that equals the total revenue minus the total cost, the price of a unified product is determined to obtain the maximum profit. The maximum profit is the maximum total profit that the supplier may be prepared to realize in a certain period of time, not the highest price of the unit product. The maximum price may not be able to obtain the maximum profit.

For a given miner, its profit and rate of return are determined by the price of the cryptocurrency. In essence, the price of miners is based on the price of the previous cryptocurrency, and the lag period is 14 days. This is the pricing strategy for the miner’s market.

For investors, they are the consumers of the miner’s market. Investors are also buying miners for maximum profit. The profits made by investors are affected by both the price of the cryptocurrency and miner. The higher the price of the cryptocurrency, the shorter the return period of the investment, the higher the profit and the lower risk; the higher the price of the miner, the longer the return period of the investment, the lower the profit and the greater risk. This paper studies the law of cryptocurrency price that determines the price of miners. Based on this strategy, investors can more accurately determine the future price trend of the miner’s market, so as to effectively avoid investment risks, and make the investment’s profits tend to maximize.

5.3 Conclusion

The current cryptocurrency price determines the future price of miners, and the lag period is 14 days, which is a common pricing strategy for the cryptocurrency miner’s market.