ERROR - qlib.workflow - [utils.py:38] - An exception has been raised[ValueError: can't find a freq from [Freq(day)] that can resample to 1min!].
See original GitHub issueTo Reproduce
df = D.features([code], [‘$high’, ‘$low’, ‘$close’, ‘$open’,‘$volume’,‘$money’], start_time=‘%s 09:31:00’%str(start_time)[:10], end_time=‘%s 15:00:00’%str(end_time)[:10], freq=‘1min’, disk_cache=0)
Screenshot
Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
- Qlib version:Newest
- Python version:3.7.9
- OS (
Windows,Linux,MacOS):MacOS - Commit number (optional, please provide it if you are using the dev version):
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Error while resampling from daily to monthly frequency
I have a csv data with daily frequency as shown below: ... column is DATE column is converted to monthly frequency by missing...
Read more >pandas.DataFrame.resample — pandas 1.5.2 documentation
Resample time-series data. Convenience method for frequency conversion and resampling of time series. The object must have a datetime-like index ( DatetimeIndex ...
Read more >ERROR - qlib.workflow - [utils.py:38] - An exception has been raised ...
ERROR - qlib.workflow - [utils.py:38] - An exception has been raised[ValueError: can't find a freq from [Freq(day)] that can resample to 1min!]. ·...
Read more >Time series resampling 'KeyError' - Dataiku Community
Hi @valentinaprotti,. Welcome to the community! Could you share the whole error message? In your screenshot is missing the part where the ...
Read more >How To Resample Time Series Data Using Pandas ... - YouTube
You'll most likely encounter the requirement to change the frequency or time period when reporting time series data to derive a more ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Waterkin Hi, Is
provider_uria1mindataset ? Get sample1mindata ref:python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn -- interval 1minSorry, Qlib didn’t support automatically resampling now.