-
Notifications
You must be signed in to change notification settings - Fork 78
/
config.ini.example
229 lines (168 loc) · 7.95 KB
/
config.ini.example
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
[general]
; GENERAL SETTINGS
; The bot automatically evens out the exchange wallets. This sets the minimum
; required BTC amount for a transfer. The bot may decide to adjust the minimum
; to a higher value if the transfer fees are really high.
min-btc-xfer = 0.025
; The bot has a safety factor for being more conservative by default about
; transfering BTC versus other assets. The bot tries to not lose more than
; 1% of an altcoin during transfer, but we are more conservative by a factor
; of btc-xfer-safety-factor. For example if you adjust this value to 2,
; the bot tries to not lose more than 0.5% of our BTC during transfer, and
; help accumulate profits faster.
btc-xfer-safety-factor = 1.5
; It could happen that the bot leaves orders at the exchange (if an order was
; only partially filled). Enable this setting to cancel those orders in regular
; intervals to free up the coins bound to these orders.
cancel-stray-orders = true
; Some coins are blocked and aren't traded
; because they cannot be automatically withdrawn by the bot.
blockedCoins = BTS,NXT,XMR,ETH,ETC,BURST,SWIFT,XRP,STEEM,ARDR,SBD,NAUT
; Enable the admin UI (enables making modifications to the config of the bot)
; NOTE: It is not recommended to enable this unless if the bot's UI is served using
; a password protected HTTPS server.
admin-ui = false
[db]
; DATABASE SETTINGS
; Your MySQL database user
user = arbitrage
; Your MySQL database password
pass = YOUR_PASSWORD
; Your MySQL database host
host = localhost
; Your MySQL database name
name = arbitrage
[modules]
; MODULE ENABLING / DISABLING
; The coin autobuy module will automatically buy the most profitable altcoins, if you assign it 'autobuy_funds' in the database
coin-autobuy = true
; The autobalance module will automatically balance the wallets across exchanges depending on the current needs and pending deposits.
auto-balance = true
; The coin liquidation module will automatically sell coins that aren't profitable any more
coin-liquidation = false
; The take profit module will transfer trading profits to an external wallet
take-profit = false
; The trade module will do the arbitrage-trading stuff. Just in case you want to disable it for some reason...
trade = true
; Alert about stuck transfers between exchanges that haven't finished in the last 24 hours.
stuck-detection = true
; Alert about duplicate withdrawals detected on an exchange in the last 24 hours.
duplicate-detection = true
; Detect coins that have balances at the exchange but the bot won't automatically liquidate
unused-coins-detection = true
[autobuy]
; AUTOBUY MODULE CONFIGURATION
; Settings for the autobuy module
; To allow the buying of a broader range of altcoins, this setting allows you to
; set limit how many altcoins are bought at once (in BTC). If you have a larger
; amount of BTC you want to spend for increasing your altcoin portfolio, you may
; want to increase this value.
max-buy = 0.005
[takeprofit]
; TAKE PROFIT MODULE CONFIGURATION
; Settings for the take profit module
; The profit-limit is the limit at which BTC balances are considered 'profit'.
; If you initially fund your exchange accounts with 1.0 BTC, you should set this
; value to 1.0 BTC.
profit-limit = 1.0
; All funds above 'profit-limit' are sent to this address
profit-address = 1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; Minimum BTC amount of cash being restocked into autobuy funds when withdrawing profits.
min-restock-cash = 0.1
; Percentage of the withdrawn profits that are being restocked into autobuy funds when
; withdrawing profits.
restock-cash-percentage = 0.33
[trade]
; TRADE MODULE CONFIGURATION
; Settings for the trade module
; The maximum trade size (in BTC). Every trade is a risk and this setting allows
; to limit your risk.
; This setting is also used by the bot to determine the optimal altcoin amount.
; By setting this too high you will effectively disable the 'liquidation'-module.
; It is recommended to never set this value above 0.05
max-trade-size = 0.01
; The minimum profit that is is required to enter a trade. As the profit is
; calculated in a simulation, it is not guaranteed that every trade will this
; much profit.
min-profit = 0.00000050
; There is a time-gap between downloading the orderbook and placing the order.
; In the meanwhile the orderbook entry could have disappeared (cancelled, filled, ...)
; to 'force' the order to match against the next orderbook entry, these factors
; are applied before posting the order.
; This increases the chance to get the order filled, but could result in a loss.
; Note that if you set the buy factor too high and/or the sell factor too low,
; the bot may never end up entering a trade, with messages like "NOT ENTERING TRADE:
; REDUCED SELL RATE xxx IS BELOW INCREASED BUY RATE yyy", in which case you need
; to adjust these accordingly. These numbers are factors that are multiplied into
; the buy/sell prices that the bot places orders at, so the log messages should
; give you an idea of how the prices the bot is working with change as you adjust
; these variables.
;
; Set both values to 1 to disable
buy-factor = 1.005
sell-factor = 0.995
[mail]
; MAIL CONFIGURATION
; Configure your email settings here:
; The address to which you want your notification mails.
address =
; EXCHANGE CONFIGURATION
; Configure your exchange settings here
[bittrex]
;Remember to enable READ INFO, TRADE LIMIT, TRADE MARKET and WITHDRAW permissions for Bittrex!
; API key for Bittrex
key =
; API secret for Bittrex
secret =
[bleutrade]
; Bleutrade API keys can be generated on https://bleutrade.com/member/api_keys.
; API key for Bleutrade
key =
; API secret for Bleutrade
secret =
[poloniex]
; Remember to enable withdrawals for POLONIEX!
; API key for Poloniex
key =
; API secret for Poloniex
secret =
; PLEASE CHANGE THESE ONLY IF YOU ARE SURE WHAT YOU ARE DOING :)
[expert]
; Delay between queries [s]
query-delay = 5
; Max age of database records to include them in profitability calculations
opportunity-count-age = 240
; Max transfer fee (in BTC) that is desirable for coins that we want to hold in our trading portfolio.
max-tx-fee-allowed = 0.00001
; Max number of confirmation allowed for tradeable assets. Increasing this number allows holding
; assets that have longer transfer times, which means once a trade happens and we issue a
; transfer, we won't be in the ownership of our coins in a long time and therefore will miss out
; on any arbitrage opportunities in the interim.
max-min-confirmations-allowed = 50
; Protect against underselling during transactions. This works by first issuing the sell trades
; and then quickly attempting to check the result of the sell trade to see whether the entire order
; was fullfilled and if not adjust down the buy order amount accordingly before placing it. The
; downside of this is that it introduces an extra lag between the placement of the sell and buy
; orders, which might cause the desired orders to disappear from the buy orderbook by the time that
; the bot manages to place the buy order, but the bot manages to place a more accurate buy order
; as a result.
undersell-protection = false
; How many pairs to check per exchange pair
max-pairs-per-run = 15
; Max log age [h]
max-log-age = 60
; Delay before checking trade results
order-check-delay = 60
; Smoothing altcoin exchange rates to calculate desired coin balances
rate-ema-period = 5
; Intervals for internal management tasks [h]
interval-management = 1
interval-take-profit = 12
interval-stuck-detection = 12
interval-duplicate-detection = 12
interval-unused-coin-detection = 4
interval-db-cleanup = 24
; Allow the UI over HTTP when the bot is exposed to insecure Internet connected machines
allow-insecure-ui = false
; Allow the UI without authentication when the bot is exposed to the insecure Internet
allow-unauthenticated-ui = false