Skip to content

Commit 3c435cc

Browse files
add
1 parent 92e0cbc commit 3c435cc

File tree

1 file changed

+212
-0
lines changed

1 file changed

+212
-0
lines changed

docs/index.html

+212
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>TrendMaster: Advanced Stock Price Prediction</title>
7+
<style>
8+
:root {
9+
--primary-color: #2563EB;
10+
--secondary-color: #10B981;
11+
--text-color: #1F2937;
12+
--background-color: #F9FAFB;
13+
}
14+
body {
15+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
16+
line-height: 1.6;
17+
color: var(--text-color);
18+
max-width: 800px;
19+
margin: 0 auto;
20+
padding: 20px;
21+
background-color: var(--background-color);
22+
}
23+
.header {
24+
text-align: center;
25+
padding: 2rem 0;
26+
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
27+
color: white;
28+
border-radius: 10px;
29+
margin-bottom: 2rem;
30+
}
31+
.header h1 {
32+
margin: 0;
33+
font-size: 2.5rem;
34+
}
35+
.badges {
36+
display: flex;
37+
justify-content: center;
38+
flex-wrap: wrap;
39+
gap: 10px;
40+
margin-top: 1rem;
41+
}
42+
.badge {
43+
background-color: rgba(255,255,255,0.2);
44+
padding: 5px 10px;
45+
border-radius: 20px;
46+
font-size: 0.8rem;
47+
}
48+
.section {
49+
background-color: white;
50+
border-radius: 10px;
51+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
52+
padding: 1.5rem;
53+
margin-bottom: 1.5rem;
54+
}
55+
pre {
56+
background-color: #f4f4f4;
57+
border-radius: 5px;
58+
padding: 1rem;
59+
overflow-x: auto;
60+
}
61+
.cta-button {
62+
display: inline-block;
63+
background-color: var(--primary-color);
64+
color: white;
65+
padding: 12px 24px;
66+
text-decoration: none;
67+
border-radius: 8px;
68+
font-weight: bold;
69+
transition: transform 0.3s ease;
70+
}
71+
.cta-button:hover {
72+
transform: translateY(-3px);
73+
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
74+
}
75+
.project-links {
76+
display: flex;
77+
justify-content: center;
78+
gap: 1rem;
79+
margin-top: 1.5rem;
80+
}
81+
.project-links a {
82+
color: var(--primary-color);
83+
text-decoration: none;
84+
font-weight: bold;
85+
}
86+
.footer {
87+
text-align: center;
88+
padding: 1rem 0;
89+
color: #6B7280;
90+
}
91+
.performance-images {
92+
display: flex;
93+
flex-wrap: wrap;
94+
justify-content: center;
95+
gap: 1rem;
96+
}
97+
.performance-images img {
98+
max-width: 100%;
99+
border-radius: 10px;
100+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
101+
}
102+
@media (max-width: 600px) {
103+
body {
104+
padding: 10px;
105+
}
106+
.header h1 {
107+
font-size: 2rem;
108+
}
109+
}
110+
</style>
111+
</head>
112+
<body>
113+
<div class="header">
114+
<h1>🚀 TrendMaster</h1>
115+
<p>Advanced Stock Price Prediction using Transformer Deep Learning</p>
116+
<div class="badges">
117+
<span class="badge">Python 3.7+</span>
118+
<span class="badge">MIT License</span>
119+
<span class="badge">GitHub Stars</span>
120+
<span class="badge">GitHub Forks</span>
121+
</div>
122+
</div>
123+
124+
<div class="section">
125+
<h2>🌟 Key Features</h2>
126+
<ul>
127+
<li>Advanced Transformer-based prediction model</li>
128+
<li>High accuracy with mean average error of just a few percentage points</li>
129+
<li>Real-time data visualization</li>
130+
<li>User-friendly interface</li>
131+
<li>Customizable model parameters</li>
132+
<li>Support for multiple stock symbols</li>
133+
</ul>
134+
</div>
135+
136+
<div class="section">
137+
<h2>🛠️ Installation</h2>
138+
<pre><code>pip install TrendMaster</code></pre>
139+
</div>
140+
141+
<div class="section">
142+
<h2>💡 Quick Start</h2>
143+
<pre><code>from trendmaster import DataLoader, TransAm, Trainer, Inferencer, set_seed
144+
145+
# Set random seed
146+
set_seed(42)
147+
148+
# Initialize data loader
149+
data_loader = DataLoader()
150+
151+
# Prepare stock data
152+
train_data, test_data = data_loader.prepare_data(
153+
symbol='RELIANCE',
154+
from_date='2023-01-01',
155+
to_date='2023-02-27',
156+
input_window=30,
157+
output_window=10
158+
)
159+
160+
# Train model
161+
model = TransAm(num_layers=2, dropout=0.2)
162+
trainer = Trainer(model, device)
163+
trainer.train(train_data, test_data)</code></pre>
164+
</div>
165+
166+
<div class="section">
167+
<h2>📊 Performance Highlights</h2>
168+
<div class="performance-images">
169+
<img src="https://github.com/user-attachments/assets/c2e7a910-3aa8-494d-958e-48199cf85459" alt="Backtest Performance">
170+
<img src="https://user-images.githubusercontent.com/12392345/125791397-a344831b-b28c-4660-b295-924cb7123872.png" alt="Prediction Accuracy">
171+
</div>
172+
</div>
173+
174+
<div class="section">
175+
<h2>🖥️ User Interface</h2>
176+
<img src="https://user-images.githubusercontent.com/12392345/125791827-a4597af0-1292-42d0-9eb1-118d7ef64cbc.png" alt="TrendMaster UI" style="max-width: 100%; border-radius: 10px;">
177+
</div>
178+
179+
<div class="project-links">
180+
<a href="https://github.com/hemangjoshi37a/TrendMaster/wiki">Documentation</a>
181+
<a href="https://github.com/hemangjoshi37a/TrendMaster/blob/main/CONTRIBUTING.md">Contribute</a>
182+
<a href="https://github.com/hemangjoshi37a/TrendMaster/blob/main/LICENSE">License</a>
183+
</div>
184+
185+
<div class="section">
186+
<h2>🌍 Connect With Us</h2>
187+
<p>
188+
<strong>Website:</strong> <a href="https://hjlabs.in/">hjlabs.in</a><br>
189+
<strong>Email:</strong> <a href="mailto:[email protected]">[email protected]</a><br>
190+
<strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/hemang-joshi-046746aa">Hemang Joshi</a>
191+
</p>
192+
</div>
193+
194+
<div class="section">
195+
<h2>🚀 Explore More Projects</h2>
196+
<div class="project-links">
197+
<a href="https://github.com/hemangjoshi37a/pyPortMan">pyPortMan</a>
198+
<a href="https://github.com/hemangjoshi37a/AutoCut">AutoCut</a>
199+
<a href="https://github.com/hemangjoshi37a/TelegramTradeMsgBacktestML">TelegramTradeMsgBacktestML</a>
200+
</div>
201+
</div>
202+
203+
<div class="section" style="text-align: center;">
204+
<h2>💡 Try hjAlgos Trading Platform</h2>
205+
<a href="https://hjalgos.hjlabs.in" class="cta-button">Explore AlgoTrading Platform</a>
206+
</div>
207+
208+
<div class="footer">
209+
<p>Created with ❤️ by <a href="https://github.com/hemangjoshi37a">Hemang Joshi</a></p>
210+
</div>
211+
</body>
212+
</html>

0 commit comments

Comments
 (0)