forked from CyberPunkMetalHead/binance-trading-bot-new-coins
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.example.yml
95 lines (88 loc) · 3.51 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
---
TRADE_OPTIONS:
# How often to check for posts and run the script in seconds
FREQUENCY_SECONDS: 5
# This will increase your FREQUENCY_SECONDS value by 1 every time you are almost rate limited.
AUTO_INCREASE_FREQUENCY: True
TEST: True
# Development debugging. Leave False.
BINANCE_TESTNET: False
# In theory, Binance/FTX will add a new coin at the start of a minute.
# Enabling this option will have the program continuously query the APIs for 'FRONTLOAD_DURATION' seconds starting at
# the FRONTLOAD_START'th second of each minute. A 'FRONTLOAD_DURATION' of 9 and a 'FRONTLOAD_START'
# of 57 would query the API from 00:57 until 01:05.
FRONTLOAD_REQUESTS:
FRONTLOAD_ENABLED: True
FRONTLOAD_START: 57
FRONTLOAD_DURATION: 9
# Brokers to run. Make sure to set API keys in auth.yml
BROKERS:
BINANCE:
ENABLED: True
# This must be MANUALLY turned on through the Binance web interface. I recommend turning ON.
# if True: Sells will sell 100% of your coin. You MUST have enough BNB in your SPOT account to cover the fees.
# if False: Sells will sell ~99.9% of your coin. The last .10% will go towards fees. Some coins can only be
# sold in whole numbers, so if this setting is False you will likely have 1 entire coin leftover after the sell transaction.
USE_BNB_FOR_FEES: False
# quantify of QUOTE_TICKER (below) to be bought
QUANTITY: 30
# For example, BTCUSDT will be bought with pairing 'USDT'
QUOTE_TICKER: 'USDT'
# Most users will not have a Binance subaccount
SUBACCOUNT: None
# Auto-sell if price goes X% of original purchase price
STOP_LOSS_PERCENT: 20
# Auto-sell if price goes above Y% of original purchase price
# TAKE_PROFIT_PERCENT is **IGNORED** if ENABLE_TRAILING_STOP_LOSS is True
TAKE_PROFIT_PERCENT: 30
ENABLE_TRAILING_STOP_LOSS: True
# Activate trailing stop loss once price is Z% above original purchase price
TRAILING_STOP_LOSS_ACTIVATION: 35
# Auto-sell if price goes X% below maximum price after activation
TRAILING_STOP_LOSS_PERCENT: 10
FTX:
ENABLED: True
QUANTITY: 30
SUBACCOUNT: None
QUOTE_TICKER: 'USDT'
STOP_LOSS_PERCENT: 20
TAKE_PROFIT_PERCENT: 30
ENABLE_TRAILING_STOP_LOSS: True
TRAILING_STOP_LOSS_ACTIVATION: 35
TRAILING_STOP_LOSS_PERCENT: 10
PROGRAM_OPTIONS:
# log level for output. I recommend either INFO or DEBUG
LOG_LEVEL: DEBUG
# how often, in minutes, to get a update message output
LOG_INFO_UPDATE_INTERVAL: 2
# if true, any time a new LIVE order or sale occurs the resulting object will be sent to and logged to pipedream.com account.
# I'll use this info to build better test cases and it will help me catch edge cases and bugs.
SHARE_DATA: True
NOTIFICATION_OPTIONS:
DISCORD:
ENABLED: True
NAME: 'DISCORD'
SETTINGS:
SEND_MESSAGE: True
SEND_ERROR: True
SEND_WARNING: False
SEND_INFO: False
SEND_DEBUG: False
SEND_ENTRY: True
SEND_CLOSE: True
AUTH:
ENDPOINT: 'https://discord.com/api/webhooks/<...> -> Read readme for more info'
TELEGRAM:
ENABLED: True
NAME: 'TELEGRAM'
SETTINGS:
SEND_MESSAGE: True
SEND_ERROR: True
SEND_WARNING: False
SEND_INFO: False
SEND_DEBUG: False
SEND_ENTRY: True
SEND_CLOSE: True
AUTH:
ENDPOINT: 'TOKEN -> Read readme for more info'
CHAT_ID: 'XXXXXX -> Read readme for more info. If this value is negative, keep the minus sign.'