disclaimer : I am not an expert i am just getting you familiar with api available and showing basic code as few months before i did’nt knew what a websocket is theres an api called Finnhub , Go ahead and sign up and get your api keys from dashboard don’t…