This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.yml
226 lines (202 loc) · 5.8 KB
/
config.example.yml
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
# Whether to perform fake or real trades.
# Setting this to false will use REAL funds, use at your own risk!
enable_test_mode: true
# Configuration for bot logs.
logging_options:
# Enable or disable logging entirely.
# Recommended to set this to true in production and development.
# You should only set this to false for testing.
enable: true
# Set this to true if you want to use the structured logging format.
# Recommended to set this to true in production and false in development.
enable_structured_logging: false
# Valid options are: debug, info, warning, error.
# Recommended to set this to info in production and debug in development.
log_level: info
# Valid options are: debug, info, warning, error, silent.
# Recommended to set this to silent in all environments and only set this to debug to log all executed SQL statements in development when necessary.
# Defaults to `log_level` if not set.
database_log_level: silent
# Configuration for supported cryptocurrency exchanges.
markets:
binance:
access_key: PASTE_YOUR_ACCESS_KEY_HERE
secret_key: PASTE_YOUR_SECRET_KEY_HERE
# Main configuration for the trading strategy.
trading_options:
# Base currency to use for trading.
# Recommended to use USDT for most trading pairs.
pair_with: USDT
# Total amount per trade.
# Your base currency balance must be at least `max_coins` * `quantity`.
# Binance uses a minimum of 10 USDT per trade, add a bit extra to enable selling if the price drops.
# Recommended to specify no less than 12 USDT.
quantity: 15
# Allows the bot to dynamically adjust the trade `quantity` based on the profit/loss of all trades during the current session.
enable_dynamic_quantity: false
# The maximum number of coins to buy at a time.
# For example, if this is set to 3 and the bot has bought 3 different coins, it will not buy any more until it manages to sell one or more of them.
# Your base currency balance must be at least `max_coins` * `quantity`.
max_coins: 3
# The amount of time in MINUTES to wait to calculate the difference from the current price.
# Recommended minimum is 1.
time_difference: 2
# Number of times to check for TP/SL during each `time_difference`.
# Binance allows a maximum of 1200 requests per minute per IP.
# Recommended minimum is 1.
recheck_interval: 10
# The amount of time in SECONDS to wait between each try to sell your current coin holdings.
sell_timeout: 10
# The minimum difference in PERCENTAGE between the previous and current price of a coin to identify it as volatile.
change_in_price: 10
# Specify in PERCENTAGE how much you are willing to lose on a coin.
# For example, if you set this to 5, the bot will sell the coin if it drops 5% below the price at which it was bought.
stop_loss: 5
# Specify in PERCENTAGE how much you are looking to gain on a coin.
# For example, if you set this to 5, the bot will sell the coin if it rises 5% above the price at which it was bought.
take_profit: .8
# Trading fee for the maker in % per trade.
#
# Binance:
# - If using BNB for fees, set this to 0.075 and make sure have enough BNB in your account.
trading_fee_maker: 0.075
# Trading fee for the taker in % per trade.
#
# Binance:
# - If using BNB for fees, set this to 0.075 and make sure have enough BNB in your account.
trading_fee_taker: 0.075
# The amount of time in MINUTES to wait before buying the same coin again.
# This is to prevent buying the same coin multiple times in a short period of time.
# Set to 0 to disable.
cool_off_delay: 0
# Trading volume threshold in pair_with currency for a coin to be considered for trading.
# For Binance, this value refers to the 24h quote asset trading volume of the coin.
min_quote_volume_traded: 100000
# Configuration for trailing stop loss.
trailing_stop_options:
# Whether to enable trailing stop loss.
# If true, the bot will automatically move the stop loss up as the price of the coin increases to 'lock-in' a profit.
# Recommended to set this to true.
enable: true
# When `take_profit` is reached, the `stop_loss` is changed to `trailing_stop_loss` PERCENTAGE below `take_profit` hence 'locking in' the profit.
trailing_stop_loss: .4
# When `take_profit` is reached, the `take_profit` is changed to `trailing_take_profit` PERCENTAGE above the current price.
trailing_take_profit: .1
# List of tickers to include.
# To disable this feature, set it to an empty list as follows:
# allow_list: []
allow_list:
- 1INCH
- AAVE
- ADA
- ALGO
- ALPHA
- AR
- ARRR
- ATOM
- AVAX
- BAKE
- BAT
- BCD
- BCH
- BCHA
- BNB
- BNT
- BSV
- BTC
- BTCB
- BTCST
- BTG
- CAKE
- CCXX
- CEL
- CELO
- CHSB
- COMP
- CRV
- CTC
- DAI
- DASH
- DCR
- DFI
- DOT
- EGLD
- ENJ
- EOS
- ETC
- ETH
- FIL
- FLOW
- FTT
- GRT
- GT
- HNT
- HT
- ICP
- ICX
- KCS
- KLAY
- KNC
- KSM
- LEO
- LINK
- LPT
- LSK
- LTC
- LUNA
- LUSD
- MANA
- MDX
- MIOTA
- MIR
- MKR
- NANO
- NEAR
- NEO
- NEXO
- OCEAN
- OKB
- OMG
- ONT
- ORC
- PROM
- PUNDIX
- QNT
- QTUM
- RAY
- RENBTC
- RLC
- RUNE
- SNX
- SOL
- STORJ
- STX
- SUSHI
- THETA
- TTT
- UMA
- UNI
- UST
- VGX
- WAVES
- WBNB
- WBTC
- WRX
- XMR
- XRP
- XTZ
- XVS
- XWC
- YFI
- ZEC
- ZEN
- ZRX
# List of trading pairs to exclude.
# In the example below, we're excluding the most popular fiat pairs.
# To disable this feature, set it to an empty list as follows:
# allow_list: []
deny_list:
- EURUSDT
- GBPUSDT
- JPYUSDT
- USDUSDT