skdatasets.repositories.forex.fetch¶
- skdatasets.repositories.forex.fetch(start=datetime.date(2015, 1, 1), end=datetime.date(2022, 8, 12), currency_1='USD', currency_2='EUR', return_X_y=False)[source]¶
Fetch Forex datasets.
Fetches the ECB Forex and Coindesk Bitcoin datasets. More info at http://forex-python.readthedocs.io.
- Parameters:
- Returns:
data (Bunch) – Dictionary-like object with all the data and metadata.
(data, target) (tuple if
return_X_y
is True)