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