Sample data
The data in the cf_etf_hist_price index is time series data; however, it is not continuous. The data is only for trading days. Before we can practice our machine learning task, we must provide another set of data that will fill in the non-trading days using the corresponding price data from the previous trading day. In our GitHub repository (https://github.com/PacktPublishing/Mastering-Elasticsearch-7.0/tree/master/Chapter16), three files can be downloaded: cf_rfem_hist_price_bulk_index.sh, cf_rfem_hist_price_bulk.json, and cf_rfem_hist_price_mappings.json. It contains the RFEM ETF data symbol with trading days and non-trading days. Go to the download directory and run the following command to index data to the new cf_rfem_hist_price ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access