Commit Graph

884 Commits

Author SHA1 Message Date
Matthias
a9732c6195 Fix odd formatting by ruff format 2024-05-13 07:10:25 +02:00
Matthias
fea1653e31 ruff format: freqtrade.data 2024-05-13 07:10:25 +02:00
Matthias
a8eabd0b2e Update remaining files with new import sorting 2024-05-13 07:10:24 +02:00
Joe Schr
10cbc76482 use timeframe_to_next_date and date to calculate candle_start/candle_end 2024-05-08 15:12:52 +02:00
Matthias
365b9c9cfe kwargs for re.sub count 2024-04-24 07:02:26 +02:00
Christian Clauss
99b4767bf4 Fix typos discovered by codespell 2024-04-18 22:51:25 +02:00
Matthias
3338fdece3 Relative profit should be relative cumulative profit 2024-04-16 20:34:07 +02:00
Matthias
c8a5904959 Store and load backtest-market-change data 2024-04-16 19:27:41 +02:00
Matthias
7f386874ad Trim dataframes accordingly ... 2024-04-16 18:17:20 +02:00
Matthias
3f8078618e add Combine dataframes with pct_change 2024-04-16 07:19:26 +02:00
Matthias
f32154f380 Exchange assert is only relevant for live mode. 2024-04-05 07:09:54 +02:00
Matthias
63ac183e91 Merge branch 'develop' into feature/fetch-public-trades 2024-04-05 06:35:35 +02:00
Matthias
4a097bd644 More usages for ConfigurationError 2024-03-19 07:13:17 +01:00
Matthias
b5307f8281 Fix bug caused by any typing 2024-03-16 17:19:01 +01:00
Matthias
9020c3290c Fix imports after dev merge 2024-03-16 16:45:48 +01:00
Matthias
88e25df78c Merge branch 'develop' into feature/fetch-public-trades 2024-03-16 16:34:57 +01:00
Matthias
0f3d538f6c Avoid duplicate pandas imports 2024-03-16 16:26:17 +01:00
Matthias
bce5dc4a49 Simplify formatting 2024-03-16 16:23:20 +01:00
Matthias
dbcb07275a Refactor datahandlers into their own package 2024-03-15 06:49:42 +01:00
Matthias
4aff24f6df Fix imports that import directly from file
instead from the exporting package
2024-03-15 06:40:42 +01:00
Joe Schr
6827e17d17 raise error if populate_dataframe_with_trades fails 2024-03-11 11:34:59 +01:00
Joe Schr
174c830b2a formatting changes 2024-03-11 11:34:45 +01:00
Joe Schr
1f6046df97 work through open TODOs 2024-03-11 11:34:03 +01:00
Joe Schr
6c1d70df89 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-03-05 17:29:24 +01:00
Matthias
ed8469f23a use trading_mode to determine trades file location 2024-03-03 13:12:42 +01:00
Matthias
fcb16098d8 Reduce Error level when converting trades 2024-03-02 15:40:43 +01:00
Matthias
7ed7ed4081 Accept trading-mode for trades-to-ohlcv command 2024-03-02 15:38:36 +01:00
Matthias
5e7868a28d Remove block from download-trades for futures 2024-03-02 13:22:41 +01:00
Matthias
43103f51e5 Update functions that use datahandler trade methods 2024-03-02 13:10:57 +01:00
Matthias
b6040e270f Update data handlers to accept trading_mode
for trade data related functions
2024-03-02 13:08:58 +01:00
Matthias
bdd63aa1d6 FIx futures trades pair download directory 2024-03-01 20:17:43 +01:00
Matthias
46e616f997 Remove defaults for converter - they're always provided and necessary. 2024-03-01 19:32:35 +01:00
Matthias
baf2cf6967 Fix import error in one test case 2024-03-01 06:55:52 +01:00
Matthias
ce2f4f89c4 update pandas deprecation to_hdf 2024-02-27 06:19:38 +01:00
Matthias
5912d87b65 Pandas - update view to astype 2024-02-27 06:19:27 +01:00
Matthias
bb6c31c55a Improve formatting in drawdown calc 2024-02-26 13:54:19 +01:00
Matthias
ec1b676ab4 Fix edge-case when calculating cagr
edge-case with leveraged trades - yielding a negative final balance.
closes #9820
2024-02-26 13:53:10 +01:00
Matthias
27556f934e Don't load empty dataframes - skip these
closes #9811
2024-02-26 13:53:10 +01:00
Matthias
9a8ae99fc7 Add debug output showing the pair to be converted
part of #9811
2024-02-26 13:53:10 +01:00
Matthias
82771cf85c Slightly improve memory-usage of kraken-convert 2024-02-26 13:51:39 +01:00
Matthias
34b046355a Allow wildcards for pairs filter 2024-02-26 13:51:39 +01:00
Matthias
4351d93f23 Allow limiting kraken pairs to --pairs selection 2024-02-26 13:51:39 +01:00
Joe Schr
d15f17a03f chore: remove unused parameter pairs from populate_dataframe_with_trades 2024-02-26 12:00:36 +01:00
Matthias
39941a7ac0 Improve formatting in drawdown calc 2024-02-19 07:09:23 +01:00
Matthias
c0da1b6922 Fix edge-case when calculating cagr
edge-case with leveraged trades - yielding a negative final balance.
closes #9820
2024-02-16 20:04:49 +01:00
Matthias
280737447c Don't load empty dataframes - skip these
closes #9811
2024-02-14 07:26:23 +01:00
Matthias
3d6079ae19
Add debug output showing the pair to be converted
part of #9811
2024-02-13 17:47:43 +01:00
Joe Schr
bff93e31c8 Moves orderflow logic to it's own file 2024-02-12 13:45:56 +01:00
Joe Schr
64e9784d1f Remove formatting changes 2024-02-12 13:45:56 +01:00
Joe Schr
d7b88194e0 Resolve various issues and comments 2024-02-12 13:45:56 +01:00
Joe Schr
6e7a536c7a Replaces public_trades_to_dataframe with trades_list_to_df 2024-02-12 13:45:56 +01:00
Joe Schr
a7e4a5e2dc Removes clean_duplicate_trades 2024-02-12 12:11:52 +01:00
Joe Schr
50070bc2ca Removes unused import 2024-02-12 09:39:09 +01:00
Joe Schr
0a4da26f2d Resolve using trades directly from trades_load when backtesting 2024-02-12 09:29:30 +01:00
Joe Schr
0fd2aca47e Remove if since 2024-02-11 13:14:17 +01:00
Joe Schr
e8c911e7b4 Remove since/until superfluous arguments 2024-02-11 13:04:39 +01:00
Matthias
fc15f98b80 Reduce unnecessary newlines 2024-02-10 17:45:03 +01:00
Matthias
4b0383f197 Fix overly long lines 2024-02-10 17:40:24 +01:00
Matthias
a216a08f09 Formatting ... 2024-02-10 17:29:17 +01:00
Matthias
7ae69a9cde update imports 2024-02-10 17:27:11 +01:00
Joe Schr
849413c5ea Changes scale from type int to float 2024-02-10 11:53:40 +01:00
Matthias
3aa2d0c30a Slightly improve memory-usage of kraken-convert 2024-02-10 09:37:59 +01:00
Matthias
a83b5abb51 Allow wildcards for pairs filter 2024-02-10 08:48:52 +01:00
Matthias
f89147fd44 Allow limiting kraken pairs to --pairs selection 2024-02-10 08:44:16 +01:00
Joe Schr
4ae63d7ecb Fix superfluous formatting 2024-02-09 13:15:12 +01:00
Joe Schr
9ec45ce042 Ruff fix 2024-02-08 19:48:53 +01:00
Joe Schr
1a0610f3e4 mypy fixes 2024-02-08 12:11:10 +01:00
Joe Schr
d6e3464973 Flake8 fix 2024-02-07 13:39:02 +01:00
Joe Schr
ca8cb73efa Ruff fixes 2024-02-07 13:37:17 +01:00
Joe Schr
69eb35deff Ruff fixes 2024-02-07 13:35:20 +01:00
Joe Schr
634e81c7e0 Fix ruff 2024-02-07 13:10:04 +01:00
Joe Schr
79074ea4b3 Fix untrue ruff error by adding line ignore 2024-02-07 12:51:18 +01:00
Joe Schr
39ba6fe56b Ruff --fix 2024-02-07 12:48:15 +01:00
Joe Schr
72a20e9928 Ruff changes for clean_duplicate_trades, populate_dataframe_with_trades, public_trades_to_dataframe 2024-02-07 12:42:30 +01:00
Joe Schr
b117f1b474 Fix superfluous changes 2024-02-07 12:30:50 +01:00
Joe Schr
e6c1c3d60b Fix immediate rename of argument 2024-02-07 12:30:50 +01:00
Joe Schr
f61c75ffcc Fix isort imports 2024-02-06 20:35:16 +01:00
Joe Schr
43645729a0 Don't fetch trades for informatitve pairs 2024-02-02 14:33:45 +01:00
Joe Schr
2833169955 Merge remote-tracking branch 'upstream/develop' into feature/fetch-public-trades 2024-02-01 11:46:38 +01:00
Matthias
817aaa164c Enhance list-data (detailed) view with "candles" column 2024-01-24 20:13:06 +01:00
Matthias
ea9c51570f use resample_freq where possible 2024-01-24 19:19:16 +01:00
Matthias
6b78dac6f0 Re-align naming for resample_freq generator 2024-01-23 07:12:27 +01:00
Matthias
0a40a345fe use timeframe_as_resample_freq for trade_parallel analysis 2024-01-23 07:11:59 +01:00
Matthias
656b32814b Have trade_converter use timeframe_as_resample_freq 2024-01-23 07:10:25 +01:00
Matthias
c9c44a4710 Extract resample_interval generation 2024-01-23 07:02:09 +01:00
Matthias
5167f6936d Prepare converter to work on 1s data. 2024-01-23 06:42:12 +01:00
Matthias
1b70e9b074 Point users to the pair naming docs when download-data yields no pairs. 2024-01-07 15:22:53 +01:00
Matthias
f028bdf342 Improve funding fee migration logic 2024-01-04 17:06:15 +01:00
Matthias
983764ad0a Add "migrate funding fee timeframe" logic 2024-01-04 16:44:17 +01:00
Matthias
a12f368796 Move binance migration to behind migrations gate 2024-01-04 16:25:40 +01:00
Matthias
c9dd99a4b5 Enhance test to properly capture correct downloading of different futures types 2024-01-04 16:03:53 +01:00
Matthias
67d3dca49c Fix funding-fee downloading in the wrong timeframe 2024-01-04 15:52:19 +01:00
Matthias
1c5a699aef Fix typo and missing type def 2023-12-31 15:35:23 +01:00
Matthias
292ef85d96 Add additional, optional arguments to metadata files
closes #9517
2023-12-31 12:07:02 +01:00
Matthias
b3c9be1cd0 Refactor get_bt_resutlist to reduce code complexity 2023-12-31 10:15:55 +01:00
Matthias
13e329f176 Align methods 2023-12-31 10:07:31 +01:00
Robert Caulk
ea8edbd23b
Merge pull request #9552 from thojou/fix-freqai-populate-features-timerange
Fix duplicated data loading and timerange for populate_features
2023-12-30 13:42:08 +01:00
Thomas Joußen
3f44f56f6f Remove bool from get_required_startup because its unused. 2023-12-19 17:30:15 +00:00
Matthias
c9a018cf0e Improve output if a strategy wasn't found in the backtest result 2023-12-19 06:30:40 +01:00
Matthias
4f2d7b858f Slightly enhance logging for clarity 2023-12-18 20:06:49 +00:00