Replicate the app from the image.
To upload files, please first save the app
import streamlit as st
# Set page config for dark theme
st.set_page_config(page_title="TradeOxy Terminal", layout="wide")
# Custom CSS for dark theme and styling
st.markdown("""
<style>
.stApp {
background-color: #0E1117;
color: white;
}
.stSelectbox {
background-color: #262730;
}
.css-1d391kg {
padding-top: 1rem;
}
</style>
""", unsafe_allow_html=True)
# Main title
st.title("TradeOxy Terminal")
# Create columns for the options
col1, col2, col3, col4 = st.columns(4)
with col1:
st.markdown("Use Settings File")
settings = st.selectbox(
"",
["Select an option"],
key="settings"
)
with col2:
st.markdown("Alert Listener")
alert = st.selectbox(
"",
["Select an alerting option"],
key="alert"
)
with col3:
st.markdown("Trading Platform")
platform = st.selectbox(
"",
["Select a trading platform", "Alpaca", "MetaTrader 5"],
key="platform"
)
with col4:
st.markdown("Make Trades")
trades = st.selectbox(
"",
["Select an option"],
key="trades"
)
# Status box
st.text_input("Status", "", disabled=True)
# Intelligence Copilot section
st.markdown("## TradeOxy Intelligence Copilot")
# Add small blue circle indicator
st.markdown("""
<div style='display: flex; align-items: center;'>
<span>TradeOxy Intelligence Copilot</span>
<div style='
width: 10px;
height: 10px;
background-color: #4A90E2;
border-radius: 50%;
margin-left: 10px;
'></div>
</div>
""", unsafe_allow_html=True)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?