Commit b68bd6d 1 parent d05250f commit b68bd6d Copy full SHA for b68bd6d
File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 77
77
alphaCloses . reverse ( ) ;
78
78
79
79
// Fetch LSTM prediction data
80
- const lstmResponse = await fetch ( `http ://localhost:8017 /api/lstm/${ symbol } ` ) ;
80
+ const lstmResponse = await fetch ( `https ://csa-ai.stu.nighthawkcodingsociety.com /api/lstm/${ symbol } ` ) ;
81
81
const lstmData = await lstmResponse . json ( ) ;
82
82
83
83
let lstmTimes = [ ] ;
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ <h2>Volume: <span class="font-bold">${volume}</span></h2>
125
125
const data = response . data ;
126
126
127
127
// Display stock info
128
+
129
+ // feature in testing: <button onclick="getAdditionalStockInfo()" class="btn">Get Additional Information</button>
130
+
128
131
const changeColor = data . d > 0 ? 'green' : 'red' ;
129
132
document . getElementById ( "stockInfo" ) . innerHTML = `
130
133
<h2><b>Stock Information:</b></h2>
@@ -139,7 +142,6 @@ <h2><b>Stock Information:</b></h2>
139
142
</ul>
140
143
<p><br>
141
144
</p>
142
- <button onclick="getAdditionalStockInfo()" class="btn">Get Additional Information</button>
143
145
` ;
144
146
} catch ( error ) {
145
147
console . error ( error ) ;
@@ -294,7 +296,7 @@ <h2><b>Additional Information</b></h2>
294
296
295
297
<!-- carousel slider with live updating data -->
296
298
297
- < div class ="carousel rounded-box ">
299
+ <!-- < div class="carousel rounded-box">
298
300
<div class="carousel-item">
299
301
<div id="CarouselMETA"></div>
300
302
</div>
@@ -317,4 +319,4 @@ <h2><b>Additional Information</b></h2>
317
319
<div id="CarouselMU"></div>
318
320
</div>
319
321
</div>
320
-
322
+ -->
You can’t perform that action at this time.
0 commit comments