Commit Graph

75 Commits

Author SHA1 Message Date
Matthias
916d8324cb test: update tests with new fields 2025-11-22 13:48:57 +01:00
Matthias
640cab2ca8 refactor: tests - update timezone.utc to UTC 2025-07-04 18:22:42 +02:00
Matthias
f1b890954a test: enable total_profit_ratio asserts 2025-04-07 19:28:43 +02:00
Matthias
0f2ff70bdf test: adjust test to reflect reality
(amount is * leverage)
2025-04-07 19:28:43 +02:00
Matthias
cf563c1a56 test: update tests for new best-pair logic 2025-01-26 23:19:35 +01:00
Matthias
733cd22dee chore: remove bt_open_open_trade_count_candle
it's no longer necessary if we support in-candle entries
2025-01-17 06:48:01 +01:00
Matthias
6ee38adbb5 fix: round open_rate to tradable precisionThis prevents odd display issues with 16 decimals in case of multiple entries. 2024-12-27 19:18:10 +01:00
Matthias
12ab1cb2c4 tests: add explicit test for stake_amount_filled 2024-11-05 07:19:49 +01:00
Matthias
e35f5c9fde tests: update test to account for newly added prop 2024-10-29 07:13:36 +01:00
Matthias
54bc60b08f test: Update test for new to-json field 2024-08-13 09:10:50 +02:00
Matthias
7972a023ed fix: oddly wrong fee_cost calculation 2024-08-12 16:45:51 +02:00
Matthias
10f0522a6b chore: update attribute wording to bt_profit 2024-08-12 10:57:53 +02:00
Matthias
2bc9cdafb2 chore: update attribute wording to bt_trades 2024-08-12 10:57:53 +02:00
Matthias
e643a2ea32 chore: update attribute wording to bt_trades_open 2024-08-12 10:57:53 +02:00
Matthias
ec0f6cb246 Add Properties for canceled orders to trade_model 2024-05-26 08:35:57 +02:00
Matthias
4f5bf632fc ruff format: remaining tests 2024-05-13 07:10:25 +02:00
Matthias
7767ad9d6e Update imports in test directory 2024-05-13 07:10:24 +02:00
Matthias
f52c3677ca Move test comment out of the test data 2024-05-12 09:30:34 +02:00
Christian Clauss
99b4767bf4 Fix typos discovered by codespell 2024-04-18 22:51:25 +02:00
Matthias
30b4f27152 Cleanup some nitpicks 2024-03-03 12:50:28 +01:00
Matthias
1696aa3915 Adjust tests for new fields 2024-02-15 20:39:06 +01:00
Matthias
b33a9059ab Fix some more tests 2023-12-22 17:35:02 +01:00
Matthias
48097f4a7d Update tests according to calculation update 2023-11-18 19:47:20 +01:00
Matthias
0815bb6244 Improve trade close profit assertions 2023-11-18 18:18:29 +01:00
Matthias
a049ff9371 Improve special testcase 2023-10-29 14:32:15 +01:00
Matthias
0c51e2637f Fix calculation issue for #9346
Closes #9346
2023-10-29 14:29:07 +01:00
Matthias
24dfd9b93b Add test for #9346, showing current behavior 2023-10-29 10:52:45 +01:00
Matthias
e81929bc55 Have test use funding_fee_running 2023-10-12 07:01:43 +02:00
Matthias
5a0c15f377 Update Idem test 2023-10-10 18:21:52 +02:00
Matthias
394d758d32 Add missing fields to json (and json parse) 2023-09-16 14:06:36 +02:00
Matthias
fed24c1308 Improve test for get_canceled_exit_order 2023-09-16 09:13:41 +02:00
Matthias
ae4021da14 Rename get_canceled exit orders ... 2023-09-16 09:11:31 +02:00
Matthias
a866b0a35e Improve test correctness 2023-09-12 07:01:05 +02:00
Matthias
067c9219b6 replace 'open_orders' with "has_open_orders" in api 2023-09-09 08:36:28 +02:00
Matthias
f4e5ce892b use has_open_orders in persistence 2023-09-08 19:58:43 +02:00
Matthias
830fc7580c Cleanup unused property 2023-09-08 19:51:14 +02:00
Matthias
8c95207ca4 Merge branch 'develop' into pr/Axel-CH/8779 2023-09-07 20:19:25 +02:00
Matthias
ffaa121bc7 Simplify code by removing unnecessary (and non-working) method 2023-09-07 20:16:56 +02:00
Matthias
39b6a00224 Improve naming of calculate_profit method 2023-09-04 06:42:16 +02:00
Matthias
07e07bd66b Improve test, ensuring we calculate profits correctly 2023-09-04 06:28:29 +02:00
Matthias
28e685ee2b Switch combined profit response to dataclass 2023-09-04 06:28:29 +02:00
Matthias
c58a1649cb add calc_profit_combined call 2023-09-04 06:28:29 +02:00
Matthias
1a8b793c0a Merge branch 'develop' into feat/stoploss_adjust 2023-08-29 07:04:08 +02:00
Matthias
3e986e24fa Merge branch 'develop' into pr/Axel-CH/8779 2023-08-24 20:09:41 +02:00
Matthias
0cc7039232 Fix mock trade 1 status 2023-08-24 17:53:46 +02:00
Matthias
6249392526 Add test for "allow adjustment in other direction" 2023-08-14 15:21:59 +02:00
Matthias
4da8c91161 Improve stop adjustment tests 2023-08-14 15:21:59 +02:00
Axel CHERUBIN
f397d973f3 Merge branch 'freqtrade:develop' into feature/multiple_open_orders 2023-08-02 23:48:13 -04:00
Matthias
626ea6b119 Add backtesting support for order.stake_amount 2023-07-15 14:55:22 +02:00
Matthias
f224f743da Add explicit test for open_orders property 2023-06-24 08:53:27 +02:00