-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathhodlgreed-cli-conf.js
76 lines (67 loc) · 1.3 KB
/
hodlgreed-cli-conf.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
var config = {};
config.debug = true; // for additional logging / debugging
config.watch = {
exchange: 'binance',
currency: 'USDT',
asset: 'ETH',
}
config.hodlgreed = {
buy_at_or_below: 0.0000001,
last_buy_price: 0,
max_nobuy_candles: 60,
adjust: 1.2,
stoploss: 0,
greed: 2,
sma: { interval: 60 },
hodl_after_stoploss: true,
irc: {
enabled: true,
server: 'irc.server.com',
port: 6667,
nickname: 'bot1-usdt-eth',
userName: 'hodlgreed',
realName: 'Binance USDT vs ETH',
owner: 'me',
channels: [ '#whatever' ],
secure: false,
selfSigned: false,
certExpired: false,
autoRejoin: true,
},
}
config.trader = {
enabled: false,
key: '',
secret: '',
username: '',
passphrase: '',
orderUpdateDelay: 1,
}
config.tradingAdvisor = {
enabled: true,
method: 'hodlgreed',
candleSize: 1,
historySize: 0,
}
config.paperTrader = {
enabled: true,
reportInCurrency: true,
simulationBalance: {
asset: 0,
currency: 10,
},
feeMaker: 0.15,
feeTaker: 0.25,
feeUsing: 'maker',
slippage: 0.05,
}
config.performanceAnalyzer = {
enabled: true,
riskFreeReturn: 5
}
config.adviceLogger = {
enabled: true,
muteSoft: false
}
config['I understand that Gekko only automates MY OWN trading strategies'] = true;
module.exports = config;