fix: 盯盘买入区间加中值(修正为renderWatch主表格)
This commit is contained in:
+1
-1
@@ -1586,7 +1586,7 @@ async function renderWatch() {
|
||||
const shares = s.shares || 0;
|
||||
const posPct = s.position_pct || 0;
|
||||
|
||||
const buyZone = (el_ && eh_) ? el_.toFixed(2) + '~' + eh_.toFixed(2) : '—';
|
||||
const buyZone = (el_ && eh_) ? el_.toFixed(2) + '~' + eh_.toFixed(2) + '(中' + ((el_+eh_)/2).toFixed(2) + ')' : '—';
|
||||
const sltp = (sl_ || tp_) ? '损' + (sl_||'—') + '/盈' + (tp_||'—') : '—';
|
||||
const posDisplay = (isRec && s.suggested_position_pct)
|
||||
? '建议' + s.suggested_position_pct + '%'
|
||||
|
||||
Reference in New Issue
Block a user