2
0

bar.go 389 B

12345678910111213
  1. package sentio
  2. import "time"
  3. type Bar struct {
  4. Datetime time.Time `json:"datetime" yaml:"datetime"`
  5. Open float64 `json:"open" yaml:"open"`
  6. High float64 `json:"high" yaml:"high"`
  7. Low float64 `json:"low" yaml:"low"`
  8. Close float64 `json:"close" yaml:"close"`
  9. Volume float64 `json:"volume" yaml:"volume"`
  10. Trades int `json:"trades" yaml:"trades"`
  11. }