Download bars 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:59:59,13.51001,13.56,13.51,13.56,273.88014126,13.51001
Parameters: |
|
---|
Note
- pyalgotrade.barfeed.Frequency.MINUTE
- pyalgotrade.barfeed.Frequency.HOUR
- pyalgotrade.barfeed.Frequency.DAY