-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Hello,
I noticed when I'm asking for chart with Interval: datetime.OneDay I always got only 1 candle which is strange... :(
I tried this:
params := &chart.Params{
Symbol: "AAPL",
Interval: datetime.OneDay,
}
iter := chart.Get(params)
for iter.Next() {
b := iter.Bar()
fmt.Printf("%+v %s\n", b, datetime.FromUnix(b.Timestamp).Time().Format("02.01.2006 15:04:05"))
}
What I do wrong, please?
Regards,
Max
Metadata
Metadata
Assignees
Labels
No labels