forked from DeviaVir/zenbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_sample.js
33 lines (26 loc) · 926 Bytes
/
config_sample.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var c = module.exports = require('./config_defaults')()
// mongo stuff
c.mongo_url = "mongodb://" + (process.env.MONGODB_PORT_27017_TCP_ADDR || "localhost") + ":27017/zenbrain" // change if your mongo server isn't local
c.mongo_username = null // normally not needed
c.mongo_password = null
c.gdax_key = '' // TO ENABLE BOT TRADING: set this to GDAX api key,
c.gdax_secret = '' // set this to GDAX api secret,
c.gdax_passphrase = '' // set this to GDAX api passphrase.
c.trade_log = true // log new trades as they come in.
// watch these exchanges
c.watch_exchanges = [
//"bitfinex",
"gdax",
//"kraken",
//"poloniex"
]
// selector for indicators, trading, etc
c.default_selector = "gdax.BTC-USD"
// add selectors in the format "{exchange-slug}.{asset}-{currency}" to graph them
c.graph_selectors = [
c.default_selector,
"gdax.ETH-BTC",
"gdax.ETH-USD"
]
// trade logic
c.logic = require('./default_logic')