Commit Graph

5540 Commits

Author SHA1 Message Date
Matthias
930b5e07f8 tests: adapt tests for improved createMarketBuyOrderRequiresPrice validation
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-10-27 13:56:46 +01:00
Matthias
b8f8d1d4b1
Merge pull request #10831 from xzmeng/fix-log
Some checks failed
Build Documentation / Deploy Docs through mike (push) Has been cancelled
Devcontainer Pre-Build / build-and-push (push) Has been cancelled
feat: auto-create logs dir if it's absent
2024-10-25 07:38:53 +02:00
Matthias
c4cbf6de3b tests: reset permissions on tmp-path
to facilitate cleanup
2024-10-25 07:22:11 +02:00
Matthias
e7b0e3293d feat: Exit with exception, not with exit1
this aligns to how other parts of the code work - leaving "exit" to the outermost caller.
2024-10-25 06:34:46 +02:00
Meng Xiangzhuo
87c8e85068
feat: add user friendly message on permission error 2024-10-25 00:01:41 +08:00
Matthias
11cef55c03 test: update mock to new pairlist location 2024-10-23 17:59:34 +02:00
Meng Xiangzhuo
ba780276a2
feat: auto-create logs dir if it's absent 2024-10-23 00:22:23 +08:00
Matthias
46db0bc08c feat: rename endpoint to be better aligned
Some checks failed
Build Documentation / Deploy Docs through mike (push) Has been cancelled
2024-10-22 06:40:01 +02:00
Matthias
0de3c6945b test: add test for api/hyperopt-loss 2024-10-22 06:39:55 +02:00
Matthias
faac205464 tests: add test for list-hyperoptloss 2024-10-22 06:39:30 +02:00
Matthias
1d5d7048d6 chore: improve test imports 2024-10-22 06:38:20 +02:00
Matthias
9b16cc6266
Merge pull request #10810 from xzmeng/delete-market-change
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Devcontainer Pre-Build / build-and-push (push) Has been cancelled
fix: delete market change file when deleting backtest result
2024-10-19 13:37:43 +02:00
Matthias
d56f46e1b1
Merge pull request #10805 from bearvar/ComplexHyperOptLoss
Add new hyperopt loss function
2024-10-19 13:32:46 +02:00
Matthias
6a5feacd38 tests: Skip binanceus websocket tests
binance.us volume is currently too low for this test to run reliably.
2024-10-19 13:32:27 +02:00
Meng Xiangzhuo
9e1af0db63
delete market change when deleting backtest result 2024-10-19 10:55:24 +08:00
bearvar
6eac798d91 Rename ComplexHyperOptLoss to MultiMetricHyperOptLoss. Add it to test_loss_functions_better_profits. 2024-10-17 21:54:25 +05:00
Matthias
271375d171
Merge pull request #10758 from stash86/recursive-str
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Pre-commit auto-update / auto-update (push) Has been cancelled
add is_number check to make sure we skip non-number columns
2024-10-07 21:09:58 +02:00
Matthias
5693039f0d tests: Add test-column to ensure string columns won't regress 2024-10-07 20:33:12 +02:00
Matthias
52304b37a2 feat: Allow strategies to not define enter_long 2024-10-07 20:28:29 +02:00
Matthias
2b1fc8725e Merge branch 'develop' into maint/bump_ruff_minpython 2024-10-06 08:28:09 +02:00
Matthias
b885c3dda3
Merge pull request #10746 from xzmeng/startup-time
Postpone imports on demand
2024-10-06 08:21:54 +02:00
Matthias
aa2c1501da chore: fix missed dependencies for deploy_ui 2024-10-05 13:20:43 +02:00
Matthias
ed5c929b23 chore: remove rapidjson from "default" imports 2024-10-05 13:17:35 +02:00
Matthias
24c09d0319 refactor: move ui deployment to it's own file 2024-10-05 13:06:19 +02:00
Matthias
092275a981 refactor: move config deployment to it's own file 2024-10-05 13:00:11 +02:00
Matthias
cf6c41f9db chore: remove no longer required imports 2024-10-04 07:10:49 +02:00
Matthias
2e0a597ee4 chore: update tests to modern typing syntax 2024-10-04 07:09:51 +02:00
Matthias
7db0e3ac3f chore: remove obsolete version check
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-10-04 06:31:19 +02:00
Meng Xiangzhuo
f889c24497
Fix test 2024-10-04 11:56:38 +08:00
Meng Xiangzhuo
852a1900b4
Fix test 2024-10-04 11:52:07 +08:00
Meng Xiangzhuo
903614140a
Eliminate unnecessary lazy import 2024-10-04 11:22:47 +08:00
Meng Xiangzhuo
66605e91aa
Merge branch 'develop' into startup-time 2024-10-04 08:38:55 +08:00
Meng Xiangzhuo
9c28a6ff4a
Add test 2024-10-03 12:07:03 +08:00
Meng Xiangzhuo
48a8d7de1c
Postpone imports on demand 2024-10-03 11:33:52 +08:00
Matthias
a0912ad6b4 tests: update ccxt compat test 2024-10-02 18:10:28 +02:00
Matthias
9ba0c54295 chore: cleanup test code 2024-10-02 07:05:00 +02:00
Matthias
86721b88ce chore: improve import logic 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
0d5919392e test: update binance test 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
0c0bb29f83 chore: add other_trades param to liquidation_price calls 2024-10-02 07:05:00 +02:00
Matthias
82bc3270e7 test: Update binance test for new approach 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
bf2d0468f9 tests: fix test-data setup for btc test trades
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
2024-10-01 20:48:43 +02:00
Matthias
d2bc47cfe8 tests: fix test-data setup for usdt trades 2024-10-01 20:31:02 +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
39c582dac2 tests: move protection-validation test to protection test file 2024-09-29 15:06:43 +02:00
Matthias
b8feefc541 tests: update protection tests 2024-09-29 09:44:07 +02:00