Documentation
¶
Index ¶
Constants ¶
View Source
const FILL_WORKER_NUM = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillExecutor ¶
func NewBillExecutor ¶
func NewBillExecutor() *BillExecutor
func (*BillExecutor) Start ¶
func (s *BillExecutor) Start()
type FillExecutor ¶
type FillExecutor struct {
WorkerChs [FILL_WORKER_NUM]chan *entities.Fill
}
func NewFillExecutor ¶
func NewFillExecutor() *FillExecutor
func (*FillExecutor) Start ¶
func (s *FillExecutor) Start()
type FillMaker ¶
type FillMaker struct { FillCh chan *entities.Fill LogReader matching.LogReader LogOffset int64 LogSeq int64 }
func NewFillMaker ¶
type TickMaker ¶
type TradeMaker ¶
type TradeMaker struct { TradeCh chan *entities.Trade LogReader matching.LogReader LogOffset int64 LogSeq int64 }
func NewTradeMaker ¶
func NewTradeMaker(logReader matching.LogReader) *TradeMaker
func (*TradeMaker) OnMatchLog ¶
func (t *TradeMaker) OnMatchLog(log *matching.MatchLog, offset int64)
func (*TradeMaker) Start ¶
func (t *TradeMaker) Start()
Click to show internal directories.
Click to hide internal directories.