现金更正 + 法拉电子清仓记录
截图确认: - 可用资金 92,664.20(含天添利) - 冻结 39,481.40 - 总现金 132,145.60 - 总资产 = 持仓市值1,107,670 + 现金132,145.60 = 1,239,815.60 法拉电子 189.20卖出100股已记录
This commit is contained in:
@@ -876,6 +876,18 @@ def reassess_strategy(code, name, price, cost, shares, current_action,
|
||||
tech_snapshot = (f"形态:{candle.get('pattern','?')}/{candle.get('sentiment','?')} "
|
||||
f"量价:{vol.get('volume_signal','?')} "
|
||||
f"强撑:{ss} 弱撑:{ws} 弱压:{wr} 强压:{sr_resist}")
|
||||
# 加入均线信息(如果可用)
|
||||
try:
|
||||
dm = mtf_analysis.get("daily", {}).get("mas", {})
|
||||
ma_parts = []
|
||||
for m in ['ma5', 'ma10', 'ma20', 'ma60']:
|
||||
v = dm.get(m)
|
||||
if v:
|
||||
ma_parts.append(f"{m.upper()}={v}")
|
||||
if ma_parts:
|
||||
tech_snapshot += " | " + " ".join(ma_parts)
|
||||
except (NameError, AttributeError):
|
||||
pass
|
||||
|
||||
# 多周期快照(追加到 tech_snapshot)
|
||||
mtf_context = ""
|
||||
@@ -1626,6 +1638,7 @@ def regenerate_all(stdout=True):
|
||||
"entry_high": result["entry_high"],
|
||||
"action": result["action"],
|
||||
"tech_snapshot": result.get("tech_snapshot", ""),
|
||||
"multi_tf_context": result.get("multi_tf_context", ""),
|
||||
"reassessed_at": result["reassessed_at"],
|
||||
"status": result["status"],
|
||||
**extra,
|
||||
|
||||
Reference in New Issue
Block a user