Matthias
46538d9a5b
fix: verify prog actually exists before using it
2025-12-09 19:34:58 +01:00
Matthias
f0f48395c5
chore: update download-data help text
2025-12-09 18:25:54 +01:00
Matthias
b3a1442a69
feat: allow varying help texts for different subcommands
2025-12-09 18:25:11 +01:00
Matthias
bbafb1dabd
fix: deduplicate list before downloading
...
This avoids duplicate downloads, for example on hyperliquid, which uses "futures" as mark candle type.
2025-12-09 13:54:05 +01:00
Matthias
645a9159e4
chore: hyperliquid doesn't have mark candles
...
it uses regular futures candles as multiplicator for funding fees.
2025-12-09 13:43:49 +01:00
Matthias
2d3ff2f8ca
test: mark-test should use the candle's defined mark price attribute
2025-12-09 13:42:59 +01:00
Matthias
309985503d
test: fix funding_rate_history online test
2025-12-08 20:17:10 +01:00
Matthias
072ed705fc
test: fix funding_fee online tests
2025-12-08 19:21:48 +01:00
Matthias
00f687f3f5
test: test futures data with online exchanges
2025-12-08 17:07:26 +01:00
Matthias
96849fcafe
refactor: provide a non-failing check_candle_support method
2025-12-08 17:01:36 +01:00
Matthias
80d5b6e24c
test: minor refactor in online tests
2025-12-08 16:23:43 +01:00
Matthias
f33fd98c83
test: Add test for candle type verification
2025-12-08 14:43:12 +01:00
Matthias
c7636734de
feat: validate supported candle types when downloading data
2025-12-08 14:29:16 +01:00
Matthias
994e61fe42
feat: add (commented) validation for fetch_*_ohlcv methods
2025-12-08 13:47:26 +01:00
Matthias
359eba462b
feat: add candle_types argument to download-data
2025-12-08 12:45:41 +01:00
Matthias
38e48c0c5e
test: update refresh ohlcv data test
2025-12-08 11:55:58 +01:00
Matthias
cde886b884
chore: use str for safe usage of candle_type
2025-12-08 10:20:00 +01:00
Matthias
9f4e167455
chore: force keyword usage on refresh_backtest_ohlcv
2025-12-08 09:27:48 +01:00
Matthias
f5e6504e22
test: add test for funding rate exchange fix
2025-12-08 09:11:49 +01:00
Matthias
0ec1066b34
test: add test for funding_rate fix
2025-12-08 08:48:37 +01:00
Matthias
62d4da3b94
test: add test for get_funding_rate_timeframe
2025-12-08 08:43:50 +01:00
Matthias
e6030b7f59
chore: minor adjustments for clarity
2025-12-07 20:01:08 +01:00
Matthias
c1c968666e
chore: some minor cleanups
2025-12-07 18:19:22 +01:00
Matthias
f8d6363d19
test: update further tests
2025-12-07 16:11:47 +01:00
Matthias
acc69e0d2e
test: fix a couple more tests
2025-12-07 16:02:30 +01:00
Matthias
5110d0bdde
test: update a couple of tests for new behavior
2025-12-07 15:12:42 +01:00
Matthias
597cc0592b
test: update funding_rate_migration test
2025-12-06 20:14:22 +01:00
Matthias
01b0a8fa42
fix: 1h should be the default for funding/mark candles
2025-12-06 16:15:32 +01:00
Matthias
cf6b7a847b
fix: bitget's minimal funding fee interval is 1h
2025-12-06 16:01:05 +01:00
Matthias
4897080827
fix: bybit's minimal funding fee interval to 1h
2025-12-06 15:53:27 +01:00
Matthias
3ca8e0fb5c
feat: auto-adjust funding rate timeframe in dataprovider
2025-12-06 15:42:40 +01:00
Matthias
40f4ff04c2
feat: auto-fix invalid funding rate timeframe in informative decorator
2025-12-06 14:16:27 +01:00
Matthias
3bd911982f
feat: add get_funding_rate_timeframe to dataprovider
2025-12-06 14:13:53 +01:00
Matthias
730383ab18
feat: auto-download correct funding rate timeframe
2025-12-06 14:13:41 +01:00
Matthias
b70f10dca6
chore: simplify warning formatting
2025-12-06 14:06:17 +01:00
Matthias
17009ac59f
chore: allow non-matching funding timeframe - as timeframe doesn't actually matter any longer.
2025-12-06 13:53:18 +01:00
Matthias
07fbf2b467
feat: support dynamic funding fees in dry/live mode
2025-12-06 13:46:27 +01:00
Matthias
3f0be5e41f
fix: floor timestamp to seconds
...
no candle has more than second precision.
2025-12-06 13:42:16 +01:00
Matthias
2845568f61
feat: limit funding_fee renaming to rename from low to high.
2025-12-05 20:32:56 +01:00
Matthias
41a82eff21
fix: don't fill up funding fee data Data
...
Timeframes are arbitrary and may vary between pairs or
time ranges
2025-12-05 18:20:14 +01:00
Matthias
d41acc77f7
fix: floor funding-rate to seconds to account for slight time offset
2025-12-05 18:20:14 +01:00
Matthias
271fc6b585
feat: don't fill up missing funding-fees after merge
2025-12-05 18:20:14 +01:00
Matthias
262f4ffa4c
test: update bt tests for new timeout behavior
2025-12-05 07:10:17 +01:00
Matthias
338c1c5424
fix: compare timeout with <= instead of <
...
closes #12590
Backtesting assumes round dates, so a timeout at "candle length" needs
to timeout at the hour - not after the hour.
otherwise the timeout becomes either double (60 instead of 30) -
or longer by one "timeframe detail" (31 instead of 30).
2025-12-05 07:10:04 +01:00
Matthias
68e54248fd
fix: calculate meaningful price change properly weighting each pair
...
closes #12588
2025-12-04 21:28:31 +01:00
Matthias
e792bafe21
test: update test to ensure rel_mean is reasonable
2025-12-04 21:28:31 +01:00
Matthias
fe95581acd
test: update rel_mean test to use USDT Pairs
...
This will allow highlighting a problem pointed out in #12588
2025-12-04 21:28:31 +01:00
Matthias
7f831f8a9c
test: update tests for new test pairs
2025-12-04 21:28:31 +01:00
Matthias
3fb7382cc4
test: update test data to include USDT pairs
2025-12-04 21:28:31 +01:00
Matthias
83f70b3c27
Merge pull request #12585 from LMessi2000/fix/okx-price-type-mapping
...
fix(okx): correct PriceType.MARK and PriceType.INDEX mapping
2025-12-04 07:24:31 +01:00