Commit Graph

31429 Commits

Author SHA1 Message Date
Matthias dc2abe32a3 Merge pull request #13003 from freqtrade/new_release
New release 2026.3
2026.3
2026-03-30 19:11:38 +02:00
Matthias 43bb0f7cb1 chore: bump version to 2026.3 2026-03-30 06:38:56 +02:00
Matthias 9ee87cb6ba Merge branch 'stable' into new_release 2026-03-30 06:38:42 +02:00
Matthias 0ed613a574 fix: further improvements to exit codes 2026-03-29 13:52:51 +02:00
Matthias c7dfd54eb3 test: stabilize time-dependant test after summer time switch 2026-03-29 13:33:56 +02:00
Matthias 697814ed6a fix: improved sysexit handling
closes #12988
2026-03-29 13:30:26 +02:00
Matthias d5417d40ae Merge pull request #12986 from freqtrade/dependabot/pip/cryptography-46.0.6
chore(deps): bump cryptography from 46.0.5 to 46.0.6
2026-03-29 12:55:25 +02:00
dependabot[bot] e386334130 chore(deps): bump cryptography from 46.0.5 to 46.0.6
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 46.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-28 12:50:32 +00:00
Matthias 57e489b9aa Merge pull request #12985 from freqtrade/maint/pin_build
Pin individual installs in CI
2026-03-28 13:49:39 +01:00
Matthias e0d55bf5d3 chore(ci): install pinned ccxt and orjson versions 2026-03-28 13:04:42 +01:00
Matthias f169f99a5f chore(ci): pre-commit-update pin pre-commit 2026-03-28 13:03:24 +01:00
Matthias 0982b26d6b chore(ci): pin pyyaml explicitly 2026-03-28 13:02:03 +01:00
Matthias 626e719942 chore(ci): don't upgrade wheel
it'll be auto-installed in the build environment
2026-03-28 12:56:24 +01:00
Matthias d82cac3895 chore(ci): pin "build" and use the pinned version in CI 2026-03-28 12:55:02 +01:00
Matthias 3e40944b4e test: skip pygments vulnerability for now 2026-03-26 07:15:21 +01:00
Matthias 05081df48b chore(ci): revert build pinning 2026-03-26 07:12:36 +01:00
Matthias 6e6082fa2b test: update test wording for stoploss price type 2026-03-26 07:08:44 +01:00
Matthias 3c43e3dae3 feat: improve stop price type not supported message 2026-03-26 07:08:40 +01:00
Matthias 515a754dc4 docs: clarify stop price type validation logic for spot markets
(it's not validated in that case).
2026-03-26 07:08:40 +01:00
Matthias 1c98c2feeb feat(bitget): add stoploss price type support
closes #12981
2026-03-26 07:08:40 +01:00
Matthias 697059a4a2 Merge pull request #12980 from freqtrade/dependabot/pip/requests-2.33.0
chore(deps): bump requests from 2.32.5 to 2.33.0
2026-03-26 07:08:07 +01:00
Matthias 1b1508d8f2 Merge pull request #12982 from freqtrade/update/binance-leverage-tiers
Update Binance Leverage Tiers
2026-03-26 07:02:25 +01:00
Freqtrade Bot 48905e55e5 chore: update pre-commit hooks 2026-03-26 04:18:28 +00:00
Matthias a203f4129a Merge pull request #12952 from Briarion/feat/pytorch-early-stopping
feat: add early stopping support to PyTorchModelTrainer
2026-03-25 19:54:48 +01:00
dependabot[bot] 0b3f3a94b5 chore(deps): bump requests from 2.32.5 to 2.33.0
Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.5...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-25 18:12:12 +00:00
Briarion daf9918bb5 docs: add early_stopping_patience to parameter table
Document the new early_stopping_patience trainer_kwargs parameter
in the FreqAI parameter table, including description, datatype,
default value, and usage notes.
2026-03-25 15:29:15 +03:00
Briarion 3bde73740c feat: add early stopping support to PyTorchModelTrainer
Add optional early stopping to prevent overfitting in PyTorch-based
FreqAI models. When `early_stopping_patience` is set in
model_training_parameters, training will stop if validation loss
does not improve for the specified number of epochs.

Changes:
- Add `early_stopping_patience` parameter (default 0 = disabled)
- `estimate_loss()` now returns average loss (float | None) instead
  of None, enabling downstream use for schedulers and early stopping
- Track best validation loss and patience counter across epochs

Usage in config:
```json
{
  "model_training_parameters": {
    "n_epochs": 100,
    "early_stopping_patience": 10
  }
}
```

The change is fully backward compatible - early stopping is disabled
by default, and the return value of estimate_loss() can be safely
ignored by existing subclasses.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 15:24:58 +03:00
Matthias 3f9eaba1ef Merge pull request #12979 from freqtrade/fix/freqai_torch
Fix freqai torch model loading
2026-03-25 12:45:41 +01:00
Matthias d557b4b298 Merge branch 'develop' into fix/freqai_torch 2026-03-25 12:31:28 +01:00
Matthias fd858b79af test: remove "ignore-vuln" from pip-audit tests
the vulnerability was fixed.
2026-03-25 10:58:39 +01:00
Matthias e96c67e140 fix: pin build to 1.4.0 for now 2026-03-25 10:58:02 +01:00
Matthias faf28180a5 docs: fix minor documentation bug 2026-03-24 20:57:17 +01:00
Matthias e98959f3f0 fix: set weights_only=False when loading from pytorch
closes #12964
2026-03-24 20:31:35 +01:00
Matthias 0a2c3379c6 docs: add security warning message to pytorch docs 2026-03-24 20:29:45 +01:00
Matthias b8f5df7cf6 chore: remove unnecessary child method
(it does the same thing than the parent).
2026-03-24 20:15:09 +01:00
Matthias 04a4a97efb Merge pull request #12974 from freqtrade/maint/migrate_add_event_handler
migrate fastapi add event handler
2026-03-24 07:05:58 +01:00
Matthias 143d9a90c6 chore: import sorting 2026-03-24 06:33:57 +01:00
Matthias c112fa6632 Merge pull request #12978 from freqtrade/update/pre-commit-hooks
Update pre-commit hooks
2026-03-24 06:29:43 +01:00
Freqtrade Bot cb46f72109 chore: update pre-commit hooks 2026-03-24 03:47:28 +00:00
Matthias 2eb5efed64 Merge pull request #12975 from hallonstedt/docs-krakenfutures-exchange-features
docs: add Kraken futures row to exchange features
2026-03-23 10:51:56 +01:00
matstedt 7657e37f67 docs: add Kraken futures row to exchange features 2026-03-23 09:36:43 +01:00
Matthias ec763e684f Merge pull request #12967 from freqtrade/dependabot/pip/develop/scipy-7cfe552463
chore(deps-dev): bump scipy-stubs from 1.17.1.1 to 1.17.1.2 in the scipy group
2026-03-23 08:00:57 +01:00
Matthias d3847080e8 Merge pull request #12966 from freqtrade/dependabot/pip/develop/mkdocs-d673e4145a
chore(deps): bump mkdocs-material from 9.7.4 to 9.7.5 in the mkdocs group
2026-03-23 07:54:00 +01:00
Matthias 97305221ac Merge pull request #12968 from freqtrade/dependabot/github_actions/develop/actions-1fa769d870
chore(deps): bump actions/download-artifact from 8.0.0 to 8.0.1 in the actions group
2026-03-23 07:53:08 +01:00
Matthias b65aa8671a Merge pull request #12970 from freqtrade/dependabot/pip/develop/cachetools-7.0.5
chore(deps): bump cachetools from 7.0.4 to 7.0.5
2026-03-23 07:50:47 +01:00
Matthias d35bc15562 Merge pull request #12971 from freqtrade/dependabot/pip/develop/numpy-2.4.3
chore(deps): bump numpy from 2.4.2 to 2.4.3
2026-03-23 07:50:31 +01:00
Matthias a9cabe1162 Merge pull request #12969 from freqtrade/dependabot/pip/develop/pyjwt-2.12.1
chore(deps): bump pyjwt from 2.12.0 to 2.12.1
2026-03-23 07:33:02 +01:00
Matthias bb6f4eb60d Merge pull request #12972 from freqtrade/dependabot/pip/develop/filelock-3.25.2
chore(deps): bump filelock from 3.25.0 to 3.25.2
2026-03-23 07:21:10 +01:00
Matthias cea1700eaa chore: drop starlette upper version bound 2026-03-23 07:20:08 +01:00
Matthias bb2f4ac37e fix: migrate from add_event_handler to lifespan
add_event_handler was removed in starlette 1.0.0
2026-03-23 07:19:53 +01:00