Nixtla / transfer-learning-time-series

Transfer 🤗 Learning for Time Series Forecasting
MIT License
225 stars 28 forks source link

Added dataset for tutorial on Bitcoin price prediction #14

Closed MMenchero closed 3 months ago

MMenchero commented 3 months ago

Description

This dataset is used in the Bitcoin Price Prediction tutorial of TimeGPT's documentation.

How to replicate

Dataset was downloaded from yfinance. To replicate, use:

pip install yfinance
import yfinance as yf 
bitcoin = yf.Ticker("BTC-USD")
df = bitcoin.history(start="2020-01-01", end="2024-01-01").reset_index()
df['Date'] = df['Date'].dt.date
df = df[['Date', 'Close']]