I’m building an app for stocks and need some help please.
I already created a table with stocks(from an API) and need to click on the stock’s name and go to its page.
How do I create a page for each stock and fetch data based on the stock the user clicked on?
knowing the each stock has its own api to fetch historical prices…
I’m trying to create a page with chart but I have an issue…
I want to display the chart and the API url is /api/v3/historical-price-full/AAPL?apikey=xxxxx
there is no url for all stocks. this url is pecific to apple for example.
I saw in one of the post that I should use [] in url and uncheck “private” to make it dynamic.
when puting [/api/v3/historical-price-full/AAPL?apikey=xxxxx], I have an error when clicking on “initialize call”.
The actual URL needs to go here - what you put between the square brackets is just a placeholder (the Key) - so it doesn’t make sense to put a URL in there as well, just something like “URL” will do.
Put the actual URL in the URL Parameter field (or you can just include the part that’s dynamic)