public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.AvailableStrategy.FundPercentage}");
Example #2
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Actions.BoughtPrice}");
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"ApiKey => OK => ApiSecret => OK");
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Actions.StopLossCurrentCycle}");
Example #5
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     solbot.Strategy.ModeType.GetDescription());
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     solbot.Strategy.AvailableStrategy.CommissionType.GetDescription());
Example #7
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.AvailableStrategy.StopLossDown}");
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.ActiveId}");