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