diff --git a/config.py b/config.py index e509128..c6d16de 100644 --- a/config.py +++ b/config.py @@ -45,7 +45,7 @@ MIN_ORDER_AMOUNT = { "tDOGE:UST": 22.0, "tATOUST": 0.02, "tXLMUST": 4.0, } STOP_LOSS_PCT = 0.03 -TAKE_PROFIT_PCT = 0.05 +TAKE_PROFIT_PCT = 0.15 MAX_POSITION_PCT = 0.30 # Max 30% of portfolio per coin MAX_TOTAL_EXPOSURE_PCT = 1.00 # No cap — use full balance diff --git a/cost_tracking.json b/cost_tracking.json index f5ade98..1f77574 100644 --- a/cost_tracking.json +++ b/cost_tracking.json @@ -3,7 +3,7 @@ "tSUIUST": 1773362755397, "tSOLUST": null, "tLTCUST": null, - "tADAUST": 1773380454544, + "tADAUST": null, "tAVAX:UST": 1773380455009, "tUNIUST": 1773380455473, "tXRPUST": null, diff --git a/llm_analyzer.py b/llm_analyzer.py index 0477054..4ddc777 100644 --- a/llm_analyzer.py +++ b/llm_analyzer.py @@ -33,10 +33,12 @@ def analyze_market(indicator_summary: str, account_status: str) -> list[dict]: 3. **趨勢啟動**: MACD 金叉 + EMA9 上穿 EMA21 + ADX > 20(有趨勢) 4. **支撐反彈**: 價格接近樞紐支撐位(S1/S2)+ OBV 流入 + RSI < 45 -### 出場訊號 (SELL) -1. **超買回落**: StochRSI K > 0.8 且 K 下穿 D + RSI > 65 -2. **阻力拒絕**: 價格接近樞紐阻力位(R1/R2)+ OBV 流出 -3. **趨勢反轉**: MACD 死叉 + EMA9 下穿 EMA21 + CMF < 0 +### 出場訊號 (SELL) — 需至少2個確認,不輕易賣出 +⚠️ 現貨多單應讓利潤奔跑,除非有明確反轉訊號,否則傾向持有。 +1. **強烈超買反轉**: StochRSI K > 0.8 且 K 下穿 D + RSI > 70 + MACD histogram 轉負 +2. **阻力拒絕+量縮**: 價格接近樞紐阻力位(R1/R2)+ OBV 流出 + CMF < 0 +3. **趨勢反轉確認**: MACD 死叉 + EMA9 下穿 EMA21 + 1h 趨勢也轉空 +- 若 1h 趨勢仍為多頭,即使 5m 出現賣出訊號,也應降低信心或 HOLD ### 過濾條件(必須全部滿足) - 成交量需高於 20 期平均(確認動能) diff --git a/stop_orders.json b/stop_orders.json index ae16bfc..88ebf56 100644 --- a/stop_orders.json +++ b/stop_orders.json @@ -2,7 +2,7 @@ "tDOGE:UST": { "order_id": 233282701621, "stop_price": 0.093946, - "entry_price": 0.09685083602369626, + "entry_price": 0.09688198941787385, "amount": 144.10790954 }, "tSUIUST": {