Commit Graph

775 Commits

Author SHA1 Message Date
Matthias 48e5a45856 rpc_test: dont replicate whole response,
updating  what's changed improves readability
2022-11-17 19:07:47 +00:00
Matthias 0a7f4fd3cc fix httpx test warning 2022-11-17 10:36:24 +00:00
Matthias 097af973d2 improve RPC testcase to cover open orders 2022-11-17 07:10:47 +01:00
robcaulk 7a4bb040a5 merge develop into feat/freqai-rl-dev 2022-11-12 10:54:34 +01:00
robcaulk a49edfbaee add tests for CatboostClassifier 2022-10-30 18:08:10 +01:00
robcaulk d1a0874683 merge develop into feat/freqai-rl-dev 2022-10-30 10:13:03 +01:00
Matthias a56465e049 Merge branch 'stable' into new_release 2022-10-28 19:34:15 +02:00
Evgeniy Vladimirov 82d75d8914 Fix tests that failed due to new strategy. 2022-10-16 14:59:55 +03:00
Matthias 4a8cb3359b Fix broken tests 2022-10-14 16:07:49 +00:00
Matthias df5ae66252 Refactor webhook method 2022-10-07 20:52:52 +02:00
Matthias 1aedf08ba5 Update tests 2022-10-07 20:48:37 +02:00
Matthias fb2f2d9a39 Allow webhook message setting directly 2022-10-07 20:44:47 +02:00
robcaulk 9c73411ac2 Merge remote-tracking branch 'origin/develop' into dev-merge-rl 2022-10-05 15:21:45 +02:00
Matthias 4cf4642a6c Parametrize EMC test 2022-10-03 06:40:21 +02:00
Matthias e686faf1bc Remove faulty test cleanup 2022-10-02 08:37:37 +02:00
Matthias 564318415e Improve test resiliance 2022-10-02 08:12:03 +02:00
Matthias 6841bdaa81 Update test to verify webhook won't log-spam on new messagetypes 2022-10-02 06:50:19 +02:00
robcaulk 048cb95bd6 Merge remote-tracking branch 'origin/develop' into dev-merge-rl 2022-10-01 17:48:47 +02:00
Matthias 6702a1b219 Update test to verify webhook won't log-spam on new messagetypes 2022-10-01 09:45:58 +02:00
Matthias 80d0e66b48 Update log level in test 2022-09-29 07:19:16 +02:00
Matthias fb3d408338 Respect max_open_trades when forceentering
closes #7489
2022-09-28 09:32:07 +00:00
Matthias 7c84edbc23 Avoid online call when asking for `/status`. 2022-09-28 07:21:52 +02:00
Matthias e668bf7138 Test case to disable base64 strategies via API 2022-09-27 20:36:27 +02:00
Matthias 873eb5f2ca Improve EMC config validations 2022-09-24 16:43:58 +02:00
Timothy Pogue af974443cd add test 2022-09-23 13:37:46 -06:00
Matthias 1db8421b9d
Merge pull request #7303 from wizrds/feat/externalsignals
Producer/consumer mode
2022-09-23 06:29:58 +02:00
robcaulk ea8e34e192 Merge branch 'develop' into dev-merge-rl 2022-09-22 19:46:50 +02:00
Matthias ff36431680 Adjust tests for new messageType handling 2022-09-20 20:34:56 +02:00
Matthias 0c01b23cba Capture exceptions in send_msg calls 2022-09-20 18:09:14 +02:00
robcaulk d056d766ed make tests pass 2022-09-17 17:46:47 +02:00
Timothy Pogue 1ad25095c1 change test server from localhost to 127.0.0.1 2022-09-15 19:40:45 -06:00
Timothy Pogue 7d1645ac20 fix tests and warning message 2022-09-15 17:54:31 -06:00
Timothy Pogue 46a425d1b6 fix OOM on emc test 2022-09-13 13:36:21 -06:00
Matthias 877d24bcdd Fix external dependency of test 2022-09-13 20:52:07 +02:00
Timothy Pogue aeaca78940 change port in send_msg test 2022-09-13 12:39:12 -06:00
Timothy Pogue 12a3e90f78 fix tests 2022-09-12 14:12:39 -06:00
Matthias 0052e58917 emc: Fix potential startup timing issue 2022-09-12 19:50:22 +02:00
Timothy Pogue a477b3c244 remove log line, fix tests to not connect to actual ip 2022-09-12 10:45:59 -06:00
Timothy Pogue 0a8b7686d6 reworked emc tests 2022-09-11 00:50:18 -06:00
Timothy Pogue ed4ba8801f more emc tests 2022-09-10 23:57:17 -06:00
Timothy Pogue 9a1a4dfb5b more ws endpoint tests 2022-09-10 16:08:05 -06:00
Timothy Pogue 2afd5c202c update message parsing, tests 2022-09-10 14:29:15 -06:00
Timothy Pogue c5d031733b remove old param in test fixture 2022-09-10 13:50:36 -06:00
Timothy Pogue a7baccdb7d update log messages in emc, more tests 2022-09-10 13:44:27 -06:00
Timothy Pogue 866a564958 update emc start/shutdown, initial emc tests 2022-09-10 12:51:29 -06:00
Timothy Pogue d8cdd92140 wrap background cleanup in finally, add tests 2022-09-10 11:47:21 -06:00
Matthias b344f78d00 Improve logic for token validation 2022-09-10 14:20:49 +02:00
Timothy Pogue 2f6a61521f add more tests 2022-09-09 17:14:40 -06:00
Timothy Pogue 6cbc03a96a support jwt token in place of ws token 2022-09-09 11:38:42 -06:00
Timothy Pogue c9d4f666c5 minor apiserver test change 2022-09-08 14:00:22 -06:00
Timothy Pogue 2b9c8550b0 moved ws_schemas, first ws tests 2022-09-08 13:58:28 -06:00
Timothy Pogue b9e7af1ce2 fix ws token auth 2022-09-08 11:25:30 -06:00
Timothy Pogue 4fac125443 fix apiserver cleanup issues in tests 2022-09-08 10:14:30 -06:00
Matthias 045c3f0f3a Reduce diff by avoiding unnecessary changes 2022-09-08 07:01:37 +02:00
Timothy Pogue cd8455ccb7 Merge branch 'develop' into feat/externalsignals 2022-09-05 15:10:25 -06:00
Matthias 36e5c18fa6 Don't raise exception when a message is not implemented in telegram 2022-09-05 20:54:03 +02:00
Timothy Pogue 865b34cd6f add producer names 2022-08-31 11:43:02 -06:00
Matthias b9f35cadb3 add /stopentry alias for /stopbuy 2022-08-28 11:37:22 +02:00
Timothy Pogue 2b5f067877 Refactoring, minor improvements, data provider improvements 2022-08-26 23:40:13 -06:00
Timothy Pogue a998d6d773 fix tests 2022-08-26 14:52:15 -06:00
Matthias 8d182768f9 stoploss should also use trimmed prices 2022-08-17 09:57:11 +02:00
Matthias fa89368c02 Add test for precision backpopulation 2022-08-16 11:11:52 +02:00
Matthias 711b6b1a1a Merge branch 'develop' into precise_calcs 2022-08-16 09:29:39 +02:00
Matthias e818797427 Minor fix in amount_to_precision logic 2022-08-15 20:29:05 +02:00
Matthias 09ee9089fb
Merge pull request #6832 from freqtrade/feat/freqai
Freqai: an interface for users to build/train/backtest predictive models and run them live
2022-08-15 20:03:08 +02:00
Matthias 22ac291c3a
Merge pull request #7211 from ecoppen/rpc/whitelist_options
Optional /whitelist args - sorted, nobase
2022-08-14 08:26:21 +02:00
Matthias 61acbf21d0 Fix broken telegram tests 2022-08-13 15:46:06 +02:00
Matthias 902afc2f02 Use FtPrecise in interest calculation 2022-08-13 08:43:56 +02:00
Matthias df701b5862 Merge branch 'develop' into feat/freqai 2022-08-13 08:43:24 +02:00
ecoppen ccc0ad6f64 fix - reload whitelist
Should fix the issue, if not I'll move development to a different computer and get local testing running properly.
2022-08-12 19:58:41 +01:00
Matthias dd4e44931e Improve NAN handling in RPC module 2022-08-11 15:02:52 +00:00
ecoppen ace9626483 Update tests for sorted and nobase
Tests for PR #7211
2022-08-10 15:04:24 +01:00
Matthias 53251e7140
Merge pull request #7194 from freqtrade/rpc/partial_forceexit
Partial forceExit
2022-08-10 07:12:40 +02:00
Matthias 9a82898d6b Merge branch 'develop' into feat/freqai 2022-08-09 06:22:57 +02:00
Matthias e48e82232d Force response API to js to fix faulty system configs
closes #7147
2022-08-07 10:42:56 +02:00
Matthias 6ded2d5b7c Improve forceexit API test 2022-08-07 09:47:11 +02:00
robcaulk eb8bde37c1 Add lightgbm classifier, add classifier check test, fix classifier bug. 2022-08-06 17:51:21 +02:00
Matthias 2687633941 Test iterative sending of /status 2022-08-06 09:16:04 +02:00
Matthias b12dd15f4f Send multiple messages in /status if required 2022-08-06 09:10:12 +02:00
Matthias 7675187c37 Use telegram message length to avoid constants 2022-08-05 07:31:19 +02:00
Matthias cffc769549 Fix /profit endpoint calculations for partial sells
* don't recalculate for closed trades
* include realized_profit in the calculation

part of #7178
2022-08-05 07:26:41 +02:00
Matthias c6e121ffb4 Update tests with correct usdt mock trades 2022-08-05 07:21:46 +02:00
Kavinkumar a4bada3ebe
Partial exit using average price (#6545)
Introduce Partial exits
2022-07-31 14:19:04 +02:00
Matthias fc31c890e3
Merge pull request #7135 from freqtrade/rpc/sendmsg
Strategy allow rpc messages
2022-07-30 16:15:00 +02:00
Matthias 3273881282 Merge branch 'develop' into feat/freqai 2022-07-28 06:36:38 +02:00
Matthias 2595e40e47 Remove unused test-strategy 2022-07-27 06:47:16 +02:00
Matthias 0adfa4d9ef Add tests for dataprovider send-message methods 2022-07-27 06:34:15 +02:00
robcaulk e213d0ad55 isolate data_drawer functions from data_kitchen, accommodate tests, add new test 2022-07-26 10:24:14 +02:00
Matthias 61c41fd919 Merge branch 'develop' into feat/freqai 2022-07-24 16:18:58 +02:00
Matthias 83cac7bee2 Improve some more tests by adding proper orders 2022-07-24 10:51:13 +02:00
Matthias 24a786bedd Update rpc test to contain sell order 2022-07-23 15:23:24 +02:00
robcaulk 286bd0c40b follow string for adding a strat to tests/strategy/strats 2022-07-20 15:00:02 +02:00
Matthias 29efe75a6f Update hyperoptable strategy to use V3 interface 2022-07-16 11:47:32 +02:00
Matthias bf992fd9df Add test for newly added functionality 2022-07-11 14:09:44 +02:00
Matthias 0809f9aef6 Add offset to trade response 2022-06-18 19:27:05 +02:00
Matthias 0168343b76 Add trading-volume to api schema 2022-06-18 16:53:25 +02:00
Matthias 40c9abc7e1 Add trading volume to /profit output 2022-06-18 11:40:32 +02:00
Matthias 6a15d36d14 Add Drawdown and profit_factor to /profit
#6816
2022-06-18 11:14:28 +02:00
Matthias d77ce468ea Add "dry" hint to buy/sell messages
part of #6962
2022-06-18 09:40:53 +02:00
Matthias 76cae8e8e3 Update tests to always provide rate to profit calculations 2022-06-17 06:55:31 +00:00