websocket_feed.py
1
2
3
4
5
6
7
8
9
import requests

# Simple REST polling
def get_latest():
  url = "https://api.uptick.co/v1/snapshot"
  r = requests.get(url, params={"s": "NVDA"})
  return r.json()

print(get_latest())
14:02:01 Process started...
Eng Support
Online