Make the API call
To receive the list of trending tickers, their formal name, and price, you are going to need to make an API call. For that, simply import requests and json. Then, any request can be saved as request = requests.get(“URL”). Replace URL with any supported Styvio URL below to start importing stock market data.
From there, use JSON to query down the API results, and you should be good to go. I hope this helped, and make sure to sign up free for a Styvio account here. For a more in depth guide on the actual plotting process, check out our full length guide.