Skip to content

Commit 30ca5fe

Browse files
committed
Initial commit with project files
1 parent 1ff217d commit 30ca5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/stock.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function chartGen() {
103103
var dates = [];
104104
var prices = [];
105105
//LOCAL BUILD
106-
//var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=${apiKey}`;
106+
//var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=${API_KEY}`;
107107
//GITHUB PAGES SECRET METHOD
108108
var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=<API_KEY_PLACEHOLDER>`;
109109
// i does not iterate through fetch function, use different iteration counter through stock table/charts (fetchCount)

0 commit comments

Comments
 (0)