Documentation ¶
Index ¶
- Variables
- func Test() (err error)
- type Store
- func (s *Store) Close() error
- func (s *Store) CountCandlesForDate(ctx context.Context, ticker string, date time.Time) (uint64, error)
- func (s *Store) CountSuperCandlesForDate(ctx context.Context, date time.Time) (uint64, error)
- func (s *Store) StoreCandles(ctx context.Context, ticker string, candles []gomoex.Candle) error
- func (s *Store) StoreSuperCandles(ctx context.Context, candles []*SuperCandle) error
- type SuperCandle
Constants ¶
This section is empty.
Variables ¶
View Source
var ClickhouseURL = "127.0.0.1:9000"
View Source
var TimezoneMSK *time.Location
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CountCandlesForDate ¶
func (*Store) CountSuperCandlesForDate ¶
func (*Store) StoreCandles ¶
func (*Store) StoreSuperCandles ¶
func (s *Store) StoreSuperCandles(ctx context.Context, candles []*SuperCandle) error
Click to show internal directories.
Click to hide internal directories.