Commit Graph

3204 Commits

Author SHA1 Message Date
Matthias d055dc0c6e
Merge pull request #1993 from freqtrade/refactor/arguments
Remove duplicate keyword from arguments
2019-07-03 12:01:41 +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 b43594e4eb
Merge pull request #1996 from hroff-1902/fix/1995
fix #1995
2019-07-03 06:44:23 +02:00
Matthias 0908863e07
Merge pull request #1987 from freqtrade/plot_script_changes
Plot script changes
2019-07-03 06:43:34 +02:00
Matthias b3644f7fa0 Fix typo in docstring 2019-07-03 06:26:39 +02:00
hroff-1902 d41b8cc96e catch ccxt.BaseError 2019-07-03 05:13:41 +03:00
hroff-1902 91fb9d0113 fix #1995 2019-07-03 05:02:44 +03:00
Matthias 85ac217abc Remove duplicate keyword from arguments 2019-07-02 20:33:27 +02:00
Matthias 0d601fd111 Remove logger message 2019-07-01 06:18:28 +02:00
Matthias 01904d3c1e Test not having timeframe available on exchange object 2019-06-30 20:30:57 +02:00
Matthias 0c7d14fe50 Check if timeframes is available and fail gracefully otherwise 2019-06-30 20:30:31 +02:00
Matthias 79ae3c2f2e
Merge pull request #1977 from hroff-1902/cleanup/freqtradebot
partial freqtradebot cleanup
2019-06-30 19:52:35 +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 db59d39e2c Don't use class for plotting
This will allow easy usage of the methods from jupter notebooks
2019-06-30 11:08:02 +02:00
Matthias 587d71efb5 Test generate_profit_plot 2019-06-30 10:47:55 +02:00
Matthias c7a4a16eec Create generate_plot_graph 2019-06-30 10:31:36 +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 0a184d380e create add_profit function 2019-06-30 10:14:33 +02:00
Matthias 6b387d320e extract combine_tickers to btanalysis 2019-06-30 10:04:43 +02:00
Matthias 348513c151 Improve formatting of plotting.py 2019-06-30 09:47:07 +02:00
Matthias 0d5e94b147 Rename generate_row to add_indicators 2019-06-30 09:44:50 +02:00
Matthias 42ea0a19d2 create FTPlots class to combine duplicate script code 2019-06-30 09:41:43 +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
AlexV e8796e009c adding bitstamp to list of bad exchanges. 2019-06-29 17:20:10 +02:00
Matthias 044be3b93e Add create_cum_profit column 2019-06-29 16:57:04 +02:00
hroff-1902 4f5e212f87 fix #1978 2019-06-28 01:01:51 +03:00
hroff-1902 21bf01a24c partial freqtradebot cleanup 2019-06-27 22:29:17 +03: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
hroff-1902 e5a8030dd7 comment added 2019-06-27 16:42:10 +03:00
Matthias 6643b83afe Update tests to test both balance versions 2019-06-27 07:06:35 +02:00
Matthias 98681b78b4 Show ifferent message for balance in dry-run 2019-06-27 07:06:11 +02:00
Matthias f8dd0b0cb3 Use parenteses instead of \ seperators 2019-06-27 06:32:26 +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
Matthias 086d690df7
Merge pull request #1973 from hroff-1902/minor-typos-1
minor: couple of typos fixed
2019-06-27 05:49:58 +02:00
hroff-1902 05d93cda16 fix #1963 2019-06-27 01:03:38 +03:00
hroff-1902 6fc6eaf742 minor: couple of typos fixed 2019-06-26 22:23:16 +03:00
Matthias 596cee2dc1
Merge pull request #1972 from freqtrade/update_qtpylib
Update qtpylib from source
2019-06-26 20:34:28 +02:00
Matthias 1d5c3f34ae Update qtpylib from source 2019-06-26 20:00:16 +02:00
Matthias b92c6cdf35 Cleanup arguments and test_arguments 2019-06-24 20:10:50 +02:00
Matthias ca5093901b Use build_args for plot script 2019-06-24 20:08:17 +02:00
Matthias ba7a0dde06 Use build_args for download script 2019-06-24 20:08:17 +02:00
Matthias 27798c1683 Remove main_options 2019-06-24 20:08:15 +02:00
Matthias ee312ac230 Use build_args for plot_dataframe script 2019-06-24 20:07:04 +02:00
Matthias 7e82be53cd Use build_args to build subcomand arguments 2019-06-24 20:05:17 +02:00
Matthias 7017e46ba1 Add dict with all possible cli arguments 2019-06-24 20:05:13 +02:00
Matthias 7166674d6c Move check_int_positive out of arguments class 2019-06-24 19:55:16 +02:00
Matthias e1daf02735 UPdate version for develop 2019-06-24 19:46:39 +02:00
Matthias 56e6294873 Version bump to 2019.6 2019-06-24 19:44:14 +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 a517779dd7
Merge pull request #1964 from hroff-1902/fix-help-strings-2
minor: fix help strings
2019-06-24 14:33:46 +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 12d2db5e7b
Merge pull request #1966 from hroff-1902/fix-docstrings
minor: typos in docstrings fixed
2019-06-24 06:17:11 +02:00
Matthias 1add8ecd0c
Merge pull request #1960 from freqtrade/plot_df_stripping
Plot datafame simplification
2019-06-24 06:15:54 +02:00
hroff-1902 116d8e853e typos in docstrings fixed 2019-06-23 23:10:37 +03:00
hroff-1902 7f018839f8 diverse cosmetics to options help strings 2019-06-23 21:42:46 +03:00
hroff-1902 3716c04ed4 fix help string for --db-url 2019-06-23 20:34:53 +03:00
hroff-1902 7fbdf36c64 avoid code duplication while selecting min_roi entries 2019-06-23 19:23:51 +03:00
hroff-1902 451d4a400e fix help strings shown to the user 2019-06-22 23:51:29 +03: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 cc56d0e0fc Remove unneeded initialization 2019-06-22 16:40:33 +02:00
Matthias 559d5ebd1d Remove combined load-method since it's confusing 2019-06-22 16:20:41 +02:00
Matthias 3e61ada34a Be explicit in what is used, db or trades 2019-06-22 16:18:49 +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 7a0d86660e Mypy type errors 2019-06-21 07:10:30 +02:00
Matthias 1a27ae8a81 Add tests to verify that ticker_interval is there 2019-06-21 07:07:39 +02:00
Matthias f907a487c8 make ticker_interval available to hyperopt functions 2019-06-21 07:07:21 +02:00
Matthias a75f08cf17
Merge pull request #1947 from hroff-1902/arguments-cleanup
arguments cleanup
2019-06-21 06:41:46 +02:00
Matthias 89ba649ddb Test handling errors while trailing stop loss 2019-06-20 20:57:15 +02:00
Matthias 63640518da Gracefully handle errosr when cancelling stoploss orders
fixes #1933
2019-06-20 20:56:58 +02:00
Matthias a8dcfc05c5 Add test to verify InvalidOrder is handled correctly 2019-06-20 20:36:39 +02:00
Matthias dd379c4192 Cancelling stoploss order should not kill the bot 2019-06-20 20:32:46 +02:00
Matthias 911e71cd9b remove redundant test-functions 2019-06-20 20:30:05 +02:00
hroff-1902 144e053a4e fix for #1948 2019-06-20 03:26:25 +03:00
hroff-1902 a8efb1e1c8 test for #1948 added 2019-06-20 03:26:02 +03:00
hroff-1902 0866b5f29f allow reading config from stdin 2019-06-20 00:04:11 +03:00
hroff-1902 860e056366 --datadir is now handled in arguments.common_options() 2019-06-19 02:49:12 +03:00
hroff-1902 c6fed4e493 make flake happy 2019-06-19 02:42:29 +03:00
hroff-1902 8c40a406b6 arguments cleanup 2019-06-19 01:53:38 +03:00
hroff-1902 6f950bbd66 json validator cosmetics 2019-06-18 01:46:30 +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
Matthias b0c5286e8a
Merge pull request #1938 from hroff-1902/cleanup-setup-configuration
minor: setup_configuration() cleanup
2019-06-17 06:41:19 +02:00
hroff-1902 d217f32bbc minor: fix typo in freqtradebot.py 2019-06-17 04:35:39 +03:00
hroff-1902 195bf5a4cc tests adjusted 2019-06-16 22:10:39 +03:00
hroff-1902 813c008af2 setup_configuration() cleanup 2019-06-16 21:37:43 +03:00
Matthias 765eff23f0 Fix typo 2019-06-16 20:14:31 +02:00
Matthias 0eb109f8f7 Improve some tests 2019-06-16 19:53:48 +02:00
Matthias fc3e3c468c File existence is checked in load_backtest_data 2019-06-16 19:35:21 +02:00
Matthias 4b7dfc64c6 Add test for generate_plot_file 2019-06-16 19:35:21 +02:00
Matthias 907c2f1e6b Copy plot options to config 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 c7643e142b Move load_trades to bt_anlaysis 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 cae2185460 Move generate_plot to plotting.py 2019-06-16 19:33:48 +02:00
Matthias b1a01345f9 Add better hover tip 2019-06-16 19:33:48 +02:00
Matthias e0a1e5417f sanity checks before plotting, cleanup 2019-06-16 19:33:48 +02:00
Matthias 68af6d4151 Move plot-functions to plotting module 2019-06-16 19:33:48 +02:00
xmatthias 583d70ec9c add plot module proto 2019-06-16 19:33:48 +02:00
Matthias 9035e0b695 Update function due to merge of #1926 2019-06-16 10:39:43 +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 89ff614e1d Add pair as parameter, and warn when fillup was necessary 2019-06-15 13:46:19 +02:00
Matthias 55079831a1 Don't explicitly validate backtest data (it's done while loading now). 2019-06-15 13:45:50 +02:00
Matthias d047a9d836 Adapt tests for new validate_backtest signature 2019-06-15 13:32:05 +02:00
Matthias cd4cf215e1 Convert validate_backtest_data to take dataframe directly 2019-06-15 13:31:27 +02:00
Matthias 01b5ece642 Log missing data filllup if necessary 2019-06-15 13:31:14 +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
Misagh ad9dc349e4 edge cli should override stake_amount 2019-06-15 12:20:32 +02:00
hroff-1902 09cd7db9b1 make flake happy 2019-06-14 22:04:29 +03:00
hroff-1902 1af988711b add --one-column as an alias option 2019-06-14 21:59:16 +03:00
hroff-1902 cedd38455f remove configuration from list-exchanges 2019-06-14 21:54:38 +03: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 1afe6c1437 Don't run validation per strategy, it's only eneded once 2019-06-14 19:37:54 +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
hroff-1902 941fb4ebbb tests added 2019-06-14 18:40:25 +03:00
hroff-1902 ee113ab8ed log messages aligned 2019-06-14 18:40:02 +03:00
Misagh 24f86e9ff3
Merge pull request #1931 from freqtrade/fix/trailing_stoploss_offset
Fix/trailing stoploss offset
2019-06-14 14:32:32 +02:00
hroff-1902 04ea66c977 fix handling timeframes 2019-06-14 02:58:34 +03:00