convert str to list
Browse files- utils/ui_helper.py +2 -0
utils/ui_helper.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
# app.py
|
|
|
2 |
from datetime import datetime
|
3 |
import streamlit as st
|
4 |
import plotly.graph_objects as go
|
@@ -175,6 +176,7 @@ def main_algo_trader():
|
|
175 |
# Checkpoint: ask user whether they want portfolio weights
|
176 |
if csv:
|
177 |
st.markdown(recent_selected_stocks)
|
|
|
178 |
|
179 |
|
180 |
# chinese
|
|
|
1 |
# app.py
|
2 |
+
import ast
|
3 |
from datetime import datetime
|
4 |
import streamlit as st
|
5 |
import plotly.graph_objects as go
|
|
|
176 |
# Checkpoint: ask user whether they want portfolio weights
|
177 |
if csv:
|
178 |
st.markdown(recent_selected_stocks)
|
179 |
+
stocks = ast.literal_eval(recent_selected_stocks)
|
180 |
|
181 |
|
182 |
# chinese
|