-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
Description
The following command doesn't download data:
$ lean data download --dataset "US Future Options" --data-type "trade" --ticker "ES" --market "cme" --resolution "minute" --start "20140101" --end "20250605"
Likely because of FutureOptions directory structure.
LEAN CLI json:
"all": [
"futureoption\/{market}\/{resolution}\/{ticker}"
]
I tested
"all": [
"futureoption\/{market}\/{resolution}\/{ticker}\/{expiry}\/{date}_{data-type}.zip"
]
by expiry would be required.
Regex in the database:
/^futureoption\/\w+\/minute\/\w+\/\w+\/[^\/]+\.zip$/m
By the way, LEAN CLI for US Future Option Universe:
$ lean data download --dataset "US Future Option Universe" --data-type "universe" --ticker "ES" --market "cme" --start "20240606" --end "20250606"
doesn't work (needs expiry).
Martin-Molinero