Commit Graph

26349 Commits

Author SHA1 Message Date
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
Matthias
7db0e3ac3f chore: remove obsolete version check
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-10-04 06:31:19 +02:00
Meng Xiangzhuo
f889c24497
Fix test 2024-10-04 11:56:38 +08:00
Meng Xiangzhuo
852a1900b4
Fix test 2024-10-04 11:52:07 +08: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
Matthias
137db2c86c
Merge pull request #10745 from freqtrade/update/binance-leverage-tiers
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
Update Binance Leverage Tiers
2024-10-03 06:45:16 +02:00
Meng Xiangzhuo
9c28a6ff4a
Add test 2024-10-03 12:07:03 +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
fe270bd9ae
Merge pull request #10741 from freqtrade/feat/improve_liquidation_logic
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Binance Leverage tiers update / auto-update (push) Has been cancelled
Improved liquidation price logic
2024-10-02 19:49:03 +02:00
Matthias
a0912ad6b4 tests: update ccxt compat test 2024-10-02 18:10:28 +02:00
Matthias
9ba0c54295 chore: cleanup test code 2024-10-02 07:05:00 +02:00
Matthias
86721b88ce chore: improve import logic 2024-10-02 07:05:00 +02: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
0d5919392e test: update binance test 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
82bc3270e7 test: Update binance test for new approach 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