现金更正 + 法拉电子清仓记录

截图确认:
- 可用资金 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:
知微
2026-06-29 12:40:50 +08:00
parent 13b4dcbcf0
commit 6a97d93018
34 changed files with 14336 additions and 30071 deletions
+24
View File
@@ -358,6 +358,29 @@ def full_analysis(code):
candle = analyze_candlestick(q)
vol = analyze_volume(q)
# 多周期+均线分析(整合 multi_timeframe
mtf = {}
try:
from multi_timeframe import full_multi_tf_analysis as _mtf
mtf_raw = _mtf(code)
if mtf_raw and 'daily' in mtf_raw:
d = mtf_raw['daily']
mtf = {
'mas': d.get('mas', {}),
'multi_tf_sr': d.get('support_resistance', {}),
'trend': d.get('trend', {}),
}
# 周线弱压/弱撑作为中周期参考
if 'weekly' in mtf_raw:
w = mtf_raw['weekly']
ws = w.get('support_resistance', {})
mtf['weekly_sr'] = {
'weak_resist': ws.get('weak_resist'),
'weak_support': ws.get('weak_support'),
}
except Exception:
pass # non-critical, graceful degradation
result = {
"quote": {
"name": q["name"],
@@ -373,6 +396,7 @@ def full_analysis(code):
"support_resistance": sr,
"candlestick": candle,
"volume": vol,
"multi_tf": mtf,
"analyzed_at": datetime.now().strftime("%H:%M"),
}