import requests
url = "https://api.itick.org/fund/kline?region=US&code=QQQ&kType=2&limit=10"
headers = {
"accept": "application/json"
"token": "Your Token"
}
response = requests.get(url, headers=headers)
print(response.text)
{
"code": 0,
"msg": null,
"data": [
{
"tu": 4813493.44,
"c": 569.24,
"t": 1754610900000,
"v": 8456,
"h": 569.24,
"l": 569.24,
"o": 569.24
}
]
}