aboutsummaryrefslogtreecommitdiff
path: root/services/news_service.py
diff options
context:
space:
mode:
authorTyler <tyler@tylerhoang.xyz>2026-05-14 00:00:45 -0700
committerTyler <tyler@tylerhoang.xyz>2026-05-14 00:00:45 -0700
commit1072357a6997ab273deb0cb383aa081aab448fe0 (patch)
tree78966fd1a5c497580e47b965fc1fc2429e8b52aa /services/news_service.py
parenta82246e83146d1dd7f565493215c23ff482975e6 (diff)
Make DCF sliders live — no page reruns on drag
Move all four DCF assumptions (WACC, TG, horizon, FCF growth) from st.slider widgets into the canvas iframe as native range inputs. A JavaScript runDCF() engine recomputes the full projection in the browser on every drag event, updating the verdict, bar chart (Plotly.react), cash-flow table, bridge, recon strip, and cross-check cell in place without a Streamlit round-trip. Python still runs run_dcf() once on page load (using session-state defaults) to populate dcf_intrinsic for the Multiples cross-check. The Recompute button in the rail clears API caches and reruns when fresh filing data is needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'services/news_service.py')
0 files changed, 0 insertions, 0 deletions