Documentation ¶
Index ¶
Constants ¶
View Source
const ( OneMin = time.Minute ThreeMin = 3 * time.Minute FiveMin = 5 * time.Minute FifteenMin = 15 * time.Minute ThirtyMin = 30 * time.Minute OneHour = 1 * time.Hour TwoHour = 2 * time.Hour FourHour = 4 * time.Hour SixHour = 6 * time.Hour TwelveHour = 12 * time.Hour OneDay = 24 * time.Hour ThreeDay = 72 * time.Hour OneWeek = 168 * time.Hour )
Consts here define basic time intervals
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Candle ¶
type Candle struct { Time time.Time Open float64 High float64 Low float64 Close float64 Volume float64 }
Candle holds historic rate information.
Click to show internal directories.
Click to hide internal directories.