Change name of dividend csv file.

This commit is contained in:
Greg Pomerantz 2024-11-15 18:01:20 -05:00
parent 83f41a0659
commit 714064615e

View File

@ -96,7 +96,7 @@ func Conv(name string) {
adjclose[k],int(volume[k].(float64)))) adjclose[k],int(volume[k].(float64))))
} }
if dividends != nil { if dividends != nil {
out, err = os.Create(name + "-div.csv") out, err = os.Create(name + "-dividend.csv")
if err != nil { if err != nil {
fmt.Printf("%s: %s\n", name, err) fmt.Printf("%s: %s\n", name, err)
os.Exit(-1) os.Exit(-1)