tradesBlockService

package
v1.1.1-rc-45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TradesBlockService

type TradesBlockService struct {
	BlockDuration int64
	// contains filtered or unexported fields
}

func NewTradesBlockService

func NewTradesBlockService(datastore models.Datastore, blockDuration int64, historical bool) *TradesBlockService

func (*TradesBlockService) Channel

func (s *TradesBlockService) Channel() chan *dia.TradesBlock

func (*TradesBlockService) Close

func (s *TradesBlockService) Close() error

func (*TradesBlockService) ProcessTrade

func (s *TradesBlockService) ProcessTrade(trade *dia.Trade)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL