You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
another option is to set the 'start' i.e. the start-time range of our query to yahoo finance. The snippet bellow queries from January 1, 2012 to present.
import pybacktest
import pandas as pd
from datetime import datetime, timedelta
ohlc = pybacktest.load_from_yahoo('SPY',start=datetime(2012, 10, 1) )
```
When running this:
Raises error:
The text was updated successfully, but these errors were encountered: