{"format":"opendoc-document","version":1,"url":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus","title":"Получить статус риска торгового аккаунта","description":"GET /accounts/{accountId}/risk-status: Снимок риска, который торговый движок хранит для счёта: текущий баланс и эквити, эквити на начало дня и максимальное эквити, счётчик…","kind":"api-operation","locale":"ru","inLanguage":"ru","translation":{"sourceLanguage":"en","targetLanguage":"ru","status":"complete","translatedUnits":28,"totalUnits":28},"lastModified":"2026-09-28T20:14:21.334Z","revision":"4bcdb0248fec5130d7dca32f21ced4a207c71ff2d711894a920c99e4198fedd7","section":{"title":"Developers","url":"https://docs.upscale.trade/ru/developers"},"representations":{"html":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus","markdown":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus.md","json":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus.json"},"translations":{"en":"https://docs.upscale.trade/developers/operations/getaccountriskstatus","ru":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus","es":"https://docs.upscale.trade/es/developers/operations/getaccountriskstatus"},"operation":{"id":"getAccountRiskStatus","method":"GET","path":"/accounts/{accountId}/risk-status","summary":"Получить статус риска торгового аккаунта","description":"Снимок риска, который торговый движок хранит для счёта: текущий баланс и эквити, эквити на начало дня и максимальное эквити, счётчик торговых дней,\nсостояние правила согласованности и базовая линия выплат.\n\n- Считывается в реальном времени из шарда, в котором хранится счёт, поэтому открытые позиции уже отражены в эквити.\n- Интерактивные сессии получают отдельный бюджет для этого эндпоинта, отличный от других; API-ключ вместо этого ограничен своими собственными лимитами на чтение.","tags":["Accounts"],"tagLabels":{"Accounts":"Аккаунты","Config":"Конфигурация","Trading":"Торговля"},"deprecated":false,"parameters":[{"name":"accountId","location":"path","schema":{"type":"string · uuid","types":["string"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid"},"properties":[],"variants":[]},"type":"string · uuid","required":true,"description":"Идентификатор торгового аккаунта. Должен принадлежать вызывающей стороне.","example":"00000000-0000-4000-8000-000000000000"}],"bodies":[],"responses":[{"status":"200","description":"Ответ","mediaType":"application/json","properties":[{"name":"accountId","type":"string · uuid","required":true,"description":"Trader account the snapshot belongs to.","example":"00000000-0000-4000-8000-000000000000","schema":{"type":"string · uuid","types":["string"],"description":"Trader account the snapshot belongs to.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"properties":[],"variants":[]}},{"name":"tradingDays","type":"number","required":true,"description":"Number of days the account has traded on — counted against the minimum trading days of the challenge.","example":"0","schema":{"type":"number","types":["number"],"description":"Number of days the account has traded on — counted against the minimum trading days of the challenge.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"currentBalance","type":"string · int32","required":true,"description":"Account balance without the unrealised pnl of open positions, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Account balance without the unrealised pnl of open positions, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"currentEquity","type":"string · int32","required":true,"description":"Balance plus the unrealised pnl of open positions, fp9 raw. This is what drawdown rules are measured against.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Balance plus the unrealised pnl of open positions, fp9 raw. This is what drawdown rules are measured against.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"dayStartEquity","type":"string · int32","required":true,"description":"Equity the current trading day opened at, fp9 raw — the base of the daily drawdown limit.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Equity the current trading day opened at, fp9 raw — the base of the daily drawdown limit.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxEquity","type":"string · int32 · nullable","required":true,"description":"Highest equity the account has ever reached, fp9 raw — the base of the trailing drawdown. Null before the first trade.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Highest equity the account has ever reached, fp9 raw — the base of the trailing drawdown. Null before the first trade.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"periodStartEquity","type":"string · int32 · nullable","required":true,"description":"Equity the current withdrawal period opened at, fp9 raw. Null while no period is running.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Equity the current withdrawal period opened at, fp9 raw. Null while no period is running.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPeriodDailyEquityDelta","type":"string · int32 · nullable","required":true,"description":"Largest single-day equity gain inside the current period, fp9 raw — the numerator of the consistency rule. Null while no day has closed in profit.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Largest single-day equity gain inside the current period, fp9 raw — the numerator of the consistency rule. Null while no day has closed in profit.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPeriodDailyEquityDeltaAt","type":"string · date-time · nullable","required":true,"description":"Day that produced `maxPeriodDailyEquityDelta`. Null together with it.","example":"2026-05-01T12:30:00.000Z","schema":{"type":"string · date-time · nullable","types":["string"],"description":"Day that produced `maxPeriodDailyEquityDelta`. Null together with it.","example":"2026-05-01T12:30:00.000Z","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"date-time"},"properties":[],"variants":[]}},{"name":"consistencyRuleApplies","type":"boolean","required":true,"description":"Whether the consistency rule is part of the rules of this account in its current phase.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Whether the consistency rule is part of the rules of this account in its current phase.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"consistencyRuleMet","type":"boolean[]","required":true,"description":"Whether the rule is currently satisfied. Null while the period is not in profit and the ratio cannot be computed.","example":"[\n  true\n]","schema":{"type":"boolean[]","types":["array"],"description":"Whether the rule is currently satisfied. Null while the period is not in profit and the ratio cannot be computed.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"items":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]},"variants":[]}},{"name":"consistencyRuleRatio","type":"string · int32 · nullable","required":true,"description":"Share of the period profit made on its best day, fp9 raw fraction. Null together with `consistencyRuleMet`.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Share of the period profit made on its best day, fp9 raw fraction. Null together with `consistencyRuleMet`.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"consistencyRuleLimit","type":"string · int32","required":true,"description":"Largest share of period profit one day may account for, fp9 raw fraction (`300000000` = 30%). A ratio above it fails the rule.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Largest share of period profit one day may account for, fp9 raw fraction (`300000000` = 30%). A ratio above it fails the rule.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"payoutBaselineBalance","type":"string · int32","required":true,"description":"Balance the next payout is measured from, fp9 raw. Equal to the initial account size until the first payout moves it.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Balance the next payout is measured from, fp9 raw. Equal to the initial account size until the first payout moves it.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"isPayoutBaselineRequirementMet","type":"boolean","required":true,"description":"Whether equity is above `payoutBaselineBalance` — the condition for being eligible to request a payout.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Whether equity is above `payoutBaselineBalance` — the condition for being eligible to request a payout.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"schema":{"type":"object","types":["object"],"reference":"#/components/schemas/AccountsRiskStatusResponse","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"accountId","type":"string · uuid","required":true,"description":"Счёт трейдера, к которому относится снимок.","example":"00000000-0000-4000-8000-000000000000","schema":{"type":"string · uuid","types":["string"],"description":"Счёт трейдера, к которому относится снимок.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"properties":[],"variants":[]}},{"name":"tradingDays","type":"number","required":true,"description":"Количество дней, в течение которых счёт торговал, — учитывается для минимального количества торговых дней челленджа.","example":"0","schema":{"type":"number","types":["number"],"description":"Количество дней, в течение которых счёт торговал, — учитывается для минимального количества торговых дней челленджа.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"currentBalance","type":"string · int32","required":true,"description":"Баланс счёта без нереализованного PnL открытых позиций, fp9 в исходном виде.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Баланс счёта без нереализованного PnL открытых позиций, fp9 в исходном виде.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"currentEquity","type":"string · int32","required":true,"description":"Баланс плюс нереализованный PnL открытых позиций, fp9 в исходном виде. Именно относительно этого измеряются правила просадки.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Баланс плюс нереализованный PnL открытых позиций, fp9 в исходном виде. Именно относительно этого измеряются правила просадки.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"dayStartEquity","type":"string · int32","required":true,"description":"Эквити на момент открытия текущего торгового дня, fp9 в исходном виде — база дневного лимита просадки.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Эквити на момент открытия текущего торгового дня, fp9 в исходном виде — база дневного лимита просадки.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxEquity","type":"string · int32 · nullable","required":true,"description":"Наивысшее эквити, которого когда-либо достигал счёт, fp9 в исходном виде — база следящей просадки. Null до первой сделки.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Наивысшее эквити, которого когда-либо достигал счёт, fp9 в исходном виде — база следящей просадки. Null до первой сделки.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"periodStartEquity","type":"string · int32 · nullable","required":true,"description":"Эквити на момент открытия текущего периода вывода, fp9 в исходном виде. Null, пока не идёт ни один период.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Эквити на момент открытия текущего периода вывода, fp9 в исходном виде. Null, пока не идёт ни один период.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPeriodDailyEquityDelta","type":"string · int32 · nullable","required":true,"description":"Наибольший однодневный прирост эквити внутри текущего периода, fp9 в сыром виде — числитель правила согласованности. Null, пока ни один день не закрылся с прибылью.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Наибольший однодневный прирост эквити внутри текущего периода, fp9 в сыром виде — числитель правила согласованности. Null, пока ни один день не закрылся с прибылью.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPeriodDailyEquityDeltaAt","type":"string · date-time · nullable","required":true,"description":"День, в котором был получен `maxPeriodDailyEquityDelta`. Null вместе с ним.","example":"2026-05-01T12:30:00.000Z","schema":{"type":"string · date-time · nullable","types":["string"],"description":"День, в котором был получен `maxPeriodDailyEquityDelta`. Null вместе с ним.","example":"2026-05-01T12:30:00.000Z","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"date-time"},"properties":[],"variants":[]}},{"name":"consistencyRuleApplies","type":"boolean","required":true,"description":"Является ли правило согласованности частью правил этого счёта в его текущей фазе.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Является ли правило согласованности частью правил этого счёта в его текущей фазе.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"consistencyRuleMet","type":"boolean[]","required":true,"description":"Выполняется ли правило в настоящее время. Null, пока период не в прибыли и коэффициент не может быть вычислен.","example":"[\n  true\n]","schema":{"type":"boolean[]","types":["array"],"description":"Выполняется ли правило в настоящее время. Null, пока период не в прибыли и коэффициент не может быть вычислен.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"items":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]},"variants":[]}},{"name":"consistencyRuleRatio","type":"string · int32 · nullable","required":true,"description":"Доля прибыли за период, полученная в его лучший день, fp9 в виде необработанной дроби. Null вместе с `consistencyRuleMet`.","example":"1000000000","schema":{"type":"string · int32 · nullable","types":["string"],"description":"Доля прибыли за период, полученная в его лучший день, fp9 в виде необработанной дроби. Null вместе с `consistencyRuleMet`.","example":"1000000000","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"consistencyRuleLimit","type":"string · int32","required":true,"description":"Наибольшая доля прибыли за период, которую может составлять один день, fp9 в виде необработанной дроби (`300000000` = 30%). Если коэффициент превышает её, правило не выполняется.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Наибольшая доля прибыли за период, которую может составлять один день, fp9 в виде необработанной дроби (`300000000` = 30%). Если коэффициент превышает её, правило не выполняется.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"payoutBaselineBalance","type":"string · int32","required":true,"description":"Баланс, от которого отсчитывается следующая выплата, fp9 в необработанном виде. Равен начальному размеру счёта, пока первая выплата не сдвинет его.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Баланс, от которого отсчитывается следующая выплата, fp9 в необработанном виде. Равен начальному размеру счёта, пока первая выплата не сдвинет его.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"isPayoutBaselineRequirementMet","type":"boolean","required":true,"description":"Превышает ли собственный капитал `payoutBaselineBalance` — условие для права запросить выплату.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Превышает ли собственный капитал `payoutBaselineBalance` — условие для права запросить выплату.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]},"example":"{\n  \"accountId\": \"00000000-0000-4000-8000-000000000000\",\n  \"tradingDays\": 0,\n  \"currentBalance\": \"1000000000\",\n  \"currentEquity\": \"1000000000\",\n  \"dayStartEquity\": \"1000000000\",\n  \"maxEquity\": \"1000000000\",\n  \"periodStartEquity\": \"1000000000\",\n  \"maxPeriodDailyEquityDelta\": \"1000000000\",\n  \"maxPeriodDailyEquityDeltaAt\": \"2026-05-01T12:30:00.000Z\",\n  \"consistencyRuleApplies\": true,\n  \"consistencyRuleMet\": [\n    true\n  ],\n  \"consistencyRuleRatio\": \"1000000000\",\n  \"consistencyRuleLimit\": \"1000000000\",\n  \"payoutBaselineBalance\": \"1000000000\",\n  \"isPayoutBaselineRequirementMet\": true\n}","headers":[]},{"status":"401","description":"Неавторизовано","properties":[],"headers":[]},{"status":"403","description":"Аккаунт принадлежит другому пользователю (`account_access_denied`), или запрос аутентифицирован с помощью API-ключа, тогда как `api_trading` отключён на аккаунте (`api_trading_not_enabled`).","properties":[],"headers":[]},{"status":"404","description":"Нет аккаунта с этим идентификатором.","properties":[],"headers":[]},{"status":"429","description":"Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`.","properties":[],"headers":[]}],"security":[{"name":"bearer","type":"http · bearer","description":"Персональный API-ключ с префиксом `usk_`.","required":true,"scopes":[]}],"codeSamples":[{"label":"cURL","language":"bash","source":"curl --request GET 'https://api.upscale.trade/accounts/{accountId}/risk-status' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer YOUR_API_KEY'"},{"label":"JavaScript","language":"javascript","source":"const response = await fetch(\"https://api.upscale.trade/accounts/{accountId}/risk-status\", {\n  method: \"GET\",\n  headers: {\n    \"Accept\": \"application/json\",\n    \"Authorization\": \"Bearer YOUR_API_KEY\"\n  },\n});\nconsole.log(response.status, await response.text());"},{"label":"Python","language":"python","source":"import requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.upscale.trade/accounts/{accountId}/risk-status\",\n    headers={\"Accept\":\"application/json\",\"Authorization\":\"Bearer YOUR_API_KEY\"},\n    timeout=30,\n)\nprint(response.status_code, response.text)"}]},"breadcrumbs":[{"title":"Что такое проп-трейдинг","url":"https://docs.upscale.trade/ru"},{"title":"Developers","url":"https://docs.upscale.trade/ru/developers"},{"title":"Получить статус риска торгового аккаунта","url":"https://docs.upscale.trade/ru/developers/operations/getaccountriskstatus"}],"headings":[{"depth":2,"id":"authorization","title":"Авторизация"},{"depth":2,"id":"parameters","title":"Параметры"},{"depth":2,"id":"examples","title":"Примеры"},{"depth":2,"id":"responses","title":"Ответы"}],"markdown":"# Получить статус риска торгового аккаунта\n\n`GET /accounts/{accountId}/risk-status`\n\nСнимок риска, который торговый движок хранит для счёта: текущий баланс и эквити, эквити на начало дня и максимальное эквити, счётчик торговых дней,\nсостояние правила согласованности и базовая линия выплат.\n\n- Считывается в реальном времени из шарда, в котором хранится счёт, поэтому открытые позиции уже отражены в эквити.\n- Интерактивные сессии получают отдельный бюджет для этого эндпоинта, отличный от других; API-ключ вместо этого ограничен своими собственными лимитами на чтение.\n\n<a id=\"authorization\"></a>\n\n## Авторизация\n\nbearer: http · bearer (обязательно). Персональный API-ключ с префиксом `usk_`.\n\n<a id=\"parameters\"></a>\n\n## Параметры\n\n- path: accountId (string · uuid; обязательно). Идентификатор торгового аккаунта. Должен принадлежать вызывающей стороне.\n\nТип: string · uuid\n\nformat: uuid\n\n<a id=\"example-curl\"></a>\n\n## Пример · cURL\n\n```bash\ncurl --request GET 'https://api.upscale.trade/accounts/{accountId}/risk-status' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer YOUR_API_KEY'\n```\n\n<a id=\"example-javascript\"></a>\n\n## Пример · JavaScript\n\n```javascript\nconst response = await fetch(\"https://api.upscale.trade/accounts/{accountId}/risk-status\", {\n  method: \"GET\",\n  headers: {\n    \"Accept\": \"application/json\",\n    \"Authorization\": \"Bearer YOUR_API_KEY\"\n  },\n});\nconsole.log(response.status, await response.text());\n```\n\n<a id=\"example-python\"></a>\n\n## Пример · Python\n\n```python\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.upscale.trade/accounts/{accountId}/risk-status\",\n    headers={\"Accept\":\"application/json\",\"Authorization\":\"Bearer YOUR_API_KEY\"},\n    timeout=30,\n)\nprint(response.status_code, response.text)\n```\n\n<a id=\"response-200-accountsriskstatusresponse\"></a>\n\n## Ответ 200 · AccountsRiskStatusResponse\n\n**200** application/json — Ответ\n\nСхема: AccountsRiskStatusResponse\n\nТип: object\n\nОбязательные поля: accountId, tradingDays, currentBalance, currentEquity, dayStartEquity, maxEquity, periodStartEquity, maxPeriodDailyEquityDelta, maxPeriodDailyEquityDeltaAt, consistencyRuleApplies, consistencyRuleMet, consistencyRuleRatio, consistencyRuleLimit, payoutBaselineBalance, isPayoutBaselineRequirementMet\n\nТипы обязательных полей: accountId (string · uuid; обязательно), tradingDays (number; обязательно), currentBalance (string · int32; обязательно), currentEquity (string · int32; обязательно), dayStartEquity (string · int32; обязательно), maxEquity (string · int32 · nullable; обязательно), periodStartEquity (string · int32 · nullable; обязательно), maxPeriodDailyEquityDelta (string · int32 · nullable; обязательно), maxPeriodDailyEquityDeltaAt (string · date-time · nullable; обязательно), consistencyRuleApplies (boolean; обязательно), consistencyRuleMet (boolean[]; обязательно), consistencyRuleRatio (string · int32 · nullable; обязательно), consistencyRuleLimit (string · int32; обязательно), payoutBaselineBalance (string · int32; обязательно), isPayoutBaselineRequirementMet (boolean; обязательно)\n\n- accountId (string · uuid; обязательно)\n\naccountId пример: 00000000-0000-4000-8000-000000000000\n\naccountId.Тип: string · uuid\n\naccountId.Счёт трейдера, к которому относится снимок.\n\naccountId.format: uuid\n\naccountId.pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$\n\n- tradingDays (number; обязательно)\n\ntradingDays пример: 0\n\ntradingDays.Тип: number\n\ntradingDays.Количество дней, в течение которых счёт торговал, — учитывается для минимального количества торговых дней челленджа.\n\n- currentBalance (string · int32; обязательно)\n\ncurrentBalance пример: 1000000000\n\ncurrentBalance.Тип: string · int32\n\ncurrentBalance.Баланс счёта без нереализованного PnL открытых позиций, fp9 в исходном виде.\n\ncurrentBalance.format: int32\n\ncurrentBalance.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- currentEquity (string · int32; обязательно)\n\ncurrentEquity пример: 1000000000\n\ncurrentEquity.Тип: string · int32\n\ncurrentEquity.Баланс плюс нереализованный PnL открытых позиций, fp9 в исходном виде. Именно относительно этого измеряются правила просадки.\n\ncurrentEquity.format: int32\n\ncurrentEquity.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- dayStartEquity (string · int32; обязательно)\n\ndayStartEquity пример: 1000000000\n\ndayStartEquity.Тип: string · int32\n\ndayStartEquity.Эквити на момент открытия текущего торгового дня, fp9 в исходном виде — база дневного лимита просадки.\n\ndayStartEquity.format: int32\n\ndayStartEquity.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- maxEquity (string · int32 · nullable; обязательно)\n\nmaxEquity пример: 1000000000\n\nmaxEquity.Тип: string · int32 · nullable\n\nmaxEquity.Наивысшее эквити, которого когда-либо достигал счёт, fp9 в исходном виде — база следящей просадки. Null до первой сделки.\n\nmaxEquity.format: int32\n\nmaxEquity.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- periodStartEquity (string · int32 · nullable; обязательно)\n\nperiodStartEquity пример: 1000000000\n\nperiodStartEquity.Тип: string · int32 · nullable\n\nperiodStartEquity.Эквити на момент открытия текущего периода вывода, fp9 в исходном виде. Null, пока не идёт ни один период.\n\nperiodStartEquity.format: int32\n\nperiodStartEquity.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- maxPeriodDailyEquityDelta (string · int32 · nullable; обязательно)\n\nmaxPeriodDailyEquityDelta пример: 1000000000\n\nmaxPeriodDailyEquityDelta.Тип: string · int32 · nullable\n\nmaxPeriodDailyEquityDelta.Наибольший однодневный прирост эквити внутри текущего периода, fp9 в сыром виде — числитель правила согласованности. Null, пока ни один день не закрылся с прибылью.\n\nmaxPeriodDailyEquityDelta.format: int32\n\nmaxPeriodDailyEquityDelta.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- maxPeriodDailyEquityDeltaAt (string · date-time · nullable; обязательно)\n\nmaxPeriodDailyEquityDeltaAt пример: 2026-05-01T12:30:00.000Z\n\nmaxPeriodDailyEquityDeltaAt.Тип: string · date-time · nullable\n\nmaxPeriodDailyEquityDeltaAt.День, в котором был получен `maxPeriodDailyEquityDelta`. Null вместе с ним.\n\nmaxPeriodDailyEquityDeltaAt.format: date-time\n\n- consistencyRuleApplies (boolean; обязательно)\n\nconsistencyRuleApplies пример: true\n\nconsistencyRuleApplies.Тип: boolean\n\nconsistencyRuleApplies.Является ли правило согласованности частью правил этого счёта в его текущей фазе.\n\n- consistencyRuleMet (boolean[]; обязательно)\n\nconsistencyRuleMet пример: [\n  true\n]\n\nconsistencyRuleMet.Тип: boolean[]\n\nconsistencyRuleMet.Выполняется ли правило в настоящее время. Null, пока период не в прибыли и коэффициент не может быть вычислен.\n\nconsistencyRuleMet.[]Тип: boolean\n\n- consistencyRuleRatio (string · int32 · nullable; обязательно)\n\nconsistencyRuleRatio пример: 1000000000\n\nconsistencyRuleRatio.Тип: string · int32 · nullable\n\nconsistencyRuleRatio.Доля прибыли за период, полученная в его лучший день, fp9 в виде необработанной дроби. Null вместе с `consistencyRuleMet`.\n\nconsistencyRuleRatio.format: int32\n\nconsistencyRuleRatio.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- consistencyRuleLimit (string · int32; обязательно)\n\nconsistencyRuleLimit пример: 1000000000\n\nconsistencyRuleLimit.Тип: string · int32\n\nconsistencyRuleLimit.Наибольшая доля прибыли за период, которую может составлять один день, fp9 в виде необработанной дроби (`300000000` = 30%). Если коэффициент превышает её, правило не выполняется.\n\nconsistencyRuleLimit.format: int32\n\nconsistencyRuleLimit.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- payoutBaselineBalance (string · int32; обязательно)\n\npayoutBaselineBalance пример: 1000000000\n\npayoutBaselineBalance.Тип: string · int32\n\npayoutBaselineBalance.Баланс, от которого отсчитывается следующая выплата, fp9 в необработанном виде. Равен начальному размеру счёта, пока первая выплата не сдвинет его.\n\npayoutBaselineBalance.format: int32\n\npayoutBaselineBalance.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- isPayoutBaselineRequirementMet (boolean; обязательно)\n\nisPayoutBaselineRequirementMet пример: true\n\nisPayoutBaselineRequirementMet.Тип: boolean\n\nisPayoutBaselineRequirementMet.Превышает ли собственный капитал `payoutBaselineBalance` — условие для права запросить выплату.\n\nПример\n\n\n\n```json\n{\n  \"accountId\": \"00000000-0000-4000-8000-000000000000\",\n  \"tradingDays\": 0,\n  \"currentBalance\": \"1000000000\",\n  \"currentEquity\": \"1000000000\",\n  \"dayStartEquity\": \"1000000000\",\n  \"maxEquity\": \"1000000000\",\n  \"periodStartEquity\": \"1000000000\",\n  \"maxPeriodDailyEquityDelta\": \"1000000000\",\n  \"maxPeriodDailyEquityDeltaAt\": \"2026-05-01T12:30:00.000Z\",\n  \"consistencyRuleApplies\": true,\n  \"consistencyRuleMet\": [\n    true\n  ],\n  \"consistencyRuleRatio\": \"1000000000\",\n  \"consistencyRuleLimit\": \"1000000000\",\n  \"payoutBaselineBalance\": \"1000000000\",\n  \"isPayoutBaselineRequirementMet\": true\n}\n```\n\n<a id=\"response-401\"></a>\n\n## Ответ 401\n\n**401**  — Неавторизовано\n\n<a id=\"response-403\"></a>\n\n## Ответ 403\n\n**403**  — Аккаунт принадлежит другому пользователю (`account_access_denied`), или запрос аутентифицирован с помощью API-ключа, тогда как `api_trading` отключён на аккаунте (`api_trading_not_enabled`).\n\n<a id=\"response-404\"></a>\n\n## Ответ 404\n\n**404**  — Нет аккаунта с этим идентификатором.\n\n<a id=\"response-429\"></a>\n\n## Ответ 429\n\n**429**  — Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`.","text":"Получить статус риска торгового аккаунта Снимок риска, который торговый движок хранит для счёта: текущий баланс и эквити, эквити на начало дня и максимальное эквити, счётчик торговых дней, состояние правила согласованности и базовая линия выплат. - Считывается в реальном времени из шарда, в котором хранится счёт, поэтому открытые позиции уже отражены в эквити. - Интерактивные сессии получают отдельный бюджет для этого эндпоинта, отличный от других; API-ключ вместо этого ограничен своими собственными лимитами на чтение. GET /accounts/{accountId}/risk-status Accounts accountId Идентификатор торгового аккаунта. Должен принадлежать вызывающей стороне. string · uuid 200 Ответ accountId Trader account the snapshot belongs to. string · uuid tradingDays Number of days the account has traded on — counted against the minimum trading days of the challenge. number currentBalance Account balance without the unrealised pnl of open positions, fp9 raw. string · int32 currentEquity Balance plus the unrealised pnl of open positions, fp9 raw. This is what drawdown rules are measured against. string · int32 dayStartEquity Equity the current trading day opened at, fp9 raw — the base of the daily drawdown limit. string · int32 maxEquity Highest equity the account has ever reached, fp9 raw — the base of the trailing drawdown. Null before the first trade. string · int32 · nullable periodStartEquity Equity the current withdrawal period opened at, fp9 raw. Null while no period is running. string · int32 · nullable maxPeriodDailyEquityDelta Largest single-day equity gain inside the current period, fp9 raw — the numerator of the consistency rule. Null while no day has closed in profit. string · int32 · nullable maxPeriodDailyEquityDeltaAt Day that produced `maxPeriodDailyEquityDelta`. Null together with it. string · date-time · nullable consistencyRuleApplies Whether the consistency rule is part of the rules of this account in its current phase. boolean consistencyRuleMet Whether the rule is currently satisfied. Null while the period is not in profit and the ratio cannot be computed. boolean[] consistencyRuleRatio Share of the period profit made on its best day, fp9 raw fraction. Null together with `consistencyRuleMet`. string · int32 · nullable consistencyRuleLimit Largest share of period profit one day may account for, fp9 raw fraction (`300000000` = 30%). A ratio above it fails the rule. string · int32 payoutBaselineBalance Balance the next payout is measured from, fp9 raw. Equal to the initial account size until the first payout moves it. string · int32 isPayoutBaselineRequirementMet Whether equity is above `payoutBaselineBalance` — the condition for being eligible to request a payout. boolean 401 Неавторизовано 403 Аккаунт принадлежит другому пользователю (`account_access_denied`), или запрос аутентифицирован с помощью API-ключа, тогда как `api_trading` отключён на аккаунте (`api_trading_not_enabled`). 404 Нет аккаунта с этим идентификатором. 429 Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`.","api":{"title":"Публичный API Upscale","version":"d796ac9","documentation":"https://docs.upscale.trade/ru/developers","playgroundServer":"https://api.upscale.trade"}}