Skip to content

2023.12

Compare
Choose a tag to compare
@xmatthias xmatthias released this 30 Dec 07:50
· 1601 commits to stable since this release
5c8c53c

Highlighted changes

  • Added bot_name as possibility to discord messages.
  • FreqUI: Add “fast” mode, optionally surpressing exit confirmation dialogs.
  • Bybit: Add support for time in force FOK, IOC, PO (Post only).
  • Improved behavior for backtesting when max_open_trades is loaded from the strategy in multi-strategy mode.
  • FreqUI: Add new “Measure” tool, allowing for quick chart measurements.
  • FreqAI: Add new classification Model SKLearnRandomForestClassifier.

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
846b7734e Bump version to 2023.12
02836368f add default --dist loadscope arg to pytest options
d28202785 Bump CI python version to 3.11
97780ee5b Revert build-online to 3.9 for now
e162f98cf Update pre-built wheels for pyarrow
c6967b11b Align spelling of "cancelling"
1e5d353cf use safe_value_fallback when parsing orders
58432c1cf Bump lightgbm from 4.1.0 to 4.2.0
8cc2c5010 Bump pydantic from 2.5.2 to 2.5.3
5cbcf7250 Bump pyarrow from 14.0.1 to 14.0.2
35876cf8e Bump ccxt from 4.1.91 to 4.1.98
ac60871ff Bump ruff from 0.1.8 to 0.1.9
866e34a98 Bump mkdocs-material from 9.5.2 to 9.5.3
710797182 Bump nbconvert from 7.12.0 to 7.13.1
348459064 Bump xgboost from 2.0.2 to 2.0.3
971b7d074 Bump uvicorn from 0.24.0.post1 to 0.25.0
ec89aad10 fix typo in stoploss_from_absolute code example
fc13a99b3 Use intelligent scheduling to improve online test performance
03fb20440 use Loadscope to improve parallel test performance
0a96aa69b Only run parallel on online tests
ddbfce01b Show slowest tests
12e75e849 Don't do coverge on --longrun tests
916a84763 add pytest-xdist to speed up tests
4769b5070 Fix RPC tests
18dd9cf80 Use a trade for test that actually has an open stop order
63e652619 Bump mypy to 1.8.0
3cb4b1065 Specify python version for pre-commit update
23c3757c7 chore: update pre-commit hooks
a5c914951 chore: update pre-commit hooks
9ab08d513 Update committer in pre-commit workflow
87ce7dc02 Reduce permissions
3c7c4bc02 Use repo scoped token
0484b891f Add tech maintenance label
71689d9d6 Allow write access to action to allow creating the branch
881247a82 use isinstance for type checks
d26154f99 Import logging ...
0e14dd619 Set proper log-level for test
3676514ba Add pre-commit auto-update workflow
9ec23a029 Improve rpc typing
1272a15c3 Properly name Entry / exit types
a3a175e33 Reduce logging verbosity message in webhooks
71b777ef3 Fix missing rm line
b4e8122fd Attempt to properly remove 3.12 symlinks
b1393f1bd (configuration.md) fixed value USDT value  in example for clarity
34c5c68a9 Add macos-13 to ci matrix
c9a018cf0 Improve output if a strategy wasn't found in the backtest result
2f2467256 feat: add SKLearnRandomForestClassifier
26f0fe238 make example strat *even* simpler and make sure it buys and sells a lot ;)
5e3da30ab Fix remaining bittrex instances
651d2c06b Update tests to use new file
b37159308 Move previous test config to tests
3096cddbc further remove bittrex from docs
5bbe6aacf Remove Bittrex subclass
fe4bf271b Remove futher bittrex tests
0d3d1e6d9 Remove bittrex from more tests
57e01329c Bump ccxt from 4.1.84 to 4.1.91
a70ca6f61 Bump actions/download-artifact from 3 to 4
e5c783d2d Bump actions/upload-artifact from 3 to 4
e1b652d89 Bump mkdocs-material from 9.5.1 to 9.5.2
4e98b5f71 Bump psutil from 5.9.6 to 5.9.7
901b3f6fe Bump fastapi from 0.104.1 to 0.105.0
d0a9d927d Bump isort from 5.13.0 to 5.13.2
16eb95c71 Bump technical from 1.4.1 to 1.4.2
054ed0a7b Bump ruff from 0.1.7 to 0.1.8
82853e37a Bump python-rapidjson from 1.13 to 1.14
81c6336e1 Bump torch from 2.1.1 to 2.1.2
9a9a6eaa6 Revert "Merge pull request #9450 from freqtrade/fix/startup-candle-count"
67cdab6ee Provide strategy timeframe via API
58470ba9d Fix missing files in wheels
c580e8783 fixup
bc1ad3acb Improve logging
d2e328b8b Update artifact name
93e9c4fa6 Update job names in ci.yml
8d231dbf3 Update build-system to use "build"  insead of "setup.py"
b178cc5f3 Migrate from setup.cfg to pyproject.toml
6ee0f16e4 Migrate flake8 config to pyproject.toml
1d701967b exclude tests from build
d6b43c5ee re-work deploy CI
3670699ea Add trusted publishing for next release
58dfffe87 Add FIAT mapping for BTC
e57340992 Add windows ta-lib 3.12 wheels
e3fda16d1 Don't overpopulate points at the first iteration
71d3572c2 Support webserver strategy without max_open_trades
cfd5af67c Add max-open-trades param to get_trade_stake_amount
47a952e41 Don't use config['stake_amount'] in wallets
c9f43587e Bump binance leverage tiers
e79a58e1c Add test case to verify behavior in #9432
c62e52c75 Add test for dp_get_required_startup
5ab61d9da Improve missing data output
c5c2c8c18 Enforce kwargs for preliminary
755ce3a85 Prevent config modification during webserver startup
105cd9939 use max_open_trades from straetgy instead of config
db7799d2f Use variable instead of config for startup_candle_count
30f94ef5b Use LocalTrade for typehint
eac5d53a6 Add mock to backtest adjust position
4b43ccae1 Bump ccxt from 4.1.76 to 4.1.84
4b3230689 Bump pre-commit from 3.5.0 to 3.6.0
a0e92f5a4 Bump pandas from 2.1.3 to 2.1.4
17f0697c4 Bump mkdocs-material from 9.4.14 to 9.5.1
199e3f91f Bump ruff from 0.1.6 to 0.1.7
cc14cf23b Bump isort from 5.12.0 to 5.13.0
327f750ea Bump technical from 1.4.0 to 1.4.1
a304080c0 Bump actions/setup-python from 4 to 5
78cb1e608 fix: ensure we have a row of zeros appended (not the function)
0bd513012 enhance further test for funding-fee checking
3f6cd9ee5 Patch funding_fee calculation for unrelated test
8964c138f Call funding fee calculation whenever a trade is closed
ef23f0fcb Fix test to account for new funding_fee count
074343f0f Don't calculate funding_fees on every iteration
966eb59fd Extract funding fee calculation to separate method
778bd7b3b enhance further test for funding-fee checking
b4cd46d6d Further improve funding_Fee test
1d73b57e8 Extract some assert values from bt test
476703bf7 Update data_kitchen.py
cd09d3567 Add spy test on funding_fees in backtesting
dd08c134b Remove macos 13 ci again
d428d4839 Ease install dependencies for scikit-learn
3bdfa8523 Update scikit-optimize to ft-scikit-optimize
bb85efd6a Add test for informative weekly merging
7321a14c3 Fix generate-test-data for 1w data
2745a5d33 Rename informative_pair test
d123d3bb8 Completely mock Torch on macos
b14873400 Fix odd import in freqai tests
71178ff1d Remove "activate" activator
d3d9f3281 Fix torch logging setup mess
3b4b833dd Remove unused mock
3739a1073 Bump nbconvert from 7.11.0 to 7.12.0
9a425af76 Remove unnecessary conditions in Ci run
3c48208b3 Fix cache keys
68db8d020 install libomp
220777367 Attempt more granular cache for macos
cbe6d52a7 Try macos-13 CI
4061eaf88 Remove online tests for bittrex
ef042ae5e Remove exchange tests on bittrex
6ee792069 Remove bitrex-specific section
46c81d701 Revert "Bump tables from 3.9.1 to 3.9.2"
caac77c90 Update data_drawer.py
59a287106 Bump ccxt from 4.1.75 to 4.1.76
8b5e6bf9b chore: fix pandas warning about merging on datetime. fix pandas warning about inconsistent key lists in concat
04f2b7bad Add support for different timeInForce for bybit
e0f780f10 Bump python-telegram-bot from 20.6 to 20.7
44689d058 Bump ccxt from 4.1.66 to 4.1.75
1431b2b44 Bump tables from 3.9.1 to 3.9.2
106bda51d Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11
90e4eb59b Improve multi-strategy backtest docs
701f6fc05 Update outdated docs
0235db48a Prevent merge artifacts in "informative" pair
e9e7bf3ca Slight cleanup of unused comment
4464b0271 Add handling to properly merge 1M data to
4ed9ffbf3 Add test for behavior in #9490.
c01736608 Ensure testdata generation works for 1M data
6754072bc chore: fix future warning on pandas
5daafaabc Add explicit test for "now_is_time_to_refresh
d85518ccb Improve release documentation
c34cb9eb1 Bump version to 2023.12-dev
36836ea80 add bot_name to discord rpc field
d050beb62 Bump torch from 2.0.1 to 2.1.1
72eeb6561 use Cloudpickle also for reading
eeb460e55 Use cloudpickle throughout
48317c230 Bump scikit-learn from 1.1.3 to 1.3.2
d52936fd4 chore: try to keep startup_candle_count behaving the same as a normal FT strat
21a5abf25 fix: make sure that get_required_startup is timeframe independent