David Li commited on
Commit
0ccb779
·
1 Parent(s): daa1908

fix: update symbols

Browse files
Files changed (1) hide show
  1. pages/etf.py +4 -2
pages/etf.py CHANGED
@@ -1,6 +1,8 @@
1
  import streamlit as st
 
2
  from openbb_terminal.etf.stockanalysis_model import get_all_names_symbols
3
 
4
  etf_symbols = get_all_names_symbols()
5
-
6
- st.write(etf_symbols)
 
 
1
  import streamlit as st
2
+ import pandas as pd
3
  from openbb_terminal.etf.stockanalysis_model import get_all_names_symbols
4
 
5
  etf_symbols = get_all_names_symbols()
6
+ etf_dict = {'Symbols': etf_symbols[0], 'Names': etf_symbols[1]}
7
+ etf_df = pd.DataFrame(etf_dict)
8
+ st.write(etf_df)