WM Rebalance v4.2
J. Mercer BD-0451
Data Feeds
Cost Basis
2,847 positions · Updated 09:14
OK
Model Targets
18 models · Refreshed 09:14
OK
Eligible Securities
4,102 of 4,319 resolved
Review
Run Configuration
%
$
%
days
%
Execution Controls
API Pricing
Real-time bid/ask from execution broker
Active
Raise Cash Mode
Sell overweight first, pro-rata across lots
Pro-Rata
Concentration Policy
Max 8% per position at target weight
Enforced
Model Selection
Model Name Strategy Accounts AUM Securities Status Last Rebalance
Account Scope 412 of 428 accounts selected
%
Skip accounts with active locks
Skip accounts without model assignment
Cash & Liquidity Manage cash positions and raise requirements
% of portfolio
$
Preserve cash for fees
Reserve 0.25% for advisory fees
Avoid fractional shares
Round trades to whole share quantities
Output & Reporting Configure delivery and format options
Report Formats
Delivery
Execution Routing
Auto-submit approved orders
Skip manual approval for clean trades
Pre-Run Validation 6 of 6 checks passed
Cost Basis Loaded
2,847 positions resolved
Pass
Model Targets Current
18 models · No stale targets
Pass
Pricing Complete
4,102 of 4,319 resolved
Partial
Restrictions Synced
12 active locks · 2 full blocks
Pass
Wash Sale Check
0 violations · 3 wash windows active
Pass
Concentration Policy
8% max position · 35% max sector
Pass
Exceptions Review 4 categories · 47 items
Restrictions 12 accounts with buy/sell locks
12
Tax-Loss Harvesting 18 candidates identified · est. $142K savings
18
Non-Model Holdings 9 positions · $3.2M not in target model
9
Sector Replacement 8 substitutions pending review
8
Sector Allocation Matrix Current vs. Target
Sector Current % Target % Delta Current $ Target $ Actions
All feeds available | Run: 2025-Q2-Rebalance | 9 models · 412 accounts · 2,847 positions
+ (n / 1000000).toFixed(1) + 'M'; } function renderModelTable() { const tbody = document.getElementById('modelTableBody'); tbody.innerHTML = modelData.map((m, i) => { const statusBadge = m.status === 'Active' ? 'badge-teal' : m.status === 'Under Review' ? 'badge-amber' : 'badge-slate'; return ` ${m.name} ${m.strategy} ${m.accounts} ${formatModelCurrency(m.aum)} ${m.securities} ${m.status} ${m.lastRebal} `; }).join(''); updateScopeCount(); } function toggleModel(idx, checked) { modelData[idx].selected = checked; document.getElementById('modelCheckAll').checked = modelData.every(m => m.selected); updateScopeCount(); } function toggleAllModels(checked) { modelData.forEach((m, i) => m.selected = checked); document.querySelectorAll('.model-check').forEach(cb => cb.checked = checked); document.getElementById('modelCheckAll').checked = checked; updateScopeCount(); } function updateScopeCount() { const selectedModels = modelData.filter(m => m.selected); const totalAccounts = selectedModels.reduce((s, m) => s + m.accounts, 0); document.getElementById('accountScopeCount').textContent = `${totalAccounts} of 428 accounts selected`; } renderModelTable(); // Restrictions Data const restrictionsData = [ { account: 'ACT-00891', client: 'Hargrove Family Trust', type: 'Sell Lock', security: 'AAPL', reason: 'Earnings blackout until 07/15', added: '06/01/25' }, { account: 'ACT-01204', client: 'Whitmore Charitable Foundation', type: 'Buy Lock', security: 'XOM', reason: 'ESG exclusion list', added: '05/28/25' }, { account: 'ACT-00455', client: 'Dr. Patricia Chen', type: 'Sell Lock', security: 'MSFT', reason: 'Concentrated position review', added: '06/10/25' }, { account: 'ACT-01987', client: 'Kelley Retirement Plan', type: 'Full Lock', security: 'All', reason: 'Account transfer in progress', added: '06/12/25' }, { account: 'ACT-00322', client: 'Abernathy Living Trust', type: 'Sell Lock', security: 'NVDA', reason: 'Earnings blackout until 07/22', added: '06/08/25' }, { account: 'ACT-00789', client: 'Morrison Family Office', type: 'Buy Lock', security: 'MO', reason: 'Tobacco exclusion', added: '01/15/25' }, { account: 'ACT-01560', client: 'Greystone Endowment', type: 'Sell Lock', security: 'AMZN', reason: 'IPO lock-up period', added: '06/05/25' }, { account: 'ACT-02103', client: 'Zhang Qualified Plan', type: 'Buy Lock', security: 'LMT', reason: 'Defense exclusion list', added: '03/20/25' }, { account: 'ACT-00971', client: 'Torres Marital Trust', type: 'Sell Lock', security: 'GOOGL', reason: 'Concentrated position review', added: '06/11/25' }, { account: 'ACT-01845', client: 'Patel Family Trust', type: 'Full Lock', security: 'All', reason: 'Legal hold — pending litigation', added: '06/13/25' }, { account: 'ACT-00614', client: 'Foster Charitable Remainder', type: 'Buy Lock', security: 'BA', reason: 'ESG exclusion list', added: '04/01/25' }, { account: 'ACT-02338', client: 'Nguyen Profit Sharing', type: 'Sell Lock', security: 'TSLA', reason: 'Earnings blackout until 07/29', added: '06/09/25' }, ]; // Tax Loss Data const taxLossData = [ { security: 'DIS', lot: '04/15/2024', unrealizedLoss: -18420, stGain: true, washRisk: false, savings: 6815 }, { security: 'PYPL', lot: '06/22/2024', unrealizedLoss: -42100, stGain: true, washRisk: false, savings: 15577 }, { security: 'NKE', lot: '02/10/2024', unrealizedLoss: -12850, stGain: false, washRisk: true, savings: 3058 }, { security: 'INTC', lot: '09/08/2024', unrealizedLoss: -31200, stGain: true, washRisk: false, savings: 11544 }, { security: 'PFE', lot: '11/01/2024', unrealizedLoss: -9700, stGain: false, washRisk: false, savings: 2309 }, { security: 'BA', lot: '01/20/2025', unrealizedLoss: -8340, stGain: true, washRisk: false, savings: 3086 }, { security: 'VFC', lot: '03/18/2024', unrealizedLoss: -6200, stGain: false, washRisk: true, savings: 1476 }, { security: 'PARA', lot: '07/12/2024', unrealizedLoss: -22100, stGain: true, washRisk: false, savings: 8177 }, { security: 'AAL', lot: '05/05/2024', unrealizedLoss: -15300, stGain: true, washRisk: false, savings: 5661 }, { security: 'WBA', lot: '08/19/2024', unrealizedLoss: -19850, stGain: false, washRisk: false, savings: 4724 }, { security: 'SNAP', lot: '10/30/2024', unrealizedLoss: -7600, stGain: true, washRisk: false, savings: 2812 }, { security: 'NCLH', lot: '12/15/2024', unrealizedLoss: -11900, stGain: false, washRisk: false, savings: 2832 }, { security: 'M', lot: '01/28/2025', unrealizedLoss: -5400, stGain: true, washRisk: false, savings: 1998 }, { security: 'LYFT', lot: '03/05/2024', unrealizedLoss: -26700, stGain: true, washRisk: false, savings: 9879 }, { security: 'RIVN', lot: '06/11/2024', unrealizedLoss: -14300, stGain: true, washRisk: true, savings: 5291 }, { security: 'UPST', lot: '09/25/2024', unrealizedLoss: -37400, stGain: true, washRisk: false, savings: 13838 }, { security: 'ZIM', lot: '11/14/2024', unrealizedLoss: -8100, stGain: false, washRisk: false, savings: 1928 }, { security: 'RBLX', lot: '02/22/2025', unrealizedLoss: -11200, stGain: true, washRisk: false, savings: 4144 }, ]; // Non-Model Holdings const nonModelData = [ { account: 'ACT-00891', security: 'BRK.B', shares: 1200, value: 487200, source: 'Legacy', action: 'Review for sell-down' }, { account: 'ACT-00455', security: 'GOOGL', shares: 850, value: 161500, source: 'Concentrated', action: 'Graduated sell' }, { account: 'ACT-01204', security: 'TSLA', shares: 420, value: 134400, source: 'Legacy', action: 'Review for sell-down' }, { account: 'ACT-01987', security: 'META', shares: 600, value: 342000, source: 'Concentrated', action: 'Graduated sell' }, { account: 'ACT-00789', security: 'AMZN', shares: 1100, value: 242000, source: 'Legacy', action: 'Review for sell-down' }, { account: 'ACT-01560', security: 'NVDA', shares: 380, value: 513000, source: 'Concentrated', action: 'Hold — monitor' }, { account: 'ACT-00322', security: 'AAPL', shares: 2200, value: 523600, source: 'Concentrated', action: 'Graduated sell' }, { account: 'ACT-00971', security: 'MSFT', shares: 700, value: 325500, source: 'Legacy', action: 'Review for sell-down' }, { account: 'ACT-02103', security: 'V', shares: 900, value: 313200, source: 'Legacy', action: 'Review for sell-down' }, ]; // Sector Replacement Blotter const sectorBlotter = [ { primary: 'TMUS', alt1: 'NFLX', alt2: 'DIS', decision: 'Replace', buyStatus: 'Ready', target: 3.50, heldPrimary: 2.10, attributedAlt: 0.80, remainingGap: 0.60, headroom: 1.40, heldAltTreatment: 'Sell', dns: false, protect: false }, { primary: 'TGT', alt1: 'DECK', alt2: 'VFC', decision: 'Replace', buyStatus: 'Ready', target: 10.00, heldPrimary: 7.20, attributedAlt: 1.50, remainingGap: 1.30, headroom: 2.10, heldAltTreatment: 'Sell', dns: false, protect: false }, { primary: 'DECK', alt1: 'DECK', alt2: 'NKE', decision: 'Replace', buyStatus: 'Partial', target: 10.00, heldPrimary: 7.20, attributedAlt: 0.80, remainingGap: 2.00, headroom: 1.60, heldAltTreatment: 'Sell', dns: true, protect: false }, { primary: 'AVGO', alt1: 'AVGO', alt2: 'INTC', decision: 'Replace', buyStatus: 'Ready', target: 28.00, heldPrimary: 22.40, attributedAlt: 2.10, remainingGap: 3.50, headroom: 0.80, heldAltTreatment: 'Sell', dns: false, protect: false }, { primary: 'COST', alt1: 'COST', alt2: 'WBA', decision: 'Replace', buyStatus: 'Ready', target: 6.50, heldPrimary: 4.20, attributedAlt: 0.50, remainingGap: 1.80, headroom: 2.20, heldAltTreatment: 'Sell', dns: false, protect: false }, { primary: 'LLY', alt1: 'LLY', alt2: 'PFE', decision: 'Replace', buyStatus: 'Blocked', target: 15.00, heldPrimary: 10.50, attributedAlt: 1.80, remainingGap: 2.70, headroom: 0.40, heldAltTreatment: 'DNS', dns: true, protect: false }, { primary: 'DAL', alt1: 'DAL', alt2: 'AAL', decision: 'Replace', buyStatus: 'Ready', target: 9.50, heldPrimary: 6.80, attributedAlt: 0.90, remainingGap: 1.80, headroom: 1.20, heldAltTreatment: 'Sell', dns: false, protect: true }, { primary: 'NFLX', alt1: 'NFLX', alt2: 'PARA', decision: 'Replace', buyStatus: 'Ready', target: 3.50, heldPrimary: 1.90, attributedAlt: 0.40, remainingGap: 1.20, headroom: 1.80, heldAltTreatment: 'Sell', dns: false, protect: false }, ]; // Drawer Logic function openDrawer(type) { const overlay = document.getElementById('drawerOverlay'); const panel = document.getElementById('drawerPanel'); const title = document.getElementById('drawerTitle'); const body = document.getElementById('drawerBody'); const footer = document.getElementById('drawerFooter'); const actionBtn = document.getElementById('drawerAction'); const iconEl = document.getElementById('drawerIcon'); let content = ''; if (type === 'restrictions') { iconEl.innerHTML = ''; title.textContent = 'Account Restrictions'; content = `
ErrorFull locks block all trading — must fix before run. Review requiredPartial locks exclude specific trades — run can continue.
${restrictionsData.map(r => ``).join('')}
Account Client Type Security Reason
${r.account} ${r.client} ${r.type} ${r.security} ${r.reason}
`; } else if (type === 'taxloss') { iconEl.innerHTML = ''; title.textContent = 'Tax-Loss Harvesting Review'; content = `
Harvesting Policy
${taxLossData.length} positions with unrealized losses eligible for tax-loss harvesting. Estimated savings: $142K.
${taxLossData.map(t => ``).join('')}
Ticker Lot Date Unrealized Loss ST Wash Est. Savings
${t.security} ${t.lot} ($${Math.abs(t.unrealizedLoss).toLocaleString()}) ${t.stGain ? 'ST' : 'LT'} ${t.washRisk ? 'Risk' : '—'} $${t.savings.toLocaleString()}
`; } else if (type === 'nonmodel') { iconEl.innerHTML = ''; title.textContent = 'Non-Model Holdings'; content = `
${nonModelData.length} positions ($3.2M) not present in target model allocation.
${nonModelData.map(n => ``).join('')}
Account Security Shares Value Source Proposed Action
${n.account} ${n.security} ${n.shares.toLocaleString()} $${n.value.toLocaleString()} ${n.source} ${n.action}
`; } else if (type === 'sector') { iconEl.innerHTML = ''; title.textContent = 'Sector Replacement Blotter'; content = `
${sectorBlotter.length} proposed substitutions — review allocation impact before applying
Ready tradeable Partial restricted Blocked must fix
${sectorBlotter.map((s, i) => { const buyBadge = s.buyStatus === 'Ready' ? 'badge-teal' : s.buyStatus === 'Partial' ? 'badge-amber' : 'badge-red'; const treatBadge = s.heldAltTreatment === 'Sell' ? 'badge-neutral' : s.heldAltTreatment === 'DNS' ? 'badge-orange' : 'badge-slate'; const gapColor = s.remainingGap > 1.5 ? '#b45309' : s.remainingGap > 0.8 ? '#495057' : '#868e96'; const gapW = s.remainingGap > 1.5 ? '600' : '400'; const headColor = s.headroom < 0.5 ? '#e03131' : s.headroom < 1.0 ? '#b45309' : '#0ca678'; const headW = s.headroom < 0.5 ? '700' : s.headroom < 1.0 ? '600' : '400'; const rowBg = i % 2 === 1 ? 'background:#fafbfc' : ''; return ``; }).join('')}
Substitution Allocation % Treatment
Primary Alt 1 Alt 2 Decision Buy status Target Held pri Attr alt Rem gap Headroom Held alt DNS Protect
${s.primary} ${s.alt1} ${s.alt2} ${s.decision} ${s.buyStatus} ${s.target.toFixed(1)} ${s.heldPrimary.toFixed(1)} ${s.attributedAlt.toFixed(1)} ${s.remainingGap.toFixed(1)} ${s.headroom.toFixed(1)} ${s.heldAltTreatment} ${s.dns ? '✓' : '—'} ${s.protect ? '✓' : '—'}
`; } body.innerHTML = content; overlay.classList.add('open'); panel.classList.add('open'); lucide.createIcons(); drawerDirty = false; drawerSnapshot = document.getElementById('drawerBody').innerHTML; const applyBtn = document.getElementById('drawerApplyBtn'); if (applyBtn) applyBtn.disabled = true; attachDrawerListeners(); } // Drawer state management let drawerDirty = false; let drawerSnapshot = ''; function markDrawerDirty() { drawerDirty = true; const applyBtn = document.getElementById('drawerApplyBtn'); if (applyBtn) applyBtn.disabled = false; } function attachDrawerListeners() { const body = document.getElementById('drawerBody'); body.querySelectorAll('input, select, textarea').forEach(el => { el.addEventListener('change', markDrawerDirty); el.addEventListener('input', markDrawerDirty); }); } function closeDrawer() { drawerDirty = false; document.getElementById('drawerOverlay').classList.remove('open'); document.getElementById('drawerPanel').classList.remove('open'); } function cancelDrawer() { closeDrawer(); } function resetDrawer() { if (drawerSnapshot) { document.getElementById('drawerBody').innerHTML = drawerSnapshot; drawerDirty = false; const applyBtn = document.getElementById('drawerApplyBtn'); if (applyBtn) applyBtn.disabled = true; lucide.createIcons(); attachDrawerListeners(); } } function applyDrawer() { if (!drawerDirty) return; drawerDirty = false; document.getElementById('drawerOverlay').classList.remove('open'); document.getElementById('drawerPanel').classList.remove('open'); showToast('Changes applied successfully'); } // Keyboard close document.addEventListener('keydown', (e) => { if (e.key === 'Escape') cancelDrawer(); }); // Toast function showToast(msg, type = 'success') { const toast = document.getElementById('toast'); const toastMsg = document.getElementById('toastMsg'); const toastIcon = document.getElementById('toastIcon'); toastMsg.textContent = msg; toast.style.transform = 'translateX(0)'; if (type === 'error') { toastIcon.className = 'w-4 h-4 text-red-500'; toastIcon.setAttribute('data-lucide', 'alert-circle'); } else { toastIcon.className = 'w-4 h-4 text-teal-600'; toastIcon.setAttribute('data-lucide', 'check-circle'); } lucide.createIcons(); setTimeout(() => { toast.style.transform = 'translateX(120%)'; }, 3000); } function runChecks() { showToast('All inputs validated — 2,847 positions ready across 412 accounts'); } function runRebalance() { const btn = document.getElementById('runBtn'); btn.disabled = true; btn.innerHTML = ' Running...'; lucide.createIcons(); setTimeout(() => { btn.disabled = false; btn.innerHTML = ' Run Rebalance'; lucide.createIcons(); showToast('Rebalance run 2025-Q2-Rebalance completed — 1,247 orders generated'); }, 2500); }