switch to current standard cost
This commit is contained in:
parent
4f903cfd7f
commit
5cf94da815
@ -77,7 +77,7 @@ SELECT
|
||||
,sel.avgfc
|
||||
,sel.avgwt
|
||||
,t.price
|
||||
,round(CASE WHEN coalesce(t.price,0) <> 0 THEN (t.price-COALESCE(sel.avgfc,0))/t.price ELSE 0 END,3) futmarg
|
||||
,round(CASE WHEN coalesce(t.price,0) <> 0 THEN (t.price-COALESCE(sel.avgsc,0))/t.price ELSE 0 END,3) curmarg
|
||||
FROM
|
||||
sel
|
||||
LEFT OUTER JOIN pricequote.target_prices t ON
|
||||
|
Loading…
Reference in New Issue
Block a user