9. Why cryptocurrencies is so attractive for wannabe traders?
● Huge price fluctuations
● No entrance fee
● No regulations
● No limits
● Market always goes up(despite some bloody periods)
10. Day trading
Pros
● It’s fun
● Fast $$$
Cons
● Daily commitment
● Discipline
● Skills
● Human factors
● MANUAL LABOR
14. Trading platforms offers API
● Bittrex
● Bitfinex
● Kraken
● Binance
● Bitstamp
● ...
● Buy and Sell
● Withdraw
● Get market data
● Websockets for
LIVE data
15. What bot can do for you?
● High-frequency trading
● Arbitrage
● Scalping
● Swing trading
● Stop-loss protection
● Indicating
● Alerting
16. Existing open source solutions
Bot Technology Notes
Gekko JavaScript, Node Not suitable for
high-frequency trading
Bowhead PHP, Laravel Spaghetti monster
Lack of backtesting tools
ccxt JavaScript, Node
(generates Python and
PHP)
Supports 98 APIs
Missing trading strategies
freqtrade Python Found yesterday
No backtesting
17. Existing paid solutions
Bot Price Notes
MetaTrader 4 Has marketplace of robots
and indicators
Powerful, but uses invented
programming language.
Has bunch of free bots to
use.
Gunbot Starting 0.075 BTC It works.
CryptoTrader Starting 0.0016 BTC /
month
Cheap, hard to make it work
to generate expected profit.
BTC Robot Starting 9.99 $ / month Cheap, hard to make it work
to generate expected profit.
60 days back guarantee
18.
19. Plan
● Select platform
● Collect data
● Trading strategy
● Implementation
● Backtesting
● Production
21. $ git clone https://github.com/joeldg/bowhead
$ vi .env
$ mysql .. < app/Scripts/DBdump.sql
$ php artisan bowhead:websocket_bitfinex
Collect data
What we need:
● OHLC data
○ Open
○ High
○ Low
○ Close
● Volume data
For given time frame:
● 1 min
● 5 min
● 15 min
● 30 min
● 1 h
22. Collect data
$ git clone https://github.com/joeldg/bowhead
$ vi .env
$ mysql .. < app/Scripts/DBdump.sql
$ php artisan bowhead:websocket_bitfinex
23.
24. Collect data 24/7
We need a server! ● Digital Ocean 10 $ / m
● Centos 7
● Ansible playbook:
○ PHP 7.2 !
○ mysql
○ supervisord
○ cronjob to periodically restart
services
25. Strategy - what should my bot do?
● Buy low, sell high
● React to all ups and downs
● Do it 24/7
52. More TA tools
● Average Directional Index - ADX
● Relative Strength Index - RSI
● Money Flow Index - MFI
● Moving Average Convergence Divergence -
MACD
58. Cryptocurrency market is unpredictable
Technical analysis tools and various patterns - what works on stock
markets, regular currencies trading, not necessarily will work with cryptos.
61. Backtesting
Technical analysis tools and various patterns - what works on stock
markets, regular currencies trading, not necessarily will work with cryptos.
And once again - market trend must be taken to account.