We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff217d commit 30ca5feCopy full SHA for 30ca5fe
js/stock.js
@@ -103,7 +103,7 @@ function chartGen() {
103
var dates = [];
104
var prices = [];
105
//LOCAL BUILD
106
- //var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=${apiKey}`;
+ //var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=${API_KEY}`;
107
//GITHUB PAGES SECRET METHOD
108
var apiUrl = `https://api.polygon.io/v2/aggs/ticker/${stockSymbol[i]}/range/1/day/2023-06-01/${formattedDate}?apiKey=<API_KEY_PLACEHOLDER>`;
109
// i does not iterate through fetch function, use different iteration counter through stock table/charts (fetchCount)
0 commit comments