Commit Graph

3308 Commits

Author SHA1 Message Date
Matthias 69eff89049 Improve comment in test_history to explain what is tested 2019-08-15 20:28:32 +02:00
Matthias 12677f2d42 Adjust docstring to match functioning of load_cached_data 2019-08-15 20:13:19 +02:00
Matthias a94a89086f Don't forward timerange to load_ticker_file
when loading cached data for updating.
We always want to get all data, not just a fraction (we would end up
overwriting the non-loaded part of the data).
2019-08-15 20:09:00 +02:00
Matthias f3e6bcb20c Avoid using negative indexes 2019-08-15 06:35:50 +02:00
Matthias b2a22f1afb Fix samll errors 2019-08-14 21:39:53 +02:00
Matthias 9d3322df8c Adapt history-tests to new load_cached_data header 2019-08-14 20:49:13 +02:00
Matthias 91d1061c73 Abstract tickerdata storing 2019-08-14 20:49:06 +02:00
Matthias 0ffb184eba Change some docstrings and formatting from history 2019-08-14 20:45:24 +02:00
Matthias 3b30aab8a7
Merge pull request #2132 from freqtrade/process_return_value
allow create_trade() to create multiple trades per iteration
2019-08-14 07:23:05 +02:00
Matthias c2e9685e04
Merge pull request #2121 from hroff-1902/config-allow-comments
Allow comments in config files
2019-08-14 06:37:33 +02:00
Matthias d6f5f6b7ba Add test with preexisting trades 2019-08-14 06:21:15 +02:00
Matthias a4ab42560f improve docstring for create_trades 2019-08-14 06:16:59 +02:00
Matthias a76136c010 Rename create_trade to create_trades 2019-08-14 06:16:43 +02:00
Matthias c0784b7c33
Merge pull request #2089 from hroff-1902/hyperopt-print-colorized
Hyperopt print colorized results
2019-08-13 19:36:06 +02:00
Matthias 9d476b5ab2 Also check 0 open trades 2019-08-13 10:34:27 +02:00
Matthias 0a07dfc5cf Add test verifying that multiple trades are opened in one iteration 2019-08-13 10:20:32 +02:00
Matthias d69f7ae471 Adapt final tests to support multi-trade creation 2019-08-13 10:15:31 +02:00
Matthias 974d899b33 Adapt some more tests 2019-08-13 10:12:12 +02:00
Matthias 6948e0ba84 Handle orderbook_depth check correctly 2019-08-13 10:12:02 +02:00
Matthias a325f1ce2b adapt some tests
since create_trade() can now buy multiple times, we need to use
execute_buy() to create a single trade
2019-08-13 10:01:43 +02:00
Matthias 997eb7574a Support creating multiple trades in one iteration 2019-08-13 10:01:29 +02:00
Matthias 8873e0072c process_maybe_execute_buy does not need to return bool 2019-08-13 09:42:22 +02:00
Matthias c29389f5f3 Remove process() checks from tests 2019-08-13 09:38:21 +02:00
Matthias 4b8eaaf7aa freqtradebot.process() does not need to return anything 2019-08-13 09:37:56 +02:00
Matthias 8d813fa728 Remove return-value for _process 2019-08-13 09:36:52 +02:00
Matthias 3c589bb877 fail if known bad exchanges are detcted 2019-08-13 08:27:46 +02:00
Matthias d8dbea9d5b Add exchange_reasons to bad exchanges 2019-08-13 08:20:35 +02:00
hroff-1902 906be7be7c
Merge branch 'develop' into config-allow-comments 2019-08-13 00:14:19 +03:00
hroff-1902 58d308fd05 fix handling --no-color for edge and backtesting 2019-08-12 23:13:04 +03:00
hroff-1902 1a34b9b61c --no-color option introduced 2019-08-12 21:08:34 +03:00
hroff-1902 8f92912852 final colorization schema
colorization schema-2: red, green, bright/dim

colorization schema-3: red, green, bright only green bests

colorization schema-4: no red, green for profit, bright for bests
2019-08-12 21:08:52 +03:00
Matthias 6310b40fc6
Merge pull request #2123 from freqtrade/hyperoptloss_help
[minor] Improve hyperopt-loss docs
2019-08-12 14:08:32 +02:00
Matthias 51ad8f5ab4 Merge branch 'develop' into log_has_ref 2019-08-12 06:49:41 +02:00
Matthias 615ce6aa69
Merge pull request #2118 from freqtrade/config_standalone
Config standalone loading
2019-08-12 06:47:52 +02:00
Matthias 43b41324e2 Improve hyperopt-loss docs 2019-08-12 06:45:27 +02:00
Matthias 91b0db138a
Merge pull request #2122 from hroff-1902/hyperopt-cleanup3
Minor: cosmetics in sample_hyperopt and default_hyperopt
2019-08-12 06:41:00 +02:00
Matthias 002003292e Merge branch 'develop' into log_has_ref 2019-08-12 06:34:49 +02:00
Matthias 0b367a14f1
Merge pull request #2119 from freqtrade/disable_sloE_dry
Disable stoploss on exchange during dry-runs
2019-08-12 06:12:22 +02:00
hroff-1902 e5dcd520ba cosmetics in sample_hyperopt and default_hyperopt 2019-08-12 02:19:50 +03:00
hroff-1902 90b75afdb1 test added to load config with comments and trailing commas 2019-08-12 00:33:34 +03:00
hroff-1902 2d60e4b18b allow comments and trailing commas in config files 2019-08-12 00:32:03 +03:00
Matthias b77c0d2813 Replace all "logentry" in caplog_record_tuples
use log_has to have checking log-entries standardized.
2019-08-11 20:22:50 +02:00
Matthias a636dda07d Fix remaining tests using log_has 2019-08-11 20:17:39 +02:00
Matthias dc5719e1f4 Adapt rpc to new log_has method 2019-08-11 20:17:22 +02:00
Matthias d53f63023a Change log_has to get caplog instead of caplog.record_tuples in more
tests
2019-08-11 20:16:52 +02:00
Matthias 0221607318 Change log_has for some tests 2019-08-11 20:16:34 +02:00
Matthias a1b5c7242e Change log-has to use record_tuples itself 2019-08-11 20:14:58 +02:00
Matthias a225672c87 Add tests for dry-run stoposs_on_exchange 2019-08-11 19:45:31 +02:00
Matthias 4b4fcc7034 Change stoploss_on_exchange in freqtradebot 2019-08-11 19:43:57 +02:00
Matthias e02e64fc07 Add test to make sure dry-run disables stoploss on exchange 2019-08-11 14:15:04 +02:00