{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,28]],"date-time":"2026-02-28T09:38:07Z","timestamp":1772271487768,"version":"3.50.1"},"reference-count":31,"publisher":"PeerJ","license":[{"start":{"date-parts":[[2021,2,3]],"date-time":"2021-02-03T00:00:00Z","timestamp":1612310400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"abstract":"<jats:p>Cryptocurrencies such as Bitcoin (BTC) have seen a surge in value in the recent past and appeared as a useful investment opportunity for traders. However, their short term profitability using algorithmic trading strategies remains unanswered. In this work, we focus on the short term profitability of BTC against the euro and the yen for an eight-year period using seven trading algorithms over trading periods of length 15 and 30 days. We use the classical buy and hold (BH) as a benchmark strategy. Rather surprisingly, we found that on average, the yen is more profitable than BTC and the euro; however the answer also depends on the choice of algorithm. Reservation price algorithms result in 7.5% and 10% of average returns over 15 and 30 days respectively which is the highest for all the algorithms for the three assets. For BTC, all algorithms outperform the BH strategy. We also analyze the effect of transaction fee on the profitability of algorithms for BTC and observe that for trading period of length 15 no trading strategy is profitable for BTC. For trading period of length 30, only two strategies are profitable.<\/jats:p>","DOI":"10.7717\/peerj-cs.337","type":"journal-article","created":{"date-parts":[[2021,2,3]],"date-time":"2021-02-03T06:04:20Z","timestamp":1612332260000},"page":"e337","source":"Crossref","is-referenced-by-count":6,"title":["Using algorithmic trading to analyze short term profitability of Bitcoin"],"prefix":"10.7717","volume":"7","author":[{"given":"Iftikhar","family":"Ahmad","sequence":"first","affiliation":[{"name":"Department of Computer Science and Information Technology, University of Engineering & Technology Peshawar, Peshawar, Pakistan"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Muhammad Ovais","family":"Ahmad","sequence":"additional","affiliation":[{"name":"Department of Mathematics and Computer Science, Karlstad University, Karlstad, Sweden"},{"name":"M3S Research Unit, University of Oulu, Oulu, Finland"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mohammed A.","family":"Alqarni","sequence":"additional","affiliation":[{"name":"University of Jeddah, College of Computer Science and Engineering, Department of Software Engineering, Jeddah, Saudi Arabia"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Abdulwahab Ali","family":"Almazroi","sequence":"additional","affiliation":[{"name":"University of Jeddah, College of Computing and Information Technology at Khulais, Department of Information Technology, Jeddah, Saudi Arabia"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Muhammad Imran Khan","family":"Khalil","sequence":"additional","affiliation":[{"name":"Department of Computer Science and Information Technology, University of Engineering & Technology Peshawar, Peshawar, Pakistan"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"4443","published-online":{"date-parts":[[2021,2,3]]},"reference":[{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-1","doi-asserted-by":"crossref","first-page":"142","DOI":"10.3905\/jpm.2012.39.1.142","article-title":"Is technical analysis profitable forindividual currency traders?","volume":"39","author":"Abbey","year":"2012","journal-title":"The Journal of Portfolio Management"},{"key":"10.7717\/peerj-cs.337\/ref-2","doi-asserted-by":"crossref","first-page":"176","DOI":"10.1007\/978-3-642-32273-0_15","article-title":"An experimental analysis of online unidirectional conversion problem","volume-title":"E-commerce and web technologies","author":"Ahmad","year":"2012"},{"key":"10.7717\/peerj-cs.337\/ref-3","doi-asserted-by":"publisher","first-page":"8983590","DOI":"10.1155\/2018\/8983590","article-title":"Anticipating cryptocurrency prices using machine learning","volume":"2018","author":"Alessandretti","year":"2018","journal-title":"Complexity"},{"key":"10.7717\/peerj-cs.337\/ref-4","doi-asserted-by":"publisher","first-page":"101281","DOI":"10.1016\/j.irfa.2018.11.008","article-title":"Investing in gold Market timing or buy-and-hold?","volume":"71","author":"Baur","year":"2018","journal-title":"International Review of Financial Analysis"},{"issue":"6","key":"10.7717\/peerj-cs.337\/ref-5","doi-asserted-by":"publisher","first-page":"365","DOI":"10.1057\/jam.2015.5","article-title":"Virtual currency, tangible return: Portfolio diversification with bitcoin","volume":"16","author":"Bri\u00e8re","year":"2015","journal-title":"Journal of Asset Management"},{"issue":"5","key":"10.7717\/peerj-cs.337\/ref-6","doi-asserted-by":"crossref","first-page":"1731","DOI":"10.1111\/j.1540-6261.1992.tb04681.x","article-title":"Simple Technical Trading Rules and the Stochastic Properties of Stock Returns","volume":"47","author":"Brock","year":"1992","journal-title":"The Journal of Finance"},{"issue":"4","key":"10.7717\/peerj-cs.337\/ref-7","doi-asserted-by":"crossref","first-page":"475","DOI":"10.1108\/IJMF-09-2016-0179","article-title":"Size, trading volume, and the profitability of technical trading","volume":"13","author":"Chang","year":"2017","journal-title":"International Journal of Managerial Finance"},{"key":"10.7717\/peerj-cs.337\/ref-8","doi-asserted-by":"publisher","first-page":"273","DOI":"10.1016\/j.irfa.2016.03.010","article-title":"How profitable are FX technical trading rules?","volume":"45","author":"Coakley","year":"2016","journal-title":"International Review of Financial Analysis"},{"key":"10.7717\/peerj-cs.337\/ref-9","doi-asserted-by":"crossref","first-page":"101","DOI":"10.1007\/s00453-001-0003-0","article-title":"Optimal Search and One-Way Trading Online Algorithms","volume":"30","author":"El-Yaniv","year":"2001","journal-title":"Algorithmica"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-10","doi-asserted-by":"publisher","first-page":"30","DOI":"10.1016\/j.rfe.2013.05.004","article-title":"Predictability of the simple technical trading rules: an out-of-sample test","volume":"23","author":"Fang","year":"2014","journal-title":"Review of Financial Economics"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-11","doi-asserted-by":"publisher","first-page":"17","DOI":"10.1016\/S1566-0141(00)00017-0","article-title":"The profitability of moving average trading rules in South Asian stock markets","volume":"2","author":"Gunasekarage","year":"2001","journal-title":"Emerging Markets Review"},{"issue":"3","key":"10.7717\/peerj-cs.337\/ref-12","doi-asserted-by":"publisher","first-page":"471","DOI":"10.1016\/j.jempfin.2010.01.001","article-title":"Testing the predictive ability of technical analysis using a new stepwise test without data snooping bias","volume":"17","author":"Hsu","year":"2010","journal-title":"Journal of Empirical Finance"},{"key":"10.7717\/peerj-cs.337\/ref-13","doi-asserted-by":"publisher","first-page":"188","DOI":"10.1016\/j.jinteco.2016.03.012","article-title":"Technical trading: Is it still beating the foreign exchange market?","volume":"102","author":"Hsu","year":"2016","journal-title":"Journal of International Economics"},{"issue":"2","key":"10.7717\/peerj-cs.337\/ref-14","doi-asserted-by":"crossref","first-page":"147","DOI":"10.1007\/s13675-014-0031-6","article-title":"Optimal online k-min search","volume":"3","author":"Iqbal","year":"2015","journal-title":"EURO Journal on Computational Optimization"},{"key":"10.7717\/peerj-cs.337\/ref-15","article-title":"Can online trading algorithms beat the market? An experimental evaluation","author":"Iqbal","year":"2012"},{"issue":"6","key":"10.7717\/peerj-cs.337\/ref-16","doi-asserted-by":"publisher","first-page":"582","DOI":"10.14569\/IJACSA.2019.0100675","article-title":"Competitive algorithms for online conversion problem with interrelated prices","volume":"10","author":"Iqbal","year":"2019","journal-title":"International Journal of Advanced Computer Science and Applications"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-17","doi-asserted-by":"publisher","first-page":"191","DOI":"10.1111\/irfi.12161","article-title":"Technical Analysis Profitability Without Data Snooping Bias: Evidence from Chinese Stock Market","volume":"19","author":"Jiang","year":"2019","journal-title":"International Review of Finance"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-18","doi-asserted-by":"crossref","first-page":"78","DOI":"10.1137\/S0895480196307445","article-title":"On-line difference maximization","volume":"12","author":"Kao","year":"1999","journal-title":"SIAM Journal on Discrete Mathematics"},{"issue":"4","key":"10.7717\/peerj-cs.337\/ref-19","doi-asserted-by":"crossref","first-page":"936","DOI":"10.1257\/jel.45.4.936","article-title":"The obstinate passion of foreign exchange professionals: technical analysis","volume":"45","author":"Menkhoff","year":"2007","journal-title":"Journal of Economic Literature"},{"issue":"2","key":"10.7717\/peerj-cs.337\/ref-20","doi-asserted-by":"crossref","first-page":"87","DOI":"10.1016\/j.sorms.2014.08.001","article-title":"Online algorithms for conversion problems: a survey","volume":"19","author":"Mohr","year":"2014","journal-title":"Surveys in Operations Research and Management Science"},{"issue":"6","key":"10.7717\/peerj-cs.337\/ref-21","doi-asserted-by":"crossref","first-page":"147","DOI":"10.1016\/j.ijcip.2013.08.002","article-title":"The promise and perils of digital currencies","volume":"3","author":"Moore","year":"2013","journal-title":"International Journal of Critical Infrastructure Protection"},{"key":"10.7717\/peerj-cs.337\/ref-22","article-title":"Bitcoin: a peer-to-peer electronic cash system","author":"Nakamoto","year":"2008"},{"key":"10.7717\/peerj-cs.337\/ref-23","article-title":"Bitcoin and cryptocurrency technologies: a comprehensive introduction","author":"Narayanan","year":"2016"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-24","first-page":"106","article-title":"Factors affecting Bitcoin price in the cryptocurrency market: an empirical study","volume":"13","author":"Nguyen","year":"2018","journal-title":"International Journal of Business & Economics Perspectives"},{"key":"10.7717\/peerj-cs.337\/ref-25","doi-asserted-by":"crossref","first-page":"519","DOI":"10.1016\/j.endm.2010.05.066","article-title":"Experimental analysis of an online trading algorithm","volume":"36","author":"Schmidt","year":"2010","journal-title":"Electronic Notes in Discrete Mathematics"},{"key":"10.7717\/peerj-cs.337\/ref-26","doi-asserted-by":"publisher","first-page":"465","DOI":"10.1016\/j.cie.2018.03.034","article-title":"Optimal solutions for the online time series search and one-way trading problem with interrelated prices and a profit function","volume":"119","author":"Schroeder","year":"2018","journal-title":"Computers & Industrial Engineering"},{"key":"10.7717\/peerj-cs.337\/ref-27","doi-asserted-by":"publisher","first-page":"168","DOI":"10.1016\/j.iref.2017.10.012","article-title":"Does the predictive power of variable moving average rules vanish over time and can we explain such tendencies?","volume":"53","author":"Strobel","year":"2018","journal-title":"International Review of Economics & Finance"},{"key":"10.7717\/peerj-cs.337\/ref-28","doi-asserted-by":"publisher","first-page":"e279","DOI":"10.7717\/peerj-cs.279","article-title":"Forecasting Bitcoin closing price series using linear regression and neural networks models","volume":"6","author":"Uras","year":"2020","journal-title":"PeerJ Computer Science"},{"issue":"1","key":"10.7717\/peerj-cs.337\/ref-29","doi-asserted-by":"publisher","first-page":"e0169556","DOI":"10.1371\/journal.pone.0177659","article-title":"Buzz factor or innovation potential: What explains cryptocurrencies returns?","volume":"12","author":"Wang","year":"2017","journal-title":"PLOS ONE"},{"key":"10.7717\/peerj-cs.337\/ref-30","doi-asserted-by":"publisher","first-page":"161","DOI":"10.1007\/978-3-319-30315-4_14","article-title":"Application of Machine Learning Algorithms for Bitcoin Automated Trading","volume-title":"Machine intelligence and big data in industry","author":"\u017bbikowski","year":"2016"},{"key":"10.7717\/peerj-cs.337\/ref-31","doi-asserted-by":"publisher","first-page":"75","DOI":"10.1016\/j.physa.2015.07.032","article-title":"Profitability of simple technical trading rules of Chinese stock exchange indexes","volume":"439","author":"Zhu","year":"2015","journal-title":"Physica A: Statistical Mechanics and its Applications"}],"container-title":["PeerJ Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/peerj.com\/articles\/cs-337.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/peerj.com\/articles\/cs-337.xml","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/peerj.com\/articles\/cs-337.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/peerj.com\/articles\/cs-337.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,2,3]],"date-time":"2021-02-03T06:04:32Z","timestamp":1612332272000},"score":1,"resource":{"primary":{"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/peerj.com\/articles\/cs-337"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,2,3]]},"references-count":31,"alternative-id":["10.7717\/peerj-cs.337"],"URL":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/doi.org\/10.7717\/peerj-cs.337","archive":["CLOCKSS","LOCKSS","Portico"],"relation":{"has-review":[{"id-type":"doi","id":"10.7287\/peerj-cs.337v0.2\/reviews\/2","asserted-by":"object"},{"id-type":"doi","id":"10.7287\/peerj-cs.337v0.2\/reviews\/1","asserted-by":"object"},{"id-type":"doi","id":"10.7287\/peerj-cs.337v0.1\/reviews\/2","asserted-by":"object"},{"id-type":"doi","id":"10.7287\/peerj-cs.337v0.1\/reviews\/1","asserted-by":"object"}]},"ISSN":["2376-5992"],"issn-type":[{"value":"2376-5992","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,2,3]]},"article-number":"e337"}}