Spaces:
Running
Running
Jimin Huang
commited on
Commit
·
31fee89
1
Parent(s):
732f229
Change settings
Browse files- src/views/LiveView.vue +1 -1
src/views/LiveView.vue
CHANGED
|
@@ -142,7 +142,7 @@ const bhIndex = computed(() => {
|
|
| 142 |
const s = (r.strategy || '').toLowerCase()
|
| 143 |
const an = (r.agent_name || '').toLowerCase()
|
| 144 |
const m = (r.model || '').toLowerCase()
|
| 145 |
-
const isBH = s === 'buy_hold' || s === '
|
| 146 |
if (!isBH) continue
|
| 147 |
const ts = new Date(r.end_date || r.last_nav_ts || 0).getTime()
|
| 148 |
if (!Number.isFinite(ts)) continue
|
|
|
|
| 142 |
const s = (r.strategy || '').toLowerCase()
|
| 143 |
const an = (r.agent_name || '').toLowerCase()
|
| 144 |
const m = (r.model || '').toLowerCase()
|
| 145 |
+
const isBH = s === 'buy_hold' || s === 'Buy&Hold' || (an.includes('buy') && an.includes('hold')) || (m.includes('buy') && m.includes('hold'))
|
| 146 |
if (!isBH) continue
|
| 147 |
const ts = new Date(r.end_date || r.last_nav_ts || 0).getTime()
|
| 148 |
if (!Number.isFinite(ts)) continue
|