Commit Graph

31562 Commits

Author SHA1 Message Date
Matthias 754f24c8a6 feat: allow skipping of the wallet migration
fallback method in case of problems
2026-04-04 13:48:54 +02:00
Matthias b45e086b50 test: add tests for get_backtest_wallet_change (and market change) 2026-04-04 13:41:20 +02:00
Matthias 7af322a197 fix: impove behavior when loading old backtest results 2026-04-04 13:17:48 +02:00
Matthias 75bfa87f74 chore: minor code cleanup 2026-04-04 13:12:43 +02:00
Matthias a40de0a59b chore: rename variable for better debuggability 2026-04-04 13:12:43 +02:00
Matthias 66eb7f0199 test: add test for historic_balance endpoint 2026-04-04 13:12:43 +02:00
Matthias d001d91640 chore: rename temporary column for clarity 2026-04-04 12:50:10 +02:00
Matthias dec3c3e13b test: fix a couple tsts ... 2026-04-04 12:12:11 +02:00
Matthias f99ccc5e3d docs: improved backtesting doc wording 2026-04-04 11:52:46 +02:00
Matthias 78ccb68929 fix: adjust backtest-logic to new capture method 2026-04-04 11:50:47 +02:00
Matthias e28da4b087 test: Fix and improve balance distribution test 2026-04-04 09:12:44 +02:00
Matthias 425ebeeedb fix: include fees on both trade sides 2026-04-04 09:12:44 +02:00
Matthias c3b2a73eef feat: warn for pairs without history 2026-04-04 09:12:44 +02:00
Matthias 35806c26bf fix: Improved migration for short trades 2026-04-04 09:12:44 +02:00
Matthias a9bbc45ba5 fix(migration): stake should be non-leveraged. 2026-04-04 09:12:44 +02:00
Matthias 5e6d3e265b tests: rename mock helper function 2026-04-04 09:12:44 +02:00
Matthias f9db85fcaf chore: slightly reorder parallelism code 2026-04-04 09:12:44 +02:00
Matthias 138b70a2bf test: add explicit test for prepare_balance_distribution 2026-04-04 09:12:44 +02:00
Matthias 518092a0ad fix: handle error-cases gracefully 2026-04-04 09:12:44 +02:00
Matthias 5d3776309c refactor: improve migration code structure 2026-04-04 09:12:44 +02:00
Matthias ab2e0e6d6f chore: improved logging for clarity on startup wait 2026-04-04 09:12:44 +02:00
Matthias fa48910e96 feat: improved dataframe handling 2026-04-04 09:12:44 +02:00
Matthias 5d2a7d2187 feat: wallet-migration for futures trades 2026-04-04 09:12:44 +02:00
Matthias e4eee1aa1b feat: add short fields to balance_distribution 2026-04-04 09:12:44 +02:00
Matthias 803b4cae78 chore: improved docstring 2026-04-04 09:12:44 +02:00
Matthias 09ddef3716 chore: improved variable naming 2026-04-04 09:12:44 +02:00
Matthias 5a847665ff fix: add total_quote to migration 2026-04-04 09:12:44 +02:00
Matthias 50fd6d152e fix: use correct formula for shorts 2026-04-04 09:12:44 +02:00
Matthias b4961a2cb7 fix: add quote_currency to wallet migration 2026-04-04 09:12:44 +02:00
Matthias 4cac724709 test: update wallet capture test 2026-04-04 09:12:44 +02:00
Matthias 05bbc84bf2 fix: use correct formula for wallet capture 2026-04-04 09:12:44 +02:00
Matthias 21ac7d1969 refactor: use shorter variable name 2026-04-04 09:12:44 +02:00
Matthias f125349587 feat: add additional columns to better cover futures 2026-04-04 09:12:44 +02:00
Matthias f7ddf46b32 refactor: rename WalletHistory fieldname from price to rate 2026-04-04 09:12:44 +02:00
Matthias 623991c772 chore: rename variable to price 2026-04-04 09:12:44 +02:00
Matthias 1237bb798c test: fix backtest api wallets test 2026-04-04 09:12:44 +02:00
Matthias a09036cd6e chore: fix Model naming collision 2026-04-04 09:12:44 +02:00
Matthias 9891b8332b chore: set wallet_migration_date in the correct space 2026-04-04 09:12:44 +02:00
Matthias 7b223f3d38 feat: improve balance_history response 2026-04-04 09:12:44 +02:00
Matthias 61a5ab8e1c feat: add bot_managed to wallet-history migration 2026-04-04 09:12:44 +02:00
Matthias 98493dc9ed feat: add "bot_managed" to wallet_history 2026-04-04 09:12:44 +02:00
Matthias 0835318b8f fix: capture correct balance for futures 2026-04-04 09:12:44 +02:00
Matthias b69a042f5b feat: update wallet migration to keep leverage 2026-04-04 09:12:44 +02:00
Matthias 00d39bbb80 feat: add leverage column to wallet history 2026-04-04 09:12:44 +02:00
Matthias a88dc8839d chore: simplify imports 2026-04-04 09:12:44 +02:00
Matthias cb8d68f395 test: add test for record_wallet_state 2026-04-04 09:12:44 +02:00
Matthias 7dfcf846d0 test: add asserts for backtest wallet capturing 2026-04-04 09:12:44 +02:00
Matthias 3a9160aace chore: simplify date import 2026-04-04 09:12:44 +02:00
Matthias 4904c7b9fd refactor: split trade_parallelism trades into their own testfile 2026-04-04 09:12:44 +02:00
Matthias 27c7a37531 test: add test for balance_distribution_over_time 2026-04-04 09:12:44 +02:00