Commit Graph

3025 Commits

Author SHA1 Message Date
Matthias 9ea887dbd0 Merge branch 'develop' into stoploss_restart 2019-06-08 20:23:13 +02:00
Matthias 9967df8f45
Merge pull request #1902 from freqtrade/fix_tsl_offset_on_reason
Trailing stoploss sell reason fixed.
2019-06-08 20:21:51 +02:00
Matthias 5273540a93 Fix test failure (double-trailing newlines are removed now) 2019-06-08 19:32:31 +02:00
Matthias 107c3beb20 Fix test-failure introduced in #1891 2019-06-02 15:28:29 +02:00
Matthias 4e45aa1564
Merge pull request #1863 from xmatthias/feat/flask_rest_retry
Add REST API to control the bot
2019-06-02 15:20:12 +02:00
Matthias e0e5cfa266
Merge pull request #1891 from freqtrade/simplify/persistence_init
persistence.init does not need the config dict
2019-06-02 15:13:06 +02:00
Misagh 36dae7cc6c trailing stoploss reason fixed 2019-06-02 13:27:31 +02:00
Yuliyan Perfanov 199426460a implemented DataProvider.orderbook() 2019-06-02 13:25:09 +03:00
Matthias f04089ef1e
Merge pull request #1892 from freqtrade/ref/live_data
refactor `--live` handling
2019-06-01 06:20:11 +02:00
hroff-1902 e4e22167bb make mypy happy 2019-05-30 21:00:16 +03:00
hroff-1902 6b144150c7 fix handling of SystemExit 2019-05-30 20:38:04 +03:00
hroff-1902 f463817c88 change metavar for --pairs-file 2019-05-30 10:56:48 +03:00
Matthias b6e8fecbf5 Change persistence.init parameter
It should describe what it does
2019-05-30 06:33:16 +02:00
Matthias d6cf314481 Don't default to false for init() 2019-05-30 06:30:06 +02:00
hroff-1902 fb88953be3 refactoring download_backtest_data.py 2019-05-29 21:57:14 +03:00
Matthias 15984b5c43 Adjust some tests - implement new "live" method to plot_script 2019-05-29 20:25:07 +02:00
Matthias c2f6897d8b Move download of live data to load_data
Avoids code duplication in backtesting and plot_dataframe
2019-05-29 20:20:20 +02:00
Matthias d7bebc4385 persistence.init does not need the config dict 2019-05-29 19:54:59 +02:00
Matthias 7b367818fc Remove duplicate code 2019-05-29 19:46:46 +02:00
Matthias 22144d89fc Fix mypy error 2019-05-29 19:46:26 +02:00
Matthias 17d614c66a Remove binary script - allow None arguemnts 2019-05-29 19:46:26 +02:00
Matthias 7406edfd8f Move set_loggers to main() 2019-05-29 19:46:26 +02:00
hroff-1902 912b06b34b
Merge branch 'develop' into python-version 2019-05-29 20:07:46 +03:00
Matthias 4fed263885
Merge pull request #1879 from freqtrade/refactor_optimize__init__
Speed up startup time
2019-05-29 06:18:57 +02:00
hroff-1902 db2e6f2d1c tests adjusted 2019-05-28 23:25:53 +03:00
hroff-1902 58477dcd82 cleanup: return after cmd removed in main() 2019-05-28 23:25:19 +03:00
hroff-1902 536c8fa454 move python version check to the top 2019-05-28 23:04:39 +03:00
Matthias 55bdd26439 Edgecli -> Edge for Runmode and start_edge() 2019-05-28 19:25:01 +02:00
Matthias dab4307e04 Add secure way to genreate password, warn if no password is defined 2019-05-26 14:40:03 +02:00
hroff-1902 0e228acbfb minor: exchange debug logging humanized 2019-05-25 22:42:17 +03:00
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
hroff-1902 2554ebf273 fixed: heikinashi worked in backtesting, but failed in tests with testing arrays 2019-05-08 00:00:44 +03:00
hroff-1902 d642e03cd0 heikinashi performance problem resolved 2019-05-07 23:39:42 +03:00
hroff-1902 6467d3b58e check python version 2019-05-06 18:27:05 +03:00
Matthias 1a677c7441 Add explicit test for to_json 2019-05-06 06:58:17 +02:00
Matthias 2b78f73fe5 Adapt tests to to_json method 2019-05-06 06:56:07 +02:00
Matthias 31d271084f Move json to persistence 2019-05-06 06:55:12 +02:00
hroff-1902 2200a0223b fixed heikinashi 2019-05-06 00:30:21 +03:00
Matthias 1e056ee415 Move trade jsonification to trade class 2019-05-05 14:07:08 +02:00
hroff-1902 66c2bdd65a flake happy 2019-05-03 16:58:51 +03:00
hroff-1902 1be4c59481 qtpylib/indicators.py updated 2019-05-03 16:48:07 +03:00
Matthias 7e96d57627
Merge pull request #1819 from hroff-1902/hyperopt-min-trades
hyperopt --min-trades parameter
2019-05-02 09:36:13 +02:00
Misagh de6112adb7
Merge pull request #1814 from freqtrade/rpc/forcesell
immediately confirm forcesell
2019-05-01 16:47:22 +02:00
Matthias 46214ce7cd Fix typo after feedback 2019-05-01 16:22:52 +02:00
hroff-1902 269699988b test adjusted 2019-05-01 15:55:56 +03:00
hroff-1902 e7b81e4d46 hyperopt --min-trades parameter 2019-05-01 15:27:58 +03:00
Matthias b9d7bb2d8e Merge branch 'develop' into pr/hroff-1902/1804 2019-05-01 12:54:36 +02:00
Matthias b24bbb2cb1 Improve test for reload_conf with a "realistic" workflow 2019-04-30 19:32:03 +02:00
Matthias 97f2c74dd8
Merge pull request #1815 from hroff-1902/fix-1810
Fix for #1810
2019-04-30 19:31:23 +02:00
hroff-1902 5665426e6b better type hints in worker 2019-04-30 19:47:55 +03:00
Matthias 4804f45156
Merge pull request #1802 from freqtrade/refactor/config
Refactor config
2019-04-30 12:13:40 +02:00