Skip to content

Commit 560d838

Browse files
committed
updated error for historic
1 parent 82343a3 commit 560d838

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quote/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func GetHistoricalQuote(symbol string, month int, day int, year int) (*finance.C
5555
b := iter.Bar()
5656
return b, nil
5757
}
58-
return nil, nil
58+
return nil, iter.Err()
5959
}
6060

6161
// Get returns an Quote quote that matches the parameters specified.

0 commit comments

Comments
 (0)