Spaces:
Build error
Build error
Download pages/etf.py from FriendlyUser/openbb_analyzer: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/FriendlyUser/openbb_analyzer/resolve/main/pages/etf.py
- Command line
-
hf download hf://spaces/FriendlyUser/openbb_analyzer/pages/etf.py
-
curl -L -o etf.py https://huggingface.co/spaces/FriendlyUser/openbb_analyzer/resolve/main/pages/etf.py
268 Bytes
| import streamlit as st | |
| import pandas as pd | |
| from openbb_terminal.etf.stockanalysis_model import get_all_names_symbols | |
| etf_symbols = get_all_names_symbols() | |
| etf_dict = {'Symbols': etf_symbols[0], 'Names': etf_symbols[1]} | |
| etf_df = pd.DataFrame(etf_dict) | |
| st.write(etf_df) |