דלגו לתוכן
פתיחת RaamTrade

RC2_LEARNING_SET_TITLE

תוכן זה אינו זמין עדיין בשפה שלך.

<set> title uses «». A set’s name says what the set does (what it turns on, off or fixes), never how good it is, how safe or risky, whom it suits or what it earned.

What it means

A learning set can carry a short name, title="…" or title={"en": "…", "he": "…"}, shown beside «Learning set N» on the run form. The name describes what the set does. It is refused when it:

  • judges the set: best, recommended, winning, proven, «מומלץ», «הכי», «מנצח»
  • talks about safety or risk: safe, conservative, aggressive, risk, «בטוח», «שמרני», «אגרסיבי», «סיכון»
  • says whom it suits: suitable, tailored, beginners, «מתאים», «מותאם», «למתחילים»
  • talks about results: profitable, returns, guaranteed, «רווחי», «תשואה», «מובטח»
  • is longer than 80 characters in any language, is empty, or names a language the platform does not speak

Why it happens

A name that recommends the set:

class RecommendedName(Strategy):
trade = Symbol()
sizing = FixedCapital()
fast = Param(10, min=2, max=100, opt_min=5, opt_max=30)
slow = Param(30, min=10, max=200, opt_min=20, opt_max=80, opt_step=5)
learning_set_2 = LearningSet(title="Recommended", fast=Range(5, 15))
def execute(self):
f = SMA(self.fast, on=self.trade)
s = SMA(self.slow, on=self.trade)
if f.value > s.value and self.trade.is_flat:
self.buy(self.trade)

A name that says whom the set suits:

class SuitsBeginners(Strategy):
trade = Symbol()
sizing = FixedCapital()
fast = Param(10, min=2, max=100, opt_min=5, opt_max=30)
slow = Param(30, min=10, max=200, opt_min=20, opt_max=80, opt_step=5)
learning_set_2 = LearningSet(title={"en": "For beginners", "he": "למתחילים"}, fast=Range(5, 15))
def execute(self):
f = SMA(self.fast, on=self.trade)
s = SMA(self.slow, on=self.trade)
if f.value > s.value and self.trade.is_flat:
self.buy(self.trade)

How to fix it

Name what the set changes:

class DescribedName(Strategy):
trade = Symbol()
sizing = FixedCapital()
fast = Param(10, min=2, max=100, opt_min=5, opt_max=30)
slow = Param(30, min=10, max=200, opt_min=20, opt_max=80, opt_step=5)
learning_set_2 = LearningSet(title={"en": "Short fast average", "he": "ממוצע מהיר קצר"}, fast=Range(5, 15))
def execute(self):
f = SMA(self.fast, on=self.trade)
s = SMA(self.slow, on=self.trade)
if f.value > s.value and self.trade.is_flat:
self.buy(self.trade)
  • Learning sets
  • RC2_PARAM_TITLE — the same title shapes, on a Param.