Gekko - Bitcoin Trading & Backtesting Bot

FOAM

Newbie
Joined
Jan 5, 2017
Messages
35
Reaction score
13
I've recently been thinking about getting into trading cryptocurrency on exchange markets, I have to admit I don't know much about the subject but I'm very interested to learn & attempt to make a dollar outta fifteen cent. Cryptocurrency has been getting some major exposure lately & I believe its a good time to start investing into it. Being the nerd I am with Raspberry Pi's I decided to purchase a Raspberry Pi Zero W that will be dedicated to CryptoCurrency, used to mine different cryptocurrencies & even auto-trade for me 24/7. I came across this very interesting open source project on github named Gekko, with a surprisingly large following on githubs site. Gekko is completely free to use, anyway let's get into the details...

8c790a86-1d45-11e7-99ae-e7e551cb40cb.png
What is Gekko?
Gekko is a Bitcoin TA trading and backtesting platform that connects to popular Bitcoin exchanges. It is written in javascript and runs on http://nodejs.org/.

What Gekko is NOT
  • A trading platform for human day traders (although it can be used to support human traders)
  • A High frequency trading bot designed to operate on < minute resolution
  • A fully automated trading bot that you turn on and will generate profit without you having to do anything
  • An exchange
  • An arbitrage bot
What are Gekko's Main Features?
  • Automated trading (trade bot)
  • Paper trading (for TA strategies)
  • https://gekko.wizb.it/docs/features/backtesting.html (for TA strategies)
  • Tool for systematic trading
  • Low level market library
    • Monitor the live market
    • Import historical market data
    • Broadcast market data over pubsub messaging systems
  • Web interface as well as a commandline interface
TA strategies
Gekko comes with some https://gekko.wizb.it/docs/strategies/example_strategies.html (which implement a single indicator). But with some basic javascript you can https://gekko.wizb.it/docs/strategies/creating_a_strategy.html. You can use over 130 indicators to create your perfect prediction model (https://gekko.wizb.it/docs/strategies/talib_indicators.html of supported indicators). Why don't you combine Bollinger Bands, CCI and MACD with a STOCHRSI indicator?

Automated Trading platform

Gekko can watch the realtime markets, you can TA strategies to do live or simulated trading. Gekko stores all market data it sees, this makes it possible to simulate trading strategies against historical data to see whether they would have been profitable (backtesting).

Gekko is not built for HFT or anything related to being the fastest (like arbitrage). The trading methods Gekko can do are based on TA indicators used by human day traders. This means that Gekko does not look at data below the one minute timescale and will not trade more than a couple of times per week (depending on configuration).

How Does Gekko Work?

architecture.jpg

What Exchange Platforms Are Supported?

https://poloniex.com/ - (FULL SUPPORT)
https://gdax.com/ - (FULL SUPPORT)
https://btcc.com/ - (FULL SUPPORT)
https://bitstamp.com/
https://kraken.com/
https://bitfinex.com/
https://btc-e.com/
https://www.okcoin.cn/
https://cex.io/
https://btcmarkets.net/
https://www.bitx.co/
https://lakebtc.com/
https://mexbt.com/
https://zaif.jp/trade_btc_jpy
https://lakebtc.com/
https://bx.in.th/


Gekko is able to directly communicate with the APIs of a number of exchanges. However communication with some exchanges is somewhat limited. Gekko makes the distinction between the following features:
  • Monitoring: Gekko is able to retrieve live market data from the exchange. Gekko can store and run trading simulations over this data.
  • Live Trading: Gekko is able to automatically execute orders (based on the signals of your strategy). This turns Gekko into a trading bot.
  • Importing: Gekko is able to retrieve historical market data. This way you can easily get a month of market data over which you can https://gekko.wizb.it/docs/features/backtesting.html your strategy.
What Systems Can Gekko Be Installed On?
  • Windows
  • Mac
  • Linux
  • Raspbian (Raspberry Pi)
  • Docker
  • Server
-------------------------------------------------------------------------
github: https://github.com/askmike/gekko
website: https://gekko.wizb.it

Disclaimer:

I will not give anyone investment advice, I did not code this project & have nothing to do with the creator of Gekko. Any bugs found should be reported to github page. All advice seen within Gekko is the result of running YOUR OWN strategies against the market.
USE GEKKO AT YOUR OWN RISK!
 
Last edited:
so you start with 0.07939 BTC and you end with 0.06451BTC

after 21 days you lose money, is that right ?
 
so you start with 0.07939 BTC and you end with 0.06451BTC

after 21 days you lose money, is that right ?

LOL, maybe that chart wasn't the best example to post but that is just showing an example of a backtest showing what would have happened if you actually made that trade. You can create your own strategies, if you watch the video it shows an example of a positive backtest of +27%.
 
Also, I find a platform similar as the gekko, Its name is BotVS . It supported 25 exchanges, the list is :
support (25) exchanges :
Binance,BitFlyer,Bitfinex,Bithumb, Bitstamp,Bittrex,BotVS (virtual), CoinPlus,Coincheck,Coinone, Futures_BitMEX,Futures_OKCoin,GateIO,HitBTC, Huobi, Korbit, Kraken,LiveCoin,OKCoin_EN,OKEX,Poloniex, Quoine, WEX, ZB, Zaif.

And it could be run on the windows 、linux、Mac OS、Raspberry Pi . No matter bit64 or bit32 system.
It looks like powerful too!
 
I know about Gekko - have some fairly complex strategies built for it. Have been using it since almost last 9 months. Would recommend this to anyone who knows Javascript coding. For Python programmers, I would recommend - Backtrader. Hit me up if you are a programmer and need help with any one of these two.
 
I know about Gekko - have some fairly complex strategies built for it. Have been using it since almost last 9 months. Would recommend this to anyone who knows Javascript coding. For Python programmers, I would recommend - Backtrader. Hit me up if you are a programmer and need help with any one of these two.

Hey, seres. I've started experimenting with Gekko. Just installed it on a server and I'm tinkering with configs. I'm finding it difficult to stablish and code a strategy to work with. Would you be able to help? Cheers!
 
I'm suggesting all strategy makers use this injector for pine script pastebin.com/PLqNbGbk
make awesome strategy with TradingView,
trade on it with 100$ if it goes well - only then rewrite strategy on Gekko
tune until you get same results as TV
profit
 
I'm suggesting all strategy makers use this injector for pine script pastebin.com/PLqNbGbk
make awesome strategy with TradingView,
trade on it with 100$ if it goes well - only then rewrite strategy on Gekko
tune until you get same results as TV
profit
Can you clarify on how to do that in tradingview? Newbie here.
 
https://www.tradingview.com/wiki/Pine_Script_Tutorial
tradingcode.net/tradingview-programming-articles
Pine script is super simple language if you can learn javascript in 2 weeks you can knock down pine i 2 days. It's just easy part, the real question is strategy and that is a holy grail every one is looking for.
All i know is google friendly bot strategies make less money than a natural uptrend.
Everything is honki dori with backtests and paper trading but when you go live you compete with a horde of logarithmic bots, an army of professional bots and a bunch of amateur bots.
 
Last edited by a moderator:
tradingcode.net/tradingview-programming-articles
latter articles are paid, if you don't know how to override please pm i wont share it in public, i can also send you pdf.
Thanks. I'll definetely give it a try.

It's just easy part, the real question is strategy and that is a holy grail every one is looking for.
I'm finding it very hard to understand the strategies and how to set them up in bots. Each bot works in a different way but I could clearly understand that strategies are actually what count.

All i know is google friendly bot strategies make less money than a natural uptrend.
Everything is honki dori with backtests and paper trading but when you go live you compete with a horde of logarithmic bots, an army of professional bots and a bunch of amateur bots.
I'm sure of that. Thanks for your advice. I'll pm you.
 
Manual trading and taking positions manually is BETTER by 1000% than Running a BOT.

90% of the people use Bots and don't even knows what strategy the bot use.
 
Manual trading and taking positions manually is BETTER by 1000% than Running a BOT.

90% of the people use Bots and don't even knows what strategy the bot use.

Yep, totally agree. I've been trading on the stock market for a few years, though, and since it opens and closes it is easier to follow. In the crypto, however, the 24h-always-open market and the number of exchanges make it very much suitable for bots. So I'm willing to try. Do you have any knowledge to share about strategies?

Thanks,
 
Yep, totally agree. I've been trading on the stock market for a few years, though, and since it opens and closes it is easier to follow. In the crypto, however, the 24h-always-open market and the number of exchanges make it very much suitable for bots. So I'm willing to try. Do you have any knowledge to share about strategies?

Thanks,

There are plenty of strategies you can follow out there, plenty of sources. I don't have one strategy, I have many strategies, and each strategy works for one specific purpose, like for example, strategy to invest on ICO's is different than investing on other popular coins (High MarketCap coins).

What matters is the Marketcap at the end, for example is a coin has 25M$ market cap, if you want to double your investment, like for example that coin with 25M$ market cap with a price of 10$ for each coin, to double your money, the marketcap should hit 50M$, you know.

For BTC to hit 20000$, he should hit a marketcap of 400 Billion dollars, you know, which is very hard.

Which one is easy to achieve? double 25M$ marketcap to 50M$, or 200 Billion$ marketcap to 400? ? ;) That's the key.
 
Can anyone teach me how to use this? I'd be willing to paypal some cash for your time on how to use this properly (configuring/why I need to set it up a certain way etc etc)
Let me know.
 
Hey, seres. I've started experimenting with Gekko. Just installed it on a server and I'm tinkering with configs. I'm finding it difficult to stablish and code a strategy to work with. Would you be able to help? Cheers!
Sent PM
 
Hi, i'm a computer engineer, i'm working on Gekko with some friends and i was wondering if you could share your strategy or basically explain how it works. We are doing a good job but still far from what we want and i can't really find help on the web, are you able to do that? Thanks a lot!
 
Hi, i'm a computer engineer, i'm working on Gekko with some friends and i was wondering if you could share your strategy or basically explain how it works. We are doing a good job but still far from what we want and i can't really find help on the web, are you able to do that? Thanks a lot!

i also like to see what strategy they are using and with which exchanger
 
I set up Gekko and hard a hard time understanding it, like how many coins it was going to trade, or how to set up that. Any one have a good intro tutorial on how to set up and rock this bot?
 
Back
Top