Commit 744755f
authored
fix(energy-complex): suppress EIA price cards when live tape covers same commodity (koala73#2009)
EIA wtiPrice/brentPrice are weekly survey data (can be a week stale)
while the live tape shows real-time Yahoo Finance futures for CL=F and
BZ=F. Showing both together produced two different prices for WTI and
Brent with no context, confusing users.
When the live tape has live data for CL=F or BZ=F, hide the
corresponding EIA price card. EIA production and inventory metrics
(the unique value of that data source) are always shown.1 parent ab53df8 commit 744755f
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | | - | |
40 | | - | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
0 commit comments