Change name of dividend csv file.
This commit is contained in:
parent
83f41a0659
commit
714064615e
2
main.go
2
main.go
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user