Commit Graph

13242 Commits

Author SHA1 Message Date
Meng Xiangzhuo
87c8e85068
feat: add user friendly message on permission error 2024-10-25 00:01:41 +08:00
xmatthias
3d9514d266 chore: update pre-commit hooks 2024-10-24 06:07:00 +02:00
Matthias
3d9cbf52b9 chore: improve import sorting 2024-10-24 06:06:31 +02:00
Matthias
5b4043db85 chore: use Class for parse_timerange 2024-10-24 06:06:31 +02:00
Matthias
667d08d003 refactor: extract pairlist_api from background_tasks file 2024-10-23 17:57:36 +02:00
Meng Xiangzhuo
ba780276a2
feat: auto-create logs dir if it's absent 2024-10-23 00:22:23 +08:00
Matthias
46db0bc08c feat: rename endpoint to be better aligned
Some checks failed
Build Documentation / Deploy Docs through mike (push) Has been cancelled
2024-10-22 06:40:01 +02:00
Matthias
0bf30aaa6b feat: add hyperopt-loss api endpoint 2024-10-22 06:39:43 +02:00
Matthias
8b8b5cfac4 feat: add list-hyperoptloss subcommand 2024-10-22 06:38:20 +02:00
Matthias
9ad32fd846 fix: improved defaultHyperoptLoss alias
this gives the class it's proper name.
2024-10-22 06:38:20 +02:00
Robert Caulk
a1513b7c7c fix: allow user to break training 2024-10-21 11:40:46 +02:00
Robert Caulk
6571ef4e45 fix: guarantee crash resiliency, as long as users reload bot gracefully 2024-10-21 11:14:28 +02:00
Matthias
41a4c7c39f chore: improve type safety 2024-10-21 06:39:55 +02:00
Matthias
3518a4167c chore: minor typing fix 2024-10-20 15:24:45 +02:00
Matthias
51dd7fa58e chore: ensure empty leverage tiers files don't cause an exception 2024-10-20 15:22:50 +02:00
Matthias
1183517c3a chore: remove non-needed type_checking import 2024-10-20 11:45:39 +02:00
Matthias
9b16cc6266
Merge pull request #10810 from xzmeng/delete-market-change
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Devcontainer Pre-Build / build-and-push (push) Has been cancelled
fix: delete market change file when deleting backtest result
2024-10-19 13:37:43 +02:00
Matthias
d56f46e1b1
Merge pull request #10805 from bearvar/ComplexHyperOptLoss
Add new hyperopt loss function
2024-10-19 13:32:46 +02:00
Matthias
0a91189e6a chore: remove unused kwargs 2024-10-19 13:10:40 +02:00
Matthias
e9d9ebf156 docs: Update documentation for MultiMetricHyperOptLoss 2024-10-19 13:05:59 +02:00
Matthias
1a85dc9b99 chore: Update to new code standard 2024-10-19 13:02:45 +02:00
Matthias
660af7ec70 chore: Fix test failure, sort imports 2024-10-19 13:02:27 +02:00
Matthias
102d44a7b8 chore: improve lbank comment message 2024-10-19 12:35:23 +02:00
Matthias
549b0f8ef4 feat: delete all files when deleting a backtest result 2024-10-19 12:33:42 +02:00
Matthias
c6fe8ae70c feat: add lbank candle limit parameters 2024-10-19 11:51:25 +02:00
Meng Xiangzhuo
9e1af0db63
delete market change when deleting backtest result 2024-10-19 10:55:24 +08:00
Matthias
e47042d1cb
Merge pull request #10773 from freqtrade/fix/freqai_m3
fix: Support mps device where available
2024-10-18 07:07:23 +02:00
bearvar
78bf40eaa9 Edit EXPECTANCY_CONST to show it can be decimal. 2024-10-17 22:09:00 +05:00
bearvar
578604619a Edit PF_CONST to show it can be decimal. 2024-10-17 22:07:32 +05:00
bearvar
6eac798d91 Rename ComplexHyperOptLoss to MultiMetricHyperOptLoss. Add it to test_loss_functions_better_profits. 2024-10-17 21:54:25 +05:00
Alex
121bdbad84
Update and rename hyperopt_loss_complex.py to hyperopt_loss_multi_metric.py 2024-10-17 21:42:34 +05:00
xmatthias
5b2b2d1a5c chore: update pre-commit hooks 2024-10-17 03:06:56 +00:00
bearvar
9209d11084 Add new hyperopt loss function 2024-10-16 21:52:42 +05:00
Matthias
d503724bda chore: improve backtest comment
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-10-12 13:04:09 +02:00
Matthias
2756a1f1a0 chore: improve statement sequence for improved short circuiting
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Devcontainer Pre-Build / build-and-push (push) Has been cancelled
2024-10-12 11:44:29 +02:00
Matthias
883122a98b refactor: Simplify backtest code slightly
This should also slighly improve performance for detail backtests
as it removes one comparison
2024-10-12 11:34:13 +02:00
Matthias
bd7f0383d1 chore: improve clarity of argument name 2024-10-12 11:25:15 +02:00
Matthias
aa8cefc110 fix: minor missing statement in detail backtest fallback 2024-10-12 11:06:13 +02:00
Matthias
4b582b9d7e fix(bybit): Override fetchOrder to false for spot markets
Some checks failed
Build Documentation / Deploy Docs through mike (push) Has been cancelled
closes #10777
2024-10-10 19:48:30 +02:00
xmatthias
a71ed3ec5a chore: update pre-commit hooks 2024-10-10 03:06:38 +00:00
Matthias
92b2a6fa24 fix: Support mps device where available 2024-10-08 07:20:49 +02:00
Matthias
271375d171
Merge pull request #10758 from stash86/recursive-str
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Pre-commit auto-update / auto-update (push) Has been cancelled
add is_number check to make sure we skip non-number columns
2024-10-07 21:09:58 +02:00
Matthias
52304b37a2 feat: Allow strategies to not define enter_long 2024-10-07 20:28:29 +02:00
Stefano Ariestasia
9ffd0ad982 add is_number check 2024-10-07 11:17:15 +09:00
Matthias
78e9eac64a chore: Fix remaining violations after merge 2024-10-06 08:28:55 +02:00
Matthias
2b1fc8725e Merge branch 'develop' into maint/bump_ruff_minpython 2024-10-06 08:28:09 +02:00
Matthias
aa2c1501da chore: fix missed dependencies for deploy_ui 2024-10-05 13:20:43 +02:00
Matthias
ed5c929b23 chore: remove rapidjson from "default" imports 2024-10-05 13:17:35 +02:00
Matthias
672a23dbcd chore: revert changes to btanalysis - they have no impact 2024-10-05 13:09:30 +02:00
Matthias
24c09d0319 refactor: move ui deployment to it's own file 2024-10-05 13:06:19 +02:00
Matthias
092275a981 refactor: move config deployment to it's own file 2024-10-05 13:00:11 +02:00
Matthias
3fe97e1709 chore: Remove __futures__ import and corresponding ruff skips 2024-10-05 11:43:28 +02:00
Matthias
1ad4f0c9b5 chore: re-export from system module 2024-10-05 11:30:17 +02:00
Matthias
27a327402b chore: improve behavior by validating earlier
(and with exception handling)
2024-10-05 11:09:39 +02:00
Matthias
cf6c41f9db chore: remove no longer required imports 2024-10-04 07:10:49 +02:00
Matthias
8ec5dd6def chore: update to modern typing syntax 2024-10-04 07:08:30 +02:00
Matthias
acc40c73f3 chore: update strategy to modern typing syntax 2024-10-04 07:07:32 +02:00
Matthias
1d4658e978 chore: update rpc to modern typing syntax 2024-10-04 07:06:27 +02:00
Matthias
b8bbf3b69e chore: update resolvers to modern typing syntax 2024-10-04 07:02:57 +02:00
Matthias
d8e41fa8b1 chore: update plugins to modern typing syntax 2024-10-04 07:02:20 +02:00
Matthias
e9a6ba03f9 chore: update persistence to modern typing syntax 2024-10-04 06:55:05 +02:00
Matthias
2e69e38adb chore: update optimize to modern typing syntax 2024-10-04 06:53:50 +02:00
Matthias
c5ed876c09 chore: update types config to modern typing syntax 2024-10-04 06:50:53 +02:00
Matthias
96f737f13e chore: update freqai to modern typing syntax 2024-10-04 06:50:34 +02:00
Matthias
f369151e8e chore: update exchange config to modern typing syntax 2024-10-04 06:46:45 +02:00
Matthias
d1b9990e4e chore: update edge config to modern typing syntax 2024-10-04 06:42:29 +02:00
Matthias
ed7eb01d1b chore: update data to modern typing syntax 2024-10-04 06:42:04 +02:00
Matthias
6601127693 chore: update config to modern typing syntax 2024-10-04 06:39:58 +02:00
Matthias
43236c1cc4 chore: update config to modern typing syntax 2024-10-04 06:39:20 +02:00
Matthias
65bbf7b2a2 chore: update commands to modern typing syntax 2024-10-04 06:38:06 +02:00
Matthias
74b8dca63e chore: update to modern typing syntax 2024-10-04 06:36:00 +02:00
Meng Xiangzhuo
30a273c946
Revert lazy import requests 2024-10-04 11:36:51 +08:00
Meng Xiangzhuo
903614140a
Eliminate unnecessary lazy import 2024-10-04 11:22:47 +08:00
Meng Xiangzhuo
0fe772efa8
Eliminate unnecessary TYPE_CHECKING 2024-10-04 11:10:39 +08:00
Meng Xiangzhuo
e6dedee56f
Split freqtrade.system into a package 2024-10-04 11:05:49 +08:00
Meng Xiangzhuo
66605e91aa
Merge branch 'develop' into startup-time 2024-10-04 08:38:55 +08:00
Meng Xiangzhuo
48a8d7de1c
Postpone imports on demand 2024-10-03 11:33:52 +08:00
xmatthias
5fa96c944d chore: update pre-commit hooks 2024-10-03 03:07:14 +00:00
Matthias
9bdee1b82d feat: improve typing of fetch_funding_rates 2024-10-02 07:05:00 +02:00
Matthias
abe01f8f48 feat: implement liquidation price update on all order fills 2024-10-02 07:05:00 +02:00
Matthias
c5525d356e feat: support backtesting with cross configuration 2024-10-02 07:05:00 +02:00
Matthias
36ae564d26 feat: update liquidation price on startup 2024-10-02 07:05:00 +02:00
Matthias
cba6bd6ef5 fix: use t.leverage, not trade.leverage for cross liq calculations 2024-10-02 07:05:00 +02:00
Matthias
4d40ffedff fix: allow setting 0 as liquidation price 2024-10-02 07:05:00 +02:00
Matthias
319e8d746f feat: use proper trade objects for liquidation calc 2024-10-02 07:05:00 +02:00
Matthias
fe7a88362b feat: add method to fetch binance funding fees
which is necessary to calculate accurate liquidation prices
2024-10-02 07:05:00 +02:00
Matthias
8bf314202f chore: simplify call to liquidation price for cross futures 2024-10-02 07:05:00 +02:00
Matthias
ac8bc7dec2 fix: use "other trades" logic for binance cross calc 2024-10-02 07:05:00 +02:00
Matthias
1473abf19a refactor: rename dry-liquidation parameter
passing all open trades will be more flexible for the future.
2024-10-02 07:05:00 +02:00
Matthias
45e75f3d09 chore: improve arguments to get_liquidation_price 2024-10-02 07:05:00 +02:00
Matthias
5358f2fb9e feat: allow liquidation-price update without trades for cross mode 2024-10-02 07:05:00 +02:00
Matthias
c316d27444 refactor: move exception handler into helper function 2024-10-02 07:05:00 +02:00
Matthias
0c0bb29f83 chore: add other_trades param to liquidation_price calls 2024-10-02 07:05:00 +02:00
Matthias
ec79b0b17b feat: update dry-run calculation params to be more generic 2024-10-02 07:05:00 +02:00
Matthias
0560567058 test: add test for liquidation_price update function 2024-10-02 07:05:00 +02:00
Matthias
3de740b35f feat: create shared method for liquidation price update 2024-10-02 07:05:00 +02:00
Matthias
b69f598e51 refactor: move more code into cross conditional 2024-10-02 07:05:00 +02:00
Matthias
1ad177fca7 feat: add liquidation_price update support for cross mode 2024-10-02 07:05:00 +02:00
Matthias
a92532c0c9 chore: Remove now pointless helper function 2024-10-01 07:11:10 +02:00
Matthias
0cd051cee2 chore: update conditional check for python version 2024-10-01 06:44:49 +02:00