2023.2
版本发布时间: 2023-02-26 21:54:23
freqtrade/freqtrade最新发布版本:2024.10(2024-10-31 15:07:21)
Highlighted changes
- Added support for Bybit futures.
- Add cancel-open-order RPC endpoints (telegram, freqUI).
- Stoploss on exchange orders on futures markets can now use different price types.
- Convert limit orders to market orders (simulating marketable limit orders) if price crosses spread by more than 3%.
- Updated systemd package to
cysystemd
to ensure compatibility with new python versions. - Show error in freqUI if backtest through UI failed.
- FreqAI
- Add
shuffle_after_split
option. - Updated
purge_old_models
to take an integer, defining the amount of models. - Add
buffer_train_data_candles
to add a buffer before/after the actual timerange. - Removed follower_mode. Please use producer/consumer mode instead.
- Add
Important reminder
Freqtrade/FreqAI is an open-source project without token offering. freqtrade does not have a domain besides the freqtrade documentation https://www.freqtrade.io/.
Please be cautious of any projects (scams) using the name of freqtrade/freqAI with malicious goals (e.g. to sell you tokens).
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
25724ef72 Version bump 2023.2
dc2cfee05 Don't request sorted candles from HitBTC.
c6455c413 Pin scikit-learn to <1.2.0 for conda as well
3471f5204 Don't reuse variable
c283e2232 fix purge_old_models description in parameter table
5ac4b81a5 fix link in freqai index.md
34c42be74 Fix minor stylistic errors
659140e19 Add bt-error to UI backtest method.
63e5d3302 Better handle backtest errors
7d906fd4c refactor(if-gate): use temp variable instead of if-gate
23a71680d Update Doc-box typo
150b7f9c8 lighten the disclaimer message
b8f011a2a give users ability to decide how many models to keep in dry/live
9633081c3 remove remnants of follower, clean data-drawer, improve doc
0f878daa9 Remove some too generic noqa statements
01d51aa97 Add necesary noqa statements
f8fa5bd96 Fix gone wrong noqa ...
18bbfa10e Reduce amount of variables for API backtesting
ff1258fd2 Better handle random UI backtest errors
3fbbc57a3 add imposter disclaimer to FreqAI front page
070a7efd7 * fixed filename in model_exists
2b5c11c7b allow users to buffer train data with buffer_train_data_candles parameter
62e120a60 Remove special treatment of cryptography for raspberries
48ecc7f6d Update freqai-reinforcement-learning docs
43962476a Remove non-working links, update links to https
a4a3d27ac Improve FAQ page
f4bd42422 Remove deprecated ubuntu image
af137188f Update wrong FAQ entry
789c867c8 Fix outdated systemd related exception text.
250faf012 Bump types-requests for pre-commit
0cd28e2ca Bump mypy from 1.0.0 to 1.0.1
eb08ef6ce Bump types-requests from 2.28.11.12 to 2.28.11.13
a4e69574d Bump ccxt from 2.7.93 to 2.8.17
c85fc6c8c Bump mkdocs-material from 9.0.12 to 9.0.13
f19128ad2 Bump fastapi from 0.91.0 to 0.92.0
2ef656fac Bump scipy from 1.10.0 to 1.10.1
e9c64c583 Update dependency to cysystemd
f89b63b0c Fix dry-run stoploss orders filling "in place" after restart.
2c0fbd850 Simplify test slightly
31c7b3e13 Update binance leverage tiers
22700527a Convert limit orders to market orders if they cross a threshold
960003968 Update dry-run fill method naming
35fe37199 fix minor typos
351c5fbf7 add shuffle_after_split to conftest
be85ef270 add documentation for shuffle_after_split, add to constants
36d65e00f generalize model_exists() for RL and Keras
a2e138994 Update Binance leverage code
8ef110cc5 Rename ob variable to orderbook
de7d274fc Pass orderbook to dry-run fill logic
7c1092156 Improve Orderbook typing to align for diff. exchanges
020c9a5ce Update freqai.md
ecff21ac2 type Orderbook
3397e47cc Rename stoploss() to create_stoploss()
6e55a873b Rename edge.stoploss to get_stoploss
bddec476f Fix missing typehint in hyper.py
cdd324d0a Rename stoploss_reached to ft_stoploss_reached
ce7d24f52 Extract ft_stoploss_adjust to seperate method
69d545946 Improve stop behavior in SIGTERM cases (docker).
9061c04f1 Bump ccxt from 2.7.80 to 2.7.93
f3a689787 Bump Docker images to latest minor version
f16fd0ad2 Reenable binanceus active test
f681ee794 Bump aiohttp from 3.8.3 to 3.8.4
50a9df9b2 Bump aiofiles from 22.1.0 to 23.1.0
2a87ad044 Bump tensorboard from 2.11.2 to 2.12.0
d14283b0e types-requests - precommit
9faa92680 Bump fastapi from 0.89.1 to 0.91.0
48c331785 Bump mypy from 0.991 to 1.0.0
bbb62c8a4 Bump types-requests from 2.28.11.8 to 2.28.11.12
b05999f6d Bump orjson from 3.8.5 to 3.8.6
ee209e3b4 Bump mkdocs-material from 9.0.11 to 9.0.12
b95ff827d Typo on freqai docs
a3b4678ad stoploss_price_type for gate
bedd3688d Properly format proxy configuration
c229ba97a Update gateio terminology to Gate
07e6932a1 Reenable longrun test mark
73992dde8 Add explicit warning that supported price types gonna differ on each exchanges
45e24d21d Bump ccxt to 2.7.78
f440d6621 Add sample_order for gate
8873a565e expose raw features to the environment for use in calculate_reward
154b6711b use function level noqa ignore
4fc0edb8b add pair to environment for access inside calculate_reward
d47d8c135 Add windows wheel for ta-lib on python 3.11
8d156b277 Bump ccxt to 2.7.66
3d22ad36b Show Config should contain stoploss-on-exchange status
102c1e799 realign binance set_leverage override
980ffa6bf Add test for binance rounding leverage
997df2032 Add response_log for set_leverage
d19ee9c95 Update okx position mode terminology
e2d81b0ce Skip binanceus ccxt test
c15e10fe1 Improve logic for initially placed stoploss
67a2cd708 Bump cryptography from 38.0.1 to 39.0.1
5a61e076d Remove unused import
953be8a7f Split validate_order_types to 2 functions to allow selective application
8c0c2496c Temporarily disable gate advanced stop orders
81619fb4a Properly use sqlalchemy column types
a6adcb485 Bump several pre-commit hooks versions
b6eb1f939 Bump pre-commit
c6601cbd8 Bump pymdown-extensions from 9.9.1 to 9.9.2
f96cb4772 Bump numpy from 1.24.1 to 1.24.2
365522f5c Bump types-cachetools from 5.2.1 to 5.3.0.0
8dde7ab6b Bump ccxt from 2.7.12 to 2.7.45
e964377ed Add new field to full config
d904e9166 Add documentation for new setting
61ba1a0dc Pin telegram in conda environment to <20
b8a527e4a Add gateio price type field
3497de3dd Add more validation
cf9e99b8e Add tests for ordertype validation
2738c3784 Test stoploss validation ...
c4fc81161 Add stop_price_type support (futures only!).
a9241f61f Add Price Type Enum
e38e41ab9 Bump isort from 5.11.4 to 5.12.0
e3f0e66b9 Bump technical from 1.3.0 to 1.4.0
b80d196d5 Bump pre-commit from 2.21.0 to 3.0.4
c61995aad Bump plotly from 5.11.0 to 5.13.0
34711eb68 Bump nbconvert from 7.2.8 to 7.2.9
5ed06cd79 Bump mkdocs-material from 9.0.8 to 9.0.11
801714a58 Update function signatures in all templates
0dd247238 add metadata param to docstrings
e569f6f6d add explicit metadata argument to example strat, include it with backtesting
5da60b718 pass metadata dictionary to feature_engineering_* and set_freqai_targets functions. Add doc
55850a5cc Skip orders when correlated trade was deleted.
02c0f91f4 fix: removes duplicated if branch
3fd6d7298 setup.sh: fix truty/falsy return of check_git_changes()
ef1738fbf Remove follow_mode from docs
618eb951d Add ft_bot_start to notebook docs
330461cf1 setup.sh: checks if git directory is dirty before bothering user with potentially scary question
b7787a984 [kucoin] manage kucoin numeric password passed as environment variable as a string
b4c3e1fd5 `order.amount` -> `order.safe_amount`
36f95fb35 Make test for `None` explicit
ccb4efbe8 remove follow mode in favor of producer consumer
ba7883f54 Update README.md
ceaaac6c3 Improve install sequence to install ta-lib after user interactivity
21618594b Update setup.sh queries to not ask redundant questions
d8583ab6e Bump setuptools in setup.sh
7569e72f5 Bump setuptools from 65.5.0 to 65.5.1
1e12e888d Update README.md
322d4b535 improve fix for setup.sh
72a98943b bybit: Add correct funding_fee_timeframe
9bb376296 Update parse_order test
839215c43 Fix Doc box error
8a0fabed0 Ensure we don't overwrite valid values by invalid exchange responses
680136f57 Add workaround patch for kucoin create_order returning empty
448505fbf Fix minor issue where amount could be empty in rest calls
50d3b7bde Add bybit sample order
42f07e6ec Improve order_parse tests
6012a5582 Improve test
9cfbb21cd Improve error messages
bbc663fce Add telegram test
1c47c118d Add cancel-order api test
daafc1c90 Update test and help
bd2839fa4 Reorder documentation
e291d1bb1 Document telegram /coo command
1bdc0e391 Add coo command to telegram
152aa994a Fix test
baf2090f9 Just change the docs
592eebe51 Add to setup
8b307357f Add to setup
5073c780d .agg would like strings, not the sum function.
2c1457fb9 Ensure limit is integer (on server)
1dc3c5877 Convert missing candle count to int
410324ac1 time-jump detection should happen on the trimmed dataframe
9e619ecc5 Update rest api documentation
03302fa0b Add cancel_open_order to rest script
c43e857cb Bump API version
c855e2d79 Add delete open order endpoint
a704c4340 provide cancel-reason to handle_cancel_order
2b09f0129 Fixes gym issue
5a7008f37 rename handle_timedout to handle_cancel_order
3cb9cc63b add pyarrow-11 rpi wheel file
2593a929d Bump version to 2023.2.dev
411ad5641 Bump pyarrow from 10.0.1 to 11.0.0
0dd852516 Bump mkdocs-material from 9.0.5 to 9.0.8
2fea23d31 Bump lightgbm from 3.3.4 to 3.3.5
f6ba0fe6a bybit: fix broken ccxt tests
7294db81e Bump ccxt to 2.7.7
d1b069abf bybit: Update test to align with defaultType change
fa033965c use "swap" for bybit
08ede3779 Add documentation note about stoploss on exchange
8665d0866 Add test for bybit startup magic
1431f7cc3 Set position mode to one-way on startup
73ef1d519 Improve exception wording on binance
c12fb1a49 bybit: Some final cleanup
25fa6bee7 Override get_funding_fees for bybit
051c3be99 add test case for bybit
3a83427f9 Add Bybit stoploss support
c14553bac Add bybit to supported Futures exchanges
c2b33a0f5 Fix set-leverage function sig
7a18e9604 bybit: hot-fix funding fees (temporary - must be changed)
f681ce913 Allow margin and leverage setting failures
31745a9dc bybit: Initial implementation liquidation calculation
93ce963e9 Update test name
752110a26 Add online tests for bybit
d05ecd630 Update tests for new liquidation parameter
34e743384 Add leverage to dry-run liquidation price calculation
a7b030fff Add note about bybit futures
3192af8df Limit bybit futures markets to USDT
63c732a56 Bybit futures data download
75804a7f8 Bump stable-baselines3 alongside with sb3-contrib.
a77fdb159 Bump sb3-contrib from 1.6.2 to 1.7.0
c9bc91c75 add shuffle_after_split option