Commit Graph

4909 Commits

Author SHA1 Message Date
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
Matthias
74709461e3 Improve exception wording 2023-09-25 19:48:09 +02:00
Matthias
a2d8f92e05 Add rudimentary test for test_trade_converter 2023-09-25 19:46:15 +02:00
Matthias
e518e741af update bybit live order to v5 2023-09-25 18:05:44 +02:00
Matthias
56b9c250ba Update order_parse online test 2023-09-25 18:05:40 +02:00
Matthias
123e51774e Move trades-to-ohlcv tests 2023-09-24 10:38:38 +02:00
Matthias
8452399c12
Merge pull request #9187 from stash86/full-pairlist
Add FullTradesPairlist
2023-09-23 10:24:13 +02:00
Matthias
dda5a59019
Revert "Bump ccxt to 4.0.101" 2023-09-22 18:20:52 +02:00
Matthias
ef6afaa2cb Add test for replace_fail 2023-09-22 06:37:56 +02:00
Matthias
0e406c4d7d Update some more test wordings 2023-09-22 06:37:56 +02:00
Matthias
b21775142d Improve variable naming in test 2023-09-22 06:37:56 +02:00
Matthias
8ccc66cd97 Add tests for cancel order retries 2023-09-22 06:37:56 +02:00
Stefano
eb7df30061 add test 2023-09-22 09:43:03 +09:00
Stefano
478e6f1e64 fix test 2023-09-21 21:22:45 +09:00
Stefano
a0e115ebd9 fix another test 2023-09-21 20:19:39 +09:00
Stefano
ce4f1b0709 fix test after adding new test strategy 2023-09-21 19:56:41 +09:00
Stefano
aba576f79f pre-commit fix 2023-09-21 17:58:20 +09:00
Stefano
d92a6d7b73 all tests done 2023-09-21 17:51:37 +09:00
Stefano
89d47ffd8f 4 more tests 2023-09-21 17:47:51 +09:00
Stefano
b9e9f82503 first test done 2023-09-21 16:45:43 +09:00
Stefano
08b94a2077 1 test 2023-09-21 14:21:54 +09:00
Stefano Ariestasia
28e43a4867 initial test 2023-09-21 14:00:17 +09:00
Matthias
aec67cda66 update bybit live order to v5 2023-09-20 20:41:12 +02:00
Matthias
f3fb801b33 Update order_parse online test 2023-09-20 20:41:12 +02:00
Matthias
ddb0ae10b4 Ensure no None status is passed from "create_order" 2023-09-20 20:02:06 +02:00
Matthias
8600ae0387
Merge pull request #9191 from freqtrade/fix/double-date-column
Bug: FreqAI fit_live_predictions()
2023-09-20 08:23:41 +02:00
robcaulk
8f883f2310 chore: fix set_initial_hist_preds test 2023-09-19 12:20:44 +02:00
Matthias
75f89ec12f
Merge pull request #9188 from Axel-CH/add-trade-param-to-custom-entry-price
Add trade param to custom entry price
2023-09-17 23:23:42 +02:00
Matthias
158bf09774
Fix type checking error 2023-09-17 19:40:44 +02:00
Matthias
14c5f435aa okx: Use proper history endpoint for fetch_orders 2023-09-16 20:01:19 +02:00
Matthias
5745722a37 Increase time for fetch_orders in test 2023-09-16 20:00:17 +02:00
Matthias
afb1b787c8 add okx to fully tested exchanges 2023-09-16 19:43:39 +02:00
Matthias
659168d341 Improve cancel_stop test 2023-09-16 19:43:39 +02:00
Matthias
5d8e0573f6 Run handle_onexchange_order test without dry-run 2023-09-16 16:39:52 +02:00
Matthias
6d2d5f93d0 Add exit order test
showing behavior in #9186
2023-09-16 16:39:40 +02:00
Matthias
394d758d32 Add missing fields to json (and json parse) 2023-09-16 14:06:36 +02:00
Axel-CH
91c710408a fix flake8, set trade object param as Optional 2023-09-16 03:36:36 -04:00
Matthias
a7d6efdcd6 Fix order amounts in test 2023-09-16 09:32:30 +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
axel
cf96ad1d1b add trade param to custom entry price in interface, bot, backtesting, exemples 2023-09-16 02:32:03 -04:00
Matthias
33bf7f9f30 Ensure test doesn't fail based on daytime
failed if it's run in the first hour of the (UTC) day
2023-09-14 20:05:11 +02:00
Robert Caulk
310c9f6034
Update test_freqai_datadrawer.py 2023-09-14 13:49:31 +02:00
robcaulk
844ab4aef5 chore: add tests for set_initial_return_values 2023-09-14 00:05:59 +02:00
Matthias
a866b0a35e Improve test correctness 2023-09-12 07:01:05 +02:00
Matthias
ee9d2c637a Improve "order refind" mechanics 2023-09-11 20:18:42 +02:00
Matthias
96e5615d1b Update safe_value_fallback to allow empty 2nd keys 2023-09-11 20:03:38 +02:00
Matthias
2ee152c5a6
Merge pull request #8779 from Axel-CH/feature/multiple_open_orders
Feature: Multiple open orders
2023-09-10 17:22:26 +02:00
Matthias
bef27467b6 Further improve test 2023-09-10 16:18:18 +02:00
Matthias
52f971cbb7 Improve existing test 2023-09-10 16:17:39 +02:00
Matthias
563e68e894 Don't hard-fail merge if there's no informative data 2023-09-10 16:16:52 +02:00
Matthias
49b4ab6d3b Simplify some things in tests 2023-09-09 17:37:05 +02:00
Matthias
e76d4241a0 Remove further unnecessary method 2023-09-09 09:54:12 +02:00
Matthias
9e1f7dc6f7 have force-enter also include has_open_orders 2023-09-09 09:23:25 +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
21859f79db
Merge pull request #9159 from stash86/fix-adjust
remove old codes when we only can do partial entries
2023-09-08 08:04:20 +02:00
Matthias
97a37198b9 Update test 2023-09-08 06:39:42 +02: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
ffaa121bc7 Simplify code by removing unnecessary (and non-working) method 2023-09-07 20:16:56 +02:00
Matthias
95d8c45481 test_handle_cancel_exit_limit - partially fill by half 2023-09-07 18:27:19 +02:00
Matthias
bae4abace2 Test test_handle_cancel_exit_limit short 2023-09-07 18:27:19 +02:00
Matthias
44461bd1a1 Add leverage to test_handle_cancel_exit_limit test 2023-09-07 18:27:19 +02:00
Matthias
c5f26e72e1
Merge pull request #9153 from freqtrade/rpc/drawdown
Add better drawdown metrics to /profit outputs
2023-09-07 06:33:15 +02:00
Matthias
8cbb5d2a93 Adjust test for "nan" data
shows problem in #9154
2023-09-06 19:38:54 +02:00
Matthias
feea20fb0a
Merge pull request #9151 from freqtrade/refactor/calc_profits
Refactor calculate profits
2023-09-05 06:26:04 +02:00
Matthias
e854667eb8 Add max_drawdown_start and end to /profit API endpoints 2023-09-04 20:09:59 +02:00
Matthias
7c5a11623e Use dt_ts_def in profit endpoints 2023-09-04 20:09:32 +02:00
Matthias
783a2d945e add dt_ts_def helper 2023-09-04 20:09:32 +02:00
Matthias
d8122962db Add "date to string" helper 2023-09-04 20:09:32 +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
399f144c27 more calc_profit_combined usage 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
a4fc7ce0c4 "fix" bybit invalid order responses for canceled orders
closes #9128
2023-09-03 17:05:57 +02:00
Matthias
00cef56a57
Merge pull request #9137 from froggleston/frog-update-rpc
Implment weekly/monthly RPC endpoints
2023-09-03 10:22:37 +02:00
Matthias
d1984945d5 Improve tests for /weekly and /monthly 2023-09-02 20:15:12 +02:00
froggleston
f838bc760f
Implment weekly/monthly RPC endpoints 2023-09-02 16:06:23 +01:00
Matthias
25f5dbfcbd Delete trade if replacing the first order failed
part of #9128
2023-09-02 16:49:12 +02:00
Matthias
6f86e30c7e Add leverage adjustment to "stoploss_from_absolute" 2023-09-02 11:01:59 +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
65fe1a671c Add explicit test for bybit fetch_orders behavior 2023-08-31 08:14:14 +02:00
Matthias
4ed46ef6b3 Add significant digits Round_Up / round_down 2023-08-30 16:48:31 +00:00
Matthias
65c7607e36 Add Tests for "Significant" digits 2023-08-30 08:34:32 +00:00
Matthias
bfc2c70b44 Fix and improve Tick size ROUND_DOWN logic 2023-08-30 08:21:02 +00:00
Matthias
3a6c00dbaf Improve price_to_precision test depth 2023-08-30 08:00:33 +00:00
Matthias
d4c042c523 Add amount precision test to test for significant digits 2023-08-30 07:32:38 +00:00
Matthias
b48fe4ce51 Properly use Precision-mode Variable 2023-08-30 07:23:59 +00:00
Matthias
78f356c0df amount to contract precision to test_utils 2023-08-30 07:18:46 +00:00
Matthias
7263d321f8 move timeframe_to* tests to test_exchange_utils 2023-08-30 07:16:14 +00:00
Matthias
1ccbe87f90 Move precision tests to exchange_utils test file 2023-08-30 07:09:57 +00:00
Matthias
e7d2a48766 Move date_minus test to exchange_utils testmethod 2023-08-30 07:07:28 +00:00
Matthias
23aa8dcd51 Simplify profit calculation (removes unnecessary fallback) 2023-08-29 18:31:51 +02:00
Matthias
f3187ddcbf
Merge pull request #9057 from freqtrade/feat/stoploss_adjust
"After order" stoploss adjustment
2023-08-29 18:06:37 +02:00