Skip to content

[codex] add crude oil godview index#1

Draft
perfhelf wants to merge 1 commit intomainfrom
codex/add-crude-oil-godview
Draft

[codex] add crude oil godview index#1
perfhelf wants to merge 1 commit intomainfrom
codex/add-crude-oil-godview

Conversation

@perfhelf
Copy link
Copy Markdown
Owner

What changed

  • added a synthetic USO crude oil index to the GodView engine using the same custom multi-currency basket structure already used for gold, silver, and copper
  • mapped backend data to Yahoo Finance CL=F
  • added the frontend display name and TradingView jump formula using EIGHTCAP:USOUSD
  • fixed the existing theme mount logic so the frontend lint check passes cleanly

Why it changed

USOUSD already existed in the 8H signal mapping, but the GodView site itself was still missing crude oil from the unified custom-index system. This change brings the site back into alignment with the rest of the station's formula-driven setup.

User impact

  • FXview will now show a crude oil card/index alongside the other custom indices
  • TradingView links for crude oil will open the expected EIGHTCAP:USOUSD symbol
  • the frontend codebase is left in a lint-clean state for this change set

Root cause

The GodView pipeline and frontend constants had not been updated when crude oil was added elsewhere in the ecosystem, so Yahoo data existed for oil but the site-level custom index and display wiring did not.

Validation

  • ./.venv/bin/python -m py_compile engine/godview.py
  • ./.venv/bin/python ad hoc formula check for the new USO synthetic series
  • npm run lint

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
frontend Error Error Apr 22, 2026 4:25pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant