Commit Graph

1671 Commits

Author SHA1 Message Date
Matthias 7be25313a5 Add some mypy ignores 2019-07-15 22:59:28 +02:00
Matthias 55e8092cbf Add sharpe ratio as loss function 2019-07-15 22:52:33 +02:00
Matthias e5170582de Adapt tests to new loss-function method 2019-07-15 22:45:14 +02:00
Matthias 2fedae6060 Move unnecessary things out of generate_optimizer 2019-07-15 20:31:55 +02:00
Matthias b1b4048f97 Add test for hyperopt 2019-07-15 20:28:02 +02:00
Matthias 5144e98a82
Merge pull request #2015 from hroff-1902/refactor/config2
Make configuration a module
2019-07-15 19:41:57 +02:00
hroff-1902 007703156b do not export ARGS_* from configuration 2019-07-15 01:55:35 +03:00
hroff-1902 9cae2900d4 get rid of patched_configuration_open() in tests 2019-07-15 01:44:25 +03:00
Matthias e955b1ae09 Use log_has_re instead of plain regex filters for log messages 2019-07-14 20:21:57 +02:00
Matthias dadf8adb3e Replace filter usage 2019-07-14 20:14:35 +02:00
Matthias 4238ee090d Cleanup some code
after deepcode.ai suggestions
2019-07-14 20:05:28 +02:00
Matthias a8f3f2bc1a Extend test to cover market orders with price too 2019-07-14 14:23:23 +02:00
Matthias 25822d1717 Add empty options dict to all tests using create_order 2019-07-14 14:18:30 +02:00
hroff-1902 b499e74502 minor improvements to resolvers 2019-07-12 23:45:49 +03:00
hroff-1902 bbfbd87a9f move create_datadir() to separate file 2019-07-12 03:31:36 +03:00
hroff-1902 7e103e34f8 flake happy 2019-07-12 01:41:09 +03:00
hroff-1902 94e6fb89b3 tests happy 2019-07-12 00:49:23 +03:00
hroff-1902 1bdffcc73b make configuration a sep. module, including arguments 2019-07-12 00:49:23 +03:00
Matthias 87ff1e8cb0
Merge pull request #2002 from hroff-1902/refactor/arguments2
minor: refactoring arguments and configuration
2019-07-08 16:56:25 +02:00
Matthias 61b24180f0
Merge pull request #1998 from freqtrade/fix/pax_balance
Support all types of pairs for /balance
2019-07-08 16:31:57 +02:00
hroff-1902 84d3868994 rename loglevel --> verbosity, because it's not logging level 2019-07-07 02:53:13 +03:00
hroff-1902 f89b2a18e0 fix loglevel in conftest -- it's actually the verbosity level 2019-07-07 02:42:03 +03:00
hroff-1902 ce2a5b2838 move loggers setup out of configuration 2019-07-07 00:31:48 +03:00
Matthias 17800c8ca5 Remove folder references (it's directory!) 2019-07-04 19:57:38 +02:00
Matthias 5c6039fd8b Fix #1997 - rename folder to dir 2019-07-04 19:53:50 +02:00
Matthias 40fe2d2c16 Test get_valid_pair_combination 2019-07-03 20:20:12 +02:00
Matthias 1bcf2737fe Add tests for new behaviour 2019-07-03 20:07:26 +02:00
Matthias e19c192570
Merge pull request #1994 from hroff-1902/fix-validate_timeframes
fix validate_timeframes()
2019-07-03 11:11:28 +02:00
hroff-1902 b80cef964e fix validate_timeframes(); test added 2019-07-03 11:18:39 +03:00
Matthias 0908863e07
Merge pull request #1987 from freqtrade/plot_script_changes
Plot script changes
2019-07-03 06:43:34 +02:00
Matthias 01904d3c1e Test not having timeframe available on exchange object 2019-06-30 20:30:57 +02:00
Matthias 59818af69c Remove common_datearray function 2019-06-30 13:18:22 +02:00
Matthias 44e0500958 Test init_plotscript 2019-06-30 13:01:12 +02:00
Matthias 587d71efb5 Test generate_profit_plot 2019-06-30 10:47:55 +02:00
Matthias 0b517584aa Use add_profit in script 2019-06-30 10:26:53 +02:00
Matthias 5a11ffcad8 Add test for add_profit 2019-06-30 10:24:10 +02:00
Matthias 6b387d320e extract combine_tickers to btanalysis 2019-06-30 10:04:43 +02:00
Matthias 0d5e94b147 Rename generate_row to add_indicators 2019-06-30 09:44:50 +02:00
Matthias 700bab7279 Rename generate_plot_file to store_plot_file 2019-06-30 09:28:34 +02:00
Matthias 8aa327cb8a Add load_trades abstraction (to load trades from either DB or file) 2019-06-29 20:52:23 +02:00
Matthias e50eee59cf Seperate plot-name generation and plotting 2019-06-29 20:38:49 +02:00
Matthias 79b4e2dc85 Rename generate_graph to generate_candlestick_graph 2019-06-29 17:23:33 +02:00
Matthias edd3fc8825 Add test for create_cum_profit 2019-06-29 17:22:47 +02:00
Matthias 700bc087d3
Merge pull request #1952 from hroff-1902/fix/1948
Fix #1948
2019-06-27 19:36:06 +02:00
Matthias 8b99348e98
Merge pull request #1975 from freqtrade/fix/dry_run_bal
Show different message for balance during dry-run
2019-06-27 19:34:51 +02:00
Matthias 045f34e851
Merge pull request #1974 from hroff-1902/fix/1963
fix #1963
2019-06-27 19:34:17 +02:00
Matthias 6643b83afe Update tests to test both balance versions 2019-06-27 07:06:35 +02:00
Matthias f04d49886b Add test to verify behaviour if currency in fee-dict is None 2019-06-27 06:29:18 +02:00
Matthias 4459fdf1b1
Merge pull request #1961 from freqtrade/feat/config_refactor
Argument handling refactor
2019-06-27 06:06:23 +02:00
hroff-1902 6fc6eaf742 minor: couple of typos fixed 2019-06-26 22:23:16 +03:00
Matthias b92c6cdf35 Cleanup arguments and test_arguments 2019-06-24 20:10:50 +02:00
Matthias ba7a0dde06 Use build_args for download script 2019-06-24 20:08:17 +02:00
Matthias 7166674d6c Move check_int_positive out of arguments class 2019-06-24 19:55:16 +02:00
Matthias 31a2aac627
Merge pull request #1959 from freqtrade/split_btanalysis_load_trades
Split btanalysis load trades
2019-06-24 19:41:56 +02:00
Matthias eba7327058 Merge branch 'develop' into split_btanalysis_load_trades 2019-06-24 07:15:14 +02:00
Matthias a07653a6cc Merge branch 'develop' into fix/validate_dataframe 2019-06-24 06:21:08 +02:00
Matthias c9a76be532
Merge pull request #1943 from freqtrade/fix/tests_windows
Fix tests on windows
2019-06-24 06:18:17 +02:00
Matthias 9d2b6db97b
Merge pull request #1954 from freqtrade/fix/stoploss_cancel_error
Trailing stoploss cancel orders should be handled gracefully
2019-06-24 06:17:44 +02:00
Matthias 4cbcb5f36f Move .title to ExchangeResolver (it does not make sense to do this over
and over again)
2019-06-22 16:52:14 +02:00
Matthias 559d5ebd1d Remove combined load-method since it's confusing 2019-06-22 16:20:41 +02:00
Matthias de38aea164 Fix sequence of loading trades 2019-06-22 15:45:20 +02:00
Matthias d8286d7a98
Merge pull request #1937 from xmatthias/feat/plot_module
move parts of scripts/plot_dataframe.py to main bot code
2019-06-22 13:06:30 +02:00
Matthias db17b20e26 Don't require pairs but fall back to pair_whitelist instead 2019-06-21 20:21:03 +02:00
Matthias a581ca66bf Adapt test after merging develop 2019-06-21 19:31:18 +02:00
Matthias 5d6819bb28 Merge branch 'develop' into feat/plot_module 2019-06-21 19:28:38 +02:00
Matthias 1a27ae8a81 Add tests to verify that ticker_interval is there 2019-06-21 07:07:39 +02:00
Matthias 89ba649ddb Test handling errors while trailing stop loss 2019-06-20 20:57:15 +02:00
Matthias a8dcfc05c5 Add test to verify InvalidOrder is handled correctly 2019-06-20 20:36:39 +02:00
Matthias 911e71cd9b remove redundant test-functions 2019-06-20 20:30:05 +02:00
hroff-1902 a8efb1e1c8 test for #1948 added 2019-06-20 03:26:02 +03:00
hroff-1902 860e056366 --datadir is now handled in arguments.common_options() 2019-06-19 02:49:12 +03:00
hroff-1902 8c40a406b6 arguments cleanup 2019-06-19 01:53:38 +03:00
Matthias ba4890d303 Fix tests on windows 2019-06-17 14:36:58 +02:00
Matthias 06afb3f155 Don't use "limit" for sell-orders either 2019-06-17 07:01:17 +02:00
Matthias 557122921a Add order_type to sell-notification 2019-06-17 06:56:52 +02:00
Matthias 475e76b272 Add order_type to buy_notification 2019-06-17 06:55:30 +02:00
hroff-1902 195bf5a4cc tests adjusted 2019-06-16 22:10:39 +03:00
Matthias 0eb109f8f7 Improve some tests 2019-06-16 19:53:48 +02:00
Matthias 4b7dfc64c6 Add test for generate_plot_file 2019-06-16 19:35:21 +02:00
Matthias 3f04930f38 Require pairs argument 2019-06-16 19:35:21 +02:00
Matthias 0300128cb8 Move plot-options to arguments.py 2019-06-16 19:35:15 +02:00
Matthias bf2c0390e7 Adjust some imports 2019-06-16 19:33:48 +02:00
Matthias 1cd8415723 Move extract_trades_of_period to btanlaysis 2019-06-16 19:33:48 +02:00
Matthias 1c53aa5687 Add tests for load_trades 2019-06-16 19:33:48 +02:00
Matthias 9f5ca82f48 Add more tests 2019-06-16 19:33:48 +02:00
Matthias 6db4e05aef Improve plotting tests 2019-06-16 19:33:48 +02:00
Matthias 2891d7cccb Add initial plotting test 2019-06-16 19:33:48 +02:00
Matthias 4ef309bc6c Merge branch 'develop' into pr/hroff-1902/1927 2019-06-16 10:37:28 +02:00
Matthias 114de8a025 Remove unused imports 2019-06-16 10:13:56 +02:00
Matthias 442339cd27 Add tests for utils.py 2019-06-16 10:13:24 +02:00
Matthias e6cab6d710 Move get_args from multiple locations to conftest 2019-06-16 10:13:12 +02:00
Matthias 472e7f80a0 Fix Line too long error 2019-06-15 16:58:17 +02:00
Misagh c43edf98d4
Merge pull request #1934 from freqtrade/edge_override_stake_amount
Edge cli should override stake_amount
2019-06-15 14:28:16 +02:00
Matthias a0415aea83
Merge pull request #1926 from hroff-1902/check-exchange
Enhance check_exchange()
2019-06-15 13:52:30 +02:00
Matthias 4a916125a0 Tests need to pass pair to parse_ticker_dataframe 2019-06-15 13:48:08 +02:00
Matthias d047a9d836 Adapt tests for new validate_backtest signature 2019-06-15 13:32:05 +02:00
Matthias a77d75eb43 Check log output since that's whats shown to users 2019-06-15 13:14:07 +02:00
Matthias 707118a636 Test stake changed to unlimited 2019-06-15 13:04:15 +02:00
Matthias 2965931a78
Merge pull request #1893 from hroff-1902/refactor-download-script
refactoring download_backtest_data.py
2019-06-14 20:12:07 +02:00
Matthias 3240d4e70e
Merge pull request #1925 from hroff-1902/strategy-advise-logging
debug logging for IStrategy.advise_*()
2019-06-14 19:24:14 +02:00