More views in sim_db.

This commit is contained in:
Pedro Pinto committed 2020-10-26 13:37:51 -04:00
1 parent 4850d279f6
commit df552e27d6
1 file changed
+12
+12
View File
@@ -165,3 +165,15 @@ from
where
entry_type='shot_outcome';
drop view if exists faked_shot_outcomes;
create view faked_shot_outcomes as
select
run_id,
val3 symbol,
cast(val4 as real) merged_value,
cast(val5 as numeric) merged_qty,
(val6-val2) duration
from
log
where
entry_type='fake_shot_outcome';