Commit Graph

2945 Commits

Author SHA1 Message Date
Matthias 201e02e73f Add test for Timeout - move tests to test_history 2019-05-25 20:31:21 +02:00
Matthias 8ad30e2625 Adapt tests 2019-05-25 20:06:18 +02:00
Matthias 104f1212e6 Move edge_cli_start to optimize 2019-05-25 20:06:15 +02:00
Matthias 65a4862d1f Adapt tests to load start_* methods from optimize 2019-05-25 20:01:43 +02:00
Matthias 236c392d28 Don't load hyperopts / optimize dependency tree if that module is not
used
2019-05-25 20:00:31 +02:00
Matthias b38c43141c Adjust imports to new location 2019-05-25 16:53:35 +02:00
Matthias 9225cdea8a Move validate_backtest_data and get_timeframe to histoyr 2019-05-25 16:51:52 +02:00
Matthias 90ece09ee9 require username/password for API server 2019-05-25 14:42:13 +02:00
Matthias febcc3dddc Adapt tests and rest_client to basic_auth 2019-05-25 14:25:36 +02:00
Matthias 2da7145132 Switch auth to real basic auth 2019-05-25 14:25:16 +02:00
Matthias 6adc8f7ea7 Merge branch 'develop' into feat/flask_rest_retry 2019-05-25 14:17:04 +02:00
Matthias 5bbd3c6158 Add documentation 2019-05-25 14:16:59 +02:00
Matthias 04c35b465e Add authorization to tests 2019-05-25 14:13:59 +02:00
Matthias 7e952b028a Add basic auth to rest-api 2019-05-25 14:11:30 +02:00
Matthias b7686d06a7
Merge pull request #1873 from freqtrade/add_some_tests
Add some tests
2019-05-25 13:26:34 +02:00
Matthias 469c0b6a55 Adjust check_int_positive tests 2019-05-25 13:16:00 +02:00
hroff-1902 c3e93e7593 fix reduce() TypeError in hyperopts 2019-05-24 23:08:56 +03:00
Matthias 7bbe8b2483 Add a few more testcases for check_int_positive 2019-05-24 06:22:27 +02:00
hroff-1902 7b968a2401 logger.exception cleanup 2019-05-24 04:04:07 +03:00
Matthias 253025c0fe Add tests for check_int_positive 2019-05-23 19:53:42 +02:00
Matthias 7b074765ab Improve edge tests - cleanup test file 2019-05-23 19:48:22 +02:00
Matthias 1a5dbd29e0
Merge pull request #1871 from hroff-1902/edge-no-trades
edge: handle properly the 'No trades' case
2019-05-23 19:32:02 +02:00
hroff-1902 6e1da13920 Log message changed 2019-05-22 17:19:11 +03:00
hroff-1902 406e266bb4 typo in comment fixed 2019-05-22 14:34:35 +03:00
hroff-1902 2c9a519c5e edge: handle properly the 'No trades' case 2019-05-22 14:21:36 +03:00
hroff-1902 98eeec3145 renaming of make_testdata_path reverted 2019-05-22 14:04:58 +03:00
hroff-1902 7cb753754b tests adjusted 2019-05-21 20:49:19 +03:00
hroff-1902 11dce91281 data/history minor cleanup 2019-05-21 20:49:02 +03:00
Matthias 51aa469f67 Cleanups 2019-05-20 20:29:23 +02:00
Matthias a39cdd3b2b Exclude Edge from startup-stoploss calc
Edge would recalculate / reevaluate stoploss values on startup, so these
values are not reliable
2019-05-20 20:11:50 +02:00
Matthias 53af8f331d Deep-copy default_conf for edge config 2019-05-20 20:11:50 +02:00
Matthias 9f54181494 Add test for stoploss_reinit 2019-05-20 20:11:50 +02:00
Matthias 6a5daab520 add logic for stoploss reinitialization after startup 2019-05-20 20:11:50 +02:00
Matthias 349c0619aa Move startup to freqtradebot 2019-05-20 20:11:50 +02:00
Matthias 96a34f753b Adapt test to new output from arrow 2019-05-20 19:48:12 +02:00
hroff-1902 e7b9bc6808 minor: remove noisy useless debug message 2019-05-20 12:27:30 +03:00
Matthias 2cf07e2185 rename exception handlers 2019-05-18 13:39:12 +02:00
Matthias e6ae890def small adjustments after first feedback 2019-05-18 13:36:51 +02:00
Matthias 9385a27ff0 Sort imports 2019-05-18 10:34:30 +02:00
Matthias fd5012c04e Add test for api cleanup 2019-05-18 10:00:07 +02:00
Matthias bfc57a6f6d Adapt tests to new method of starting flask 2019-05-18 10:00:07 +02:00
Matthias 540d4bef1e gracefully shutdown flask 2019-05-18 10:00:07 +02:00
Matthias 5149ff7b12 Move api to /api/v1 2019-05-18 10:00:07 +02:00
Matthias 01cd68a5aa Test forcesell 2019-05-18 10:00:07 +02:00
Matthias b700c64dc2 Test forcebuy - cleanup some tests 2019-05-18 10:00:07 +02:00
Matthias 350c903793 Test falsk crash 2019-05-18 10:00:07 +02:00
Matthias 39afe4c7bd Test flask app .run() 2019-05-18 10:00:07 +02:00
Matthias b9435e3cea Add more tests 2019-05-18 10:00:07 +02:00
Matthias a7329e5cc9 Test api-server start from manager 2019-05-18 10:00:07 +02:00
Matthias a146c5bf78 Improve jsonification 2019-05-18 10:00:07 +02:00
Matthias 557f849519 Improve 404 handling 2019-05-18 10:00:07 +02:00
Matthias 03dc6d92ae Remove hello() 2019-05-18 10:00:07 +02:00
Matthias 3c46870109 Test /count for api-server 2019-05-18 10:00:07 +02:00
Matthias 88dd18e045 Move patch_signal to conftest 2019-05-18 10:00:07 +02:00
Matthias 6b426e78f6 Tests for balance 2019-05-18 10:00:07 +02:00
Matthias 70a3c2c648 Actions - Add tests 2019-05-18 09:57:10 +02:00
Matthias 6ea0895803 Fix docstrings 2019-05-18 09:57:10 +02:00
Matthias b1a14401c2 Add some initial tests for apiserver 2019-05-18 09:57:10 +02:00
Matthias e0486ea68e Make app a instance object 2019-05-18 09:57:10 +02:00
Matthias 0ac434da78 Add forcebuy jsonification 2019-05-18 09:57:10 +02:00
Matthias 6e4b159611 Add forcebuy and forcesell 2019-05-18 09:57:10 +02:00
Matthias bc4342b2d0 small cleanup 2019-05-18 09:57:10 +02:00
Matthias ea8b8eec1c Add edge handler 2019-05-18 09:57:10 +02:00
Matthias b1964851c9 Add performance handlers 2019-05-18 09:57:10 +02:00
Matthias 393e4ac90e Sort methods 2019-05-18 09:57:10 +02:00
Matthias 3efdd55fb8 Support blacklist adding 2019-05-18 09:57:10 +02:00
Matthias 122cf4c897 Default add to None for blacklist rpc calls 2019-05-18 09:57:10 +02:00
Matthias ebebf94750 Change commands to post 2019-05-18 09:57:10 +02:00
Matthias a1043121fc Add blacklist handler 2019-05-18 09:57:10 +02:00
Matthias d2c2811249 Move rest-client to scripts 2019-05-18 09:57:10 +02:00
Matthias 99875afcc0 Add default argument 2019-05-18 09:57:10 +02:00
Matthias ae8660fe06 Extract exception handling to decorator 2019-05-18 09:57:10 +02:00
Matthias 01c93a2ee3 Load rest-client config from file 2019-05-18 09:57:10 +02:00
Matthias d8549fe09a add balance handler 2019-05-18 09:57:10 +02:00
Matthias a12e093417 Api server - custom json encoder 2019-05-18 09:57:10 +02:00
Matthias 2f8088432c All handlers should be private 2019-05-18 09:57:10 +02:00
Matthias 3cf6c6ee0c Implement a few more methods 2019-05-18 09:57:10 +02:00
Matthias 8993882dcb Sort imports 2019-05-18 09:57:10 +02:00
Matthias c6c2893e2c Improve rest-client interface 2019-05-18 09:57:10 +02:00
Matthias 96a260b027 rest_dump 2019-05-18 09:57:10 +02:00
Matthias 6bb2fad9b0 Reorder some things 2019-05-18 09:57:10 +02:00
Matthias 68743012e4 Patch api server for tests 2019-05-18 09:57:10 +02:00
Matthias ef2950bca2 Load api-server in rpc_manager 2019-05-18 09:57:10 +02:00
Matthias 6f67ea44dc Enable config-check for rest server 2019-05-18 09:57:10 +02:00
Matthias 26c42bd559 Add apiserver tests 2019-05-18 09:57:10 +02:00
Matthias c3c745ca19 Get new files from old branch 2019-05-18 09:57:10 +02:00
hroff-1902 e2b83624a3 data/history cleanup 2019-05-17 19:05:36 +03:00
hroff-1902 2741c5c330 inherit freqtrade exceptions from Exception i.o. BaseException 2019-05-16 22:38:59 +03:00
Matthias 175fc8591e
Merge pull request #1845 from freqtrade/fix/1840
Fix #1840 - Support balances other than USDT
2019-05-15 19:39:46 +02:00
hroff-1902 8b95e12468 log message adjusted in backtesting and hyperopt 2019-05-15 12:05:35 +03:00
hroff-1902 90a52e4602 tests adjusted; new test_start_no_data() added for hyperopt 2019-05-14 09:23:09 +03:00
hroff-1902 5677c4882e minor: add ticker data validation; log backtesting interval 2019-05-13 23:56:59 +03:00
hroff-1902 003461ec96 tests adjusted 2019-05-12 21:19:20 +03:00
hroff-1902 00b4501c59 avg profit and total profit corrected (to be %, not ratio); comments cleaned up a bit; typo in the log msg fixed 2019-05-12 21:14:00 +03:00
Matthias 46b1ecc77d Fix #1840 - Support balances other than USDT 2019-05-11 15:27:09 +02:00
hroff-1902 75306b7a6e tests adjusted 2019-05-11 10:17:46 +03:00
hroff-1902 0f43e0bb7d minor hyperopt output improvements 2019-05-10 10:54:44 +03:00
Matthias 0dbe9cb586
Merge pull request #1823 from hroff-1902/update-qtpylib
Update qtpylib
2019-05-09 06:47:14 +02:00
hroff-1902 45e5867736 heikinashi loop optimized; reset_index moved to tests 2019-05-08 23:41:45 +03:00
Matthias 1ccc25b486 Fix test-data indexing 2019-05-08 20:33:22 +02:00