-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathcustom-environment-variables.json
336 lines (336 loc) · 14 KB
/
custom-environment-variables.json
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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
{
"mode": "BINANCE_MODE",
"tz": "BINANCE_TZ",
"demoMode": {
"__name": "BINANCE_DEMO_MODE",
"__description": "Set a boolean to configure the bot in demo mode. If set as true, the bot will not allow updating configurations via the frontend.",
"__format": "boolean"
},
"frontend": {
"port": {
"__name": "BINANCE_FRONTEND_PORT",
"__format": "number"
}
},
"binance": {
"live": {
"apiKey": "BINANCE_LIVE_API_KEY",
"secretKey": "BINANCE_LIVE_SECRET_KEY"
},
"test": {
"apiKey": "BINANCE_TEST_API_KEY",
"secretKey": "BINANCE_TEST_SECRET_KEY"
}
},
"redis": {
"host": "BINANCE_REDIS_HOST",
"port": {
"__name": "BINANCE_REDIS_PORT",
"__format": "number"
},
"password": "BINANCE_REDIS_PASSWORD",
"db": "BINANCE_REDIS_DB"
},
"mongo": {
"host": "BINANCE_MONGO_HOST",
"port": {
"__name": "BINANCE_MONGO_PORT",
"__format": "number"
},
"database": "BINANCE_MONGO_DATABASE"
},
"tradingview": {
"host": "BINANCE_TRADINGVIEW_HOST",
"port": {
"__name": "BINANCE_TRADINGVIEW_PORT",
"__format": "number"
}
},
"slack": {
"enabled": {
"__name": "BINANCE_SLACK_ENABLED",
"__format": "boolean"
},
"webhookUrl": "BINANCE_SLACK_WEBHOOK_URL",
"channel": "BINANCE_SLACK_CHANNEL",
"username": "BINANCE_SLACK_USERNAME"
},
"localTunnel": {
"enabled": {
"__name": "BINANCE_LOCAL_TUNNEL_ENABLED",
"__format": "boolean"
},
"subdomain": "BINANCE_LOCAL_TUNNEL_SUBDOMAIN"
},
"featureToggle": {
"notifyOrderConfirm": {
"__name": "BINANCE_FEATURE_TOGGLE_NOTIFY_ORDER_CONFIRM",
"__description": "Set a boolean to notify the order checking/confirm messages. Note that enabling this feature toggle can flood the messages.",
"__format": "boolean"
},
"notifyDebug": {
"__name": "BINANCE_FEATURE_TOGGLE_NOTIFY_DEBUG",
"__description": "Set a boolean to notify the debug message. Note that enabling this feature toggle can flood the messages.",
"__format": "boolean"
},
"notifyOrderExecute": {
"__name": "BINANCE_FEATURE_TOGGLE_NOTIFY_ORDER_EXECUTE",
"__description": "Set a boolean to notify the order executed messages. Note that enabling this feature toggle can flood the messages.",
"__format": "boolean"
}
},
"authentication": {
"enabled": {
"__name": "BINANCE_AUTHENTICATION_ENABLED",
"__description": "Set a boolean to enable authentication on the bot.",
"__format": "boolean"
},
"password": "BINANCE_AUTHENTICATION_PASSWORD",
"loginLimiter": {
"maxConsecutiveFails": {
"__name": "BINANCE_AUTHENTICATION_LOGIN_LIMITER_MAX_CONSECUTIVE_FAILS",
"__description": "Set number of allowed login failures. If failed maximum consecutive fails, the bot will block the request based on the block duration (seconds).",
"__format": "number"
},
"duration": {
"__name": "BINANCE_AUTHENTICATION_LOGIN_LIMITER_DURATION",
"__description": "Set seconds for storing points since the first login failure.",
"__format": "number"
},
"blockDuration": {
"__name": "BINANCE_AUTHENTICATION_LOGIN_LIMITER_BLOCK_DURATION",
"__description": "Set seconds for blocking the request after reaching maximum consecutive login failures.",
"__format": "number"
}
}
},
"jobs": {
"alive": {
"enabled": {
"__name": "BINANCE_JOBS_ALIVE_ENABLED",
"__format": "boolean"
},
"cronTime": "BINANCE_JOBS_ALIVE_CRONTIME",
"priceSymbol": "BINANCE_JOBS_ALIVE_PRICE_SYMBOL",
"balanceSymbols": "BINANCE_JOBS_ALIVE_BALANCE_SYMBOLS"
},
"trailingTrade": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_ENABLED",
"__format": "boolean"
},
"cronTime": "BINANCE_JOBS_TRAILING_TRADE_CRON_TIME",
"symbols": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYMBOLS",
"__format": "json"
},
"botOptions": {
"authentication": {
"lockList": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_AUTHENTICATION_LOCK_LIST",
"__description": "Set a boolean to lock the list or not. If locking the list, the bot will display the login screen before showing the list. If don't lock the list, the bot will display the symbol list, but disabling actions.",
"__format": "boolean"
},
"lockAfter": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_AUTHENTICATION_LOCK_AFTER",
"__description": "Set minutes for the authentication. Once the time passes the configured minutes after login, the bot will be automatically locked.",
"__format": "number"
}
},
"autoTriggerBuy": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_AUTO_TRIGGER_BUY",
"__description": "Set a boolean to trigger 1st grid trade for buying after removing the last buy price due to completed grid trades for selling. Note that this action may be triggered if you sell the coin in Binance directly and the last buy price was recorded.",
"__format": "boolean"
},
"triggerAfter": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_TRIGGER_AFTER",
"__description": "Set minutes to trigger buy orders for the symbol after removing the last buy price.",
"__format": "number"
},
"conditions": {
"whenLessThanATHRestriction": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_AUTO_TRIGGER_BY_CONDITIONS_WHEN_LESS_THAN_ATH_RESTRICTION",
"__description": "Set a boolean to reschedule the auto-buy trigger action if the price is over the ATH restriction.",
"__format": "boolean"
},
"afterDisabledPeriod": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_AUTO_TRIGGER_BY_CONDITIONS_AFTER_DISABLED_PERIOD",
"__description": "Set a boolean to reschedule the auto-buy trigger action if the action is currently disabled by the stop-loss or other actions.",
"__format": "boolean"
}
}
},
"orderLimit": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_ORDER_LIMIT_ENABLED",
"__description": "Set a boolean to restrict the order based on the configuration. If enabled, the bot will not place orders if the conditions meet.",
"__format": "boolean"
},
"maxBuyOpenOrders": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_ORDER_LIMIT_MAX_BUY_OPEN_ORDERS",
"__description": "Set the number of concurrent open orders for buying. If set 3, then the bot will not place more than 3 buy open orders.",
"__format": "number"
},
"maxOpenTrades": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_ORDER_LIMIT_MAX_OPEN_TRADES",
"__description": "Set the maximum number of open trades. If set 5,, then the bot will not place a buy order when there are 5 symbols recorded with the last buy price.",
"__format": "number"
}
},
"tradingViews": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_TRADING_VIEWS",
"__description": "Set TradingView interval configurations.",
"__format": "json"
},
"tradingViewOptions": {
"useOnlyWithin": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_TRADING_VIEW_USE_ONLY_WITHIN",
"__description": "Set the minutes to allow to use TradingView technical analysis data. If the data is older than configured minutes, the bot will ignore the TradingView technical analysis data. This is due to avoid the issue with TradingView downtime.",
"__format": "number"
},
"ifExpires": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_TRADING_VIEW_IF_EXPIRES",
"__description": "Set an action method if the TradingView technical analysis data is passed allowed minutes. Available: ignore, do-not-buy",
"__format": "string"
}
},
"logs": {
"deleteAfter": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BOT_OPTIONS_LOGS_DELETE_AFTER",
"__description": "Set the minutes to delete the log. If the log is older than the configured minutes, the log will be removed from the database.",
"__format": "number"
}
}
},
"candles": {
"interval": "BINANCE_JOBS_TRAILING_TRADE_CANDLES_INTERVAL",
"limit": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_CANDLES_LIMIT",
"__format": "number"
}
},
"buy": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_ENABLED",
"__format": "boolean"
},
"triggerPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_TRIGGER_PERCENTAGE",
"__format": "number"
},
"stopPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_STOP_PERCENTAGE",
"__format": "number"
},
"limitPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_LIMIT_PERCENTAGE",
"__format": "number"
},
"athRestriction": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_ATH_RESTRICTION_ENABLE",
"__format": "boolean"
},
"candles": {
"interval": "BINANCE_JOBS_TRAILING_TRADE_BUY_ATH_RESTRICTION_CANDLES_INTERVAL",
"limit": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_ATH_RESTRICTION_CANDLES_LIMIT",
"__format": "number"
}
},
"restrictionPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_BUY_ATH_RESTRICTION_RESTRICTION_PERCENTAGE",
"__format": "number"
}
}
},
"sell": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_ENABLED",
"__format": "boolean"
},
"triggerPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_TRIGGER_PERCENTAGE",
"__format": "number"
},
"stopPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_STOP_PERCENTAGE",
"__format": "number"
},
"limitPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_LIMIT_PERCENTAGE",
"__format": "number"
},
"stopLoss": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_STOP_LOSS_ENABLED",
"__format": "boolean"
},
"maxLossPercentage": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_STOP_LOSS_MAX_LOSS_PERCENTAGE",
"__format": "number"
},
"disableBuyMinutes": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_STOP_LOSS_DISABLE_BUY_MINUTES",
"__format": "number"
},
"orderType": "BINANCE_JOBS_TRAILING_TRADE_SELL_STOP_LOSS_ORDER_TYPE"
},
"conservativeMode": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_CONSERVATIVE_MODE_ENABLED",
"__description": "Set a boolean for selling at a trigger price reduced by the conservative ratio for each executed buy grid. You can use this feature in bear market conditions to secure smaller benefits over unreached higher gains. At least 2 buy trades must have been executed for the ratio to be applied.",
"__format": "boolean"
},
"factor": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SELL_CONSERVATIVE_MODE_FACTOR",
"__description": "Set the conservative factor to be applied on sell trades with at least 2 executed buy grids.",
"__format": "number"
}
}
},
"system": {
"temporaryDisableActionAfterConfirmingOrder": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYSTEM_TEMPORARY_DISABLE_ACTION_AFTER_CONFIRMING_ORDER",
"__description": "Set the seconds for disabling any actions after confirming an order. Note that decreasing this value can cause issues with the bot not recording the last buy price.",
"__format": "number"
},
"checkManualOrderPeriod": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYSTEM_CHECK_MANUAL_ORDER_PERIOD",
"__description": "Set the seconds for the period of checking the manual orders. Note that reducing the seconds can cause issues with the bot exceeding the API usage.",
"__format": "number"
},
"placeManualOrderInterval": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYSTEM_PLACE_MANUAL_ORDER_INTERVAL",
"__description": "Set the seconds for the period of placing the manual orders. Note that reducing the seconds can cause issues with the bot exceeding the API usage.",
"__format": "number"
},
"refreshAccountInfoPeriod": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYSTEM_REFRESH_ACCOUNT_INFO_PERIOD",
"__description": "Set the seconds for the period of checking the account info.",
"__format": "number"
},
"checkOrderExecutePeriod": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_SYSTEM_CHECK_ORDER_EXECUTE_PERIOD",
"__description": "Set the seconds for the period of checking the grid trade order executed. Note that reducing the seconds can cause issues with the bot exceeding the API usage.",
"__format": "number"
}
}
},
"trailingTradeIndicator": {
"enabled": {
"__name": "BINANCE_JOBS_TRAILING_TRADE_ENABLED",
"__format": "boolean"
},
"cronTime": "BINANCE_JOBS_TRAILING_TRADE_INDICATOR_CRON_TIME"
},
"tradingView": {
"enabled": {
"__name": "BINANCE_JOBS_TRADING_VIEW_ENABLED",
"__format": "boolean"
},
"cronTime": "BINANCE_JOBS_TRADING_VIEW_INDICATOR_CRON_TIME"
}
}
}