<commit_before># Configuring Gekko

This file will explain all different parameters you can set in the [config](https://github.com/askmike/gekko/blob/master/config.js).

The easiest way to configure Gekko is in the normal zone of the config:

    config.normal = {
      enabled: true,
      exchange: 'MtGox', // 'MtGox', 'BTCe' or 'Bitstamp'
      currency: 'USD',
      asset: 'BTC',
      tradingEnabled: false,
      key: '',
      secret: '',
    }

When using with cex.io marketplace, you need to add option `username` set to the username you're registered with at cex.io.

## Exchanges

Gekko currently supports these exchanges:

* [Mt. Gox](https://mtgox.com) (MtGox)
* [BTC-e](https://btc-e.com) (BTCe)
* [Bitstamp](https://bitstamp.com) (Bitstamp)*
* [cex.io] (https://cex.io) (cexio)

You have to tell Gekko what market to monitor on the selected exchange, A market is defined by a `currency` and an `asset`. here are all supported combinations per exchange:

* Mt. Gox:  
  currencies: USD, EUR, GBP, AUD, CAD, CHF, CNY, DKK, HKD, PLN, RUB, SGD, THB  
  assets: BTC

* BTC-e:  
  currencies: USD, EUR, RUR  
  assets: BTC

* Bitstamp:  
  currencies: USD  
  assets: BTC
  
* cex.io:  
  currencies: BTC, *NMC (not yet supported)*  
  assets: GHS

*Even though Bitcoin is a currency Gekko treats is like an asset when you are trading USD vs BTC.*

## Real trading

If you want to let Gekko trade on your account you also need to fill in your `key` and `secret` (~~with a clientID - your username - if you want to trade at Bitstamp~~ - Real trading is not working on Bitstamp right now) and set `tradingEnabled` to true. You can get the key and secret on the websites of the exchanges. Gekko only needs trade rights to create the trade orders.

## EMA Settings<commit_msg>added dns issue to readme<commit_after># Configuring Gekko

This file will explain all different parameters you can set in the [config](https://github.com/askmike/gekko/blob/master/config.js).

The easiest way to configure Gekko is in the normal zone of the config:

    config.normal = {
      enabled: true,
      exchange: 'MtGox', // 'MtGox', 'BTCe' or 'Bitstamp'
      currency: 'USD',
      asset: 'BTC',
      tradingEnabled: false,
      key: '',
      secret: '',
    }

When using with cex.io marketplace, you need to add option `username` set to the username you're registered with at cex.io.

## Exchanges

Gekko currently supports these exchanges:

* [Mt. Gox](https://mtgox.com) (MtGox)
* [BTC-e](https://btc-e.com) (BTCe)*
* [Bitstamp](https://bitstamp.com) (Bitstamp)*
* [cex.io](https://cex.io) (cexio)

*Note that there currently is a DNS bug for the dataprovider of these exchanges. If you are unable to fetch data, please check [this issue](https://github.com/askmike/gekko/issues/51#issuecomment-29551099).

You have to tell Gekko what market to monitor on the selected exchange, A market is defined by a `currency` and an `asset`. here are all supported combinations per exchange:

* Mt. Gox:  
  currencies: USD, EUR, GBP, AUD, CAD, CHF, CNY, DKK, HKD, PLN, RUB, SGD, THB  
  assets: BTC

* BTC-e:  
  currencies: USD, EUR, RUR  
  assets: BTC

* Bitstamp:  
  currencies: USD  
  assets: BTC
  
* cex.io:  
  currencies: BTC, *NMC (not yet supported)*  
  assets: GHS

*Even though Bitcoin is a currency Gekko treats is like an asset when you are trading USD vs BTC.*

## Real trading

If you want to let Gekko trade on your account you also need to fill in your `key` and `secret` (~~with a clientID - your username - if you want to trade at Bitstamp~~ - Real trading is not working on Bitstamp right now) and set `tradingEnabled` to true. You can get the key and secret on the websites of the exchanges. Gekko only needs trade rights to create the trade orders.

## EMA Settings
{'fraction_non_alphanumeric': 0.10322069693769799, 'fraction_numerical': 0.0026399155227032735, 'mean_word_length': 3.4471830985915495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '483748', 'n_tokens_mistral': 1294, 'n_tokens_neox': 1240, 'n_words': 515}