Skip to content

Commit 5dd5b95

Browse files
authored
Merge pull request freqtrade#11867 from freqtrade/maint/remove_edge
Remove Edge from Freqtrade
2 parents 1d24f90 + 20e0b54 commit 5dd5b95

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+68
-2319
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Please find the complete documentation on the [freqtrade website](https://www.fr
7070
- [x] **Backtesting**: Run a simulation of your buy/sell strategy.
7171
- [x] **Strategy Optimization by machine learning**: Use machine learning to optimize your buy/sell strategy parameters with real exchange data.
7272
- [X] **Adaptive prediction modeling**: Build a smart strategy with FreqAI that self-trains to the market via adaptive machine learning methods. [Learn more](https://www.freqtrade.io/en/stable/freqai/)
73-
- [x] **Edge position sizing** Calculate your win rate, risk reward ratio, the best stoploss and adjust your position size before taking a position for each specific market. [Learn more](https://www.freqtrade.io/en/stable/edge/).
7473
- [x] **Whitelist crypto-currencies**: Select which crypto-currency you want to trade or use dynamic whitelists.
7574
- [x] **Blacklist crypto-currencies**: Select which crypto-currency you want to avoid.
7675
- [x] **Builtin WebUI**: Builtin web UI to manage your bot.
@@ -112,7 +111,6 @@ positional arguments:
112111
backtesting-show Show past Backtest results
113112
backtesting-analysis
114113
Backtest Analysis module.
115-
edge Edge module.
116114
hyperopt Hyperopt module.
117115
hyperopt-list List Hyperopt results
118116
hyperopt-show Show details of Hyperopt results

build_helpers/schema.json

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,6 @@
538538
"description": "Exchange configuration.",
539539
"$ref": "#/definitions/exchange"
540540
},
541-
"edge": {
542-
"description": "Edge configuration.",
543-
"$ref": "#/definitions/edge"
544-
},
545541
"log_config": {
546542
"description": "Logging configuration.",
547543
"$ref": "#/definitions/logging"
@@ -1259,52 +1255,6 @@
12591255
"name"
12601256
]
12611257
},
1262-
"edge": {
1263-
"type": "object",
1264-
"properties": {
1265-
"enabled": {
1266-
"type": "boolean"
1267-
},
1268-
"process_throttle_secs": {
1269-
"type": "integer",
1270-
"minimum": 600
1271-
},
1272-
"calculate_since_number_of_days": {
1273-
"type": "integer"
1274-
},
1275-
"allowed_risk": {
1276-
"type": "number"
1277-
},
1278-
"stoploss_range_min": {
1279-
"type": "number"
1280-
},
1281-
"stoploss_range_max": {
1282-
"type": "number"
1283-
},
1284-
"stoploss_range_step": {
1285-
"type": "number"
1286-
},
1287-
"minimum_winrate": {
1288-
"type": "number"
1289-
},
1290-
"minimum_expectancy": {
1291-
"type": "number"
1292-
},
1293-
"min_trade_number": {
1294-
"type": "number"
1295-
},
1296-
"max_trade_duration_minute": {
1297-
"type": "integer"
1298-
},
1299-
"remove_pumps": {
1300-
"type": "boolean"
1301-
}
1302-
},
1303-
"required": [
1304-
"process_throttle_secs",
1305-
"allowed_risk"
1306-
]
1307-
},
13081258
"logging": {
13091259
"type": "object",
13101260
"properties": {

config_examples/config_full.example.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,6 @@
121121
"outdated_offset": 5,
122122
"markets_refresh_interval": 60
123123
},
124-
"edge": {
125-
"enabled": false,
126-
"process_throttle_secs": 3600,
127-
"calculate_since_number_of_days": 7,
128-
"allowed_risk": 0.01,
129-
"stoploss_range_min": -0.01,
130-
"stoploss_range_max": -0.1,
131-
"stoploss_range_step": -0.01,
132-
"minimum_winrate": 0.60,
133-
"minimum_expectancy": 0.20,
134-
"min_trade_number": 10,
135-
"max_trade_duration_minute": 1440,
136-
"remove_pumps": false
137-
},
138124
"telegram": {
139125
"enabled": false,
140126
"token": "your_telegram_token",

docs/commands/edge.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ usage: freqtrade edge [-h] [-v] [--no-color] [--logfile FILE] [-V] [-c PATH]
77
[--data-format-ohlcv {json,jsongz,feather,parquet}]
88
[--max-open-trades INT] [--stake-amount STAKE_AMOUNT]
99
[--fee FLOAT] [-p PAIRS [PAIRS ...]]
10-
[--stoplosses STOPLOSS_RANGE]
1110
1211
options:
1312
-h, --help show this help message and exit
@@ -29,11 +28,6 @@ options:
2928
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
3029
Limit command to these pairs. Pairs are space-
3130
separated.
32-
--stoplosses STOPLOSS_RANGE
33-
Defines a range of stoploss values against which edge
34-
will assess the strategy. The format is "min,max,step"
35-
(without any space). Example:
36-
`--stoplosses=-0.01,-0.1,-0.001`
3731
3832
Common arguments:
3933
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).

docs/commands/main.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ positional arguments:
2222
backtesting-show Show past Backtest results
2323
backtesting-analysis
2424
Backtest Analysis module.
25-
edge Edge module.
25+
edge Edge module. No longer part of Freqtrade
2626
hyperopt Hyperopt module.
2727
hyperopt-list List Hyperopt results
2828
hyperopt-show Show details of Hyperopt results

docs/configuration.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ Mandatory parameters are marked as **Required**, which means that they are requi
234234
| `exchange.only_from_ccxt` | Prevent data-download from data.binance.vision. Leaving this as false can greatly speed up downloads, but may be problematic if the site is not available.<br>*Defaults to `false`*<br> **Datatype:** Boolean
235235
| `experimental.block_bad_exchanges` | Block exchanges known to not work with freqtrade. Leave on default unless you want to test if that exchange works now. <br>*Defaults to `true`.* <br> **Datatype:** Boolean
236236
| | **Plugins**
237-
| `edge.*` | Please refer to [edge configuration document](edge.md) for detailed explanation of all possible configuration options.
238237
| `pairlists` | Define one or more pairlists to be used. [More information](plugins.md#pairlists-and-pairlist-handlers). <br>*Defaults to `StaticPairList`.* <br> **Datatype:** List of Dicts
239238
| | **Telegram**
240239
| `telegram.enabled` | Enable the usage of Telegram. <br> **Datatype:** Boolean

docs/deprecated.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,8 @@ Please use the [`convert-data` subcommand](data-download.md#sub-command-convert-
9393

9494
Configuring syslog and journald via `--logfile systemd` and `--logfile journald` respectively has been deprecated in 2025.3.
9595
Please use configuration based [log setup](advanced-setup.md#advanced-logging) instead.
96+
97+
## Removal of the edge module
98+
99+
The edge module has been deprecated in 2023.9 and removed in 2025.6.
100+
All functionalities of edge have been removed, and having edge configured will result in an error.

0 commit comments

Comments
 (0)