Documentation
¶
Index ¶
- type Report
- func (r *Report) Analyzer() (err error)
- func (r *Report) GenHTML(w io.Writer) (err error)
- func (r *Report) GenHTMLReport(fPath string) (err error)
- func (r *Report) GenRPT(fPath string) (err error)
- func (r *Report) GetReport() (report string)
- func (r *Report) MaxDrawdown() float64
- func (r *Report) MaxDrawdownValue() float64
- func (r *Report) MaxLose() (lose float64)
- func (r *Report) OnBalanceInit(balance float64) (err error)
- func (r *Report) OnTrade(t Trade)
- func (r *Report) Profit() (profit float64)
- func (r *Report) WinRate() (rate float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct {
// contains filtered or unexported fields
}
func NewReportSimple ¶
func NewReportSimple() *Report
func (*Report) GenHTMLReport ¶
func (*Report) MaxDrawdown ¶
MaxDrawdown get max drawdown percent
func (*Report) MaxDrawdownValue ¶
MaxDrawdown get max drawdown value
func (*Report) OnBalanceInit ¶
Click to show internal directories.
Click to hide internal directories.