Skip to content

Commit

Permalink
added handling for compile problems with kraken on WIN
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Feb 10, 2014
1 parent eeaa17d commit 5ef0c19
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 37 deletions.
44 changes: 10 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
# Important note

You are looking at the new and completetly different version of Gekko that is being developed right now. **It is not stable yet, it might crash and we need to validate the advice to be solid.**

## What we know doesn't work

- Not 100% this is stable. Let me know if there is a bug!

## What we hope does work

**Everything listed in the [Configuring Gekko Doc](https://github.com/askmike/gekko/tree/localDB/docs/Configuring_gekko.md). This document lists everything you can do with Gekko and how to do it.** The list boils down to:

- watch any market on BTC-e, Bitstamp, Mt. Gox, CEX.io.
- calculate MACD, DEMA or PPO over this market.
- use the following plugins:
- real trader (automatic trading on advice)
- advice logger
- profit simulator
- Mailer (on advice)
- IRC bot
- Redis beacon

Here is [the todo](https://github.com/askmike/gekko/issues/114) until the new version is considered stable.

If you encounter a bug: check out in [the issues](https://github.com/askmike/gekko/issues/114) if we are aware of it and if not create a new one :)
You are looking at the brand new and completetly different version of Gekko. We've tested it for quite a while though it might be possible that you encounter bugs. If you encounter a bug: check out in [the issues](https://github.com/askmike/gekko/issues/) if we are aware of it and if not create a new one :)

# Gekko [![Build Status](https://travis-ci.org/askmike/gekko.png)](https://travis-ci.org/askmike/gekko)

Expand All @@ -32,26 +10,22 @@ If you encounter a bug: check out in [the issues](https://github.com/askmike/gek

-Gordon Gekko

Gekko is a Bitcoin trading bot and backtesting platform that connects to popular Bitcoin exchanges. It is written in javascript and runs on [nodejs](http://nodejs.org).
Gekko is a Bitcoin trading bot and backtesting platform that connects to popular Bitcoin exchanges. It is written in javascript and runs on [nodejs](http://nodejs.org).

You are looking at the open source do-it-yourself version, we are planning on running hosted Gekkos in the cloud which does not require you to download and install anything, configure any textfiles or deal with the commandline. If you are looking for such a solution, sign up at [Wizbit](http://wizb.it) and we'll let you know.

*Use Gekko at you own risk.*

## Main features

* Trading platform:
* Paper trading
* ~~Live trading (trade bot)~~
* ~~Backtesting~~
* Live trading (trade bot)
* ~~Backtester~~
* Market API / interface:
* Emit market events
* Basic IRC Bot

## What?

This project is a learning excercise of me, a student with *some* experience in programming (mostly web) and zero experience in economics and trading. I figured writing my own trade bot would be the best way to learn about implementing mathematical trading algorithms. So here is **my very first attempt at anything related to trading / algorithmic decision making**.

As this is a learning experience for me all feedback is extremely appreciated. If you don't want to contribute to the code you can always just send me an [email](mailto:[email protected]) or leave feedback in the [Gekko thread on the bitcointalk forum](https://bitcointalk.org/index.php?topic=209149.0).

*Use Gekko at you own risk.*

## Trading platform

Gekko can watch the realtime markets. You can apply automated trading methods to realtime data coming in to do live or simulated trading (automated trading or paper trading). Gekko also stores the market data it sees so you can run the trading methods with simulate trades on a set of historical data to see whether they would have been profitable during that time (backtesting).
Expand All @@ -62,6 +36,7 @@ So Gekko is not:

- A trading platform for human day traders with a GUI and charts.
- A High frequency trading bot designed to operate on < minute resolution.
- A fully automated trading bot that you turn on and will generate profit withouth you having to do anything.

## Supported exchanges

Expand All @@ -72,6 +47,7 @@ Gekko works on the following exchanges:
- CEX.io
- Kraken
- BTC-e
- ~~Cryptsy~~ (In the [pipeline](https://github.com/askmike/gekko/pull/200))

## Installing Gekko

Expand Down
9 changes: 8 additions & 1 deletion gekko.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ if(!util.recentNode())

var config = util.getConfig();

// Temporary checks to make sure everything we need is
// up to date and present on the system.

// temp at Fri Jan 17 16:00:19 CET 2014
if(config.normal)
util.die('Please update your config! config.normal is now called config.watch');
Expand All @@ -54,7 +57,11 @@ if(!config.profitSimulator.slippage)
// temp at Sun Feb 9 17:13:45 CET 2014
if(!config.DEMA.thresholds)
util.die('Please update your config!');

try {
require('kraken-api');
} catch(err) {
util.die('Kraken module cannot be found, if you are on Windows read this:\n\nhttps://github.com/askmike/gekko/issues/202');
}

if(
config.trader.enabled &&
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gekko",
"version": "0.0.5",
"version": "0.0.6",
"description": "A bitcoin trading bot for auto trading at various exchanges",
"keywords": [
"trading",
Expand All @@ -21,7 +21,9 @@
"async": "0.2.x",
"nedb": "0.9.4",
"line-reader": "0.2.x",
"semver": "2.2.1",
"semver": "2.2.1"
},
"optionalDependencies": {
"kraken-api" :"0.1.x"
},
"devDependencies": {
Expand Down

0 comments on commit 5ef0c19

Please sign in to comment.