add ref link to trade stats

This commit is contained in:
c9s 2022-06-28 21:54:28 +08:00 committed by Austin Liu
parent 32c76105b0
commit 609b6a7a50

View File

@ -6,6 +6,8 @@ import (
"github.com/c9s/bbgo/pkg/fixedpoint"
)
// TODO: Add more stats from the reference:
// See https://www.metatrader5.com/en/terminal/help/algotrading/testing_report
type TradeStats struct {
WinningRatio fixedpoint.Value `json:"winningRatio" yaml:"winningRatio"`
NumOfLossTrade int `json:"numOfLossTrade" yaml:"numOfLossTrade"`