ramsesaguirre / gekko

A bitcoin trading bot written in node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gekko npm Build Status Build status

Gordon Gekko

The most valuable commodity I know of is information.

-Gordon Gekko

Gekko is a Bitcoin TA trading and backtesting platform that connects to popular Bitcoin exchanges. It is written in javascript and runs on nodejs.

Use Gekko at your own risk.

Main features

  • Automated trading (trade bot)
  • Paper trading (for TA strategies)
  • Backtester (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

screenshot of gekko ui

TA strategies

Gekko comes with some basic strategies (which implement a single indicator). But with some basic javascript you can create your own strategies. You can use over 130 indicators to create your perfect prediction model (full list 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).

So 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

Supported exchanges

Exchange Monitoring Live Trading Importing Notes
Poloniex
GDAX
BTCC (=BTCChina)
Bitstamp
Kraken
Bitfinex
BTC-e
Okcoin.cn (China, see #352)
Cex.io
BTC Markets
bitX
lakeBTC
meXBT see here.
zaif
lakeBTC
bx.in.th

Monitoring means that Gekko is able to watch the realtime market and thus also:

  • Run trading strategies against the data (in semi-realtime)
  • Simulate trading profits (paper trader)
  • Store all data (to backtest in the future)

Installing Gekko

See the doc installing gekko.

Running Gekko

node gekko --ui

How does Gekko work?

Gekko architecture

TODO

  • Stabilize importing API.
  • More tests
  • Better documentation for TA-lib indicators.
  • More indicators (maybe use this native js lib?)

Better exchange support:

  • support importing at bitfinex (here).
  • add okcoin China
  • add okcoin
  • add bitmex
  • fix cryptsy integration..

Credits

Final

If Gekko helped you in any way, you can always leave me a tip at (BTC) 13r1jyivitShUiv9FJvjLH7Nh1ZZptumwW

License

The MIT License (MIT)

Copyright (c) 2014 Mike van Rossum mike@mvr.me

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A bitcoin trading bot written in node

License:MIT License


Languages

Language:JavaScript 89.2%Language:Vue 10.6%Language:Shell 0.1%Language:HTML 0.1%