package entity type Kline struct { OpenTime int64 `csv:"open_time"` // 開盤時間(毫秒) Open string `csv:"open"` // 開盤價 High string `csv:"high"` // 最高價 Low string `csv:"low"` // 最低價 Close string `csv:"close"` // 收盤價 Volume string `csv:"volume"` // 成交量 CloseTime int64 `csv:"close_time"` // 收盤時間(毫秒) QuoteAssetVolume string `csv:"quote_asset_volume"` // 成交額(以報價資產計) NumberOfTrades int `csv:"number_of_trades"` // 交易筆數 TakerBuyBaseAssetVolume string `csv:"taker_buy_base_asset_volume"` // 主動買入成交量 TakerBuyQuoteAssetVolume string `csv:"taker_buy_quote_asset_volume"` // 主動買入成交額 Symbol string // 交易對 Interval string // 12h,15m,1d,1h,1m,1s,2h,30m,3m,4h,5m,6h,8h } func (s *Kline) TableName() string { return "symbol" }