Whenever I render a page on the frontend for specific asset I use search endpoint that will respond with data from EOD search with one record. So we need to seperate serach endpoint for search bar and a new endpoint for showing asset details.
Besides the data from search I will also need:
historical price data for chart that will be generated using chart.js so without using tradingview
exchange open and close
current price of the asset since EOD search endpoint returns only last close
a change between current price and last close price given in %
Whenever I render a page on the frontend for specific asset I use search endpoint that will respond with data from EOD search with one record. So we need to seperate serach endpoint for search bar and a new endpoint for showing asset details.
Besides the data from search I will also need: