Commit Graph

3874 Commits

Author SHA1 Message Date
Matthias 76ad5bea0e Load correct exchange class
closes #2371
2019-10-14 11:36:42 +02:00
Matthias 13e80e449c cleanup and better docstring 2019-10-14 06:22:10 +02:00
Matthias 3e4617be37 add pandas-based converter-functions 2019-10-13 19:25:16 +02:00
Matthias 2374cda8d0 Cleanup and tests for refresh_backtest_trades 2019-10-13 13:15:22 +02:00
Matthias 37925e7f6c Add --dl-trades cli flag 2019-10-13 13:15:22 +02:00
Matthias 762ae3a598 Extend tests 2019-10-13 13:15:22 +02:00
Matthias 640d58eb13 Remove unneeded checks 2019-10-13 13:15:22 +02:00
Matthias fa8c61382b Remove unneeded exception handlers 2019-10-13 13:15:22 +02:00
Matthias 16d6914b15 Add test to cover missing line 2019-10-13 13:15:22 +02:00
Matthias 05e473642b Small adjustments to get_trade_history 2019-10-13 13:15:22 +02:00
Matthias 0d592f6c55 Refactor trade downloading to handle exceptions only once 2019-10-13 13:15:22 +02:00
Matthias 476adf872a Add conversion from trades to ohlcv at different intervals 2019-10-13 13:15:22 +02:00
Matthias 9584629f50 Rename argument from dl_path to datadir 2019-10-13 13:15:22 +02:00
Matthias c1c49183b5 Call new method based on condition 2019-10-13 13:15:22 +02:00
Matthias 8069cd6689 add refresh_trades_ method 2019-10-13 13:15:22 +02:00
Matthias 1f79ca9539 Remove duplicate check 2019-10-13 13:15:22 +02:00
Matthias 1d8fc97053 Fix duplicate trade error, rename some methods 2019-10-13 13:15:22 +02:00
Matthias 19f3669fbd add docstring 2019-10-13 13:15:22 +02:00
Matthias 06024b0ab0 Fix zipfile handling 2019-10-13 13:15:22 +02:00
Matthias 6e952a0aa8 Capture downloaded data 2019-10-13 13:15:22 +02:00
Matthias 57dee794d1 Fix end-reached for id-based trade-download 2019-10-13 13:15:22 +02:00
Matthias 2c0bb71a6e Add download_trades_history() 2019-10-13 13:15:22 +02:00
Matthias ab8f638e44 Move id/time detection to get_historic_trades method 2019-10-13 13:15:22 +02:00
Matthias d250b67f33 Add load/store trades data 2019-10-13 13:15:22 +02:00
Matthias 42b8241541 use gz to save / load trades data 2019-10-13 13:15:22 +02:00
Matthias 77c367ad1d First draft of async get_trade methods 2019-10-13 13:15:22 +02:00
Matthias 26b3148904 Add build_ohlcv wrapper 2019-10-13 13:15:22 +02:00
Matthias 27dc9ca799 Add trades_pagination attributes 2019-10-13 13:15:22 +02:00
Matthias 63e87ef85b Add pair_trades_filename 2019-10-13 13:15:22 +02:00
Matthias baad1a5166 Explain _params element 2019-10-13 13:15:22 +02:00
hroff-1902 7cf7982565 Add list-pairs and list-markets subcommands 2019-10-13 13:12:20 +03:00
Matthias f3f6e9d365 Allow skipping of exchange validation 2019-10-13 10:33:22 +02:00
hroff-1902 4228137dff
Merge pull request #2366 from freqtrade/interface_noconf
Interface options should not use config
2019-10-13 11:04:51 +03:00
Matthias 3c8d27d098 remove correct comment ... 2019-10-13 09:54:03 +02:00
hroff-1902 ff1fa17dc3 No default value for the config parameter 2019-10-13 03:41:25 +03:00
hroff-1902 08e6d8a780 Rollback defaulting to DefaultHyperOptLoss 2019-10-11 23:33:22 +03:00
hroff-1902 4c1705fb1e No specific handling for trailing_stop_positive 2019-10-11 22:59:13 +03:00
hroff-1902 31389b38f1
Merge pull request #2361 from freqtrade/dataprovider_tests
Add tests for orderbook and market in dataprovider
2019-10-11 22:15:21 +03:00
Matthias ff7a3cc885 remove last occurance of config. from stop_loss_reached 2019-10-11 09:05:21 +02:00
Matthias 4d1488498c stoploss_reached should not use config 2019-10-11 08:55:31 +02:00
hroff-1902 c49f4b73dd Fix helpstring 2019-10-10 20:44:24 +03:00
Matthias 5e23cc719d Add tests for orderbook and market in dataprovider 2019-10-10 19:38:01 +02:00
Matthias bba5f54722
Merge pull request #2335 from hroff-1902/dataprovider-market
Allow to use market data in the strategies
2019-10-10 16:54:04 +02:00
Matthias 85c4546333
Merge pull request #2343 from hroff-1902/move-experimental
Move experimental settings to ask_strategy
2019-10-10 16:08:11 +02:00
hroff-1902 c4105436eb Disable defaulting to DefaultHyperOpts and DefaultHyperOptLoss 2019-10-10 04:37:32 +03:00
hroff-1902 cdd1bc425b Fix typo 2019-10-09 03:12:30 +03:00
hroff-1902 434e0234c5 Add handling deprecated settings 2019-10-09 02:43:06 +03:00
Matthias 5e0391aa2b
Merge pull request #2332 from hroff-1902/freqtradebot-refactor
Freqtradebot refactoring
2019-10-08 19:44:08 +02:00
hroff-1902 2ec8376af9
Merge pull request #2342 from freqtrade/fix/negativeroi
Don't have backtest sells outside of a candle
2019-10-08 11:19:34 +03:00
Matthias 7d1f66ccf8
Merge pull request #2341 from hroff-1902/indicator-helper
Remove indicator_helpers.py and test
2019-10-07 19:36:09 +02:00
hroff-1902 edfbb56749
Merge pull request #2344 from freqtrade/backtest_nofees
Backtest no fees / custom fees
2019-10-07 13:30:20 +03:00
Matthias f27528538d
Merge pull request #2345 from hroff-1902/minor-data-history
Cleanup in data.history
2019-10-07 07:05:24 +02:00
Matthias ad35a3d7ab Small wording improvements 2019-10-07 07:02:43 +02:00
hroff-1902 211b9cbe04 Cleanup in data.history 2019-10-06 18:35:09 +03:00
hroff-1902 946b8c29d7
Merge pull request #2317 from hroff-1902/list-timeframes
Add list-timeframes subcommand
2019-10-06 16:28:15 +03:00
Matthias 22733e44bf Add tests for --fee 2019-10-05 15:34:31 +02:00
Matthias 0664a8c0e6 add `--fee` to change fees to other values 2019-10-05 15:29:00 +02:00
hroff-1902 9b23376415 Move experimental settings to ask_strategy 2019-10-05 13:29:59 +03:00
Matthias 553a1b90ba
Merge pull request #2297 from jraviotta/scattergl
Enhancements to BB plotting
2019-10-05 11:01:10 +02:00
Matthias 7ea9da9605 Fix #2277 2019-10-05 10:54:28 +02:00
hroff-1902 e1b8485b51 Remove indicator_helpers.py and test 2019-10-05 11:51:27 +03:00
Matthias 764a35d035 Remove scattergl and fix tests 2019-10-05 10:32:42 +02:00
hroff-1902 75252b6251 Docstrings improved 2019-10-04 02:32:48 +03:00
hroff-1902 3ac5b91899 Add market() method to dataprovider 2019-10-03 02:58:45 +03:00
hroff-1902 89729aefe8 Fix and improve process_maybe_execute_sells() 2019-10-02 18:47:45 +03:00
hroff-1902 096c69dc4f Refactor Freqtradebot 2019-10-02 13:51:32 +03:00
Matthias b73426b91f Disable Defaulting to DefaultStrategy 2019-10-01 07:02:30 +02:00
Matthias 628c4c996a
Merge pull request #2327 from hroff-1902/enhance-list-exchanges2
Add --all option to list-exchanges
2019-10-01 06:52:27 +02:00
Matthias 642d20b2f7
Merge pull request #2324 from freqtrade/dependabot/pip/develop/mypy-0.730
Bump mypy from 0.720 to 0.730
2019-10-01 06:49:11 +02:00
hroff-1902 d1fa5f307b Add --all option to list-exchanges 2019-10-01 00:33:33 +03:00
Matthias dc47a391da Move ignore to corrct line for mypy 730 2019-09-30 19:32:46 +02:00
Matthias 9f94678478
Merge pull request #2319 from hroff-1902/bad-exchanges
Add exchanges to the list of bad exchanges
2019-09-30 19:29:06 +02:00
hroff-1902 7617dd5029 Add separate message for `hitbtc` exchange 2019-09-30 20:01:55 +03:00
hroff-1902 e9d9df3473
Merge branch 'develop' into list-timeframes 2019-09-30 18:58:25 +03:00
Matthias 03b5be91f7 some commands should not have config at all 2019-09-30 09:47:52 +02:00
hroff-1902 272c977d08 Add exchanges to the list of bad exchanges 2019-09-30 03:55:55 +03:00
hroff-1902 75446d8195 Refactor list-timeframes command with the use of the Exchange class methods 2019-09-29 23:18:04 +03:00
Matthias 381b0d3d07 Fix typo with new parser 2019-09-29 19:18:52 +02:00
Matthias 52523bcd8b Use strategy child parser 2019-09-29 19:18:52 +02:00
Matthias 0d13e2cb2e Update travis to run new methods 2019-09-29 19:18:52 +02:00
Matthias 014881e550 Allow query version without subcommand 2019-09-29 16:17:20 +02:00
Matthias 9ef874e979 Add Custom message during transition period 2019-09-29 16:17:20 +02:00
Matthias ad2fa61765 Fix utils test 2019-09-29 16:17:20 +02:00
Matthias d62a4d3566 Fix some minor problems 2019-09-29 16:17:20 +02:00
Matthias 1b25b5f590 Remove duplicate short-form `-s` 2019-09-29 16:17:20 +02:00
Matthias 0f2e277f80 Rename subparser variable to command 2019-09-29 16:17:20 +02:00
Matthias 8664e7f7d3 Have main.py support only subcommand mode 2019-09-29 16:17:20 +02:00
Matthias cb37f43277 Add trade subparser (and make subparser a requirement) 2019-09-29 16:17:20 +02:00
Matthias 2a535b72ff Parser should not have default 2019-09-29 16:17:20 +02:00
Matthias cd2336887c Add first version with shared parent parsers 2019-09-29 16:09:59 +02:00
hroff-1902 448b09d7b6 Add list-timeframes subcommand 2019-09-29 11:54:20 +03:00
hroff-1902 c31f118d0c
Merge pull request #2307 from freqtrade/rounding
Don't compare floats when updating fees
2019-09-28 12:39:27 +03:00
Matthias ed10048394
Merge pull request #2308 from hroff-1902/hyperopt-config
Allow use of config in custom hyperopt methods
2019-09-28 10:36:46 +02:00
Matthias 43f2ef226c Change rel_tol to abs_tol to avoid surprises with high priced pairs 2019-09-28 10:30:12 +02:00
hroff-1902 4ac53f1549 Shorten the default hyperopt stoploss space 2019-09-28 04:13:53 +03:00
hroff-1902 9db915853a Allow use of config in custom hyperopt methods 2019-09-26 11:59:21 +03:00
Matthias 5237723f22
Merge pull request #2303 from freqtrade/feat/hyperopt_optional_install
Optional hyperopt dependency installation
2019-09-26 09:42:16 +02:00
Matthias 8d92f8b362 Compare floats via isclose instead of == 2019-09-26 07:18:00 +02:00
Matthias 49f0a72121 Add test for rounding error on fload aggregation 2019-09-26 07:17:54 +02:00
Jonathan Raviotta 83e596c06f chart styling 2019-09-25 23:09:50 -04:00
hroff-1902 0268bfdbd4
Minor: fix typo in comment
Minor cosmetics. typo caught.
2019-09-26 02:04:48 +03:00
Matthias b994f5c273
Merge pull request #2294 from hroff-1902/fix-skopt-memory3
Fix skopt memory exhaustion
2019-09-25 19:55:27 +02:00
Matthias 27cc73f47e Dynamically import hyperopt modules 2019-09-25 11:40:34 +02:00
hroff-1902 665e0570ae Fix hyperopt position stacking 2019-09-25 03:41:22 +03:00
Jonathan Raviotta 9391c27b80 Enhancements to BB plotting 2019-09-24 20:07:54 -04:00
hroff-1902 a75fb3d4be
Merge pull request #2197 from freqtrade/implement_version_dev
Apply dynamic versioning to develop
2019-09-24 21:20:49 +03:00
hroff-1902 d066ab2620
Merge pull request #2278 from freqtrade/remove_refresh
Remove refresh-pairs-cached
2019-09-24 09:07:25 +03:00
Matthias 0f97a999fb Improve wording 2019-09-24 06:35:41 +02:00
hroff-1902 6ffb8b7a70 Fix wordings in comment 2019-09-23 13:25:31 +03:00
hroff-1902 0c6164df7e Fix memory exhaustion in skopt models list 2019-09-23 13:03:43 +03:00
Matthias 7aa42f8868 Fail download-data gracefully if no pairs-file exists 2019-09-21 12:53:47 +02:00
Matthias 3245ebccd4 Fix problme when no exchange is given to download-data 2019-09-21 11:25:27 +02:00
Matthias 313091eb1c some more refresh_pairs cleanups 2019-09-20 20:22:51 +02:00
Matthias 508a35fc20 Update comment as to why certain points have not been removed 2019-09-20 20:20:16 +02:00
Matthias 9cedbc1345 Cleanup history.py and update documentation 2019-09-20 20:16:49 +02:00
Matthias 1cd8ed0c1a Remove --refresh-pairs 2019-09-20 20:02:07 +02:00
hroff-1902 74a0f44230
Merge pull request #2276 from freqtrade/keep_original_config
Allow easy printing of loaded configuration
2019-09-20 20:59:33 +03:00
Matthias f0cf8d6a81 Allow easy printing of loaded configuration
(beforechanging types and applying defaults)
2019-09-20 07:23:32 +02:00
hroff-1902 69f29e8907 minor: Cleanup for backtesting 2019-09-18 22:57:17 +03:00
hroff-1902 5cbc073dd1 minor: Cleanup hyperopt 2019-09-16 21:46:15 +03:00
hroff-1902 39f41def54
Merge pull request #2261 from freqtrade/test_speedup
[minor] Test speedup
2019-09-14 11:25:00 +03:00
hroff-1902 76e45883bd
Merge pull request #2253 from hroff-1902/backtesting-improve-logs
Improve logs for backtesting
2019-09-14 11:23:46 +03:00
Matthias 19ce7180be
Merge pull request #2260 from freqtrade/args_vars
Configuration/Arguments refactoing (don't pass Namespace around).
2019-09-14 10:11:02 +02:00
Matthias 2cf045c53e Remove commented indicators from DefaultStrategy 2019-09-14 10:00:59 +02:00
hroff-1902 eda1ec652f Revert back condition for open_since in Trade.__repr__ 2019-09-13 23:00:09 +03:00
Matthias 0135784589 remove unused indicators from default_strategy 2019-09-13 19:56:58 +02:00
Matthias a5f3b68bff Allow loading of fully initialized config from jupyter notbooks 2019-09-13 07:08:22 +02:00
Matthias f163240710 Simplify configuration init where possible 2019-09-13 07:02:36 +02:00
hroff-1902 c5f455d660
Merge pull request #2256 from freqtrade/kraken_balance
fix Kraken balance calculation
2019-09-12 23:12:55 +03:00
hroff-1902 e6ec8f9f30 Fix tests: Change condition for printing 'close' 2019-09-12 21:28:51 +03:00
Matthias 4d566e8bad Update tests to not use Namespace 2019-09-12 20:28:37 +02:00
Matthias e6ccc1427c have Arguments return a dict instead of Namespace 2019-09-12 20:16:39 +02:00
Matthias 52b186eabe Create-userdir does not need a configuration 2019-09-12 20:14:58 +02:00
hroff-1902 67ff48ce3e Comment out noisy log messages 2019-09-12 21:01:14 +03:00
hroff-1902 045ca8739d Do not print humanized datetime in the log message 2019-09-12 20:56:00 +03:00
hroff-1902 dda513c923 Minor class cosmetics 2019-09-12 12:13:20 +03:00
Matthias 6c5eff4a7c Use List of Tuples, remove unused columns 2019-09-12 07:03:52 +02:00
hroff-1902 849d694c27 Don't inherit from object 2019-09-12 04:39:52 +03:00
hroff-1902 1d781ea9e0 Refine 'stoploss adjusted' log message 2019-09-12 02:29:47 +03:00
hroff-1902 acf3b751f0 Log sell_flag, do not log sell_type=SellType.NONE 2019-09-12 01:21:14 +03:00
hroff-1902 9bdfaf3803 Remove quotes around the pairs 2019-09-11 23:32:08 +03:00
Matthias 3b4bbe7a18 Implement get_balances which uses open_orders 2019-09-11 19:43:16 +02:00
Matthias c01953daf2 Remove kraken block 2019-09-11 06:57:58 +02:00
hroff-1902 2081d7552f Make flake happy 2019-09-10 12:37:15 +03:00
hroff-1902 35580b135a Improve backtesting logs 2019-09-10 10:42:45 +03:00
Matthias 85f1291597 use git log to print version 2019-09-09 20:20:38 +02:00
Matthias 94d2790ab5 Fix #2239 -
return float even if fiat/crypto are identical
2019-09-09 20:00:13 +02:00
Jonathan Raviotta a5510d14e9 de-mangling 2019-09-09 06:58:41 +02:00
Matthias 65a516e229 Move tests out of freqtrade module 2019-09-08 19:05:22 +02:00
Matthias 13932f55f5 Fix random test failures 2019-09-08 14:02:32 +02:00
hroff-1902 3d028f512e
Merge pull request #2235 from hroff-1902/eliminate_import_strategy
Allow --strategy for hyperopt
2019-09-08 12:23:48 +03:00
hroff-1902 865e0d3af9 Adjust tests: removed tests for/with import_strategy() 2019-09-08 03:30:15 +03:00
hroff-1902 45cfdbbda7 Make flake happy 2019-09-08 03:10:01 +03:00
hroff-1902 2b00a5d90a Get rid of import_strategy() 2019-09-08 02:43:02 +03:00
Matthias bd2ecf8ce3 Add testdatadir to missed test 2019-09-07 21:13:05 +02:00
Matthias 972b8a1726 Remove defaulting to test_data folder when no datadir is present 2019-09-07 21:06:20 +02:00
Matthias fe631ffd04 Use fixture to determine test_data_dir 2019-09-07 20:56:03 +02:00
Matthias bde82e9654 Move make_testdata_path to conftest 2019-09-07 20:34:25 +02:00
hroff-1902 df481eb642
Merge pull request #2227 from freqtrade/fix/balance_failure
Fix RPC /balance failure
2019-09-07 00:27:20 +03:00
hroff-1902 4fdf8a75cd Adjust hyperopt tests after the merge with develop 2019-09-06 16:46:44 +03:00
hroff-1902 2e49125e87
Merge branch 'develop' into hyperopt-simplified-interface 2019-09-06 15:11:06 +03:00
hroff-1902 7e56704767 Parametrize tests for hyperopt simplified failed 2019-09-06 15:08:44 +03:00
Matthias 7af445adf3
Merge pull request #2137 from hroff-1902/hyperopt-adaptive-roi-space
Hyperopt: adaptive roi_space
2019-09-06 06:26:52 +02:00
Matthias 48ac37a1b8 BLock kraken trading - it's not working at the moment 2019-09-05 20:16:09 +02:00
Matthias e8f37666ea Fix Problem when ccxt reports None as values 2019-09-05 20:02:18 +02:00
Matthias e2e0015119 Don't rename dict ... we can use it as is 2019-09-05 20:02:01 +02:00
hroff-1902 3343b34725 Add tests for simplified hyperopt interface 2019-09-05 00:38:15 +03:00
Matthias e107290230 Validate plot arguments 2019-09-04 19:21:58 +02:00
Matthias 1b66f01ec0 Always use config.json if it's available 2019-09-04 19:21:58 +02:00
Matthias 5ce63cd54a Remove no_config_ argument from Arguments 2019-09-04 16:39:23 +02:00
Matthias 03f3d0dc8b Remove desc from Arguments header 2019-09-04 16:38:33 +02:00
hroff-1902 74578b8752
Merge pull request #2211 from freqtrade/dependabot/pip/develop/python-telegram-bot-12.0.0
Bump python-telegram-bot from 11.1.0 to 12.0.0
2019-09-04 10:44:11 +03:00
hroff-1902 caec5ac941
Merge pull request #2206 from freqtrade/sloe_handling
Improve stoploss on exchange handling
2019-09-04 10:00:53 +03:00
hroff-1902 9a6a89c238 allow simplified hyperopt interface 2019-09-03 19:54:28 +03:00
Matthias dc9fda76f3 Fix tests to adapt to new telegram-bot interface 2019-09-02 20:42:39 +02:00
Matthias 3b15cce07a Handle arguments uniformly (by using context.args) 2019-09-02 20:17:47 +02:00
Matthias 8cad90f9e6 Adapt to new api 2019-09-02 20:17:23 +02:00
Matthias 9c60ab796d Adapt telegram api to new interface of telegram-bot-12.0.0 2019-09-02 20:14:41 +02:00
hroff-1902 08b090c707
Merge pull request #2176 from freqtrade/plot_commands
Move Plot scripts to freqtrade subcommands
2019-09-02 08:08:51 +03:00
Matthias aae9c3194f Reenable stoploss_on_exchange for dry-run 2019-09-01 17:48:06 +02:00
Matthias 20c9c93b3e Improve docstring 2019-09-01 10:25:05 +02:00
Matthias 771519e311 Don't show stacktrace in case of invalidorder Error
This is handled gracefully by emergency-selling
2019-09-01 10:19:18 +02:00
Matthias f91557f549 Add space to exception message 2019-09-01 10:17:17 +02:00
Matthias 9d7ebc65e7 Move return statement to correct intend 2019-09-01 09:21:45 +02:00
Matthias 6aab3fe25a Add test for stoploss order handling behaviour 2019-09-01 09:18:15 +02:00
Matthias 7c0a49a6f9 _notify_sell needs ordertype seperately 2019-09-01 09:17:58 +02:00
Matthias 292df115e8 Support selling via emergencysell 2019-09-01 09:09:07 +02:00
Matthias 9f53e9f5dd Raise InvalidOrder error when stoploss-creation fails 2019-09-01 09:08:35 +02:00
Matthias ee808abfea Add emergency_sell as sell reason 2019-09-01 09:07:09 +02:00
Matthias 7fc156648a simplify stoploss_oe code 2019-08-31 16:15:39 +02:00
Matthias f0c0f5618b Abstract creating stoploss-orders from stoploss-logic 2019-08-31 16:11:04 +02:00
Matthias 736deaae32 Add test with plot command without configuration 2019-08-31 15:26:34 +02:00
Matthias c9e15c2f86 Add test for new check_exchange branch 2019-08-31 15:19:59 +02:00
Matthias d48f03c32e check_exchange is not required for plotting 2019-08-31 15:19:53 +02:00
Matthias 1760a8dfbc Use subparser-name to exclude from config requires 2019-08-31 15:15:10 +02:00
Matthias f278fcfc3f Use plot-runmode for plot scripts 2019-08-31 15:14:57 +02:00
Matthias 816d942ded Merge branch 'develop' into plot_commands 2019-08-30 20:42:58 +02:00
Matthias 423805c9ca Small documentation improvements 2019-08-30 20:42:14 +02:00
Matthias d060d27745 Add test for all messagetypes 2019-08-30 07:05:22 +02:00
Matthias 75dc174c76 support all messagetypes in webhook 2019-08-30 07:02:57 +02:00
Matthias d977695d48 Catch NotImplementedError when sending messages
(RPC should not crash your bot!)
2019-08-30 07:02:26 +02:00
Matthias b6b7dcd61c Test NotImplemented is cought correctly 2019-08-30 07:00:29 +02:00
Matthias cabe291006 Fix test-leakage by not copying config correctly 2019-08-29 06:54:28 +02:00
Matthias 6b3d25b54b Fix datadir init when used wiht --exchange 2019-08-29 06:45:20 +02:00
Matthias 68adfc6607 Init exchange before datadir ... 2019-08-29 06:42:56 +02:00
Matthias 50b572a657 Merge branch 'develop' into strategy_version 2019-08-28 19:29:53 +02:00
Matthias c38f3a2b9a Apply dynamic versioning to develop 2019-08-28 07:05:48 +02:00
Matthias c6bb68bd30
Merge pull request #2192 from freqtrade/rename_teststrat
Rename testStrategy to sample_strategy
2019-08-28 06:28:19 +02:00
Matthias 51fbeed71f Rename TestStrategy to SampleStrategy 2019-08-27 06:42:10 +02:00
Matthias 40df303122
Merge pull request #2184 from hroff-1902/backtesting-minor-cleanup2
minor: Backtesting cleanup
2019-08-27 06:14:02 +02:00
hroff-1902 d9c2b7d460 fix fetching ticker_interval from strategy 2019-08-26 22:31:24 +03:00
Matthias 0e62b8bd85 Update strategy_version to INTERFACE_VERSION 2019-08-26 20:16:03 +02:00
Matthias b5789203f2
Merge branch 'develop' into timeframe_use_ccxt 2019-08-26 19:48:58 +02:00
Matthias 92011f8294 Introduce strategy_version variable 2019-08-26 19:44:33 +02:00
Matthias 4fcfb1eaca
Merge pull request #2180 from freqtrade/refactor_download
[Refactor] Logic for download-data to history
2019-08-26 06:13:19 +02:00
hroff-1902 bfc68ec792 minor cleanup in Backtesting 2019-08-25 23:36:42 +03:00
Matthias 513e84880e Don't escape ticks where it's not needed 2019-08-25 20:38:51 +02:00
Matthias da7da2ce52 Change tests to split function 2019-08-25 15:06:47 +02:00
Matthias 3232251fea Refactor downloading ohlcv from utils to history 2019-08-25 15:01:27 +02:00
Matthias e603cca7a5 Testing with now() should not pass in date/time 2019-08-25 10:53:56 +02:00
Matthias 565a543b7b Use ccxt base methods to round timeframe 2019-08-25 10:34:56 +02:00
Matthias 5e12b05424 Improve test coverage 2019-08-25 10:18:55 +02:00
Matthias a4c8b5bf5d Move binance-specific test to test_binance.py 2019-08-25 10:08:06 +02:00
Matthias cbf09b5ad9 Improve docstring for Exception 2019-08-25 10:07:47 +02:00
Matthias 2c66b33fd1 Adapt some tests to use Binance subclass for stoplosslimit 2019-08-25 09:57:21 +02:00
Matthias 067c122bf3 Adapt test to use Binance class 2019-08-25 09:52:21 +02:00
Matthias defa1c027d Move stoploss_limit to binance subclass 2019-08-25 09:50:37 +02:00
Matthias ea179a8e38 stoploss_limit shall not use `create_order()`
It needs to handle exceptions differently
2019-08-25 09:43:10 +02:00
Matthias 8a17615b5a move exceptionhandling from create_order() to calling functions 2019-08-25 09:42:02 +02:00
Matthias 365b9c3e9c Add test to correctly handle unsuccessfull ordercreation 2019-08-24 18:06:33 +02:00
Matthias 3f6eeda3f0 Reset stoploss_order_id when recreating fails 2019-08-24 18:06:14 +02:00
Matthias 3121206afe correct wrongly named test 2019-08-24 15:35:43 +02:00
Matthias 240936eb19 Small fixes 2019-08-24 15:26:42 +02:00
Matthias fb498795ad Improve profit-plot styling 2019-08-24 15:11:31 +02:00
Matthias 2ae398913d Fix bug in bt-analysis when multiple trades sell at the same time 2019-08-24 15:11:31 +02:00
Matthias d711b8c0e9 Plot-profit should have subtitles per subplot 2019-08-24 15:11:31 +02:00
Matthias 395414ccde Refactor init_plotscript a bit (strategy is not needed for plot_profit) 2019-08-24 15:11:31 +02:00
Matthias 9f29ad77bd fix test after plot_dataframe change 2019-08-24 15:11:31 +02:00
Matthias 545e5c5bc6 simplify load_trades call 2019-08-24 15:11:31 +02:00
Matthias f8ddb10607 switch indicators to nargs argument type 2019-08-24 15:11:31 +02:00
Matthias 0ef13be577 Test plot_profit 2019-08-24 15:11:31 +02:00
Matthias c559f95703 Add test for plot-profit 2019-08-24 15:11:31 +02:00
Matthias f7cb75ff93 Add plot-profit command 2019-08-24 15:11:31 +02:00
Matthias 29076acc69 Add test for analyse_and_plot 2019-08-24 15:11:31 +02:00
Matthias 99b2be90fd Cleanup plotting (if you have backtest results, no need to download
data!)
2019-08-24 15:11:31 +02:00
Matthias f8c72feea8 Add some initial tests for plot_dataframe 2019-08-24 15:11:31 +02:00
Matthias 69c2b12879 Move plot_dataframe as freqtrade submodule 2019-08-24 15:11:31 +02:00
Matthias 3820a38e79
Merge pull request #2175 from hroff-1902/hyperopt-split-backtesting
Hyperopt redesign
2019-08-24 14:39:46 +02:00
Matthias 60bc9f4f5e
Merge pull request #2173 from freqtrade/improve/trailing_validation
improve stoploss validation
2019-08-24 09:15:43 +02:00
Matthias a8842f38ca Fix wrong exception message 2019-08-24 09:08:08 +02:00