Ejemplo n.º 1
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.AvailableStrategy.FundPercentage}");
Ejemplo n.º 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}");
Ejemplo n.º 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());
Ejemplo n.º 7
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.AvailableStrategy.StopLossDown}");
Ejemplo n.º 8
0
 public IRuleResult RuleExecuted(Solbot solbot)
 => ValidatedRuleResult.New(
     RulePassed(solbot),
     RuleAttribute,
     $"{solbot.Strategy.ActiveId}");