Commit Graph

2204 Commits

Author SHA1 Message Date
Misagh dcdd7d7436
Merge pull request #1456 from freqtrade/fix/refresh_pairs_cached
Fix bug on --refresh-pairs-cached
2019-01-02 14:02:11 +01:00
Matthias 1b84aa82eb dont use 55 for regular check as that's a key in the dict 2019-01-01 16:54:44 +01:00
Matthias 2bc76771bf Align backtest to interface.py
interface.py roi calculation skips on <= duration
the correct selection is therefore trade_duration > x.
2019-01-01 16:50:10 +01:00
Matthias 1d518885a9 fix roi-reached when list is unsorted 2019-01-01 16:45:52 +01:00
Matthias da6f1a3945 Sequence of minroi dict must be irrelevant 2019-01-01 16:32:45 +01:00
Matthias a54d8f0e16 Create datadir when not exists 2019-01-01 14:07:40 +01:00
Matthias c337a931c2 Fix bug on --refresh-pairs-cached 2019-01-01 13:42:30 +01:00
Matthias 460900ddd7 Remove unused and duplicate datastructure 2018-12-29 09:01:58 +01:00
Matthias fab7663ab3 Log when dumping to file (instead of print) 2018-12-28 10:46:48 +01:00
Matthias 61f8ce5c0e remove unused imports 2018-12-28 10:44:24 +01:00
Matthias 7dc40cdac5 refactor file_load_json to be standalone 2018-12-28 10:25:41 +01:00
Matthias 27abdd9788 Move load_json to misc 2018-12-28 10:04:28 +01:00
Matthias 065b469a10 rename test to avoid naming collision 2018-12-28 10:04:07 +01:00
Matthias c955415cc3 Switch from ujson to rapidjson 2018-12-28 10:01:16 +01:00
Matthias ecb5cdc9e3 Version bump to 0.18.1-dev 2018-12-27 11:47:00 +01:00
Matthias 23d0cea01f Version bump to 0.18.0 2018-12-27 11:45:21 +01:00
Matthias bb9dd86e77 Merge branch 'master' into release_1804 2018-12-27 11:44:50 +01:00
Matthias 9af2fca718 Add handling for market orders
fixes #1427 and #1428
2018-12-27 11:19:26 +01:00
Matthias 20cdabbe9c Add test for market order 2018-12-27 09:31:21 +01:00
Matthias 34b93eb952 Load config-file in download_backtest_data - 2018-12-25 13:15:41 +01:00
misagh a5137e4fa4 comparing float instead of int 2018-12-24 11:39:11 +01:00
misagh 7243da3afe tests added for klines copy=True 2018-12-22 19:03:42 +01:00
misagh 34e3af6ad4 do not copy DF if copy is false 2018-12-21 10:35:17 +01:00
misagh a13b30b2de removing test 2018-12-21 10:21:31 +01:00
misagh a45ec1ed1c adding copy as a parameter to klines 2018-12-21 10:20:01 +01:00
misagh 215ded2e0a returning last candle close price for a pair 2018-12-17 21:30:58 +01:00
Misagh 1dbcab0b09
Merge pull request #1413 from freqtrade/feat/data_helpers
Feat/data helpers
2018-12-17 09:14:10 +01:00
Matthias b3bb98777b
Merge branch 'develop' into time_in_force 2018-12-17 06:37:46 +01:00
Matthias 5493d1a7e0 Fix wonrly named module 2018-12-17 06:32:59 +01:00
Matthias 806ab3729f Add / fix some comments 2018-12-16 14:14:17 +01:00
Matthias eb7034c7a7 Rename download_backtest_testdata to download_pair_history 2018-12-16 10:33:08 +01:00
Matthias 50938d410a Remove tests for download_pairs 2018-12-16 10:30:13 +01:00
Matthias 8bd4d03e13 remove download_pairs 2018-12-16 10:29:53 +01:00
Matthias 8826a1df5f Add missing tests for trim_tickerlist 2018-12-16 10:19:49 +01:00
Matthias 043cefd60a allow reloading single pair 2018-12-16 10:17:11 +01:00
Matthias ebb80b6906 remove ujson / json fallback hack as it's now in requirements 2018-12-16 09:58:54 +01:00
Matthias f5b2430cda Fix docstrings and typo 2018-12-16 09:58:46 +01:00
Matthias 8a3c2a0c63 allow only loading 1 pair if necessary
* simplify tests nad remove unnecessary mocking
2018-12-15 20:32:55 +01:00
Matthias 429f846ad1 Switch load_data to kwargs 2018-12-15 20:31:05 +01:00
Matthias acd07d40a0 Cleanup some comments and code formatting 2018-12-15 19:52:52 +01:00
Matthias d0c9791ca6 Fix tests to support load_data with dataframe 2018-12-15 15:38:40 +01:00
Matthias 34ea214f7c Fix some tests to use dataframe 2018-12-15 14:42:21 +01:00
Matthias 1c5031b468 load_data to return dataframe 2018-12-15 14:28:37 +01:00
Matthias c1a32bc6c8 use json_load to load data
- otherwise unforseen problems could appear due to the default beeing ujson
2018-12-15 14:22:49 +01:00
Matthias 6c02cc5993 Adjust test to pathlib 2018-12-15 14:14:38 +01:00
Matthias 21aba1620c Replace calls to load_data 2018-12-15 14:10:33 +01:00
Matthias f261911285 replace os.path with pathlib.Path 2018-12-15 13:54:35 +01:00
Matthias a34c2cf64b Add missing test-module __init__.py 2018-12-15 13:40:02 +01:00
Matthias 407139b0e0 remove unused imports 2018-12-14 06:32:49 +01:00
Matthias 17a820e5c0 Move tests from test_optimize to test_history 2018-12-14 06:32:49 +01:00