Reflect Score Logic

The Reflect Score is a composite behavioral score out of 100 that quantifies emotional and strategic trading discipline. It’s calculated from three weighted sub-metrics:

1. Emotional Control (Weight: 40%)

  • Penalized if wallet shows repeated overtrading, especially after losses.

  • Flags:

    • Multiple buy transactions shortly after a large red trade (realized < 0)

    • High frequency of trades in short timeframe (last_trade_time - first_buy_time < X)

  • Formula:

    tsCopyEditemotionalControl = 100 - Math.min(40, emotionalFlags * 10)

2. Risk Discipline (Weight: 30%)

  • Measures consistency of position sizing and avoidance of YOLO trades.

  • Compares average buy size variance between tokens.

  • Flags:

    • Buy transactions with amount > 3x the average

  • Formula:

    tsCopyEditriskDiscipline = 100 - Math.min(30, highRiskTrades * 10)

3. Pattern Breaking (Weight: 30%)

  • Tracks whether user adapts or repeats harmful patterns (e.g., revenge trading).

  • Flags:

    • Selling immediately after a loss, rebuying same token quickly

    • Zero break period between red streak and next trade

  • Formula:

Final Score:

All flags and metrics are collected in real-time and cached per 24h timeframe.

Last updated