Commit Graph

13242 Commits

Author SHA1 Message Date
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
Matthias
757ae65189 chore: remove pointless conditional (we can't hit this point) 2024-10-01 06:41:58 +02:00
Matthias
773bf765ad feat(hyperliquid): Remove precision override
part of #10377
2024-09-30 07:06:16 +02:00
Matthias
b0b866eec5
Merge pull request #10723 from freqtrade/remove/deprecated_protection-setting
Remove long deprecated protections from config setting
2024-09-30 06:41:22 +02:00
Matthias
8a742ce3ec chore: bump version to 2024.10-dev
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-09-29 20:01:11 +02:00
Matthias
f77fedbea4 chore: move available_protections constant to test file (it's only used there) 2024-09-29 15:08:57 +02:00
Matthias
8736728478 chore: remove unused import 2024-09-29 15:06:22 +02:00
Matthias
23cf9f47b0 chore: move protection validation to protectionManager 2024-09-29 15:06:15 +02:00
Matthias
e3a6c71087 chore: Remove protections from config logic 2024-09-29 09:41:02 +02:00
Matthias
d6cc88fa99 chore: remove schema syntax highlighting for protections 2024-09-29 09:27:40 +02:00
Matthias
428d451e55 chore: remove long-deprecated setting 2024-09-29 09:07:43 +02:00
Matthias
415b8354f4 fix: if coingecko when no pair returned
fails to return valid pairs, the pairlist should be empty
2024-09-28 19:45:01 +02:00
Matthias
5816a594fd
Merge pull request #10671 from jakubikan/category-for-market-cap-pairlist
Some checks failed
Build Documentation / Deploy Docs through mike (push) Has been cancelled
Devcontainer Pre-Build / build-and-push (push) Has been cancelled
Category for market cap pairlist
2024-09-28 11:51:42 +02:00
Matthias
f4d76aa360 chore: improved wording 2024-09-28 10:18:59 +02:00
Matthias
56835f5f09 chore: manually check for symlink 2024-09-28 10:17:52 +02:00
Matthias
3dc92b42fe fix: Check if sub-directories are actually directories and fail otherwise.
This will explicitly fail if a file (or an invalid symlink) is present.
Freqtrade requires these files to be valid files - so failing here is correct behavior.

closes #10720
2024-09-28 09:54:49 +02:00
Jakub W.
1ed5a37280
Update freqtrade/plugins/pairlist/IPairList.py
Co-authored-by: Matthias <xmatthias@outlook.com>
2024-09-26 23:38:17 +02:00
Matthias
cb36f2844e chore: Improve "wrong category" error. 2024-09-26 20:21:27 +02:00
Matthias
6837196e44 fix: treat marketcap as optional parameter 2024-09-26 19:59:23 +02:00
Matthias
31680f3b59 chore: Improve UI wording 2024-09-26 19:31:43 +02:00
Robert Caulk
d18d8cf0ea
freqai_info -> ft_params 2024-09-26 17:54:14 +02:00
Robert Caulk
123909cdac
fix: Update BasePyTorchRegressor.py 2024-09-26 16:31:43 +02:00
xmatthias
1d66ef2f2d chore: update pre-commit hooks 2024-09-26 03:17:36 +00:00
Jakub Werner (jakubikan)
8aefae3aff format 2024-09-25 21:22:40 +02:00
Jakub Werner (jakubikan)
0dbe507b26 making list of categories available 2024-09-25 21:11:52 +02:00
Matthias
4b70bea21f chore: reset params for emulated call
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Binance Leverage tiers update / auto-update (push) Has been cancelled
2024-09-25 19:11:12 +02:00
Matthias
a3ca1ff1e9 fix: send acknoledged to bybit fetch_order calls 2024-09-25 19:02:32 +02:00
Matthias
28eabfe477 tests: update test for retryable okx behavior
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-09-25 06:20:49 +02:00
Matthias
0a68b0515c chore: reduce retry count for stop orders 2024-09-24 20:20:33 +02:00
Matthias
566c0c8f72 refactor: split okx fetch stop fallback 2024-09-24 20:20:33 +02:00
Matthias
333f2cb472 fix: Improve error handling for OKX stop orders
closes #10704
2024-09-24 19:38:36 +02:00
Matthias
8e6151fe65 fix: properly consider open order values as "tied up" stake. 2024-09-22 13:17:27 +02:00
Matthias
0e0af82290 fix: odd calculation in calc_profit_ratio 2024-09-22 08:47:52 +02:00
Matthias
b084efdd06 feat: initialize trade objects with 0 amount
This way, it'll represent the owned amount
which will be updated once the order fills
2024-09-22 08:47:52 +02:00
Matthias
d377d8462f fix: improve resiliance of order parsing
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
closes #10676
2024-09-22 08:28:29 +02:00
Matthias
d23c1e8f92 refactor: Move dataframe parsing into get_historic_ohlcv 2024-09-20 07:23:52 +02:00
Matthias
670a40e67b chore: remove no longer valid todo
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-09-20 07:06:21 +02:00
xmatthias
7561692352 chore: update pre-commit hooks 2024-09-19 03:15:32 +00:00
Jakub Werner (jakubikan)
50f07e7b11 only doing this if the category is set 2024-09-17 23:03:51 +02:00
Jakub Werner (jakubikan)
660623181a adding category list if the category is not from the category 2024-09-17 22:36:21 +02:00
Jakub Werner (jakubikan)
03ee3aaf40 adding category list if the category is not from the category 2024-09-17 22:35:00 +02:00
Matthias
ad295946c0 fix: use precise calculation for decrease adjustment calculations 2024-09-17 20:19:22 +02:00
Jakub Werner (jakubikan)
0b7cb2a1a8 cleanup 2024-09-16 22:52:26 +02:00
Jakub Werner (jakubikan)
92af01b0cb adding category for MarketCapPairList.py 2024-09-16 22:51:42 +02:00
Jakub Werner (jakubikan)
dc26d0d7ba adding category for MarketCapPairList.py 2024-09-16 22:50:08 +02:00
Matthias
2fe67edab3 chore: update link to okx liquidation formula
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Pre-commit auto-update / auto-update (push) Has been cancelled
2024-09-16 19:05:00 +02:00
Matthias
94ef4380d4 chore: remove validate_pairs from exchange class
Invalid pairs were filtered out before this was called in most cases.
in cases where it's not - regular pairlist-filtering provides proper warnings.
2024-09-15 11:28:57 +02:00
Matthias
7ebe1b8c14 chore: remove pointless validation
pairs are validated through expand_pairlist.
If they're not in markets, they'll no longer be in the
pairlist once this function function is hit.
2024-09-15 11:02:49 +02:00
Matthias
79020bba28 chore: Remove "prohibitedIn" check
it's only been used for bitrex, which does no longer exist.
apparently this was forgotten when decomissioning bittrex.
2024-09-15 10:49:26 +02:00
Matthias
95c250ebcc chore: add explaining comment 2024-09-15 10:37:28 +02:00
Matthias
bfb14614cc chore: enhance change with comment 2024-09-15 09:48:44 +02:00
Matthias
12299d4810 feat: staticPairlist to warn for invalid pairs
Warnings about invalid pairs were "covered" by the implicit
filtering of `expand_pairlist()`
2024-09-15 09:46:47 +02:00
Matthias
af422c7cd4
Merge pull request #10645 from dxbstyle/develop
added check for Kraken exchange
2024-09-14 10:44:23 +02:00
Matthias
51bdecea53 Improve check to cover more potential api oddities 2024-09-14 10:09:15 +02:00
Matthias
0f505c6d7b Improve check to cover more potential api oddities 2024-09-14 10:04:28 +02:00
Matthias
ae72f10448
Merge pull request #10619 from KingND/pixel/feat/freqai_labels_are_okay_in_lookahead_analysis
feat: include lookahead-analysis table caption when biased_indicator is likely from FreqAI target
2024-09-14 09:51:38 +02:00
Matthias
9f34153c84 chore: update typing for reload function 2024-09-13 19:45:30 +02:00
Matthias
c04cf6c5cb test: Improve test coverage of retry/fail logic 2024-09-13 07:24:08 +02:00
Matthias
5112736385 feat: Simplify reload_markets logic 2024-09-13 07:24:08 +02:00
Matthias
6024903bde feat: conditionally apply retrier to market-reload
closes #10641
2024-09-13 07:23:58 +02:00
Matthias
e96928588e
Merge pull request #10639 from jainanuj94/backtesting
Add entry-only and exit-only filters to --indicator-list in backtesting analysis
2024-09-12 06:43:24 +02:00
xmatthias
d15921b3f2 chore: update pre-commit hooks 2024-09-12 03:12:54 +00:00
Matthias
3c6e2b89a4
Merge pull request #10640 from TheJoeSchr/fix/plot-orderflow-data-missing
fix: orderflow data was missing for plotting
2024-09-11 19:11:55 +02:00
Joe Schr
c9acb1466c fix: orderflow data missing for plotting and other runmodes 2024-09-11 17:12:35 +02:00
colorfulgray0
f1df7e9bdc chore: remove redundant method 2024-09-11 11:33:38 +08:00
Anuj Jain
4765656f87 Add filter for entry and exit only parameter 2024-09-10 15:21:56 +05:30
dxbstyle
ae155c78c2 added check 2024-09-09 21:29:49 +02:00
KingND
f970454cb4 chore: ruff format 2024-09-08 13:57:48 -04:00
KingND
69678574d4 fix: support python 3.9 union type hinting 2024-09-08 12:04:58 -04:00
KingND
82e30c8519 feat: if a biased_indicator starting with & appears in a lookahead-analysis, caption the table with a note that freqai targets appearing here can be ignored 2024-09-08 12:04:58 -04:00
Matthias
a1681cdd63 chore: improve typing 2024-09-08 08:28:40 +02:00
Matthias
611a3ce138
Merge pull request #10485 from jainanuj94/feature/8902
Add exit signals to export in backtesting
2024-09-07 20:12:05 +02:00
Matthias
396d933e34 feat(bybit): add support for unified Accounts 2024-09-07 18:28:56 +02:00
Matthias
704e32b0dc feat: properly parse marginmode on startup 2024-09-07 09:28:35 +02:00
Matthias
1b00f512c1 fix: call order_filled callback for left open trades 2024-09-07 09:24:21 +02:00
Matthias
1a2578a4b7 feat: Add margin/Trading mode output to bt-output 2024-09-07 08:47:45 +02:00
Matthias
6a4b641250 feat: implement __str__ for marign and tradingmode enums 2024-09-06 20:58:54 +02:00
Anuj Jain
8d96844312 use BT_DATA_COLUMNS for trade wide indicators 2024-09-06 12:28:02 +05:30
Anuj Jain
b7145debfb handle trade wide indicators 2024-09-05 21:52:09 +05:30
xmatthias
c6a66a8fac chore: update pre-commit hooks 2024-09-05 03:12:48 +00:00
Matthias
964d437c7a chore: type _ft_has 2024-09-04 07:15:17 +02:00
Matthias
d49c556291 chore: rename ft_has setting from ws.enabled to ws_enabled 2024-09-04 06:57:13 +02:00
Matthias
d6b2748293 chore: rename types to ft_types 2024-09-04 06:44:48 +02:00
Matthias
e3a5831d64 refactor: rename exchange.types 2024-09-04 06:42:51 +02:00
Anuj Jain
08d5174d02 update documentation and add default values 2024-09-04 09:56:12 +05:30
Matthias
d4ba837641 chore: mark Bybit as supported exchange 2024-09-02 07:03:04 +02:00
Matthias
4a1592dd92 feat: initialize hyperliquid in spot mode by default 2024-09-02 07:03:04 +02:00
Matthias
97c937e554 chore: add Bugbear Ruff checking 2024-09-01 08:32:42 +02:00
Matthias
b25520cf18 chore: improve rhci_progress typing, remove mutable arguments 2024-09-01 08:27:53 +02:00
Matthias
a881d3fd81 chore: bump version to 2024.9-dev 2024-08-31 08:31:42 +02:00
Matthias
1c5ca0f022 chore: improved fix for terminal error 2024-08-29 20:38:25 +02:00
Matthias
59d47955a0 chore: fix test failure due to terminal error 2024-08-29 20:05:48 +02:00
Matthias
d05ca3db0b fix: handle small terminal width
closes #10572
2024-08-29 07:14:32 +02:00
Matthias
87678eff98 fix: avoid hyperopt-results not showing past terminal height 2024-08-29 07:14:32 +02:00
xmatthias
4c487d666f chore: update pre-commit hooks 2024-08-29 03:12:45 +00:00
Matthias
e87927564b chore: Improve typing 2024-08-23 18:18:05 +02:00
Matthias
01b7ad4a3f feat: prevent freqAI startup on exchanges without history
closes #10570
2024-08-23 18:16:06 +02:00
xmatthias
fd30edf2bb chore: update pre-commit hooks 2024-08-22 03:13:36 +00:00
Matthias
ce66fbb595 chore: ruff format notebook 2024-08-19 19:59:15 +02:00
Matthias
976f9b2590 chore: re-format ipynb notebook 2024-08-19 18:23:36 +02:00
Matthias
986ff7d1b1 chore: rename parameter to avoid naming collision 2024-08-19 18:19:42 +02:00