File size: 5,362 Bytes
f7323a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
"""Financial Analysis Dashboard - Main Application Landing Page."""

import streamlit as st
from components.styles import DARK_THEME_CSS

# ---- Configuration ----
st.set_page_config(
    page_title="Financial Dashboard",
    page_icon="πŸ“ˆ",
    layout="wide",
    initial_sidebar_state="expanded",
    menu_items={
        "About": "A professional financial analysis platform with multi-asset support"
    }
)

# ---- Apply Dark Theme ----
st.markdown(DARK_THEME_CSS, unsafe_allow_html=True)

# ---- Header ----
st.markdown("# πŸ“ˆ Financial Analysis Platform")
st.markdown("### Professional multi-asset analysis with technical indicators, AI insights, and real-time data")

st.markdown("---")

# ---- Feature Overview ----
col1, col2, col3 = st.columns(3)

with col1:
    st.markdown("""
    <div style="padding: 1.5rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%); border-radius: 10px; border: 1px solid #30363d;">
        <h3>πŸ“ˆ Stock Analysis</h3>
        <p>Comprehensive stock analysis with technical indicators, financial metrics, and TradingView charts.</p>
        <ul>
            <li>Real-time price data</li>
            <li>Technical indicators (SMA, EMA, RSI)</li>
            <li>Financial statements</li>
            <li>Company profiles</li>
        </ul>
    </div>
    """, unsafe_allow_html=True)

with col2:
    st.markdown("""
    <div style="padding: 1.5rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%); border-radius: 10px; border: 1px solid #30363d;">
        <h3>β‚Ώ Cryptocurrency</h3>
        <p>Track and analyze major cryptocurrencies with real-time market data.</p>
        <ul>
            <li>BTC, ETH, and major altcoins</li>
            <li>24h volume & market cap</li>
            <li>Price charts & indicators</li>
            <li>Market sentiment</li>
        </ul>
    </div>
    """, unsafe_allow_html=True)

with col3:
    st.markdown("""
    <div style="padding: 1.5rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%); border-radius: 10px; border: 1px solid #30363d;">
        <h3>πŸ’± Forex Trading</h3>
        <p>Foreign exchange analysis for major, minor, and exotic currency pairs.</p>
        <ul>
            <li>Major pairs (EUR/USD, GBP/USD)</li>
            <li>Real-time exchange rates</li>
            <li>Technical analysis</li>
            <li>Pip calculator</li>
        </ul>
    </div>
    """, unsafe_allow_html=True)

st.markdown("<br>", unsafe_allow_html=True)

col4, col5 = st.columns(2)

with col4:
    st.markdown("""
    <div style="padding: 1.5rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%); border-radius: 10px; border: 1px solid #30363d;">
        <h3>πŸ” Market Screener</h3>
        <p>Advanced screening tools to find investment opportunities across markets.</p>
        <ul>
            <li>Multi-criteria filtering</li>
            <li>Technical pattern recognition</li>
            <li>Sort by volume, price change, RSI</li>
            <li>Export results to CSV</li>
        </ul>
    </div>
    """, unsafe_allow_html=True)

with col5:
    st.markdown("""
    <div style="padding: 1.5rem; background: linear-gradient(135deg, #1f2937 0%, #111827 100%); border-radius: 10px; border: 1px solid #30363d;">
        <h3>πŸ€– News & AI Dashboard</h3>
        <p>AI-powered market insights with sentiment analysis and trading recommendations.</p>
        <ul>
            <li>Real-time news aggregation</li>
            <li>Sentiment analysis</li>
            <li>AI trading insights</li>
            <li>Market trend detection</li>
        </ul>
    </div>
    """, unsafe_allow_html=True)

st.markdown("---")

# ---- Quick Start ----
st.markdown("## πŸš€ Quick Start")
st.markdown("Use the sidebar to navigate to different sections:")

quick_col1, quick_col2, quick_col3 = st.columns(3)

with quick_col1:
    if st.button("πŸ“ˆ Stock Analysis", use_container_width=True):
        st.switch_page("pages/01_Stocks.py")

with quick_col2:
    if st.button("β‚Ώ Cryptocurrency", use_container_width=True):
        st.info("Coming soon!")

with quick_col3:
    if st.button("πŸ’± Forex Trading", use_container_width=True):
        st.info("Coming soon!")

st.markdown("<br>", unsafe_allow_html=True)

quick_col4, quick_col5 = st.columns(2)

with quick_col4:
    if st.button("πŸ” Market Screener", use_container_width=True):
        st.info("Coming soon!")

with quick_col5:
    if st.button("πŸ€– News & AI Dashboard", use_container_width=True):
        st.info("Coming soon!")

st.markdown("---")

# ---- Sidebar ----
with st.sidebar:
    st.markdown("## πŸ“‹ Navigation")
    st.info("Select a page from the sidebar to get started.")

    st.markdown("---")
    st.markdown("## ℹ️ About")
    st.markdown("""
    This platform provides comprehensive financial analysis across multiple asset classes:

    - **Stocks**: Technical & fundamental analysis
    - **Crypto**: Real-time cryptocurrency tracking
    - **Forex**: Currency pair analysis
    - **Screener**: Find investment opportunities
    - **Dashboard**: AI-powered insights
    """)

    st.markdown("---")
    st.markdown("### πŸ”§ Features")
    st.markdown("""
    - βœ… Real-time data
    - βœ… Technical indicators
    - βœ… TradingView integration
    - βœ… Dark theme UI
    - βœ… AI-powered insights
    - βœ… News sentiment analysis
    """)