Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcAverageTrade ¶
func CalcDrawDown ¶
func CalcWinningPercentage ¶
Types ¶
type SortedResults ¶
func NewSortedResults ¶
func NewSortedResults(maxSize int, comparator utils.Comparator) *SortedResults
func (*SortedResults) Add ¶
func (sr *SortedResults) Add(item any)
func (*SortedResults) ToList ¶
func (sr *SortedResults) ToList() []any
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func (*WorkerPool) Init ¶
func (p *WorkerPool) Init(numWorkers, queueSize int)
func (*WorkerPool) ShutDown ¶
func (p *WorkerPool) ShutDown() bool
func (*WorkerPool) Submit ¶
func (p *WorkerPool) Submit(task func())
Click to show internal directories.
Click to hide internal directories.