Build and load a pyalgotrade.barfeed.yahoofeed.Feed using CSV files downloaded from Yahoo! Finance. CSV files are downloaded if they haven’t been downloaded before.
| Parameters: |
|
|---|---|
| Return type: |
Download daily bars from Yahoo! Finance for a given year.
| Parameters: |
|
|---|
Download weekly bars from Yahoo! Finance for a given year.
| Parameters: |
|
|---|
Build and load a pyalgotrade.barfeed.quandlfeed.Feed using CSV files downloaded from Quandl. CSV files are downloaded if they haven’t been downloaded before.
| Parameters: |
|
|---|---|
| Return type: |
Download daily bars from Quandl for a given year.
| Parameters: |
|
|---|
Download weekly bars from Quandl for a given year.
| Parameters: |
|
|---|
Resample a BarFeed into a CSV file grouping bars by a certain frequency. The resulting file can be loaded using pyalgotrade.barfeed.csvfeed.GenericBarFeed. The CSV file will have the following format:
Date Time,Open,High,Low,Close,Volume,Adj Close
2013-01-01 00:00:00,13.51001,13.56,13.51,13.56,273.88014126,13.51001
| Parameters: |
|
|---|
Note
Datetimes are stored without timezone information.
Adj Close column may be empty if the input bar feed doesn’t have that info.