In part one of "How to Build a Simple Bitcoin Trading Bot," we covered what algorithmic trading is and how to recognize and analyze market inefficiencies.
In part two of this series, we will cover the six steps to developing an algorithm.
We first need to find out what kind of market we will be trading - i.e., a bear or bull market.
Trading the Bitcoin to StableUSD market will allow us to both long and short because when we are long we have our portfolio in Bitcoin, and when we are short, we have our portfolio in StableUSD.2.
There are multiple platforms that allow you to integrate your algorithm into backtesting data and use a simple programming language to create it.
We want to test the Bitcoin vs. USD market for the past five years.
Since StableUSD has a 1:1 ratio with the dollar, its price will remain $1 and so we can use the Bitcoin vs. USD market as a proxy.
You can also look at how the algorithm would have performed against the market as a whole.
As it is the most important step in determining the usability of the algorithm, it also gives you an idea of how the algorithm would perform if used in the present.
The fun of algorithmic trading is found in the challenge of always adapting to the market.
How to Build a Simple Bitcoin Trading Bot, Part 2
Publié le Jun 28, 2018
by Cryptoslate | Publié le Coinage
Coinage
Mentionné dans cet article
Nouvelles récentes
Voir tout
First Mover: What's Next for Bitcoin as Wall Street Gets Vaccine Booster
Bitcoin was higher for a second day, staying in a range of between roughly $15,200 and $15,600, as news of progress in developing a coronavirus vaccine appeared to touch off a rally in U.S. stocks.
Market Wrap: Bitcoin Fails to Break $15.9K; Over 50K ETH Staked on Eth 2.0 Contract
Bitcoin gained Wednesday while Ethereum 2.0 staking has been ramping up.
Citibank Analyst Says Bitcoin Could Pass $300K by December 2021
A senior analyst at U.S.-based financial giant Citibank has penned a report drawing on similarities between the 1970s gold market and bitcoin.
Blockchain Bites: Data Unions. Hard Forks. And One Citi Analyst's Case for $300K BTC.
A Citibank managing director thinks bitcoin could hit $318,000.