feat: Update Telegram bot ATR to match actual SOL data
Data Analysis (162 SOL trades): - Average ATR: 0.407 absolute - Median ATR: 0.43 absolute (~0.32% of price) - Range: 0.24-0.66 absolute Updated MANUAL_METRICS: - Old: atr = 0.45 (estimated) - New: atr = 0.43 (data-driven median) Impact on manual Telegram trades: - TP1: 0.43 × 2.0 = 0.86% (vs 0.90%) - TP2: 0.43 × 4.0 = 1.72% (vs 1.80%) - SL: 0.43 × 3.0 = 1.29% (vs 1.35%) Slightly tighter but more accurate to actual SOL volatility.
This commit is contained in:
7
.env
7
.env
@@ -138,8 +138,8 @@ MIN_TP1_PERCENT=0.5 # Never below +0.5%
|
||||
MAX_TP1_PERCENT=1.5 # Never above +1.5%
|
||||
|
||||
# TP2 bounds
|
||||
MIN_TP2_PERCENT=1.0 # Never below +1.0%
|
||||
MAX_TP2_PERCENT=3.0 # Never above +3.0%
|
||||
MIN_TP2_PERCENT=1
|
||||
MAX_TP2_PERCENT=3
|
||||
|
||||
# SL bounds
|
||||
MIN_SL_PERCENT=0.8 # Never tighter than -0.8%
|
||||
@@ -411,4 +411,5 @@ TRAILING_STOP_MIN_PERCENT=0.25
|
||||
TRAILING_STOP_MAX_PERCENT=0.9
|
||||
USE_PERCENTAGE_SIZE=false
|
||||
|
||||
BREAKEVEN_TRIGGER_PERCENT=0.4
|
||||
BREAKEVEN_TRIGGER_PERCENT=0
|
||||
ATR_MULTIPLIER_FOR_TP2=2
|
||||
@@ -59,14 +59,14 @@ SYMBOL_MAP = {
|
||||
|
||||
MANUAL_METRICS = {
|
||||
'long': {
|
||||
'atr': 0.45,
|
||||
'atr': 0.43, # Updated Nov 17, 2025: Based on 162 SOL trades, median = 0.43 (~0.32% of price)
|
||||
'adx': 32,
|
||||
'rsi': 58,
|
||||
'volumeRatio': 1.25,
|
||||
'pricePosition': 55,
|
||||
},
|
||||
'short': {
|
||||
'atr': 0.45,
|
||||
'atr': 0.43, # Updated Nov 17, 2025: Based on 162 SOL trades, median = 0.43 (~0.32% of price)
|
||||
'adx': 32,
|
||||
'rsi': 42,
|
||||
'volumeRatio': 1.25,
|
||||
|
||||
Reference in New Issue
Block a user