Documentation ¶
Index ¶
- Constants
- type HistoricalData
- func (hd *HistoricalData) AdjCloseTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
- func (hd *HistoricalData) CloseTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
- func (hd *HistoricalData) HighTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
- func (hd *HistoricalData) OpenTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
- func (hd *HistoricalData) TimeSeriesSet(interval timeutil.Interval) (timeseries.TimeSeriesSet, error)
- func (hd *HistoricalData) VolumeTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
Constants ¶
View Source
const ( HistoricalDataColumns = "Date,Open,High,Low,Close,Adj Close,Volume" ColumnDate = "Date" ColumnOpen = "Open" ColumnHigh = "High" ColumnClose = "Close" ColumnAdjClose = "Adj Close" ColumnVolume = "Volume" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoricalData ¶
func ReadFileHistoricalData ¶
func ReadFileHistoricalData(filename string) (*HistoricalData, error)
ReadFileHistoricalData reads a Yahoo! Finance Historical Data CSV file.
func (*HistoricalData) AdjCloseTimeSeries ¶
func (hd *HistoricalData) AdjCloseTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
func (*HistoricalData) CloseTimeSeries ¶
func (hd *HistoricalData) CloseTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
func (*HistoricalData) HighTimeSeries ¶
func (hd *HistoricalData) HighTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
func (*HistoricalData) OpenTimeSeries ¶
func (hd *HistoricalData) OpenTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
func (*HistoricalData) TimeSeriesSet ¶
func (hd *HistoricalData) TimeSeriesSet(interval timeutil.Interval) (timeseries.TimeSeriesSet, error)
func (*HistoricalData) VolumeTimeSeries ¶
func (hd *HistoricalData) VolumeTimeSeries(interval timeutil.Interval) (timeseries.TimeSeries, error)
Click to show internal directories.
Click to hide internal directories.