Chart Data
Understand how to obtain securities' indexes in the form of lists to be used in charts.
We'll cover the following
The YH API provides us an endpoint that can give us the information we can use to create charts to give the traders a better insight. The base URL of this endpoint is https://yfapi.net/v8/finance/chart/{ticker}
. The {ticker}
parameter at the end of the endpoint will be replaced with the ticker of the security we want to search for when making an API call. For example, if we want to get chart data for Apple Inc., our endpoint will be yfapi.net/v8/finance/chart/AAPL
.
Get hands-on with 1400+ tech skills courses.