Beispiel #1
0
 protected TargetGroup(RaceGroupType parent, string desc, string abrv,ComparisonStyleType comparisonStyle)
 {
     _parent = parent;
     _description = desc;
     _abreviation = abrv;
     _comparisonStyle = comparisonStyle;
 }
Beispiel #2
0
        internal static List<TargetGroup> MakeGroups(RaceGroupType parent)
        {
            var groups = new List<TargetGroup>();

            groups.Add(new GoodFavorite(parent, ComparisonStyleType.MaximizeROI));
            groups.Add(new BadFavorite(parent, ComparisonStyleType.Minimize));

            OddsTreshold.List.ForEach(ot => groups.Add(new GoodBetBasedInOdds(parent, ot.From, ot.To, ComparisonStyleType.MaximizeROI)));

            return groups;
        }
Beispiel #3
0
 public BadFavorite(RaceGroupType parent, ComparisonStyleType comparisonStyle)
     : base(parent, "Bad Favorite", "BF", comparisonStyle)
 {
 }