A Practical and Economical Bayesian Approach to Gas Price Prediction
ChihYun Chuang, TingFang Lee
发表信息:
In: Awan, I., Benbernou, S., Younas, M., Aleksy, M. (eds) The International Conference on Deep Learning, Big Data and Blockchain (Deep-BDB 2021). Deep-BDB 2021. Lecture Notes in Networks and Systems, vol 309. Springer, Cham
在以太坊网络上,确定一个既能确保交易在用户要求的时间线内被打包进区块,又不会支付过高的gas price是具有挑战性的。解决此问题的一种方法是利用历史区块数据来推荐gas price的gas price预言机。然而,当交易量迅速增加时,这些预言机往往会低估或高估价格。在本文中,我们展示了高斯过程模型如何在交易量增加时预测即将到来的区块中最低价格的分布。这是有效的,因为这些过程考虑了区块之间的时间相关性。我们使用高斯过程模型对历史区块数据进行了实证分析,并将其性能与GasStation-Express和Geth gas price预言机进行了比较。结果表明,当交易量波动很大时,高斯过程模型提供了更好的估计。此外,我们证明了通过使用经过适当预处理的较小训练样本量,可以改进GasStation-Express和Geth。基于实证分析的结果,我们推荐了一种由高斯过程和GasStation-Express组成的混合模型gas price预言机。该预言机提供了效率、准确性和更好的成本。
英文摘要:
On the Ethereum network, it is challenging to determine a gas price that ensures a transaction will be included in a block within a user's required timeline without overpaying. One way of addressing this problem is through the use of gas price oracles that utilize historical block data to recommend gas prices. However, when transaction volumes increase rapidly, these oracles often underestimate or overestimate the price. In this paper, we demonstrate how Gaussian process models can predict the distribution of the minimum price in an upcoming block when transaction volumes are increasing. This is effective because these processes account for time correlations between blocks. We performed an empirical analysis using the Gaussian process model on historical block data and compared the performance with GasStation-Express and Geth gas price oracles. The results suggest that when transactions volumes fluctuate greatly, the Gaussian process model offers a better estimation. Further, we demonstrated that GasStation-Express and Geth can be improved upon by using a smaller training sample size which is properly pre-processed. Based on the results of empirical analysis, we recommended a gas price oracle made up of a hybrid model consisting of both the Gaussian process and GasStation-Express. This oracle provides efficiency, accuracy, and better cost.
Bayesian estimation of trend components within Markovian regime-switching models for wholesale electricity prices: an application to the South Australian wholesale electricity market
在本文中,我们讨论了贝叶斯回归方法及其预测比特币(一种最近流行的虚拟加密货币)价格变化的有效性。贝叶斯回归是指利用经验数据作为代理进行贝叶斯推理。我们利用贝叶斯回归的所谓的“潜在源模型”。Chen,Nikolov and Shah(2013)和Bresler,Chen and Shah(2014)介绍并讨论了“潜在源模型”的贝叶斯回归,用于二进制分类。他们建立了二元分类设置方法的理论和经验功效。在本文中,我们利用它来预测真实价值的数量,即比特币的价格。基于这种价格预测方法,我们设计了一个简单的比特币交易策略。该策略能够在不到60天的时间内对实际数据跟踪运行时,投资几乎翻了一番。
Prediction Markets as Bayesian Inverse Problems: Uncertainty Quantification, Identifiability, and Information Gain from Price-Volume Histories under Latent Types
Testing for Endogeneity: A Moment-Based Bayesian Approach
Federal Reserve Bank of Philadelphia(费城联邦储备银行);CREST, CNRS, ENSAE, Ecole Polytechnique, Institut Polytechnique de Paris(法国国家科学研究中心、国立统计与行政学院、巴黎综合理工学院、巴黎理工学院);Olin Business School, Washington University in St. Louis(华盛顿大学圣路易斯分校奥林商学院)