-
Notifications
You must be signed in to change notification settings - Fork 31
/
config.yml
112 lines (90 loc) · 4.14 KB
/
config.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
# These options apply to how the script will operate.
script_options:
# Switch between testnet and mainnet
# Setting this to False will use REAL funds, use at your own risk
TEST_MODE: True
LOG_TRADES: True
LOG_FILE: 'trades.txt'
DEBUG: True
# Set this to true if you are accessing binance from within the United States of America
# Need to change TLD
AMERICAN_USER: False
# These options apply to the trading methods the script executes
trading_options:
# select your base currency to use for trading (trade for example USDT pairs)
PAIR_WITH: USDT
# Total amount per trade (your base currency balance must be at least TRADE_SLOTS * TRADE_TOTAL)
# Binance uses a minimum of 10 USDT per trade, add a bit extra to enable selling if the price drops.
# Recommended: no less than 12 USDT. Suggested: 15 or more.
TRADE_TOTAL: 15
# List of trading pairs to exclude
# by default we're excluding the most popular fiat pairs
FIATS:
- EURUSDT
- GBPUSDT
- JPYUSDT
- USDUSDT
- AUDUSDT
- DOWN
- UP
# Maximum number of trade 'slots' at any time (your USDT balance must be at least TRADE_SLOTS * TRADE_TOTAL)
TRADE_SLOTS: 7
# the amount of time in MINUTES to calculate the difference from the current price (minimum: 1).
TIME_DIFFERENCE: 2
# Number of times to check for TP/SL during each TIME_DIFFERENCE (minimum: 1).
# Don't spam the Binance API, you will be banned (max 1200 requests per minute per IP).
RECHECK_INTERVAL: 8
# the difference in % between the first and second checks for the price.
CHANGE_IN_PRICE: 2
# define in % when to sell a coin that's not making a profit.
STOP_LOSS: 3
# define in % when to take profit on a profitable coin.
TAKE_PROFIT: .8
# Use custom tickers.txt list for filtering pairs.
CUSTOM_LIST: True
# Whether to automatically reload the custom tickers list
CUSTOM_LIST_AUTORELOAD: False
# Name of custom tickers list
TICKERS_LIST: 'tickers.txt'
# whether to use trailing stop loss or not; default is True
# when hit TAKE_PROFIT, move STOP_LOSS to TRAILING_STOP_LOSS percentage points below TAKE_PROFIT hence locking in profit
# when hit TAKE_PROFIT, move TAKE_PROFIT up by TRAILING_TAKE_PROFIT percentage points
# NOTE -SELL_ON_SIGNAL_ONLY will override USE_TRAILING_STOP_LOSS
USE_TRAILING_STOP_LOSS: True
TRAILING_STOP_LOSS: .4
TRAILING_TAKE_PROFIT: .1
# Following are used to override SL, TP, TSL & TTP & SELL_ON_SIGNAL_ONLY in the case of a market crash
# when hit SESSION_TAKE_PROFIT %, sell all coins and stop bot
# when hit SESSION_STOP_LOSS %, sell all coins and stop bot.
# Note, SESSION_STOP_LOSS needs to be a NEGATIVE number i.e. -2
SESSION_TPSL_OVERRIDE: False
SESSION_TAKE_PROFIT: 5
SESSION_STOP_LOSS: -2
# Let a signalling module control sell of coin
# NOTE - If USE_TRAILING_STOP_LOSS: True then this needs to be False
SELL_ON_SIGNAL_ONLY: False
# Trading fee in % per trade.
# If using 0.075% (using BNB for fees) you must have BNB in your account to cover trading fees.
# If using BNB for fees, it MUST be enabled in your Binance 'Dashboard' page (checkbox).
TRADING_FEE: 0.075
# Discord integration
# Used to push alerts, messages etc to a discord channel
MSG_DISCORD: False
# Whether the bot should reinvest your profits or not.
# If you set to True the bot will dynamically adjust the TRADE_TOTAL (internally to the bot logic, not in this config file)
# so as to increase/decrease amount to invest per trade.
REINVEST_PROFITS: False
# This will tell the bot to restart signal modules every hour. This may be useful if for some reason you want to "reset"
# signal modules.
# In EXTSIGNAL_MODULES put the signalling module you want to restart every hour NOTE: THIS MUST EXIST IN SIGNALLING_MODULES!!!!!
RESTART_EXTSIGNALS: False
EXTSIGNAL_MODULES:
#- os_signalbuy_3SMAv2
SIGNALLING_MODULES:
# NOTE: Only use the "os_xxxxxxxxx" or "nigec_xxxxxxxxx" etc signal/pause modules with this fork as
# the default ones WILL NOT work due to customisations for my specific purposes
#
# - os_signalbuy_RECOMM
# - os_signalsell_RECOMM
# - os_signalbuy_3SMAv2
- os_pausebot_MAv2