Commit Graph

4905 Commits

Author SHA1 Message Date
Matthias
5e3da30ab9 Fix remaining bittrex instances 2023-12-18 07:15:24 +01:00
Matthias
651d2c06b9 Update tests to use new file 2023-12-18 07:15:24 +01:00
Matthias
b371593084 Move previous test config to tests 2023-12-18 07:15:24 +01:00
Matthias
5bbe6aacfd Remove Bittrex subclass 2023-12-18 07:15:24 +01:00
Matthias
fe4bf271b4 Remove futher bittrex tests 2023-12-18 07:15:24 +01:00
Matthias
0d3d1e6d9a Remove bittrex from more tests 2023-12-18 07:15:24 +01:00
Matthias
cfd5af67ca Add max-open-trades param to get_trade_stake_amount 2023-12-13 06:51:26 +01:00
Matthias
e79a58e1c4 Add test case to verify behavior in #9432 2023-12-12 19:59:56 +01:00
Matthias
c62e52c759 Add test for dp_get_required_startup 2023-12-12 19:48:17 +01:00
Matthias
5ab61d9da4 Improve missing data output 2023-12-12 07:08:26 +01:00
Matthias
55efaec83d
Merge pull request #9522 from freqtrade/bt/improve_futures_speed
Improve funding fee calculation
2023-12-12 06:33:57 +01:00
Matthias
eac5d53a64 Add mock to backtest adjust position 2023-12-11 06:48:05 +01:00
Robert Caulk
c0119d7baa
Merge pull request #9449 from freqtrade/dependabot/pip/develop/torch-2.1.1
Bump torch from 2.0.1 to 2.1.1
2023-12-10 14:11:01 +01:00
Matthias
0bd513012a enhance further test for funding-fee checking 2023-12-10 14:00:21 +01:00
Matthias
3f6cd9ee51 Patch funding_fee calculation for unrelated test 2023-12-10 14:00:06 +01:00
Matthias
ef23f0fcba Fix test to account for new funding_fee count 2023-12-10 14:00:06 +01:00
Matthias
778bd7b3b0 enhance further test for funding-fee checking 2023-12-10 13:57:52 +01:00
Matthias
b4cd46d6db Further improve funding_Fee test 2023-12-10 13:21:05 +01:00
Matthias
1d73b57e8c Extract some assert values from bt test 2023-12-10 12:57:55 +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
cd09d3567f Add spy test on funding_fees in backtesting 2023-12-09 19:42:13 +01:00
Matthias
bb85efd6ad Add test for informative weekly merging
closes #9518
2023-12-08 20:41:57 +01:00
Matthias
7321a14c35 Fix generate-test-data for 1w data 2023-12-08 20:38:41 +01:00
Matthias
2745a5d334 Rename informative_pair test 2023-12-08 20:07:44 +01:00
Matthias
d123d3bb82 Completely mock Torch on macos
we already skip tests - now we also need to skip it's imports.
2023-12-07 07:25:34 +01:00
Matthias
b14873400d Fix odd import in freqai tests 2023-12-07 07:15:05 +01:00
Matthias
d3d9f3281e Fix torch logging setup mess 2023-12-06 19:26:09 +01:00
Matthias
3b4b833dd0 Remove unused mock 2023-12-06 18:22:28 +01:00
Matthias
4061eaf888 Remove online tests for bittrex 2023-12-05 18:03:55 +01:00
Matthias
ef042ae5ec Remove exchange tests on bittrex 2023-12-05 18:03:48 +01:00
Matthias
0235db48a8 Prevent merge artifacts in "informative" pair 2023-12-03 13:31:16 +01:00
Matthias
4ed9ffbf31 Add test for behavior in #9490. 2023-12-03 13:31:16 +01:00
Matthias
c017366086 Ensure testdata generation works for 1M data 2023-12-03 13:31:16 +01:00
Matthias
5daafaabc2 Add explicit test for "now_is_time_to_refresh 2023-12-01 07:05:33 +01:00
Matthias
ef877b5fcc Add bitmart to ccxt compat tested exchanges 2023-11-28 18:13:21 +01:00
Matthias
41e40e6214 Update some initial tests 2023-11-28 06:48:27 +01:00
Matthias
79f765a930
Merge pull request #9472 from freqtrade/dependabot/pip/develop/ccxt-4.1.66
Bump ccxt from 4.1.57 to 4.1.66
2023-11-27 07:56:47 +01:00
Matthias
7c00a4ed13 Remove no longer existing exchange aliases from tests 2023-11-27 06:39:14 +01:00
Stefano Ariestasia
4bcb4fdd82
Merge branch 'freqtrade:develop' into bt-metrics 2023-11-27 10:46:21 +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
8c5194d5e2 force-reload markets when BadSymbol appears
closes #9463
2023-11-25 15:05:56 +01:00
Matthias
1657fd1f0f
Merge pull request #9435 from freqtrade/revisit_relative_intratrade
Improve trade close profit assertions
2023-11-23 20:02:02 +01:00
Stefano Ariestasia
63e702a3bf remove unused comments 2023-11-23 15:55:21 +09:00
Matthias
6963a92332 Improve hyperopt Tests
ensure scikit-learn has to generate new random points by reducing initial points
this will uncover a failure in newer scikit-learn versions
2023-11-22 07:21:07 +01:00
Matthias
203890844b Remove non-existing pairs 2023-11-21 19:16:34 +01:00
Matthias
fbab18b081 Add missing config file 2023-11-21 18:01:18 +01:00
Matthias
f7178ecd6f Update test config name and exchange 2023-11-21 07:10:23 +01:00
Matthias
fbc70a60f7 Update test with no bittrex ... 2023-11-21 06:57:18 +01:00
Matthias
b45365d385 Update tests to run for binance 2023-11-21 06:47:50 +01:00
Stefano
8680b5faa0 fix some tests, add new tests 2023-11-20 14:48:18 +09: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
7d0ecfde93 Add tests to ensure responses are as expected 2023-11-11 14:43:43 +01:00
Matthias
52f12b704b Avoid time colision when creating orders in test
avoid flakyness of test.
2023-11-06 19:42:16 +01:00
Matthias
2efef72ec2 Reduce wait for ws test 2023-11-05 17:17:07 +01:00
Matthias
751db2be78 fix: test typo mishap 2023-11-05 16:35:49 +01:00
Matthias
6ea353447e use tmp_path instead of tmpdir 2023-11-05 16:25:36 +01:00
Matthias
5a3839320d Remove further usages of Path(tmpdir) 2023-11-05 16:25:23 +01:00
Matthias
555f4b51e1 Further improvements to test setup 2023-11-05 16:23:22 +01:00
Matthias
be82248e01 Remove futher usages of Path(tmpdir) 2023-11-05 16:18:28 +01:00
Matthias
7bed7801cc Further test simplifications 2023-11-05 16:15:36 +01:00
Matthias
eb409de916 use tmp_path instead of Path(tmpdir) 2023-11-05 16:15:21 +01:00
Matthias
61ed6aee62 Add test for new formatting 2023-11-01 11:02:50 +01:00
Matthias
05ef4f9b6f Fix forceenter - cancel dialog not working
closes #9368
2023-11-01 09:10:21 +01:00
Matthias
53f00f248e
Merge pull request #9362 from freqtrade/dependabot/pip/develop/pandas-2.1.2
Bump pandas from 2.0.3 to 2.1.2
2023-10-31 14:29:09 +01:00
Matthias
bbdc6c0f5c improve pandas syntax to avoid deprecation error 2023-10-30 18:11:38 +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
robcaulk
5da48d8ffc chore: fix tests 2023-10-25 18:38:30 +02:00
Matthias
bbbc8a760c Fix stop evaluation sequence to have stop before liquidation
Adjust test to have liquidation above stop
closes #9296
2023-10-22 09:24:28 +02:00
Matthias
fee3c598d0 Move schedule to 1 minute after the hour
This will avoid congestion at :00, and make sure that the dry-run funding fees are actually already available
2023-10-12 07:16:56 +02:00
Matthias
69264cc164 Reduce funding fee update calls
Funding fees update every 4-8 hours - calling this every 15 minutes is way overboard.
2023-10-12 07:13:30 +02:00
Matthias
e81929bc55 Have test use funding_fee_running 2023-10-12 07:01:43 +02:00
Matthias
2f079711ec Add explicit test for get_funding_fees logic 2023-10-12 06:27:57 +02:00
Matthias
97e9d2dc42 Remove get_funding_fee error handling - it's no longer raising this error. 2023-10-12 06:27:35 +02:00
Matthias
9e77c93a54 Tighten funding-fee variance for backtest 2023-10-11 19:49:33 +02:00
Matthias
b65fa98cee Simplify backtesting by using current_time more consequently 2023-10-11 19:45:00 +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
4b80961c65
Merge pull request #9276 from freqtrade/cancel_behavior
Improve Cancel order messaging behavior
2023-10-09 18:13:04 +02:00
Matthias
b1fd0c73c7 Add additional test case for funding-fee calculation 2023-10-09 07:05:39 +02:00
Matthias
29eb6d938b Update test for fixed funding_fee logic 2023-10-09 07:04:13 +02:00
Matthias
7a69b01b9b avoid edge-case in test 2023-10-09 07:04:13 +02:00
Matthias
5cf7ad85a0 Adjust tests for new interface to handle_cancel_* methods 2023-10-08 10:44:37 +02:00
Matthias
178c0972ff Read funding_fee on order objects in "from_json" 2023-10-07 08:43:06 +02:00
Matthias
1ef5adbb0e Test for #9270 2023-10-06 20:13:11 +02:00
Matthias
b2796b850b Add funding_fee export to order object
Helps debugging #9163
2023-10-04 06:36:39 +02:00
Matthias
4809c9f07a Adjust tests for new naming 2023-10-01 08:00:09 +02:00
Matthias
4db7962048 Update tests to new structure 2023-10-01 07:55:03 +02:00
Matthias
c6199e5ca6
Merge pull request #9232 from freqtrade/kraken/dldata
Kraken - dataimport
2023-10-01 07:13:54 +02:00
Matthias
659cbd987a
Merge pull request #9152 from stash86/bt-metrics
Add recursive-analysis sub-command
2023-09-29 17:59:37 +02:00
Matthias
92d7f27983 Further update test a bit 2023-09-29 07:09:48 +02:00
Matthias
20ea679b2b Add "bias2" test with full lookahead bias 2023-09-29 07:06:11 +02:00
Matthias
39ede449a0 Rename test to avoid naming collision 2023-09-29 06:58:16 +02:00
Matthias
a905d1bd67 Assert backtesting liquidation price
Fails for #9205
2023-09-27 06:40:24 +02:00
Matthias
a27baf1a51 Improve backtest test 2023-09-27 06:40:24 +02:00