2024.9
版本发布时间: 2024-09-30 17:26:39
freqtrade/freqtrade最新发布版本:2024.10(2024-10-31 15:07:21)
Highlighted changes
- Add Bybit to official exchanges (it’s already been there, but didn’t show up that way).
- Bybit: Support Unified subaccounts.
- Added support to analyze exit signals with
backtesting-analysis
. - Removed “hard” startup pair validation. Invalid pairs are now raising a warning, no longer an exception.
- Improved Dry-run wallets accuracy by correctly reporting used amounts (for open, unfilled orders).
- Added Coingecko category selection in
MarketCapPairList
.
:warning: This will be the last version supporting python 3.9. If you haven't done so yet, please update your python version to a more recent version (we recommend 3.12 for performance reasons).
Sponsors
You can sponsor the work on freqtrade via the following links:
- froggleston (FTUI) https://github.com/sponsors/froggleston/
- robcaulk (freqAI) https://github.com/sponsors/robcaulk/
- xmatthias (freqtrade and freqUI): https://github.com/sponsors/xmatthias/
How to update
As always, you can update your bot using one of the following commands:
docker-compose
docker-compose pull
docker-compose up -d
Installation via setup script
# Deactivate venv and run
./setup.sh --update
Plain native installation
git pull
pip install -U -r requirements.txt
Expand full changelog
27af9455f chore: bump version to 2024.9
415b8354f fix: if coingecko when no pair returned
51c596a21 chore: add test for "no pair from coingecko" case
f4d76aa36 chore: improved wording
56835f5f0 chore: manually check for symlink
255ad7cac tests: test invalid category in list
8c097a81e tests: enhance test for marketcappairlist
3dc92b42f fix: Check if sub-directories are actually directories and fail otherwise.
1ed5a3728 Update freqtrade/plugins/pairlist/IPairList.py
cb36f2844 chore: Improve "wrong category" error.
7b93b55b7 docs: rephrase categories docs and add performance warning
6837196e4 fix: treat marketcap as optional parameter
31680f3b5 chore: Improve UI wording
d18d8cf0e freqai_info -> ft_params
123909cda fix: Update BasePyTorchRegressor.py
1d66ef2f2 chore: update pre-commit hooks
8aefae3af format
514558796 double quotes
b00ca5470 adding docu
0dbe507b2 making list of categories available
4b70bea21 chore: reset params for emulated call
096a051b9 test: update test
a3ca1ff1e fix: send acknoledged to bybit fetch_order calls
28eabfe47 tests: update test for retryable okx behavior
0a68b0515 chore: reduce retry count for stop orders
566c0c8f7 refactor: split okx fetch stop fallback
333f2cb47 fix: Improve error handling for OKX stop orders
3d1acc65a tests: add test for #10704
b44e8199b chore: update pre-commit hooks
b228f177f chore(deps): bump ccxt from 4.4.5 to 4.4.6
1cdf8b29a chore(deps): bump fastapi from 0.114.2 to 0.115.0
04abc4d12 chore(deps): bump pymdown-extensions from 10.9 to 10.10.1
9f5e4b581 chore: update sqlalchemy in pre-commit config
06eb5abf1 chore(deps): bump filelock from 3.16.0 to 3.16.1
29e6e3b37 chore(deps): bump python-telegram-bot from 21.5 to 21.6
2fc97f83f chore(deps-dev): bump ruff from 0.6.5 to 0.6.7
1e761b4c7 chore(deps): bump sqlalchemy from 2.0.34 to 2.0.35
a2ca136f1 chore(deps): bump pandas from 2.2.2 to 2.2.3
94322664f chore(deps): bump websockets from 13.0.1 to 13.1
cbd5c6d3e chore(deps): bump pydantic from 2.9.1 to 2.9.2
0428dc838 chore(deps): bump mkdocs-material in the mkdocs group
01e7b0da4 chore(deps): bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2
b37dadcc0 tests: dry-wallets test update
8e6151fe6 fix: properly consider open order values as "tied up" stake.
9b346c093 docs: add hint about amount being 0
b09f80ca3 tests: improve create_trade test
0e0af8229 fix: odd calculation in calc_profit_ratio
c69b09cbf tests: fix amount=0 test
b8ba6cd97 tests: update rpc_status
004e30d6b tests: update force_sell test to not use empty amount column
b084efdd0 feat: initialize trade objects with 0 amount
d377d8462 fix: improve resiliance of order parsing
2bbec9f9b tests: fix random test failure by reading time only once
b32690848 tests: Improve test resiliance
b21156a88 tests: improve stoploss test
85138b0bc tests: Have exchange test get_historic_ohlcv properly
e0df0257d tests: Update history tests for new response
d23c1e8f9 refactor: Move dataframe parsing into get_historic_ohlcv
670a40e67 chore: remove no longer valid todo
3bbc6cbab chore: bump ccxt to 4.4.5
15de53a22 chore: bump ccxt to 4.4.5
756169235 chore: update pre-commit hooks
f50a633f8 docs: order table formatting
50f07e7b1 only doing this if the category is set
660623181 adding category list if the category is not from the category
03ee3aaf4 adding category list if the category is not from the category
ad295946c fix: use precise calculation for decrease adjustment calculations
ff9d1f272 chore: update pre-commit hooks
0b7cb2a1a cleanup
92af01b0c adding category for MarketCapPairList.py
dc26d0d7b adding category for MarketCapPairList.py
2fe67edab chore: update link to okx liquidation formula
65e6c737c chore(deps): bump pydantic from 2.9.0 to 2.9.1
09c145941 chore(deps-dev): bump ruff from 0.6.4 to 0.6.5
a7f46500e chore: bump types-requests in pre-commit
c73fa2b0e chore(deps): bump rich from 13.8.0 to 13.8.1
db4c4b971 chore(deps): bump ccxt from 4.3.98 to 4.4.3
e9ccc98ad chore(deps): bump fastapi from 0.114.0 to 0.114.2
11d6ec33b chore(deps): bump scikit-learn from 1.5.1 to 1.5.2
c3b6f4ca8 chore(deps): bump pytz from 2024.1 to 2024.2
d37405a30 chore(deps): bump urllib3 from 2.2.2 to 2.2.3
d7a984132 chore(deps): bump plotly from 5.24.0 to 5.24.1
cf3af4247 chore(deps-dev): bump pytest from 8.3.2 to 8.3.3 in the pytest group
ad8e6e7d6 chore(deps-dev): bump types-requests in the types group
ae41ab101 docs: remove skip_pair_validation - it's no longer used.
f4881e7c6 tests: Adjust tests for removed validate_pairlist functionality
94ef4380d chore: remove validate_pairs from exchange class
7ebe1b8c1 chore: remove pointless validation
79020bba2 chore: Remove "prohibitedIn" check
95c250ebc chore: add explaining comment
bfb14614c chore: enhance change with comment
12299d481 feat: staticPairlist to warn for invalid pairs
c67a9d4e8 docs: update pairlist creation docs
51bdecea5 Improve check to cover more potential api oddities
0f505c6d7 Improve check to cover more potential api oddities
9f34153c8 chore: update typing for reload function
c04cf6c5c test: Improve test coverage of retry/fail logic
511273638 feat: Simplify reload_markets logic
11eaa6d77 test: Add tests for new behavior
6024903bd feat: conditionally apply retrier to market-reload
d15921b3f chore: update pre-commit hooks
439658fcf fix: remove tests for orderflow data missing of other runmodes
c9acb1466 fix: orderflow data missing for plotting and other runmodes
addd27faf Update tests and docs
f1df7e9bd chore: remove redundant method
4765656f8 Add filter for entry and exit only parameter
8c1b119e8 chore: rpi image should remain on 3.11 series
95fa7083a chore(deps): bump python in /docker
98e08df80 chore(deps): bump python
01da36f98 chore: update pre-commit hooks
ae155c78c added check
974221647 chore: run ruff-format on pre-commit
2c17551b2 chore: bump sqlalchemy in mypy additional deps
7aa7027a3 chore(deps): bump fastapi from 0.112.2 to 0.114.0
9b97be4aa Bump pre-commit dependencies
621be1139 chore(deps): bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1
05af6df53 chore(deps): bump peter-evans/create-pull-request from 6 to 7
b7bda2355 chore(deps): bump sqlalchemy from 2.0.32 to 2.0.34
b0976031a chore(deps): bump ccxt from 4.3.93 to 4.3.98
d099f30a3 chore(deps-dev): bump ruff from 0.6.3 to 0.6.4
699be03bb chore(deps): bump filelock from 3.15.4 to 3.16.0
ccf93cfdc chore(deps): bump torch from 2.2.2 to 2.4.1
47358a822 chore(deps): bump catboost from 1.2.5 to 1.2.7
9856c2cfc chore(deps): bump pydantic from 2.8.2 to 2.9.0
df9669ba2 chore(deps-dev): bump the types group with 2 updates
f970454cb chore: ruff format
69678574d fix: support python 3.9 union type hinting
53cab5074 chore: refactor and cleanup tests
c6c65b179 chore: flake8
bb9f64027 chore: improve language in docs
5f52fc433 feat: update lookahead-analysis doc caveats to include info regarding the false positive on FreqAI targets
82e30c851 feat: if a biased_indicator starting with & appears in a lookahead-analysis, caption the table with a note that freqai targets appearing here can be ignored
6e2aa6b4b tests: remove unused imports
a1681cdd6 chore: improve typing
396d933e3 feat(bybit): add support for unified Accounts
0858e0a21 Minor update to docs
704e32b0d feat: properly parse marginmode on startup
f95cc960e test: tests should consider additional ff-update call
1b00f512c fix: call order_filled callback for left open trades
d9ec66695 docs: update backtesting docs with new row
1a2578a4b feat: Add margin/Trading mode output to bt-output
f714e306d test: add margin and trading mode to test config
6a4b64125 feat: implement __str__ for marign and tradingmode enums
8d9684431 use BT_DATA_COLUMNS for trade wide indicators
b7145debf handle trade wide indicators
c6a66a8fa chore: update pre-commit hooks
65ba67ded chore: re-add analytics.
824db7823 chore: update site_url again
2fdf10819 chore: update site_url to work correctly
63092d7d1 chore: re-add analytics to docs page
964d437c7 chore: type _ft_has
d49c55629 chore: rename ft_has setting from ws.enabled to ws_enabled
d6b274829 chore: rename types to ft_types
e3a5831d6 refactor: rename exchange.types
08d5174d0 update documentation and add default values
c0e9173c9 chore(deps): bump cryptography from 42.0.8 to 43.0.1
331db99a4 chore: update pre-commit hooks
bc4c69352 chore(deps): bump ccxt from 4.3.88 to 4.3.93
d4ba83764 chore: mark Bybit as supported exchange
4a1592dd9 feat: initialize hyperliquid in spot mode by default
904f5303a chore(deps): bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0
585761e93 chore(deps): bump python-telegram-bot from 21.4 to 21.5
4d53797cb chore(deps): bump websockets from 13.0 to 13.0.1
803677e88 chore(deps): bump plotly from 5.23.0 to 5.24.0
17617c58d chore(deps): bump rich from 13.7.1 to 13.8.0
96d03ec13 chore(deps-dev): bump ruff from 0.6.2 to 0.6.3
4726afbeb chore(deps): bump the mkdocs group with 2 updates
97c937e55 chore: add Bugbear Ruff checking
b25520cf1 chore: improve rhci_progress typing, remove mutable arguments
c6b46d75c chore: fix B018 violation
a554352ae test: remove unused mutable argument
a7fd03f1b chore: improve ccxt test
ef96116c3 docs: add note about freqUI support of dp.current_whitelist
7edc50865 docs: improve release documentation
a881d3fd8 chore: bump version to 2024.9-dev
268683f8e update documentation
b6702d1d3 simplify merging logic
c3679910a remove additional argument
19a2e06c0 #000 | Anuj | Merge Dfs for entry and exit in one table
8085e24dc update tests
d351ed017 refactor: change analyse_on variable name to date_col
3ebc5b136 review comments and update test for exit signals
103991746 chore: type safety and refactoring
7f0e5dd33 Refactor and add documentation
ecf9c173c Add test for backtesitng-analysis
b0e863dbb Introduce --exit-signals flag to backtesting-analysis command
8f8859a5f Initial commit - create a different file for signals