With all the allegations of Mt. Goxâs automated trading bot, which has been dubbed âWillyâ, algorithmic trading is getting a bad rap. However, using bots to trade on the financial markets is a long-established and legitimate activity â and itâs easier than anywhere in the cryptocurrency markets.
So, how do these bots work, and can they really make you money?
Trading bots are software programs that talk directly to financial exchanges, and place buy and sell orders on your behalf. They make those decisions by watching the marketâs price movements, and reacting according to a set of predefined rules.
Joseph Lee is living proof that they can make money. Lee, who founded derivatives exchange BTC.sx, based its trading engine on algorithmic trading bots that he wrote himself, and used between 2011 and 2013.
He claims to have turned a simple $100 buy order into $200,000 in profits using his private software army. While that seems astonishing, the devil is in the detail, of course: a lot of that price increase stems from the massive price increase in bitcoin late last year.
In fact, the real profits are far more marginal, he has said, so donât expect to install a plug-in and write your own rags-to-riches story.
Lee, who claims that his bots shifted 10% of the marketâs entire volume in the early days, started using his methods when the price sat at $2-$4 per bitcoin.
Leeâs first trading bot used inter-exchange arbitrage, noticing differences in prices between orders on different exchanges, and buying on some exchanges while selling on others.
âI was essentially taking liquidity from a market where there was some and injecting it into a market where there wasnât,â he explained. Back then, Mt. Gox dominated the market, and other exchanges had poor pricing because their supply of bitcoins was limited.
âSo, I bought for cheap on Mt. Gox and sold them to other markets. I bought a lot of bitcoin into tertiary markets.â
In short, he acted as a market maker on less-established exchanges.
Lee may have written his own bots, but today, the bitcoin trading bot market is far more established, with several available off the shelf.
Examples include Butter Bot, which offers an online trading bot accessed via a Google Chrome plug-in, and Haas Online, which sells a Windows-based personal trading server. CryptoTrader offers a trading bot marketplace, which allows people to develop bots using different trading strategies, and then rent them to others.
Trading by algorithm isnât new in the financial world: companies in the conventional financial markets have been using the method for years. Lee said, however, that the bitcoin exchange community is one of the first where exchanges grant customersâ computers direct market access (DMA).
This enables individual traders to have their computer access the exchangeâs electronic order books directly. Thatâs a service normally only available to brokers and investment houses in the conventional markets.
âIn the past, it was the people who had the means to pay for a $10,000-plus a year Bloomberg terminal with an API connection who could try their hand at bot trading,â Lee explained.
So, why isnât everyone doing it?
Pablo Lema, founder of Butter Bot, says that bots arenât a âfire and forgetâ technology that enable dilettantes to make money without trying:
âTrading bots require users to have at least a basic understanding of the market, need to be modified and tweaked by the user according to the predominant market conditions, and also according to their own risk profile.â
Lee started off capitalising in a highly inefficient market, where exchanges with sufficient liquidity could be counted on one hand.
The situation â while still needing improvement â is at least a little better now. Opportunities for inter-exchange arbitrage still exist, but he recommends using technical analysis bots.
But trading isnât necessarily based on technical analysis alone. Itâs difficult to program a computer to react to fundamental market conditions such as, say, rumours about the Chinese government taking a new stance on bitcoin, or the latest bitcoin-based black market trading site shutting down.
Many bots will use an exponential moving average (EMA) as a starting point. These averages track market prices over a set time span, and bots can be programmed to react to what that price does â such as moving beyond certain thresholds.
âIf you have a conservative appetite, choose to trade on a slower basis,â Lee advised. âIf you picked daily rather than hourly periods, itâs generally seen as a safe bet to get involved in the basics of trading, let alone bot trading.â
Others suggest tweaks to the EMA approach.
âIf you look to the biggest downside of an EMA then you see itâs almost always to late. And this is the part that can be improved,â said Stephan de Haas, founder of the Haas Online trading bot company, adding.
âThis improvement could be done by using a DEMA [double exponential moving average] or TEMAÂ [triple exponential moving average] instead. Those have the ability to respond faster then the EMA and their calculation is EMA-related, so it looks the same while it gives off better momentum.â
There are still other methods, he pointed out, such as relative strength indicators and regression analysis.
âThis type of analysis works perfectly for processes (in this case a price market) that are unstable,â he says, in a description which seems to sum up the roller-coaster world of bitcoin.
âUsing that data, it can make good sense of whatâs to be expected in the [â¦] future.â
However, technical analysis is a discipline, and these things are indicators, not strategies. Youâre still going to have to come up with your own set of trading rules, if youâre going to tell a bot how to make decisions.
âThe really good strategies are kept secret and closed source,â says Lema. âThatâs done by everyone: the mid [and] high level [traders] and clearing houses. Itâs hard for a trader whoâs new to understand the market.â
BTC or Bust, the creator of the Crackinâ Kraken bot found on Cryptotrader, points to a set of algorithms in a library of technical analysis algorithms known as TA-Lib, along with custom indicators developed by the bot author. These are typically combined to find buy and sell signals in the market, BTC or Bust told CoinDesk.
Bots can be programmed to be predictive or reactive, or a combination of both, using these combined algorithms, it said, explaining:
âFor example, letâs say the bitcoin price is crashing. A predictive algorithm might start buying as it expects the price will quickly rebound, while a reactive algorithm might start selling as it sees the price is dropping. Both types have their advantages and disadvantages â the challenge is to have the bot employ the correct strategy at the correct time.â
The ability to set these strategies is one of things that will stop bots from unbalancing the market. Even if lots of people use them, the theory goes that the different strategies they employ would stop them all moving the market in one direction and creating an artificial bubble â or worse, a âflash crashâ.
Is bot trading for you? Possibly. They offer a variety of advantages, not least of which is the ability to diligently trade on your behalf, 24/7, and the ability to remove all of the emotion from trading (assuming you donât barge in and terminate them when youâre feeling irrationally antsy).
On the other hand, if you donât have the financial smarts to put together a trading strategy, then bots could simply end up automating a set of poor market trading decisions.
For many, then, who believe in bitcoinâs long-term potential, the most basic trading strategy could be buy-and-hold.
Whether or not you decide to automate your trades, the basic rules apply: donât trade more than you can afford to lose, and donât go into any investment without at least a basic understanding of what youâre doing.
Disclaimer: Statements in this article should not be considered investment advice, which is best sought directly from a qualified professional.
Robot image via Shutterstock