Skip to content
These docs describe Tradr v0.14.0. Running an older release? Check the release notes for what changed.

Get the reporting timezone.

GET
/api/users/me/timezone
curl --request GET \
--url https://api.tradr.cloud/api/users/me/timezone

Authed. The IANA zone the user’s P&L is bucketed into by day, week and month. It does not affect how individual timestamps are displayed. timezone is never null: accounts created before the preference existed store nothing and read as the default UTC, with stored false to say so. This is not an account’s trading-day timezone — that one defaults to US Eastern because that is where the US equity venues run, and setting either leaves the other untouched.

The resolved reporting timezone, and whether it is the user’s own.

Media typeapplication/json
object
stored

True when timezone is the value held on the user’s row. False when the column is unset — a row predating the preference — and the server default is being substituted; a client may then seed the column once from the zone it detects, which is what that user was already bucketing by.

boolean
timezone
string
Example
{
"stored": true,
"timezone": "Europe/London"
}

Authentication required.