Commit Graph

31875 Commits

Author SHA1 Message Date
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
Matthias 9f9e13cec2 chore: add better docstring 2026-04-04 09:12:44 +02:00
Matthias 175e77794c chore: improve wallet migration code 2026-04-04 09:12:44 +02:00
Matthias 1d7b1cd4ea test: improve test to make it more realistic 2026-04-04 09:12:44 +02:00
Matthias 323f42fc53 fix: Don't round date up to next date
it'll cause a record in the future eventually.
2026-04-04 09:12:44 +02:00
Matthias 03fd0575ce test: simplify imports 2026-04-04 09:12:44 +02:00
Matthias c12c2177cd test: add tests for wallets_migration 2026-04-04 09:12:44 +02:00
Matthias c884fd20ea chore: add repr output for wallet_history 2026-04-04 09:12:44 +02:00
Matthias 0f9cab4231 chore: fix edge-case bug for empty pairlist 2026-04-04 09:12:44 +02:00
Matthias 97e7939a30 chore: improve wallet capturing performance 2026-04-04 09:12:44 +02:00
Matthias 6e3c850807 chore: minor nitpick changes 2026-04-04 09:12:44 +02:00
Matthias 7b49dc8c11 chore: improve optimize reports stability 2026-04-04 09:12:44 +02:00
Matthias cbd1a4c060 chore: minor improvements 2026-04-04 09:12:44 +02:00
Matthias 921cb4dad8 feat: Only ffill until the end of the trade 2026-04-04 09:12:44 +02:00
Matthias bf5ec98918 chore: use "filled" over amount for balance distribution 2026-04-04 09:12:44 +02:00
Matthias c877d267c7 feat: expose minfied when converting trade list to dataframe 2026-04-04 09:12:44 +02:00
Matthias c66adf2bf1 docs: update backtesting docs with new output 2026-04-04 09:12:44 +02:00
Matthias 1ede186484 feat: display min/max balance 2026-04-04 09:12:44 +02:00
Matthias 680aeb89c3 feat: store wallet stats 2026-04-04 09:12:44 +02:00
Matthias ba1092b726 chore: use builtin helpers 2026-04-04 09:12:44 +02:00
Matthias 9ddabbd849 feat: use proper starting balance 2026-04-04 09:12:44 +02:00
Matthias b5f31bf82d chore: use proper starting balance 2026-04-04 09:12:44 +02:00
Matthias db2309dfd2 fix: avoid errors for delisted pairs 2026-04-04 09:12:44 +02:00
Matthias 418acb7034 chore: exclude open orders from balance calculation 2026-04-04 09:12:44 +02:00
Matthias 8a284060d1 fix: wrong usage of getdatetimevalue 2026-04-04 09:12:44 +02:00
Matthias 235c46ae12 chore: add wallet migration timing log 2026-04-04 09:12:44 +02:00
Matthias 1f32dbef9a feat: enable wallet-capture in webserver mode 2026-04-04 09:12:44 +02:00
Matthias d105770ff6 chore: Improve response model naming 2026-04-04 09:12:44 +02:00
Matthias 15be0510fc feat: return "capture_start_ts" as part of API response 2026-04-04 09:12:44 +02:00
Matthias 6c24925522 fix: make sure wallet_summary exists 2026-04-04 09:12:44 +02:00
Matthias a8295de2b9 chore: fix endpoint naming 2026-04-04 09:12:44 +02:00
Matthias d6a0a4ec6c chore: rename WalletHistory model to better match it's intend 2026-04-04 09:12:44 +02:00
Matthias c7878130f1 feat: capture wallet_history_date 2026-04-04 09:12:44 +02:00
Matthias 51cf051fce test: add test for backtest/wallets endpoint 2026-04-04 09:12:44 +02:00
Matthias 1f15d28eeb feat: prevent duplicate wallet migrations 2026-04-04 09:12:44 +02:00
Matthias 281b627db3 feat: add historic_balance api endpoint 2026-04-04 09:12:44 +02:00
Matthias 2d2cee2c58 refactor: rename walletsSummary schema 2026-04-04 09:12:44 +02:00
Matthias 63869be376 feat: initial attempt at migrating walletHistory 2026-04-04 09:12:44 +02:00
Matthias 37fae7ea71 feat: use proper properties for record_wallet_state 2026-04-04 09:12:44 +02:00
Matthias e52276e3da chore: fix import error 2026-04-04 09:12:44 +02:00
Matthias cba49307b6 chore: improve imports 2026-04-04 09:12:44 +02:00