Commit Graph
100 Commits
Author SHA1 Message Date
xmatthias 0440a19171 export open/close rate for backtesting too
preparation to allow plotting of backtest results
2018-06-23 14:19:50 +02:00
xmatthias d23cd73ba8 update plotly 2018-06-23 13:12:36 +02:00
xmatthias 7f927b4d7a Squashed commit of the following:
commit 435f299bcf
Author: Gert Wohlgemuth <berlinguyinca@gmail.com>
Date:   Wed Jun 20 01:57:28 2018 -0700

    improve readability of outdated history code
2018-06-21 20:47:53 +02:00
Matthias 99e3c6e526 Merge pull request #936 from freqtrade/pyup-scheduled-update-2018-06-21
Scheduled daily dependency update on thursday
2018-06-21 15:20:22 +02:00
xmatthias a7be15d72f Update Documentation to include backtesting with docker 2018-06-18 22:42:14 +02:00
xmatthias f7b46d5404 update docstring 2018-06-18 22:34:28 +02:00
xmatthias 488f1717a1 update plot_dataframe script to objectify exchange 2018-06-18 22:32:29 +02:00
xmatthias 2b0ef54595 update download_script for exchange objectify 2018-06-18 22:28:51 +02:00
xmatthias 896afe7118 convert get_name and get_id to properties 2018-06-18 22:20:50 +02:00
xmatthias ef53134499 lowercase variables 2018-06-18 22:09:46 +02:00
xmatthias c31519fdb2 lowercase _api object 2018-06-18 22:07:15 +02:00
xmatthias 162f948729 add test for non-configured exchange 2018-06-18 19:56:23 +02:00
xmatthias ae4c4e77bf standardize exception tests - add one more 2018-06-18 19:46:42 +02:00
xmatthias 695beecf14 add test for get_markets 2018-06-18 19:36:36 +02:00
xmatthias 520c7feeab Add test for fetch_tickers 2018-06-17 23:38:07 +02:00
xmatthias 1e3d722bc2 add test for get_trades 2018-06-17 23:38:07 +02:00
xmatthias c9f8dfc6c5 increase get_fee coverage 2018-06-17 23:38:07 +02:00
xmatthias d156de39f1 Increase test-coverage 2018-06-17 23:38:07 +02:00
xmatthias 2b099a89e4 fix styling issues 2018-06-17 23:38:07 +02:00
xmatthias 6e6ec969eb cleanup mockings 2018-06-17 23:38:07 +02:00
xmatthias e194af8d25 Streamline validate_pair patching 2018-06-17 23:38:07 +02:00
xmatthias ace5198475 fix optimize tests 2018-06-17 23:38:07 +02:00
xmatthias 52d36c33cf fix optimie test 2018-06-17 23:38:07 +02:00
xmatthias 251f7db3ca require exchange object to delete pairs 2018-06-17 23:38:07 +02:00
xmatthias c83e8b7cb5 fix rpc_test 2018-06-17 23:38:07 +02:00
xmatthias 64e09f74a1 fix rpc tests 2018-06-17 23:38:07 +02:00
xmatthias 63b568989a Fix rpc for exchange objectify 2018-06-17 23:38:07 +02:00
xmatthias 975b42caa3 fix tests for exchange objectify 2018-06-17 23:38:07 +02:00
xmatthias 75d02df60d add exchange to call get_singal 2018-06-17 23:38:07 +02:00
xmatthias 082b6077e9 Fix tests analyze 2018-06-17 23:38:07 +02:00
xmatthias e8ab76f55b fix small in tests 2018-06-17 23:38:07 +02:00
xmatthias 495f15f13c fix exchange tests 2018-06-17 23:38:07 +02:00
xmatthias 68f6423d39 fix most tests 2018-06-17 23:38:07 +02:00
xmatthias 67d345bc08 fix tests for objectify exchange 2018-06-17 23:38:07 +02:00
xmatthias a159db6863 get_exchange 2018-06-17 23:38:07 +02:00
xmatthias dea26fadfe move init_ccxt to class 2018-06-17 23:38:07 +02:00
xmatthias 21edcbdc27 Refactor exchange to class 2018-06-17 23:38:07 +02:00
xmatthias ad0549414b Revert "also unit tests now need config.json"
This reverts commit 7e2e7946c5.
2018-06-17 11:34:12 +02:00
xmatthias 90a7fb603d fix typo in coverage-omit 2018-06-16 21:28:41 +02:00
xmatthias 7cfd99d17f exclude __main__.py from coveralls -
if __name__ == '__main__' is close to untestable - and should do nothing
other than calling another function.
2018-06-16 21:00:45 +02:00
xmatthias 972736f0ab increase test-coverate for configureation 2018-06-16 20:55:35 +02:00
Matthias 934974a547 Merge pull request #924 from freqtrade/pyup-scheduled-update-2018-06-16
Scheduled daily dependency update on saturday
2018-06-16 16:14:34 +02:00
xmatthias 7564f7e526 fix hyperopt test when no config.json exists 2018-06-16 13:49:03 +02:00
xmatthias fa00157d12 Fix fiat_convert missing mockups 2018-06-16 13:42:25 +02:00
Matthias a5511e2e30 Merge pull request #894 from freqtrade/feature/force_close_backtest
Display open trades after backtest period
2018-06-16 12:49:08 +02:00
Matthias b78b9dccc8 Merge pull request #919 from freqtrade/pyup-scheduled-update-2018-06-15
Scheduled daily dependency update on friday
2018-06-15 14:51:54 +02:00
xmatthias 5c3e37412e update docs 2018-06-14 21:20:16 +02:00
xmatthias c0289ad844 use list comprehension to build list 2018-06-13 19:53:12 +02:00
xmatthias e600be4f56 Reduce force-sell verbosity 2018-06-13 19:44:00 +02:00
Matthias d7e7ef11f9 Merge pull request #913 from freqtrade/apply-qtpylib-updates
Apply qtpylib upstream changes
2018-06-13 19:34:02 +02:00
xmatthias e22da45474 update documentation with forcesell at the end of the backtest period 2018-06-13 07:00:39 +02:00
xmatthias 6357812743 fix backtest report able 2018-06-13 06:57:49 +02:00
xmatthias 6e68c3b230 fix backtesting.md formatting 2018-06-13 06:52:17 +02:00
xmatthias 0f117d480e improve backtesting-tests
* assert length of result specifically
* add assert for "open_at_end"
2018-06-13 06:42:24 +02:00
xmatthias 8d8e6dcffc Add test for extracted backtest_results test 2018-06-13 06:31:42 +02:00
xmatthias e3ced7c15e extract export from backtest function 2018-06-12 22:29:30 +02:00
xmatthias 182f4c603b fix plot-script datadir not working 2018-06-12 21:43:14 +02:00
xmatthias 1f6b9c332b fix default datadir not working in plot-script 2018-06-12 21:38:14 +02:00
xmatthias bfde33c945 Use timestamp() instead of strftime
this will avoid a bug shifting epoch time by 1 hour:
https://stackoverflow.com/questions/11743019/convert-python-datetime-to-epoch-with-strftime
2018-06-12 21:12:55 +02:00
Matthias bd6ed3ada4 Merge pull request #906 from freqtrade/pyup-scheduled-update-2018-06-12
Scheduled daily dependency update on tuesday
2018-06-12 14:45:24 +02:00
xmatthias 06b71d713c update issue template to include ccxt version 2018-06-12 07:00:58 +02:00
xmatthias 40746c3fcb fix downloadscript crash if a pair is not available 2018-06-11 21:10:57 +02:00
xmatthias a0f735d4f2 reduce test-noise 2018-06-11 21:02:24 +02:00
xmatthias 335d1fbbbc Check if no backtest data is found and fail gracefully 2018-06-11 19:50:43 +02:00
xmatthias 12e455cbf5 add buy/sell index to backtest result 2018-06-10 20:52:42 +02:00
xmatthias a9f3744f1b fix backtest test 2018-06-10 19:46:52 +02:00
xmatthias 9cc087c788 update hyperopt tests to support new structure 2018-06-10 13:56:23 +02:00
xmatthias 4710210cff fix hyperopt to use new backtesting result tuple 2018-06-10 13:56:10 +02:00
xmatthias 27ee8f7360 make flake happy 2018-06-10 13:55:48 +02:00
xmatthias 1cd7ac55a8 Added "left open trades" report 2018-06-10 13:45:16 +02:00
xmatthias b81588307f Add "open_at_end" parameter 2018-06-10 13:37:53 +02:00
xmatthias 31025216f9 fix type of open/close timestmap 2018-06-10 13:32:07 +02:00
xmatthias aff1ede46b Fix last backtesting test 2018-06-10 13:25:52 +02:00
xmatthias 322a528c12 fix bug with backtestResult 2018-06-10 13:25:16 +02:00
xmatthias 17c0ceec04 adjust tests for backtestresult type 2018-06-10 13:22:24 +02:00
xmatthias c9476fade8 adjust tests for forcesell 2018-06-10 13:20:41 +02:00
xmatthias 7b5a2946e5 adjust for forcesell backtesting 2018-06-10 13:19:32 +02:00
xmatthias 9c57d3aa8b add BacktestresultTuple 2018-06-10 13:15:46 +02:00
xmatthias c1b2e06eda simplify return from _get_sell_trade_entry 2018-06-10 09:07:04 +02:00
xmatthias 3094acc7fb update comment 2018-06-10 08:58:28 +02:00
xmatthias 24a875ed46 remove experimental parameters - they are read by analyze.py anyway 2018-06-09 21:44:57 +02:00
xmatthias 5623ea3ac6 Add forcesell at end of backtest period 2018-06-09 21:44:20 +02:00
Matthias 655155bbab Merge pull request #890 from freqtrade/coveralls-single-execution
avoid running coveralls 4 times
2018-06-09 17:59:04 +02:00
xmatthias cc4b2eef13 mypy - ignore tests folder 2018-06-08 19:58:01 +02:00
xmatthias 8effc5f929 fix windows-specific init issue with named tuple 2018-06-08 19:46:07 +02:00
Matthias 43d19790ae update windows install documentation 2018-06-08 11:23:00 +02:00
Matthias 0bc86e72b3 Add slack reference, fix spelling 2018-06-08 10:57:52 +02:00
xmatthias 9292eb664a add reference to strategy repository
fix markdown to have markdownlint not complain that much
2018-06-08 06:44:59 +02:00
Matthias 8f91eeb195 Merge pull request #870 from freqtrade/feature/increase-main-coverage
add and fix tests for main.py
2018-06-08 06:35:36 +02:00
Matthias d23bcc435a Merge pull request #864 from freqtrade/feature/overhaul-db-handling
Allow custom sqlite database path
2018-06-07 22:18:10 +02:00
xmatthias f5fe9a4b1c fix rpc tests (add a test with multiple trades
without this, sum/percentage cannot be properly tested.
2018-06-07 20:52:03 +02:00
xmatthias 0e699b87af don't sum percentage, but use mean instead (aligned to backtesting) 2018-06-07 20:43:28 +02:00
xmatthias 7714490530 Test keyerror exception 2018-06-06 21:24:57 +02:00
xmatthias 4a17671f45 improve log message 2018-06-06 20:30:42 +02:00
xmatthias a901f21bcd test ticker caching 2018-06-06 20:24:47 +02:00
xmatthias e690003621 reinstate caching for get_ticker 2018-06-06 20:18:16 +02:00
Matthias fb49d706d0 Merge pull request #851 from jblestang/update_doc_process_throttle
Update doc process throttle
2018-06-06 00:11:44 +02:00
xmatthias cac6e0d715 Add docstring to TimeRange class 2018-06-06 00:10:18 +02:00
xmatthias f37c5b70ba Fix tests - read optional argument 2018-06-05 23:53:49 +02:00
xmatthias 270ccbb0da fix args test 2018-06-05 23:41:50 +02:00