Commit Graph

221 Commits

Author SHA1 Message Date
Matthias 699c0d6bc3 Merge branch 'develop' into data_handler 2019-12-30 19:40:43 +01:00
Matthias 1ffda29fd2 Adjust improts to new exception location 2019-12-30 15:02:17 +01:00
Matthias 814cc20c6b Remove potential circular import 2019-12-28 19:58:41 +01:00
Matthias f4a532ef6d Pass format to load_data 2019-12-28 14:57:39 +01:00
Matthias ae1b28aab7 Remove get_datahandlerclass from package exposes 2019-12-28 14:32:11 +01:00
Matthias 66d18575a7 Implement abstract interface 2019-12-28 11:10:31 +01:00
Matthias 9e4fc00a0f Add test for convert_ohlcv 2019-12-28 11:03:06 +01:00
Matthias 28787a001c Move convert functions to convert module 2019-12-28 11:02:34 +01:00
Matthias 6860491189 Rename datahandler module to history module
Also move previous history.py into this module - so everything is
bundled
2019-12-28 11:01:42 +01:00
Matthias 9c5b94adf5 Pass data_format to methods 2019-12-28 11:01:42 +01:00
Matthias d65c1eea7a Add some tests for datahandler 2019-12-28 11:01:42 +01:00
Matthias 8a030e7fc0 Use exists instead of is_file 2019-12-28 11:01:42 +01:00
Matthias a3144cb2f0 remove trim_tickerlist 2019-12-28 11:01:42 +01:00
Matthias d1b52809ac Cleanup history 2019-12-28 11:01:41 +01:00
Matthias d06777b8ce Remove old "load_cached_data" method 2019-12-28 11:01:41 +01:00
Matthias 7a6476c9ba Update tests 2019-12-28 11:01:41 +01:00
Matthias df085a6f15 Fix small bug and test 2019-12-28 11:01:41 +01:00
Matthias c648d973c1 Implement new "load_data_for_updating" method based on dataframes 2019-12-28 11:01:41 +01:00
Matthias ec8fb5f308 Make no-data warning optional 2019-12-28 11:01:41 +01:00
Matthias b83487a70d Extract default dataframe columns to constant 2019-12-28 11:01:41 +01:00
Matthias 91c70a0e9c Change to use ohlcv_purge 2019-12-28 11:01:41 +01:00
Matthias 37c5b68987 Move dataframe validation to abstract class 2019-12-28 11:01:41 +01:00
Matthias e861f05b75 Move dataframe trim to within jsondatahandler 2019-12-28 11:01:41 +01:00
Matthias 552c93abf0 Improve some docstrings 2019-12-28 11:01:41 +01:00
Matthias b7c1d55491 Modify tests to point to datahandlers 2019-12-28 11:01:41 +01:00
Matthias 9876d126ca Use handler for trades 2019-12-28 11:01:41 +01:00
Matthias 9547d47ae2 Initialize datahandlers 2019-12-28 11:01:41 +01:00
Matthias 5fca17d7e1 Allow initializing handler-class just once 2019-12-28 11:01:41 +01:00
Matthias 416517b0c9 Move trim_dataframe from history to converter 2019-12-28 11:01:41 +01:00
Matthias 9d8ea2f13b Replace calls to load_tickerdata_file with DataHandler calls 2019-12-28 11:01:41 +01:00
Matthias 88fa7fc24c Simplify validate dataframe method 2019-12-28 11:01:41 +01:00
Matthias 53ee636fa0 Check if file exists before loading 2019-12-28 11:01:41 +01:00
Matthias 873f5dbe6b Revrite validate_pairdata to work with pandas 2019-12-28 11:01:41 +01:00
Matthias db520a09ee Trim dataframe, not tickerlist 2019-12-28 11:01:41 +01:00
Matthias 866908d2ca Load and save using pandas internal function 2019-12-28 11:01:41 +01:00
Matthias d9e7d64f33 Split parse_ticker_dataframe some logic to clean_ohlcv_dataframe. 2019-12-28 11:01:41 +01:00
Matthias 1b90ec58b9 Use changed pair-handling for providers 2019-12-28 11:01:41 +01:00
Matthias d923bab828 Remove abstract interface for now 2019-12-28 11:01:41 +01:00
Matthias 48728e2d66 Change DataProvider interface to accept pair per method 2019-12-28 11:01:41 +01:00
Matthias e529a4c261 Fix typehint for get_datahandlerclass 2019-12-28 11:01:41 +01:00
Matthias c6d6dbfdb1 Implement jsondatahandler file store 2019-12-28 11:01:41 +01:00
Matthias abc6b9459a Add ohlcv_store call to convert_ohlcv 2019-12-28 11:01:41 +01:00
Matthias 2a728ee68f fix bug in find-files 2019-12-28 11:01:41 +01:00
Matthias ef0fcb0e0f Make data-finding safe 2019-12-28 11:01:41 +01:00
Matthias e5a61667dd Implement first version of jsondatahandler 2019-12-28 11:00:22 +01:00
Matthias bb8acc61db Convert datadir within config to Path
(it's used as Path all the time!)
2019-12-23 15:11:29 +01:00
hroff-1902 cf4c3642ce Minor improvements in data.history 2019-12-18 01:06:03 +03:00
hroff-1902 021fa1ca1a
Merge pull request #2678 from hroff-1902/dataprovider-history-split-refresh
Dataprovider history: split refresh part
2019-12-18 00:30:47 +03:00
hroff-1902 3a542bce62
Merge pull request #2674 from freqtrade/bt_trade_open_price
Pre-calculate open_trade_price
2019-12-17 21:51:13 +03:00
hroff-1902 1537389617 Remove startup_candles argument in refresh_data 2019-12-17 18:23:31 +03:00