2022.7
版本发布时间: 2022-07-30 22:07:06
freqtrade/freqtrade最新发布版本:2024.10(2024-10-31 15:07:21)
Highlighted changes
- Add "leverage" as argument to
custom_stake_amount()
call. - Show candle values (ohlc) in telegram notifications (off by default!).
- Fix hyperopt for derived/inherited strategies.
- Improved dry-run fee handling, using maker/taker fees where appropriate.
- Hyperopt now supports
--timeframe-detail
(be very careful with memory usage!). - New parameter
required_profit
inStoplossGuard
.
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
28b477308 Version bump 2022.7
d70650b07 Add note for plot-dataframe and current-whitelist
cc3ead9d7 Set required_profit for stoploss guard, allowing to ignore small stoplosses.
2595e40e4 Remove unused test-strategy
a0b938875 Bump ccxt to 1.91.29
4c68bec17 Fix problem in `is_cancel_order_result_suitable`
ea112fb58 Add test for empty order (cancelled order)
47b52d4ba Bump types-dateutil in pre-commit
40969f20b Bump types-python-dateutil from 2.8.18 to 2.8.19
93340f546 Bump mypy from 0.961 to 0.971
43343d0e5 Revert markdown to 3.3.7
3ce46ff09 Bump types-requests in pre-commit
f93a3a5fc Bump ccxt from 1.90.89 to 1.91.22
98d0ad76b Bump types-requests from 2.28.1 to 2.28.3
d5933fb2a Bump mkdocs from 1.3.0 to 1.3.1
1b49e4522 Bump orjson from 3.7.7 to 3.7.8
83cac7bee Improve some more tests by adding proper orders
6e691a016 Use leverage-tiers loading in tests
2eb1d18c2 Don't load leverage tiers when not necessary
7682c9ace Update trade_close test to include orders
24a786bed Update rpc test to contain sell order
80845807e Improve some test resiliance
a02d02ac1 Enhance protections tests to have orders in mock trade
5c4f60f37 Improve configuration table formatting and ordering
e97468964 Add support for --timeframe-detail in hyperopt
32c3f6293 Fix documentation typo
b609dbcd8 Update mdx_truly_sane_lists to be compatible with markdown again
75e190ff1 Update sell-test without filled buy order
0daa9d3e5 Bump types-requests in pre-commit
ea523136f Bump types-requests from 2.28.0 to 2.28.1
d2ef24878 Bump markdown from 3.3.7 to 3.4.1
f07ad7aa8 Bump ccxt from 1.90.88 to 1.90.89
cb63d5e3d Bump fastapi from 0.78.0 to 0.79.0
5f820ab0a Bump pytest-asyncio from 0.18.3 to 0.19.0
2c6fb617a Bump jsonschema from 4.6.2 to 4.7.2
46be1b877 Version bump ccxt to 1.90.88
05a5ae4fc Update plotting to use entry/exit terminology
9347677c6 Uppdate pricecontours test to not recreate backtesting every loop
423af371c Simplify calculation by calling "get_fee" only once
4172f92bf simplify dry-run taker/maker selection
8b2535a8d Update Typing for fees
bf07d8fe8 Update test to properly patch/mock exchange
357000c47 Extract exchange validation to separate method
d03dfb393 Oder cost is real cost (including leverage)
ed64e4299 Stoploss orders should also be eligible to update closed fees
415780a4f gateio order cost is not in contracts
7b8a5585d Fetch 2ndary stoploss order once the order triggered.
7c4dd4c48 Support fee cost as string
40e2da10f Add hypeorpt cloudpickle magic
e53e53087 Add test showing broken inheritance hyperopt
2e642593e Update formatting of hyperopt_conf fixture
29efe75a6 Update hyperoptable strategy to use V3 interface
1c7f60103 Don't use master for publish CI action
fada432f4 Pin markdown docs dependency
b657a4df2 Improve hyperopt docs
cdc58058d Add candletype to notebook example
5c164efdb Also check for createLimitOrder as optionals
b9ba94d64 Bump ccxt to 1.90.47
bf992fd9d Add test for newly added functionality
f9d3775d4 Move "candle" logic for message to telegram
9a3a2f901 Simplify adding candle to message
8e8f026ea Telegram candle message should be configurable
ec3179156 Revert unwanted changes.
64f89af69 Add Explicit test for "has" checks
6ac1aa15f Reenable ccxt order checks
f8e35d876 Add TODO to disabled test
523d8a84a skip "supports market order" for now until CCXT fixes their assignemnt bugs.
7d6b3d0e0 Update hyperopt param docs to be clear that non-conclusive parameters will be ignored
0bb8c8feb Bump python-rapidjson from 1.6 to 1.8
c06b524b4 Bump urllib3 from 1.26.9 to 1.26.10
7c6c2c4d6 Bump cryptography from 37.0.2 to 37.0.4
7b998378c Bump numpy from 1.23.0 to 1.23.1
fa158ba8d Bump pre-commit from 2.19.0 to 2.20.0
719fa6f8e Bump orjson from 3.7.6 to 3.7.7
c98786a4f Bump jsonschema from 4.6.1 to 4.6.2
b1d34dba9 Bump ccxt from 1.90.40 to 1.90.41
5070a04a8 Bump mkdocs-material from 8.3.8 to 8.3.9
9086176f7 Bump pytest-mock from 3.8.1 to 3.8.2
494e0529d Update conftest for leverage tiers
9313a2d29 Update leverage tiers to latest version
ea5f41aa6 Version bump ccxt
aab59a8ca Bump ccxt to required version
c98e7ea05 Revert allowing empty currency for futures
b7167ec88 Fix wrong fee calclulation for gateio futures
5b733a723 use "fees" for trades responses
81f7d77d7 Allow fee currency to be empty for futures
2499276fc Refactor calculate_fee_rate to take separate parameters instead of an "Order"
e52f82b56 Add leverage to custom_stake_amount callback
b39508f64 remove loadMarkets from "required" section,
2dc46ca0b Add cost to partial test buy order
dbc3376fe Add alias for gate to gateio
514f7d491 change rejected to denied
647f9b546 replace the word abortion with rejected in log messages
6f0721ae2 Update dry-order-fix to use sqlalchemy internals
fe8083c7f Improve test for dry-run orderclosing
6da3fa08e Update migrations to also support Postgres
5820fc3b4 Bump jsonschema from 4.6.0 to 4.6.1
0a8a0c66b Bump requests from 2.28.0 to 2.28.1
dd21d963f Bump ccxt from 1.89.14 to 1.89.96
9a8d03b1f Bump uvicorn from 0.18.1 to 0.18.2
0555d7783 Bump python-telegram-bot from 13.12 to 13.13
b16bb23cc Bump prompt-toolkit from 3.0.29 to 3.0.30
92d189a84 Bump orjson from 3.7.3 to 3.7.6
405ea74f1 stopPrice
7fe8b7661 Display the signal candle analyzed in telegram.
10cbb5e67 test_exchange::test_taker_or_maker fixes
86ad5dd02 test_exchange::test_taker_or_maker fixes
dac9931b4 test_create_dry_run_order_fees
5d9aee6b7 test_taker_or_maker
e8803477d exchange/exchange add param taker_or_maker to add_dry_order_fee