go-alpha-vantage
go-alpha-vantage copied to clipboard
Expose splits and dividend events
Hi, according to the docs (https://www.alphavantage.co/documentation/#dailyadj), example: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=MSFT&apikey=demo, when using TIME_SERIES_DAILY_ADJUSTED instead of TIME_SERIES_DAILY, we get two extra fields:
- dividend amount
- split coefficient
I'd be interested in the dividend amount. I think it would be possible to check if s
in
func parseTimeSeriesRecord(s []string) (*TimeSeriesValue, error) {
// ...
}
Has more than 6 fields, and to expose them too.
Thanks for the library!
@aktau Thanks Aktau! It hasn't been actively maintained in the past 6 months but I will be starting to make it a fully fledged Alpha Vantage Go client that I maintain. I have a similar PR submitted for the split coefficient. In the next week or so Ill be taking a look at the repo and updating it. Be patient with me.