Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHolder ¶
type EventHolder interface { Reset() AppendEvent(common.EventHandler) NextEvent() common.EventHandler }
EventHolder interface details what is expected of an event holder to perform
type Holder ¶
type Holder struct {
Queue []common.EventHandler
}
Holder contains the event queue for backtester processing
func (*Holder) AppendEvent ¶
func (e *Holder) AppendEvent(i common.EventHandler)
AppendEvent adds and event to the queue
func (*Holder) NextEvent ¶
func (e *Holder) NextEvent() (i common.EventHandler)
NextEvent removes the current event and returns the next event in the queue
Click to show internal directories.
Click to hide internal directories.