Set the reporting timezone.
PUT
/api/users/me/timezone
const url = 'https://api.tradr.cloud/api/users/me/timezone';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"timezone":"Europe/London"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.tradr.cloud/api/users/me/timezone \ --header 'Content-Type: application/json' \ --data '{ "timezone": "Europe/London" }'Authed. Changes which calendar day each trade is counted in for daily, weekly and monthly figures. It rewrites no stored timestamp — every fill keeps the instant it happened — it does not change how timestamps are displayed, and it does not touch any account’s trading-day timezone.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
timezone
required
An IANA zone name, such as Europe/London or UTC.
string
Example
Europe/LondonResponses
Section titled “Responses”The stored reporting timezone.
Not a valid IANA timezone name.
Authentication required.