Documentation ¶
Index ¶
- type CandleSummary
- func (m *CandleSummary) Candles(interval string) (*circular.Cache, error)
- func (m *CandleSummary) CreateCandle(interval string, candle *models.Candlestick) error
- func (m *CandleSummary) Init(symbol string, limit int32) *CandleSummary
- func (m *CandleSummary) SummaryData(interval string) *SummaryData
- func (m *CandleSummary) UpdateCandle(interval string, candleId int32, candle *models.Candlestick)
- type Market
- type SummaryData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandleSummary ¶
type CandleSummary struct {
// contains filtered or unexported fields
}
func (*CandleSummary) Candles ¶
func (m *CandleSummary) Candles(interval string) (*circular.Cache, error)
func (*CandleSummary) CreateCandle ¶
func (m *CandleSummary) CreateCandle(interval string, candle *models.Candlestick) error
func (*CandleSummary) Init ¶
func (m *CandleSummary) Init(symbol string, limit int32) *CandleSummary
func (*CandleSummary) SummaryData ¶
func (m *CandleSummary) SummaryData(interval string) *SummaryData
func (*CandleSummary) UpdateCandle ¶
func (m *CandleSummary) UpdateCandle(interval string, candleId int32, candle *models.Candlestick)
type Market ¶
type Market struct {
// contains filtered or unexported fields
}
func (*Market) CandleSummary ¶
func (c *Market) CandleSummary(symbol string) (*CandleSummary, error)
func (*Market) CreateSummary ¶
func (c *Market) CreateSummary(symbol string) *CandleSummary
func (*Market) UpdateSummary ¶
func (c *Market) UpdateSummary(symbol string) *CandleSummary
Click to show internal directories.
Click to hide internal directories.