-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
203 lines (174 loc) · 6.41 KB
/
index.html
File metadata and controls
203 lines (174 loc) · 6.41 KB
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Predicting SPY Returns Using Social Market Analytics</title>
<meta name="description" content="Research on predicting SPY returns using social market analytics and machine learning">
<meta name="author" content="Joseph Loss">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: #f6f8fa;
color: #24292e;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px 0;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header h1 {
font-size: 2.2em;
font-weight: 600;
margin-bottom: 8px;
}
.header p {
font-size: 1.1em;
opacity: 0.9;
}
.nav-links {
background: white;
padding: 15px 0;
text-align: center;
border-bottom: 1px solid #e1e4e8;
}
.nav-links a {
margin: 0 20px;
color: #0366d6;
text-decoration: none;
font-weight: 500;
padding: 8px 16px;
border-radius: 6px;
transition: background-color 0.2s;
}
.nav-links a:hover {
background-color: #f1f8ff;
}
.pdf-container {
width: 100%;
height: calc(100vh - 160px);
background: white;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.pdf-embed {
width: 100%;
height: 100%;
border: none;
}
.fallback {
display: none;
text-align: center;
padding: 40px 20px;
background: white;
}
.download-btn {
display: inline-block;
background: #28a745;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
margin: 20px 10px;
transition: background-color 0.2s;
}
.download-btn:hover {
background: #218838;
}
.github-btn {
background: #24292e;
}
.github-btn:hover {
background: #1b1f23;
}
@media (max-width: 768px) {
.header h1 {
font-size: 1.6em;
}
.nav-links a {
margin: 5px 10px;
font-size: 0.9em;
}
.pdf-container {
height: calc(100vh - 180px);
}
}
.mobile-notice {
display: none;
background: #fff3cd;
color: #856404;
padding: 10px;
text-align: center;
border-bottom: 1px solid #ffeaa7;
}
@media (max-width: 600px) {
.mobile-notice {
display: block;
}
}
</style>
</head>
<body>
<div class="header">
<h1>Predicting SPY Returns Using Social Market Analytics</h1>
<p>This project explores the use of SPY pricing data and sentiment data feed from Social Market Analytics to generate a 1D SPY forecast using comprhensive social media metrics, mathematical and regression modelling, and robust trading signals.
Portfolio strategy generated a cumulative return of 70.46% from January 2018 to September 2019.</p>
</div>
<div class="nav-links">
<a href="#" onclick="window.open('Predicting SPY Returns Using Social Market Analytics.pdf', '_blank')">📄 Download PDF</a>
<a href="https://github.com/chicago-joe/Predicting-SPY-Returns-Using-Social-Market-Analytics">📁 GitHub Repository</a>
<!-- <a href="https://github.com/chicago-joe/Predicting-SPY-Returns-Using-Social-Market-Analytics/tree/master/notebooks">📊 Notebooks</a> -->
<a href="https://chicagojoe.dev/#contact">✉️ Contact me!</a>
</div>
<div class="mobile-notice">
📱 For the best viewing experience on mobile, consider downloading the PDF
</div>
<div class="pdf-container">
<embed
src="Predicting SPY Returns Using Social Market Analytics.pdf"
type="application/pdf"
class="pdf-embed"
title="Predicting SPY Returns Using Social Market Analytics Research Paper">
</embed>
</div>
<div class="fallback" id="fallback">
<h2>📄 Research Paper</h2>
<p>Your browser doesn't support embedded PDFs. Please download the paper to view it.</p>
<a href="Predicting SPY Returns Using Social Market Analytics.pdf" class="download-btn" download>
📥 Download PDF
</a>
<a href="https://github.com/chicago-joe/Predicting-SPY-Returns-Using-Social-Market-Analytics" class="download-btn github-btn">
📁 View on GitHub
</a>
</div>
<script>
// Check if PDF embedding is supported
function checkPDFSupport() {
const embed = document.querySelector('.pdf-embed');
const fallback = document.getElementById('fallback');
const container = document.querySelector('.pdf-container');
// Simple check for PDF support
if (!navigator.mimeTypes['application/pdf']) {
container.style.display = 'none';
fallback.style.display = 'block';
}
}
// Handle embed load errors
document.querySelector('.pdf-embed').addEventListener('error', function() {
document.querySelector('.pdf-container').style.display = 'none';
document.getElementById('fallback').style.display = 'block';
});
// Check PDF support on load
window.addEventListener('load', checkPDFSupport);
// Analytics (optional - replace with your tracking)
// gtag('config', 'GA_MEASUREMENT_ID');
</script>
</body>
</html>