Spaces:
Build error
Build error
David Li commited on
Commit ·
0635432
1
Parent(s): e22ecc0
feat: update openbb functionality
Browse files- pages/etf.py +6 -0
- pages/news.py +1 -1
pages/etf.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from openbb_terminal.etf import symbols
|
| 3 |
+
|
| 4 |
+
etf_symbols = symbols()
|
| 5 |
+
|
| 6 |
+
st.write(etf_symbols)
|
pages/news.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
from openbb_terminal import get_news
|
| 3 |
|
| 4 |
def fetch_news(keyword):
|
| 5 |
# This is where you would call a news API or scrape a news website
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from openbb_terminal.common import get_news
|
| 3 |
|
| 4 |
def fetch_news(keyword):
|
| 5 |
# This is where you would call a news API or scrape a news website
|