Commit Graph

79 Commits

Author SHA1 Message Date
Matthias
90c0b554aa Adjust tests for new fields 2024-02-26 13:53:10 +01:00
Matthias
9bfd34a4f3
Merge pull request #9267 from Axel-CH/feature/update_sl_order_mgt
Update stoploss order management
2024-02-02 06:43:02 +01:00
Matthias
58058f0197 Fix migration test 2024-01-19 18:20:23 +01:00
Matthias
59b3486574 Update migrations 2024-01-19 06:49:49 +01:00
Matthias
cb9fa734d1 Improve test resiliance 2024-01-10 20:36:10 +01:00
Matthias
3f27c2792a Remove trailing newline 2024-01-10 20:12:57 +01:00
Matthias
3caf964c46 Add NoDbContext context manager 2024-01-10 20:01:56 +01:00
Matthias
cbfebd397c Use a trade for test that actually has an open stop order 2023-12-23 15:19:41 +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
6ea353447e use tmp_path instead of tmpdir 2023-11-05 16:25:36 +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
e97d9013d5 Avoid having orders leak after multiple "from_json" calls 2023-10-29 09:17:07 +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
86d4497aaf Add additional test for from_json 2023-10-09 20:01:41 +02:00
Matthias
178c0972ff Read funding_fee on order objects in "from_json" 2023-10-07 08:43:06 +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
5659ca2ecd Fix migrations 2023-08-25 07:29:10 +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
7f0e1c27c6 Fix realized_profit for trade from_json 2023-07-14 07:35:58 +02:00
Matthias
5bc84dca56 Fix from_json with new attributes 2023-07-10 06:38:18 +02:00
Matthias
f224f743da Add explicit test for open_orders property 2023-06-24 08:53:27 +02:00
axel
2495661554 remove unrequired appends from test_update_limit_order 2023-06-14 11:49:20 -04:00
axel
ae92557dd7 remove commented legacy open_order_id property references 2023-06-14 11:44:49 -04:00
axel
057f852e06 fix localTrade and trade classe miroring, fix persistence tests 2023-06-14 11:40:30 -04:00
axel
4874d10455 Replace open_order_id property by open_orders in Trade model, first test update 2023-06-13 02:11:34 -04:00
Matthias
9421ca2628 Remove arrow from test_persistence 2023-05-18 07:00:36 +02:00
Matthias
c0713eb77f More tests to dt_helpers 2023-05-18 07:00:36 +02:00