Commit Graph

53 Commits

Author SHA1 Message Date
hroff-1902 d6c0c107ac
fixed flake
hmm, even in the comments?
2019-02-10 22:23:00 +03:00
hroff-1902 7ed15c64ba
what else? 2019-02-10 22:13:40 +03:00
hroff-1902 4dffb17dd6
fix flake 2019-02-10 22:01:46 +03:00
hroff-1902 14d6cdf9b2
OHLCV should be float for TA-LIB indicators in the strategy
Some exchanges (BitMEX) return integer values for Volume field. And sometimes even for OHLC -- same, on BitMEX, since price decrease is 0.5. TA-LIB functions assume floats and fail with exception.
Of course, this can be fixed (converted) in ccxt for particular exchange, but TA-LIB will still fail for exchanges for that such a conversion is not implemented in ccxt code. So let's make perform this conversion here in order to be sure our strategy will not crash on a new exchange.
2019-02-10 21:52:33 +03:00
Samuel Husso e3ae8d3f69 flake8 3.7.1 fixes 2019-01-31 07:51:03 +02:00
Matthias bfd8609352 Fix comment 2019-01-26 19:16:33 +01:00
Matthias e66808bb02 Add additional pairs to refresh call 2019-01-22 07:07:15 +01:00
Matthias d6cdfc58af Fix mypy hickup after changing list to tuples 2019-01-22 07:07:15 +01:00
Matthias 6525a838d1 Adjust documentation to tuple use 2019-01-22 07:07:15 +01:00
Matthias f0af4601f9 Adopt plot_dataframe to work with --live 2019-01-22 07:07:15 +01:00
Matthias 0aa0b1d4fe Store tickers by pair / ticker_interval 2019-01-22 07:07:15 +01:00
Matthias a206777fe5 Rename refresh_tickers to refresh_latest_ohlcv 2019-01-22 07:05:09 +01:00
Matthias 646e98da55 Always return dataframe 2019-01-22 07:04:19 +01:00
Matthias 2b029b2a86 Only return ohlcv if available (Live and dry modes) 2019-01-22 07:04:19 +01:00
Matthias 35c8d1dcbe Update comment 2019-01-22 07:04:19 +01:00
Matthias 8f3ea3608a some cleanup 2019-01-22 07:04:19 +01:00
Matthias d3a37db79a Provide available pairs 2019-01-22 07:04:19 +01:00
Matthias f034235af4 Tests for RunMode 2019-01-22 07:04:19 +01:00
Matthias 1340b71633 Add RunMode setting to determine bot state 2019-01-22 07:04:19 +01:00
Matthias 84cc4887ce Add copy parameter 2019-01-22 07:04:19 +01:00
Matthias e38c06afe9 Small fixes 2019-01-22 07:04:19 +01:00
Matthias f1a5a8e20e provide history 2019-01-22 07:04:19 +01:00
Matthias 4ab7edd3d6 small adaptations 2019-01-22 07:04:19 +01:00
Misagh 26a77e193e
Merge pull request #1454 from freqtrade/feat/interpolate_missing
interpolate missing candles
2019-01-04 22:33:53 +01:00
Matthias c337a931c2 Fix bug on --refresh-pairs-cached 2019-01-01 13:42:30 +01:00
Matthias 672d115eca Change default value and add docstring 2018-12-31 19:42:14 +01:00
Matthias ef4555735a Fill up missing as part of loading data 2018-12-31 19:13:34 +01:00
Matthias 03389d961f ADd test for data_interpolate 2018-12-31 09:18:22 +01:00
Matthias a021cd3ae2 Add ohlcv data interpolator 2018-12-31 07:12:54 +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 c955415cc3 Switch from ujson to rapidjson 2018-12-28 10:01:16 +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 8bd4d03e13 remove download_pairs 2018-12-16 10:29:53 +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 acd07d40a0 Cleanup some comments and code formatting 2018-12-15 19:52:52 +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 407139b0e0 remove unused imports 2018-12-14 06:32:49 +01:00
Matthias 1a3fcd4771 extract data-handling methods from optimize 2018-12-14 06:32:49 +01:00