Umerpy commited on
Commit
15c0d97
Β·
verified Β·
1 Parent(s): eb6c9c3

Upload 2 files

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. app.py +160 -0
  3. static/mylogo.png +3 -0
.gitattributes CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  backend/static/mylogo.png filter=lfs diff=lfs merge=lfs -text
37
  frontend/static/mylogo.png filter=lfs diff=lfs merge=lfs -text
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  backend/static/mylogo.png filter=lfs diff=lfs merge=lfs -text
37
  frontend/static/mylogo.png filter=lfs diff=lfs merge=lfs -text
38
+ static/mylogo.png filter=lfs diff=lfs merge=lfs -text
app.py ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # import streamlit as st
2
+ # import random
3
+ # import time
4
+
5
+ # st.set_page_config(page_title="Uzair Forex Club", layout="centered")
6
+
7
+ # # --- Header ---
8
+ # st.markdown(
9
+ # """
10
+ # <div style="text-align:center;">
11
+ # <div style="width:100px;height:100px;border-radius:50%;
12
+ # background:linear-gradient(to bottom right,#dc2626,#7f1d1d);
13
+ # display:flex;align-items:center;justify-content:center;
14
+ # margin:auto;border:4px solid white;overflow:hidden;">
15
+ # <img src="http://127.0.0.1:8000/static/mylogo.png"
16
+ # style="width:90%;height:90%;object-fit:cover;border-radius:50%;" />
17
+ # </div>
18
+ # <h1 style="
19
+ # color:#FFD700; /* gold color */
20
+ # font-family:'Poppins', sans-serif;
21
+ # font-size:40px;
22
+ # letter-spacing:5px;
23
+ # margin-top:10px;
24
+ # text-shadow:2px 2px 6px rgba(0,0,0,0.5);
25
+ # ">
26
+ # Uzair Forex Club
27
+ # </h1>
28
+ # </div>
29
+ # """,
30
+ # unsafe_allow_html=True
31
+ # )
32
+
33
+ # # --- Platform Selector ---
34
+ # platforms = ['QUOTEX', 'POCKET OPTION', 'BINOMO', 'OLYMP', 'IQ OPTION', 'EXPERT OPTION']
35
+ # platform = st.selectbox("πŸ“± Select Platform", platforms)
36
+
37
+ # # --- Currency Pair Selector ---
38
+ # currency_pairs = [
39
+ # 'USD/BRL (OTC)', 'USD/BRL (CTC)', 'USD/ARS (OTC)', 'USD/DZD (OTC)',
40
+ # 'USD/COP (OTC)', 'CAD/CHF (OTC)', 'USD/BDT (OTC)', 'USD/PKR (OTC)'
41
+ # ]
42
+ # currency = st.selectbox("πŸ’± Select Currency Pair", currency_pairs)
43
+
44
+ # # --- Timeframe Selector ---
45
+ # timeframes = ['5s', '10s', '15s', '30s', '1m', '2m','5m']
46
+ # timeframe = st.selectbox("⏱ Select Timeframe", timeframes)
47
+
48
+ # # --- Signal Generation ---
49
+ # if st.button("πŸš€ GET SIGNAL"):
50
+ # with st.spinner("Generating signal..."):
51
+ # time.sleep(1)
52
+ # signal = random.choice(["BUY", "SELL"])
53
+ # countdown = random.randint(10, 30)
54
+ # st.success(f"**Signal:** {signal}")
55
+
56
+ # placeholder = st.empty() # Create an area to update countdown
57
+
58
+ # # Countdown loop
59
+ # for i in range(countdown, 0, -1):
60
+ # placeholder.markdown(
61
+ # f"<div style='text-align:center;color:#00FFFF;font-size:18px;'>Next in <b>{i}</b> seconds ⏳</div>",
62
+ # unsafe_allow_html=True
63
+ # )
64
+ # time.sleep(1)
65
+
66
+ # placeholder.markdown(
67
+ # "<div style='text-align:center;color:gray;font-size:16px;'>Next signal available now βœ…</div>",
68
+ # unsafe_allow_html=True
69
+ # )
70
+
71
+ # # Show signal
72
+ # if signal == "BUY":
73
+ # st.markdown(
74
+ # "<div style='color:lime;font-size:40px;text-align:center;font-weight:bold;'>BUY πŸ”Ό</div>",
75
+ # unsafe_allow_html=True,
76
+ # )
77
+ # else:
78
+ # st.markdown(
79
+ # "<div style='color:red;font-size:40px;text-align:center;font-weight:bold;'>SELL πŸ”½</div>",
80
+ # unsafe_allow_html=True,
81
+ # )
82
+
83
+ import streamlit as st
84
+ import random
85
+ import time
86
+ import os
87
+ os.environ["STREAMLIT_CONFIG_DIR"] = "/tmp"
88
+
89
+
90
+ st.set_page_config(page_title="UZAIR FOREZ CLUB", layout="centered")
91
+
92
+ st.markdown(
93
+ """
94
+ <div style="text-align:center;">
95
+ <div style="width:100px;height:100px;border-radius:50%;
96
+ background:linear-gradient(to bottom right,#dc2626,#7f1d1d);
97
+ display:flex;align-items:center;justify-content:center;
98
+ margin:auto;border:4px solid white;overflow:hidden;">
99
+ <img src="static/mylogo.png"
100
+ style="width:90%;height:90%;object-fit:cover;border-radius:50%;" />
101
+ </div>
102
+ <h1 style="
103
+ color:#FFD700; /* gold color */
104
+ font-family:'Poppins', sans-serif;
105
+ font-size:40px;
106
+ letter-spacing:5px;
107
+ margin-top:10px;
108
+ text-shadow:2px 2px 6px rgba(0,0,0,0.5);
109
+ ">
110
+ UZAIR FOREX CLUB
111
+ </h1>
112
+ </div>
113
+ """,
114
+ unsafe_allow_html=True
115
+ )
116
+
117
+ platforms = ['QUOTEX', 'POCKET OPTION', 'BINOMO', 'OLYMP', 'IQ OPTION', 'EXPERT OPTION']
118
+ currency_pairs = [
119
+ 'USD/BRL (OTC)', 'USD/BRL (CTC)', 'USD/ARS (OTC)', 'USD/DZD (OTC)',
120
+ 'USD/COP (OTC)', 'CAD/CHF (OTC)', 'USD/BDT (OTC)', 'USD/PKR (OTC)'
121
+ ]
122
+ timeframes = ['5s', '10s', '15s', '30s', '1m', '2m', '5m']
123
+
124
+ platform = st.selectbox("πŸ“± Select Platform", platforms)
125
+ currency = st.selectbox("πŸ’± Select Currency Pair", currency_pairs)
126
+ timeframe = st.selectbox("⏱ Select Timeframe", timeframes)
127
+
128
+ if st.button("πŸš€ GET SIGNAL"):
129
+ # Show spinner for a short time before signal
130
+ with st.spinner("πŸ” Generating signal... Please wait"):
131
+ time.sleep(1.5)
132
+ signal = random.choice(["BUY", "SELL"])
133
+ countdown = random.randint(10, 30)
134
+
135
+ st.success(f"βœ… Signal generated: **{signal}**")
136
+
137
+ # Countdown display
138
+ placeholder = st.empty()
139
+ for i in range(countdown, 0, -1):
140
+ placeholder.markdown(
141
+ f"<div style='text-align:center;color:#00FFFF;font-size:18px;'>Next in <b>{i}</b> seconds ⏳</div>",
142
+ unsafe_allow_html=True
143
+ )
144
+ time.sleep(1)
145
+ placeholder.markdown(
146
+ "<div style='text-align:center;color:gray;font-size:16px;'>Next signal available now βœ…</div>",
147
+ unsafe_allow_html=True
148
+ )
149
+
150
+ # Show signal
151
+ if signal == "BUY":
152
+ st.markdown(
153
+ "<div style='color:lime;font-size:40px;text-align:center;font-weight:bold;'>BUY πŸ”Ό</div>",
154
+ unsafe_allow_html=True,
155
+ )
156
+ else:
157
+ st.markdown(
158
+ "<div style='color:red;font-size:40px;text-align:center;font-weight:bold;'>SELL πŸ”½</div>",
159
+ unsafe_allow_html=True,
160
+ )
static/mylogo.png ADDED

Git LFS Details

  • SHA256: 9ccb805e28705c85cc5312e5640156c7b337f34b6b30db2cb66d837f38db766d
  • Pointer size: 131 Bytes
  • Size of remote file: 566 kB