-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinstall_config
171 lines (171 loc) · 5.13 KB
/
install_config
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
{
"max_open_trades": $max_open_trades,
"stake_currency": "$stake_currency",
"stake_amount": $stake_amount,
"tradable_balance_ratio": 0.99,
"fiat_display_currency": "$display_currency",
"amount_reserve_percent": 0.05,
"amend_last_stake_amount": false,
"last_stake_amount_min_ratio": 0.5,
"dry_run": false,
"cancel_open_orders_on_exit": true,
"timeframe": "5m",
"trailing_stop": true,
"trailing_stop_positive": 0.005,
"trailing_stop_positive_offset": 0.01,
"trailing_only_offset_is_reached": true,
"use_sell_signal": true,
"sell_profit_only": true,
"sell_profit_offset": 0.0,
"ignore_roi_if_buy_signal": false,
"ignore_buying_expired_candle_after": 300,
"minimal_roi": {
"0": 100,
},
"stoploss": -0.40,
"unfilledtimeout": {
"buy": 10,
"sell": 30,
"exit_timeout_count": 0,
"unit": "minutes"
},
"bid_strategy": {
"price_side": "bid",
"use_order_book": true,
"ask_last_balance": 0.0,
"order_book_top": 1,
"check_depth_of_market": {
"enabled": false,
"bids_to_ask_delta": 1
}
},
"ask_strategy":{
"price_side": "ask",
"use_order_book": true,
"order_book_top": 1
},
"order_types": {
"buy": "limit",
"sell": "limit",
"emergencysell": "market",
"forcesell": "market",
"forcebuy": "market",
"stoploss": "market",
"stoploss_on_exchange": false,
"stoploss_on_exchange_interval": 60
},
"order_time_in_force": {
"buy": "gtc",
"sell": "gtc"
},
"pairlists": [
{"method": "StaticPairList"},
{
"method": "VolumePairList",
"number_assets": 20,
"sort_key": "quoteVolume",
"refresh_period": 1800
},
{"method": "AgeFilter", "min_days_listed": 10},
{"method": "PrecisionFilter"},
{"method": "PriceFilter", "low_price_ratio": 0.01, "min_price": 0.00000010},
{"method": "SpreadFilter", "max_spread_ratio": 0.005},
{
"method": "RangeStabilityFilter",
"lookback_days": 10,
"min_rate_of_change": 0.01,
"refresh_period": 1440
}
],
"exchange": {
"name": "$exchange_name",
"sandbox": false,
"key": "$exchange_key",
"secret": "$exchange_secret",
"ccxt_config": {},
"ccxt_async_config": {},
"pair_whitelist": [
".*/$stake_currency"
],
"pair_blacklist": [
".*(BNB)/.*",
".*(_PREMIUM|BEAR|BULL|DOWN|HALF|HEDGE|UP|[1235][SL])/.*",
".*(AUD|BRL|BRZ|CAD|CHF|EUR|GBP|HKD|IDRT|JPY|NGN|RUB|SGD|TRY|UAH|USD|ZAR)/.*",
".*(BIDR|BUSD|BVND|CUSDT|DAI|IDRT|PAX|PAXG|SUSD|TUSD|USDC|USDT|UST|VAI)/.*",
".*(PPT|RDN|AGI)/.*"
],
"outdated_offset": 5,
"markets_refresh_interval": 60
},
"edge": {
"enabled": false,
"process_throttle_secs": 3600,
"calculate_since_number_of_days": 7,
"allowed_risk": 0.01,
"stoploss_range_min": -0.01,
"stoploss_range_max": -0.1,
"stoploss_range_step": -0.01,
"minimum_winrate": 0.60,
"minimum_expectancy": 0.20,
"min_trade_number": 10,
"max_trade_duration_minute": 1440,
"remove_pumps": false
},
"telegram": {
"enabled": true,
"token": "$telegram_token",
"chat_id": "$telegram_chatid",
"keyboard": [
["/daily", "/profit", "/stats", "/count"],
["/status table", "/balance", "/logs", "/help"]
],
"notification_settings": {
"status": "on",
"warning": "on",
"startup": "on",
"buy": "on",
"buy_fill": "on",
"sell": {
"roi": "on",
"emergency_sell": "on",
"force_sell": "on",
"sell_signal": "on",
"trailing_stop_loss": "on",
"stop_loss": "on",
"stoploss_on_exchange": "on",
"custom_sell": "on"
},
"sell_fill": "on",
"buy_cancel": "on",
"sell_cancel": "on",
"protection_trigger": "on",
"protection_trigger_global": "on"
},
"reload": true,
"balance_dust_level": 0.01
},
"api_server": {
"enabled": true,
"listen_ip_address": "$ipaddress",
"listen_port": $webport,
"verbosity": "error",
"enable_openapi": false,
"jwt_secret_key": "$secretkey",
"CORS_origins": [],
"username": "$webuser",
"password": "$webpass"
},
"bot_name": "$botname",
"db_url": "sqlite:///tradesv3.sqlite",
"initial_state": "running",
"forcebuy_enable": false,
"internals": {
"process_throttle_secs": 5,
"heartbeat_interval": 60
},
"disable_dataframe_checks": false,
"strategy": "$strategy",
"strategy_path": "user_data/strategies/",
"dataformat_ohlcv": "json",
"dataformat_trades": "jsongz"
}