model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DailyInfo

type DailyInfo struct {
	Day          int
	OpenProfit   float64
	ClosedProfit float64
	Position     int
	NumTrades    int
}

func NewDailyInfo

func NewDailyInfo() *DailyInfo

type Strategy

type Strategy struct {
	Name   string
	Ticker string

	DailyInfo []*DailyInfo
}

func NewStrategy

func NewStrategy() *Strategy

type StrategySet

type StrategySet struct {
	Strategies   map[string]*Strategy
	CurrStrategy *Strategy
}

func NewStrategySet

func NewStrategySet() *StrategySet

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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