GET
/api/trader-stats/{trader}/pnl-historyGet trader PnL history
Base URL
https://api.storm.tgExamples
curl --request GET 'https://api.storm.tg/api/trader-stats/{trader}/pnl-history' \
--header 'Accept: application/json'const response = await fetch("https://api.storm.tg/api/trader-stats/{trader}/pnl-history", {
method: "GET",
headers: {
"Accept": "application/json"
},
});
console.log(response.status, await response.text());import requests
response = requests.request(
"GET",
"https://api.storm.tg/api/trader-stats/{trader}/pnl-history",
headers={"Accept":"application/json"},
timeout=30,
)
print(response.status_code, response.text)