Commit Graph

103 Commits

Author SHA1 Message Date
Matthias
39b2a096ab Ignore adjust_trade values that would invert position 2023-12-22 07:07:05 +01:00
Stefano Ariestasia
f7c7990aff
Merge branch 'freqtrade:develop' into bt-metrics 2023-12-20 20:33:45 +09:00
Matthias
cfd5af67ca Add max-open-trades param to get_trade_stake_amount 2023-12-13 06:51:26 +01:00
Stefano
9f1599b7f0 fix pre-commit 2023-12-10 17:34:02 +09:00
Stefano
e541c95c46 fix partial exit test 2023-12-10 17:27:24 +09:00
Matthias
e8d0b01991 Correctly import time 2023-11-25 16:17:43 +01:00
Matthias
94020a664b Add slight sleep to avoid random test failure on windows 2023-11-25 15:58:28 +01:00
Matthias
43bb4114d0 Update test for no open_order_id usage 2023-09-07 20:24:40 +02:00
Matthias
8c95207ca4 Merge branch 'develop' into pr/Axel-CH/8779 2023-09-07 20:19:25 +02:00
Matthias
25f5dbfcbd Delete trade if replacing the first order failed
part of #9128
2023-09-02 16:49:12 +02:00
Matthias
28c62724df Add explicit test and message for "Order could not be replaced" scenario
part of #9128
2023-09-01 06:58:59 +02:00
Matthias
43c73c75c5 Remove more open_order_id references 2023-08-25 07:10:30 +02:00
Axel CHERUBIN
f397d973f3
Merge branch 'freqtrade:develop' into feature/multiple_open_orders 2023-08-02 23:48:13 -04:00
Matthias
fd7dfc95e3 Enhance dca integration test for adjust_entry checks 2023-07-28 07:16:12 +02:00
Matthias
68c3c764b7
Merge pull request #8914 from freqtrade/fix/8877
Dry-run open balance should include realized profit
2023-07-17 06:47:10 +02:00
Matthias
69ddbe3944
Merge pull request #8909 from freqtrade/backtest_adjustment
introduce order.stake_amount
2023-07-16 20:03:46 +02:00
Matthias
d0e0e156b1 Update tests to account for realized profit/loss 2023-07-16 16:06:23 +02:00
Matthias
8a55423ac7 Add asserts for wallet size 2023-07-16 16:04:00 +02:00
Matthias
66131d5103 Improve integration test assertions 2023-07-15 20:55:56 +02:00
Matthias
d8c0621887 Add stake amount property to order object 2023-07-15 10:14:08 +02:00
Matthias
f1bed95153 Fix some initial tests 2023-06-20 17:02:03 +02:00
Matthias
395ac5f6dc Update integration test 2023-04-27 06:23:34 +02:00
Matthias
a642524928 Improve integration test correctness 2023-03-29 06:48:00 +02:00
Matthias
f0b5f95fd6 Remove missleading comment 2023-03-28 18:10:26 +02:00
Matthias
736c396d98 Use correct amount for stoploss test 2023-03-28 16:45:54 +02:00
Matthias
469166636c Set initial stoploss when creating the order
This ensures that a trade never has "None" as stoploss
2023-03-24 07:27:45 +01:00
Matthias
9d6e973e5b remove .query from most tests 2023-03-16 07:25:04 +01:00
Matthias
2c7ae756f5 Improve mock behavior 2023-03-08 07:05:59 +01:00
Matthias
2ca8b0b12e Update more exchange mocks to use EXMS 2023-03-01 20:27:15 +01:00
Matthias
bcdf4e0fe8 Use variable for exchange mocks to shorten lines 2023-03-01 20:27:15 +01:00
Matthias
9600039686 Update dry-run fill method naming 2023-02-17 06:37:03 +01:00
Matthias
3397e47ccf Rename stoploss() to create_stoploss() 2023-02-14 20:42:08 +01:00
Matthias
f4814a7d59 Improve test resiliance to small roundings 2022-10-20 19:57:56 +02:00
Matthias
ca913fb29d Add leveraged test-case for order-adjustment 2022-10-05 07:28:34 +02:00
Matthias
8eda3a45a3 Test backest detail with leverage 2022-09-27 19:52:34 +02:00
Matthias
8f41f943b4 Fix 0.0 amount message wording 2022-09-21 06:42:55 +02:00
Matthias
83d9f3aeba Add test showing #7365 2022-09-07 06:37:53 +02:00
Matthias
1dd56e35d5 Ensure comparisions align when closing a trade 2022-08-16 08:21:02 +02:00
Matthias
e4b7bcaeab Fix some tests 2022-08-16 08:01:07 +02:00
Matthias
e3a5b97b45 Update recalc_from_trades to use FtPrecise 2022-08-13 08:43:56 +02:00
Matthias
f7502bcc92 slightly update dca_short test 2022-08-11 11:35:24 +00:00
Kavinkumar
a4bada3ebe
Partial exit using average price (#6545)
Introduce Partial exits
2022-07-31 14:19:04 +02:00
Matthias
b7388557a9 Update interface tests 2022-05-22 10:20:01 +02:00
Matthias
a947a1316b Add test to ensure stoploss is set properly in live 2022-05-14 17:42:01 +02:00
Matthias
108903f7f0 Add DCA order adjust test 2022-05-06 19:50:10 +02:00
Matthias
aee0cfd17a forcebuy_enable -> force_entry_enable 2022-04-08 13:39:41 +02:00
Matthias
6d9218cb34 sell_signal -> exit_signal 2022-04-04 17:11:11 +02:00
Matthias
543aa74278 update sell_reason to exit_reason 2022-04-02 20:04:29 +02:00
Matthias
d1f61c4cf9 Use proper fee for DCA entries 2022-03-27 17:00:45 +02:00
Matthias
dcfa3e8648 Update SellType to ExitType 2022-03-25 06:55:37 +01:00