fix(trend): align hub and four-exchange trend plan display
Unify gate_bot with shared enrich_trend_plan for strategy pages and hub monitor, reconcile DCA avg with live entry price, and fix missing fill price display. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -391,11 +391,13 @@
|
||||
: null;
|
||||
if (exchange != null && !Number.isFinite(exchange)) exchange = null;
|
||||
const entry =
|
||||
p.entry_price != null && p.entry_price !== ""
|
||||
? Number(p.entry_price)
|
||||
: t.trigger_price != null
|
||||
? Number(t.trigger_price)
|
||||
: null;
|
||||
t.avg_entry_price != null && t.avg_entry_price !== ""
|
||||
? Number(t.avg_entry_price)
|
||||
: p.entry_price != null && p.entry_price !== ""
|
||||
? Number(p.entry_price)
|
||||
: t.trigger_price != null
|
||||
? Number(t.trigger_price)
|
||||
: null;
|
||||
let mark =
|
||||
markOverride != null && Number.isFinite(Number(markOverride))
|
||||
? Number(markOverride)
|
||||
|
||||
Reference in New Issue
Block a user