Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day’s result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event.
Required key: Trading API key. A venue’s backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader’s own accounts.
GET
/
api
/
account
/
analytics
TypeScript
const res = await fetch('https://app.trdrs.co/api/account/analytics', { headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },})const data = await res.json()
The Trading API key (trdrs_sk_…), for market data, orders and account state on the accounts its owner holds. Use it server-to-server, and keep it on your server. Its scope is named trading in the API.
Query Parameters
provider
string
The provider the account is at, such as rithmic or paper. With account omitted, your default account there. Omit both for every open account you hold.
account
string
The account number at that provider. It must be one of your own accounts, or the call is refused with 400.
period
enum<string>
default:all
The last 7, 30 or 90 days counting today, the year so far, or every day. Send it or a range, never both.
Available options:
7d,
30d,
90d,
ytd,
all
from
string
Instead of a period, the range's first trading day, exactly as YYYY-MM-DD. Omit it to start from the first trade.
Pattern: ^\d{4}-\d{2}-\d{2}$
to
string
Instead of a period, the range's last trading day, exactly as YYYY-MM-DD. Omit it to end today.
Pattern: ^\d{4}-\d{2}-\d{2}$
tz
string
default:UTC
The IANA time zone whose calendar day is today, such as America/New_York. A period ends today in it.
fees
enum<string>
default:include
include takes each trade's commission and fees off its result; exclude reads each trade before them.
Available options:
include,
exclude
Response
The figures over the period.
The figures of your closed trades over a period, worked out from every round trip the accounts hold. Each trade's result is its realized profit and loss, less its commission and fees where feesIncluded. Money is in the account's currency, signed. A figure the trades cannot support is null. The drawdown and the streaks read the trades in the order they closed.
accounts
object[]
required
The accounts the figures cover.
Show child attributes
from
string | null
required
The first trading day the period covers, as YYYY-MM-DD, or null for every day from the first trade.
to
string
required
The last trading day the period covers, as YYYY-MM-DD.
firstDay
string | null
required
The trading day of the first trade the accounts closed, or null when they have none.
feesIncluded
boolean
required
Whether each trade's commission and fees come off its result.
syncing
boolean
required
True while any of the accounts' fill or order history is still being copied from its provider, so older trades may still arrive.
trades
object
required
The period's trades.
Show child attributes
days
object
required
The period's trading days, each the sum of the trades that closed on it.
Show child attributes
grossProfit
number
required
What the winning trades made.
grossLoss
number
required
What the losing trades lost, as a positive amount.
net
number
required
The sum of every trade's result.
profitFactor
number | null
required
Gross profit over gross loss, or null with no losing trade.
averageTrade
number | null
required
The average trade, which is the expectancy of one.
averageWin
number | null
required
The average winning trade.
averageLoss
number | null
required
The average losing trade, negative.
winLossRatio
number | null
required
The average win over the size of the average loss.
averagePerDay
number | null
required
The net result over the trading days.
biggestWinner
number | null
required
The best trade.
biggestLoser
number | null
required
The worst trade.
maxDrawdown
number
required
The deepest fall of the running result from its high, trade by trade, as a positive amount.
recoveryFactor
number | null
required
The net result over the deepest drawdown, or null with no drawdown.
sharpe
number | null
required
The daily results' mean over their sample deviation, for a year of 252 trading days, or null under two days.
sortino
number | null
required
As sharpe, over the deviation of the losing days, or null with no losing day.
longestWinStreak
integer
required
The most winning trades in a row.
longestLossStreak
integer
required
The most losing trades in a row.
currentStreak
object | null
required
The run the latest trades are on, or null when the latest trade broke even or there is none. A breakeven trade ends a run.
Show child attributes
score
object | null
required
The trader score: five measures from 0 to 100, and their mean, or null with no trade. The win rates count wins among wins and losses; the profit factor and the win/loss ratio earn 100 at 3 or above, and also with wins and no loss; drawdown control is the share of the gross profit the deepest drawdown left standing.
Show child attributes
series
object
required
The period's charts, one point a trading day, oldest first.
Show child attributes
calendar
object[]
required
Every trading day of the accounts' whole history with a closed trade, oldest first, and its result, whatever the period.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"trdrs Engine API","description":"Market data, trading and venue infrastructure: programmatic trading and business integrations through one documented API.","colors":{"primary":"#0a0a0a","light":"#fafafa","dark":"#0a0a0a"},"logo":{"light":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","dark":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","href":"https://trdrs.co"},"favicon":"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50","api":{"playground":{"display":"simple"}},"appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#ffffff","dark":"#0f0f0f"}},"navbar":{"links":[{"href":"https://trdrs.co/developers","label":"Developers"},{"href":"https://sandbox.trdrs.co/settings/api","label":"Sandbox"}],"primary":{"type":"button","label":"Get started","href":"/build"}},"fonts":{"family":"Inter"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"trdrs","hasAudioNarration":false,"actualSubdomain":"trdrs","customDomains":["docs.trdrs.co"],"gitSource":{"type":"github","owner":"trdrsco","repo":"trdrs-engine","deployBranch":"main","contentDirectory":"packages/developer-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b06422cc0af2260211d55a1","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API reference","count":268},{"language":"default","tag":"Endpoints","count":267},{"language":"default","tag":"Venues","count":228},{"language":"default","tag":"Trading","count":47},{"language":"default","tag":"Guides","count":42},{"language":"default","tag":"Hedging","count":34},{"language":"default","tag":"Providers and connections","count":24},{"language":"default","tag":"Venue accounts","count":24},{"language":"default","tag":"Trade desk","count":21},{"language":"default","tag":"Get started","count":20}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html{font-size:90%}"}]}
{"page":{"pagePath":"api-reference/account/get-trading-analytics","slug":"/api-reference/account/get-trading-analytics","pageMetadata":{"title":"Get trading analytics","description":"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day's result for a calendar. They are worked out from every round trip the accounts hold, the same trades `GET /api/account/pnl/round-trips` lists, each counted on the trading day it closed. Name an account for its figures, or omit both `provider` and `account` for the figures of every open account you hold together. Read it again when the account stream sends an `analytics` event.\n\nRequired key: Trading API key. A venue's backend can also send it with its Venue key, which carries `trader:read` or `trader:trade`, naming one of its own traders in `x-trdrs-trader`: it then runs on that trader's own accounts.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/analytics","href":"/api-reference/account/get-trading-analytics","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day’s result for a calendar. They are worked out from every round trip the accounts hold, the same trades \", _jsx(_components.code, {\n children: \"GET /api/account/pnl/round-trips\"\n }), \" lists, each counted on the trading day it closed. Name an account for its figures, or omit both \", _jsx(_components.code, {\n children: \"provider\"\n }), \" and \", _jsx(_components.code, {\n children: \"account\"\n }), \" for the figures of every open account you hold together. Read it again when the account stream sends an \", _jsx(_components.code, {\n children: \"analytics\"\n }), \" event.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Required key: Trading API key. A venue’s backend can also send it with its Venue key, which carries \", _jsx(_components.code, {\n children: \"trader:read\"\n }), \" or \", _jsx(_components.code, {\n children: \"trader:trade\"\n }), \", naming one of its own traders in \", _jsx(_components.code, {\n children: \"x-trdrs-trader\"\n }), \": it then runs on that trader’s own accounts.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get trading analytics","description":"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day's result for a calendar. They are worked out from every round trip the accounts hold, the same trades `GET /api/account/pnl/round-trips` lists, each counted on the trading day it closed. Name an account for its figures, or omit both `provider` and `account` for the figures of every open account you hold together. Read it again when the account stream sends an `analytics` event.\n\nRequired key: Trading API key. A venue's backend can also send it with its Venue key, which carries `trader:read` or `trader:trade`, naming one of its own traders in `x-trdrs-trader`: it then runs on that trader's own accounts.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/analytics","href":"/api-reference/account/get-trading-analytics","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Account"],"summary":"Get trading analytics","description":"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day's result for a calendar. They are worked out from every round trip the accounts hold, the same trades `GET /api/account/pnl/round-trips` lists, each counted on the trading day it closed. Name an account for its figures, or omit both `provider` and `account` for the figures of every open account you hold together. Read it again when the account stream sends an `analytics` event.\n\nRequired key: Trading API key. A venue's backend can also send it with its Venue key, which carries `trader:read` or `trader:trade`, naming one of its own traders in `x-trdrs-trader`: it then runs on that trader's own accounts.","security":["1c5aaeb4-59be-4b7f-a6bc-71f3704dea01","2bc57ce3-c753-46c1-b290-ebb4191bcfb8"],"parameters":["462a791b-ab81-4b79-bb20-74bd7941da9a","ebb2e4d7-25ae-4db7-9fe8-2e260d93633f","f62a0514-7bdf-4fc1-a6c6-d9873174c173","b315fb2e-85d3-4cc5-8328-c9488f27a096","476520e1-1dd9-45b8-aa8f-a6c1eff01b92","087f3ff7-7d44-4b73-84b0-726b63b9cff5","04263158-7e3f-4f0d-828b-eed93dd1472b"],"responses":{"200":"b3b0b691-5575-4a61-9044-422e5d3ba775","400":"5cbfaa26-c106-4f4a-82b7-0a50aff3f44d","401":"85956285-fad0-4d55-a534-ce57de7d69da"},"x-codeSamples":[{"lang":"javascript","label":"TypeScript","source":"const res = await fetch('https://app.trdrs.co/api/account/analytics', {\n headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },\n})\nconst data = await res.json()"},{"lang":"shell","label":"cURL","source":"curl 'https://app.trdrs.co/api/account/analytics' \\\n -H \"Authorization: Bearer $TRDRS_API_KEY\""}],"method":"get","type":"path","servers":["3448eaa2-66f4-4db9-8b18-e4fb20576c5e","0643fd2f-dcc1-42ae-a0a3-335c1592addb"],"path":"/api/account/analytics","baseUrlOptions":["https://app.trdrs.co","/"],"title":"Get trading analytics","codeSamples":[{"label":"TypeScript","lang":"javascript","source":"const res = await fetch('https://app.trdrs.co/api/account/analytics', {\n headers: { Authorization: `Bearer ${process.env.TRDRS_API_KEY}` },\n})\nconst data = await res.json()"},{"label":"cURL","lang":"shell","source":"curl 'https://app.trdrs.co/api/account/analytics' \\\n -H \"Authorization: Bearer $TRDRS_API_KEY\""}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"462a791b-ab81-4b79-bb20-74bd7941da9a":{"name":"provider","in":"query","schema":{"type":"string","description":"The provider the account is at, such as `rithmic` or `paper`. With `account` omitted, your default account there. Omit both for every open account you hold.","uniqueKey":"","typeLabel":"string"},"description":"The provider the account is at, such as `rithmic` or `paper`. With `account` omitted, your default account there. Omit both for every open account you hold."},"ebb2e4d7-25ae-4db7-9fe8-2e260d93633f":{"name":"account","in":"query","schema":{"type":"string","description":"The account number at that provider. It must be one of your own accounts, or the call is refused with 400.","uniqueKey":"","typeLabel":"string"},"description":"The account number at that provider. It must be one of your own accounts, or the call is refused with 400."},"f62a0514-7bdf-4fc1-a6c6-d9873174c173":{"name":"period","in":"query","schema":{"type":"string","enum":["7d","30d","90d","ytd","all"],"default":"all","description":"The last 7, 30 or 90 days counting today, the year so far, or every day. Send it or a range, never both.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The last 7, 30 or 90 days counting today, the year so far, or every day. Send it or a range, never both."},"b315fb2e-85d3-4cc5-8328-c9488f27a096":{"name":"from","in":"query","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Instead of a period, the range's first trading day, exactly as YYYY-MM-DD. Omit it to start from the first trade.","uniqueKey":"","typeLabel":"string"},"description":"Instead of a period, the range's first trading day, exactly as YYYY-MM-DD. Omit it to start from the first trade."},"476520e1-1dd9-45b8-aa8f-a6c1eff01b92":{"name":"to","in":"query","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Instead of a period, the range's last trading day, exactly as YYYY-MM-DD. Omit it to end today.","uniqueKey":"","typeLabel":"string"},"description":"Instead of a period, the range's last trading day, exactly as YYYY-MM-DD. Omit it to end today."},"087f3ff7-7d44-4b73-84b0-726b63b9cff5":{"name":"tz","in":"query","schema":{"type":"string","default":"UTC","description":"The IANA time zone whose calendar day is today, such as `America/New_York`. A period ends today in it.","uniqueKey":"","typeLabel":"string"},"description":"The IANA time zone whose calendar day is today, such as `America/New_York`. A period ends today in it."},"04263158-7e3f-4f0d-828b-eed93dd1472b":{"name":"fees","in":"query","schema":{"type":"string","enum":["include","exclude"],"default":"include","description":"`include` takes each trade's commission and fees off its result; `exclude` reads each trade before them.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"`include` takes each trade's commission and fees off its result; `exclude` reads each trade before them."}},"responses":{"b3b0b691-5575-4a61-9044-422e5d3ba775":{"description":"The figures over the period.","content":{"application/json":{"schema":{"type":"object","description":"The figures of your closed trades over a period, worked out from every round trip the accounts hold. Each trade's result is its realized profit and loss, less its commission and fees where `feesIncluded`. Money is in the account's currency, signed. A figure the trades cannot support is null. The drawdown and the streaks read the trades in the order they closed.","properties":{"accounts":{"type":"array","description":"The accounts the figures cover.","items":{"type":"object","properties":{"provider":{"type":"string","description":"The provider the account is at.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].provider","typeLabel":"string"},"accountNumber":{"type":"string","description":"The account number.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].accountNumber","typeLabel":"string"}},"required":["provider","accountNumber"],"uniqueKey":"accounts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"accounts","typeLabel":"object[]"},"from":{"oneOf":[{"type":"string","description":"The first trading day the period covers, as YYYY-MM-DD, or null for every day from the first trade.","isRequired":true,"uniqueKey":"from.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first trading day the period covers, as YYYY-MM-DD, or null for every day from the first trade.","isRequired":true,"uniqueKey":"from.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"from","typeLabel":"string | null"},"to":{"type":"string","description":"The last trading day the period covers, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"to","typeLabel":"string"},"firstDay":{"oneOf":[{"type":"string","description":"The trading day of the first trade the accounts closed, or null when they have none.","isRequired":true,"uniqueKey":"firstDay.oneOf.0","typeLabel":"string"},{"type":"null","description":"The trading day of the first trade the accounts closed, or null when they have none.","isRequired":true,"uniqueKey":"firstDay.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"firstDay","typeLabel":"string | null"},"feesIncluded":{"type":"boolean","description":"Whether each trade's commission and fees come off its result.","isRequired":true,"uniqueKey":"feesIncluded","typeLabel":"boolean"},"syncing":{"type":"boolean","description":"True while any of the accounts' fill or order history is still being copied from its provider, so older trades may still arrive.","isRequired":true,"uniqueKey":"syncing","typeLabel":"boolean"},"trades":{"type":"object","description":"The period's trades.","properties":{"wins":{"type":"integer","description":"The results above zero.","isRequired":true,"uniqueKey":"trades.wins","typeLabel":"integer"},"breakeven":{"type":"integer","description":"The results of exactly zero.","isRequired":true,"uniqueKey":"trades.breakeven","typeLabel":"integer"},"losses":{"type":"integer","description":"The results below zero.","isRequired":true,"uniqueKey":"trades.losses","typeLabel":"integer"},"total":{"type":"integer","description":"Every result.","isRequired":true,"uniqueKey":"trades.total","typeLabel":"integer"}},"required":["wins","breakeven","losses","total"],"isRequired":true,"uniqueKey":"trades","typeLabel":"object"},"days":{"type":"object","description":"The period's trading days, each the sum of the trades that closed on it.","properties":{"wins":{"type":"integer","description":"The results above zero.","isRequired":true,"uniqueKey":"days.wins","typeLabel":"integer"},"breakeven":{"type":"integer","description":"The results of exactly zero.","isRequired":true,"uniqueKey":"days.breakeven","typeLabel":"integer"},"losses":{"type":"integer","description":"The results below zero.","isRequired":true,"uniqueKey":"days.losses","typeLabel":"integer"},"total":{"type":"integer","description":"Every result.","isRequired":true,"uniqueKey":"days.total","typeLabel":"integer"}},"required":["wins","breakeven","losses","total"],"isRequired":true,"uniqueKey":"days","typeLabel":"object"},"grossProfit":{"type":"number","description":"What the winning trades made.","isRequired":true,"uniqueKey":"grossProfit","typeLabel":"number"},"grossLoss":{"type":"number","description":"What the losing trades lost, as a positive amount.","isRequired":true,"uniqueKey":"grossLoss","typeLabel":"number"},"net":{"type":"number","description":"The sum of every trade's result.","isRequired":true,"uniqueKey":"net","typeLabel":"number"},"profitFactor":{"oneOf":[{"type":"number","description":"Gross profit over gross loss, or null with no losing trade.","isRequired":true,"uniqueKey":"profitFactor.oneOf.0","typeLabel":"number"},{"type":"null","description":"Gross profit over gross loss, or null with no losing trade.","isRequired":true,"uniqueKey":"profitFactor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"profitFactor","typeLabel":"number | null"},"averageTrade":{"oneOf":[{"type":"number","description":"The average trade, which is the expectancy of one.","isRequired":true,"uniqueKey":"averageTrade.oneOf.0","typeLabel":"number"},{"type":"null","description":"The average trade, which is the expectancy of one.","isRequired":true,"uniqueKey":"averageTrade.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"averageTrade","typeLabel":"number | null"},"averageWin":{"oneOf":[{"type":"number","description":"The average winning trade.","isRequired":true,"uniqueKey":"averageWin.oneOf.0","typeLabel":"number"},{"type":"null","description":"The average winning trade.","isRequired":true,"uniqueKey":"averageWin.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"averageWin","typeLabel":"number | null"},"averageLoss":{"oneOf":[{"type":"number","description":"The average losing trade, negative.","isRequired":true,"uniqueKey":"averageLoss.oneOf.0","typeLabel":"number"},{"type":"null","description":"The average losing trade, negative.","isRequired":true,"uniqueKey":"averageLoss.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"averageLoss","typeLabel":"number | null"},"winLossRatio":{"oneOf":[{"type":"number","description":"The average win over the size of the average loss.","isRequired":true,"uniqueKey":"winLossRatio.oneOf.0","typeLabel":"number"},{"type":"null","description":"The average win over the size of the average loss.","isRequired":true,"uniqueKey":"winLossRatio.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"winLossRatio","typeLabel":"number | null"},"averagePerDay":{"oneOf":[{"type":"number","description":"The net result over the trading days.","isRequired":true,"uniqueKey":"averagePerDay.oneOf.0","typeLabel":"number"},{"type":"null","description":"The net result over the trading days.","isRequired":true,"uniqueKey":"averagePerDay.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"averagePerDay","typeLabel":"number | null"},"biggestWinner":{"oneOf":[{"type":"number","description":"The best trade.","isRequired":true,"uniqueKey":"biggestWinner.oneOf.0","typeLabel":"number"},{"type":"null","description":"The best trade.","isRequired":true,"uniqueKey":"biggestWinner.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"biggestWinner","typeLabel":"number | null"},"biggestLoser":{"oneOf":[{"type":"number","description":"The worst trade.","isRequired":true,"uniqueKey":"biggestLoser.oneOf.0","typeLabel":"number"},{"type":"null","description":"The worst trade.","isRequired":true,"uniqueKey":"biggestLoser.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"biggestLoser","typeLabel":"number | null"},"maxDrawdown":{"type":"number","description":"The deepest fall of the running result from its high, trade by trade, as a positive amount.","isRequired":true,"uniqueKey":"maxDrawdown","typeLabel":"number"},"recoveryFactor":{"oneOf":[{"type":"number","description":"The net result over the deepest drawdown, or null with no drawdown.","isRequired":true,"uniqueKey":"recoveryFactor.oneOf.0","typeLabel":"number"},{"type":"null","description":"The net result over the deepest drawdown, or null with no drawdown.","isRequired":true,"uniqueKey":"recoveryFactor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"recoveryFactor","typeLabel":"number | null"},"sharpe":{"oneOf":[{"type":"number","description":"The daily results' mean over their sample deviation, for a year of 252 trading days, or null under two days.","isRequired":true,"uniqueKey":"sharpe.oneOf.0","typeLabel":"number"},{"type":"null","description":"The daily results' mean over their sample deviation, for a year of 252 trading days, or null under two days.","isRequired":true,"uniqueKey":"sharpe.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sharpe","typeLabel":"number | null"},"sortino":{"oneOf":[{"type":"number","description":"As `sharpe`, over the deviation of the losing days, or null with no losing day.","isRequired":true,"uniqueKey":"sortino.oneOf.0","typeLabel":"number"},{"type":"null","description":"As `sharpe`, over the deviation of the losing days, or null with no losing day.","isRequired":true,"uniqueKey":"sortino.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sortino","typeLabel":"number | null"},"longestWinStreak":{"type":"integer","description":"The most winning trades in a row.","isRequired":true,"uniqueKey":"longestWinStreak","typeLabel":"integer"},"longestLossStreak":{"type":"integer","description":"The most losing trades in a row.","isRequired":true,"uniqueKey":"longestLossStreak","typeLabel":"integer"},"currentStreak":{"oneOf":[{"type":"object","description":"The run the latest trades are on, or null when the latest trade broke even or there is none. A breakeven trade ends a run.","properties":{"kind":{"type":"string","enum":["win","loss"],"description":"Whether the run won or lost.","isRequired":true,"uniqueKey":"currentStreak.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"count":{"type":"integer","description":"How many trades it holds.","isRequired":true,"uniqueKey":"currentStreak.oneOf.0.count","typeLabel":"integer"}},"required":["kind","count"],"isRequired":true,"uniqueKey":"currentStreak.oneOf.0","typeLabel":"object"},{"type":"null","description":"The run the latest trades are on, or null when the latest trade broke even or there is none. A breakeven trade ends a run.","properties":{"kind":{"type":"string","enum":["win","loss"],"description":"Whether the run won or lost."},"count":{"type":"integer","description":"How many trades it holds."}},"required":["kind","count"],"isRequired":true,"uniqueKey":"currentStreak.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"currentStreak","typeLabel":"object | null"},"score":{"oneOf":[{"type":"object","description":"The trader score: five measures from 0 to 100, and their mean, or null with no trade. The win rates count wins among wins and losses; the profit factor and the win/loss ratio earn 100 at 3 or above, and also with wins and no loss; drawdown control is the share of the gross profit the deepest drawdown left standing.","properties":{"measures":{"type":"object","description":"Each measure, from 0 to 100.","properties":{"winRate":{"type":"number","description":"The share of decided trades that won.","isRequired":true,"uniqueKey":"score.oneOf.0.measures.winRate","typeLabel":"number"},"profitFactor":{"type":"number","description":"The profit factor, as a share of 3.","isRequired":true,"uniqueKey":"score.oneOf.0.measures.profitFactor","typeLabel":"number"},"winLossRatio":{"type":"number","description":"The win/loss ratio, as a share of 3.","isRequired":true,"uniqueKey":"score.oneOf.0.measures.winLossRatio","typeLabel":"number"},"dayWinRate":{"type":"number","description":"The share of decided trading days that won.","isRequired":true,"uniqueKey":"score.oneOf.0.measures.dayWinRate","typeLabel":"number"},"drawdownControl":{"type":"number","description":"The share of the gross profit the deepest drawdown left standing.","isRequired":true,"uniqueKey":"score.oneOf.0.measures.drawdownControl","typeLabel":"number"}},"required":["winRate","profitFactor","winLossRatio","dayWinRate","drawdownControl"],"isRequired":true,"uniqueKey":"score.oneOf.0.measures","typeLabel":"object"},"score":{"type":"number","description":"The mean of the five measures.","isRequired":true,"uniqueKey":"score.oneOf.0.score","typeLabel":"number"}},"required":["measures","score"],"isRequired":true,"uniqueKey":"score.oneOf.0","typeLabel":"object"},{"type":"null","description":"The trader score: five measures from 0 to 100, and their mean, or null with no trade. The win rates count wins among wins and losses; the profit factor and the win/loss ratio earn 100 at 3 or above, and also with wins and no loss; drawdown control is the share of the gross profit the deepest drawdown left standing.","properties":{"measures":{"type":"object","description":"Each measure, from 0 to 100.","properties":{"winRate":{"type":"number","description":"The share of decided trades that won."},"profitFactor":{"type":"number","description":"The profit factor, as a share of 3."},"winLossRatio":{"type":"number","description":"The win/loss ratio, as a share of 3."},"dayWinRate":{"type":"number","description":"The share of decided trading days that won."},"drawdownControl":{"type":"number","description":"The share of the gross profit the deepest drawdown left standing."}},"required":["winRate","profitFactor","winLossRatio","dayWinRate","drawdownControl"]},"score":{"type":"number","description":"The mean of the five measures."}},"required":["measures","score"],"isRequired":true,"uniqueKey":"score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"score","typeLabel":"object | null"},"series":{"type":"object","description":"The period's charts, one point a trading day, oldest first.","properties":{"equity":{"type":"array","items":{"type":"object","description":"One point of a day series.","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The trading day, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"series.equity.items.[INDEX].day","typeLabel":"string"},"value":{"type":"number","description":"The value on that day.","isRequired":true,"uniqueKey":"series.equity.items.[INDEX].value","typeLabel":"number"}},"required":["day","value"],"uniqueKey":"series.equity.items.[INDEX]","typeLabel":"object"},"description":"The running result from zero.","isRequired":true,"uniqueKey":"series.equity","typeLabel":"object[]"},"daily":{"type":"array","items":{"type":"object","description":"One point of a day series.","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The trading day, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"series.daily.items.[INDEX].day","typeLabel":"string"},"value":{"type":"number","description":"The value on that day.","isRequired":true,"uniqueKey":"series.daily.items.[INDEX].value","typeLabel":"number"}},"required":["day","value"],"uniqueKey":"series.daily.items.[INDEX]","typeLabel":"object"},"description":"Each day's result.","isRequired":true,"uniqueKey":"series.daily","typeLabel":"object[]"},"drawdown":{"type":"array","items":{"type":"object","description":"One point of a day series.","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The trading day, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"series.drawdown.items.[INDEX].day","typeLabel":"string"},"value":{"type":"number","description":"The value on that day.","isRequired":true,"uniqueKey":"series.drawdown.items.[INDEX].value","typeLabel":"number"}},"required":["day","value"],"uniqueKey":"series.drawdown.items.[INDEX]","typeLabel":"object"},"description":"How far the running result stood under its high, zero or negative.","isRequired":true,"uniqueKey":"series.drawdown","typeLabel":"object[]"},"trades":{"type":"array","items":{"type":"object","description":"One point of a day series.","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The trading day, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"series.trades.items.[INDEX].day","typeLabel":"string"},"value":{"type":"number","description":"The value on that day.","isRequired":true,"uniqueKey":"series.trades.items.[INDEX].value","typeLabel":"number"}},"required":["day","value"],"uniqueKey":"series.trades.items.[INDEX]","typeLabel":"object"},"description":"How many trades closed.","isRequired":true,"uniqueKey":"series.trades","typeLabel":"object[]"}},"required":["equity","daily","drawdown","trades"],"isRequired":true,"uniqueKey":"series","typeLabel":"object"},"calendar":{"type":"array","items":{"type":"object","description":"One point of a day series.","properties":{"day":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"The trading day, as YYYY-MM-DD.","isRequired":true,"uniqueKey":"calendar.items.[INDEX].day","typeLabel":"string"},"value":{"type":"number","description":"The value on that day.","isRequired":true,"uniqueKey":"calendar.items.[INDEX].value","typeLabel":"number"}},"required":["day","value"],"uniqueKey":"calendar.items.[INDEX]","typeLabel":"object"},"description":"Every trading day of the accounts' whole history with a closed trade, oldest first, and its result, whatever the period.","isRequired":true,"uniqueKey":"calendar","typeLabel":"object[]"}},"required":["accounts","from","to","firstDay","feesIncluded","syncing","trades","days","grossProfit","grossLoss","net","profitFactor","averageTrade","averageWin","averageLoss","winLossRatio","averagePerDay","biggestWinner","biggestLoser","maxDrawdown","recoveryFactor","sharpe","sortino","longestWinStreak","longestLossStreak","currentStreak","score","series","calendar"],"example":{"accounts":[{"provider":"rithmic","accountNumber":"PA-4821-07"}],"from":"2026-07-26","to":"2026-08-24","firstDay":"2026-08-21","feesIncluded":true,"syncing":false,"trades":{"wins":2,"breakeven":1,"losses":2,"total":5},"days":{"wins":2,"breakeven":0,"losses":0,"total":2},"grossProfit":1740,"grossLoss":372.5,"net":1367.5,"profitFactor":4.671140939597316,"averageTrade":273.5,"averageWin":870,"averageLoss":-186.25,"winLossRatio":4.671140939597316,"averagePerDay":683.75,"biggestWinner":1150,"biggestLoser":-212.5,"maxDrawdown":212.5,"recoveryFactor":6.435294117647059,"sharpe":25.061468455902197,"sortino":null,"longestWinStreak":1,"longestLossStreak":1,"currentStreak":null,"score":{"measures":{"winRate":50,"profitFactor":100,"winLossRatio":100,"dayWinRate":100,"drawdownControl":87.78735632183908},"score":87.55747126436782},"series":{"equity":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":1367.5}],"daily":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":990}],"drawdown":[{"day":"2026-08-21","value":0},{"day":"2026-08-24","value":0}],"trades":[{"day":"2026-08-21","value":2},{"day":"2026-08-24","value":3}]},"calendar":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":990}]},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"accounts":[{"provider":"rithmic","accountNumber":"PA-4821-07"}],"from":"2026-07-26","to":"2026-08-24","firstDay":"2026-08-21","feesIncluded":true,"syncing":false,"trades":{"wins":2,"breakeven":1,"losses":2,"total":5},"days":{"wins":2,"breakeven":0,"losses":0,"total":2},"grossProfit":1740,"grossLoss":372.5,"net":1367.5,"profitFactor":4.671140939597316,"averageTrade":273.5,"averageWin":870,"averageLoss":-186.25,"winLossRatio":4.671140939597316,"averagePerDay":683.75,"biggestWinner":1150,"biggestLoser":-212.5,"maxDrawdown":212.5,"recoveryFactor":6.435294117647059,"sharpe":25.061468455902197,"sortino":null,"longestWinStreak":1,"longestLossStreak":1,"currentStreak":null,"score":{"measures":{"winRate":50,"profitFactor":100,"winLossRatio":100,"dayWinRate":100,"drawdownControl":87.78735632183908},"score":87.55747126436782},"series":{"equity":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":1367.5}],"daily":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":990}],"drawdown":[{"day":"2026-08-21","value":0},{"day":"2026-08-24","value":0}],"trades":[{"day":"2026-08-21","value":2},{"day":"2026-08-24","value":3}]},"calendar":[{"day":"2026-08-21","value":377.5},{"day":"2026-08-24","value":990}]}}},"exampleType":"generated"}},"exampleType":"generated"},"5cbfaa26-c106-4f4a-82b7-0a50aff3f44d":{"description":"The period, a date, the time zone or `fees` is invalid, a period comes with a range, the provider or account is unknown, or no provider is connected.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"},"85956285-fad0-4d55-a534-ce57de7d69da":{"description":"The key is missing, unknown or revoked.","content":{"application/json":{"schema":{"type":"object","description":"The body of every error response. It always carries `error`, an English sentence you can show. A refused trading request also carries `code`, one of the refusal codes, and `params`, the details of that refusal. Translate by `code` and `params`, and show a generic message for a code you don't recognize. Other errors may carry a `code` of their own.","properties":{"error":{"type":"string","description":"What went wrong, as an English sentence.","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"A stable machine code. On a refused trading request, it is one of the refusal codes.","uniqueKey":"code","typeLabel":"string"},"params":{"type":"object","description":"The details of the refusal named by `code`, on a refused trading request.","uniqueKey":"params","typeLabel":"object"}},"required":["error"],"example":{"error":"invalid_instrument"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"invalid_instrument"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1c5aaeb4-59be-4b7f-a6bc-71f3704dea01":{"tradingApiKey":{"type":"http","scheme":"bearer","description":"The Trading API key (`trdrs_sk_…`), for market data, orders and account state on the accounts its owner holds. Use it server-to-server, and keep it on your server. Its scope is named `trading` in the API.","scopes":[],"schemeName":"tradingApiKey"}},"2bc57ce3-c753-46c1-b290-ebb4191bcfb8":{"venueKey":{"type":"http","scheme":"bearer","description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market, trading and Connect routes, reading the venue's own traders' accounts and Connect, routing their orders and connecting their own accounts, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","scopes":[],"schemeName":"venueKey"},"trader":{"type":"apiKey","in":"header","name":"x-trdrs-trader","description":"Your own id for one of your traders: the id the accounts your venue issues them use. Send it with your Venue key carrying `trader:read`, or `trader:trade` to also route the trader's orders, and the request runs as that trader on their own accounts. An id that names none of your traders is refused with `404` `trader_not_found` and a suspended trader with `403` `trader_suspended`. A request that also carries a cookie or a browser `Origin` is refused with `400` `credential_not_allowed`.","scopes":[],"schemeName":"trader"}}},"servers":{"3448eaa2-66f4-4db9-8b18-e4fb20576c5e":{"url":"https://app.trdrs.co","description":"Production"},"0643fd2f-dcc1-42ae-a0a3-335c1592addb":{"url":"/","description":"This engine"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The Trading API key (`trdrs_sk_…`), for market data, orders and account state on the accounts its owner holds. Use it server-to-server, and keep it on your server. Its scope is named `trading` in the API.","scopes":[],"schemeName":"tradingApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The Trading API key (`trdrs_sk_…`), for market data, orders and account state on the accounts its owner holds. Use it server-to-server, and keep it on your server. Its scope is named `trading` in the API.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"tradingApiKey","name":"Authorization"}],"title":"tradingApiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market, trading and Connect routes, reading the venue's own traders' accounts and Connect, routing their orders and connecting their own accounts, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","scopes":[],"schemeName":"venueKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The Venue key (`trdrs_vk_sandbox_…` or `trdrs_vk_production_…`), in preview. It belongs to one venue in one environment and carries the scopes it was created with. The venue's verified owner creates it while signed in. It works on the `/api/venues/{venueId}` routes and, with `trader:read` or `trader:trade`, on the account, market, trading and Connect routes, reading the venue's own traders' accounts and Connect, routing their orders and connecting their own accounts, each request naming its trader in `x-trdrs-trader`. A `trdrs_sk_…` key can't be used in its place. It reaches its venue's routes and its venue's own traders, and the owner manages keys from a signed-in session. Keep it on your server.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"venueKey","name":"Authorization"},{"scheme":{"type":"apiKey","in":"header","name":"x-trdrs-trader","description":"Your own id for one of your traders: the id the accounts your venue issues them use. Send it with your Venue key carrying `trader:read`, or `trader:trade` to also route the trader's orders, and the request runs as that trader on their own accounts. An id that names none of your traders is refused with `404` `trader_not_found` and a suspended trader with `403` `trader_suspended`. A request that also carries a cookie or a browser `Origin` is refused with `400` `credential_not_allowed`.","scopes":[],"schemeName":"trader"},"schema":{"title":"x-trdrs-trader","type":"string","description":"Your own id for one of your traders: the id the accounts your venue issues them use. Send it with your Venue key carrying `trader:read`, or `trader:trade` to also route the trader's orders, and the request runs as that trader on their own accounts. An id that names none of your traders is refused with `404` `trader_not_found` and a suspended trader with `403` `trader_suspended`. A request that also carries a cookie or a browser `Origin` is refused with `400` `credential_not_allowed`.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"trader","name":"x-trdrs-trader"}],"title":"venueKey \u0026 trader"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"trdrs","siteName":"trdrs Engine API","title":"Get trading analytics - trdrs Engine API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T02:04:41.098Z","originalFileLocation":"api-reference/account/get-trading-analytics.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day\u0026#x27;s result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event. Required key: Trading API key. A venue\u0026#x27;s backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader\u0026#x27;s own accounts.\">\u003cmeta data-mint-head name=\"application-name\" content=\"trdrs Engine API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get trading analytics - trdrs Engine API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day\u0026#x27;s result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event. Required key: Trading API key. A venue\u0026#x27;s backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader\u0026#x27;s own accounts.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"trdrs Engine API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.trdrs.co/api-reference/account/get-trading-analytics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://trdrs.mintlify.site/_mintlify/api/og/v2?division=Account+state\u0026amp;title=Get+trading+analytics\u0026amp;description=Returns+the+figures+of+your+closed+trades+over+a+period%3A+wins+and+losses%2C+of+trades+and+of+trading+days%2C+profit+factor%2C+averages%2C+expectancy%2C+biggest+trades%2C+dr\u0026amp;theme=3bd9f87370d484741ebee58e\u0026amp;signature=c531eed27013b36065c40dd217a7ccee496b51ad927d99488e4f364514897b6b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get trading analytics - trdrs Engine API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day\u0026#x27;s result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event. Required key: Trading API key. A venue\u0026#x27;s backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader\u0026#x27;s own accounts.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://trdrs.mintlify.site/_mintlify/api/og/v2?division=Account+state\u0026amp;title=Get+trading+analytics\u0026amp;description=Returns+the+figures+of+your+closed+trades+over+a+period%3A+wins+and+losses%2C+of+trades+and+of+trading+days%2C+profit+factor%2C+averages%2C+expectancy%2C+biggest+trades%2C+dr\u0026amp;theme=3bd9f87370d484741ebee58e\u0026amp;signature=c531eed27013b36065c40dd217a7ccee496b51ad927d99488e4f364514897b6b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/trdrs/Mc3uPNp5t9BqWGNO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"trdrs Engine API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0a0a0a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.trdrs.co/api-reference/account/get-trading-analytics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/account/get-trading-analytics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.trdrs.co/#organization\",\"name\":\"trdrs Engine API\",\"url\":\"https://docs.trdrs.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/trdrs/VlyBylpRulgoNVYk/logo.svg?fit=max\u0026auto=format\u0026n=VlyBylpRulgoNVYk\u0026q=85\u0026s=0725a6173d2c03859de4fc3b0a99ea50\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.trdrs.co#website\",\"name\":\"trdrs Engine API\",\"url\":\"https://docs.trdrs.co\",\"publisher\":{\"@id\":\"https://docs.trdrs.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics#webpage\",\"url\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics\",\"name\":\"Get trading analytics\",\"description\":\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day's result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event. Required key: Trading API key. A venue's backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader's own accounts.\",\"dateModified\":\"2026-11-25T02:04:41.098Z\",\"isPartOf\":{\"@id\":\"https://docs.trdrs.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.trdrs.co/api-reference/market-data/get-market-data-limits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Trading\",\"item\":\"https://docs.trdrs.co/api-reference/trading/get-the-net-position\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Account state\",\"item\":\"https://docs.trdrs.co/api-reference/account/list-accounts\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Get trading analytics\",\"item\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics#apireference\",\"headline\":\"Get trading analytics\",\"name\":\"Get trading analytics\",\"description\":\"Returns the figures of your closed trades over a period: wins and losses, of trades and of trading days, profit factor, averages, expectancy, biggest trades, drawdown, Sharpe and Sortino ratios, streaks, the trader score, a chart series for each trading day, and every trading day's result for a calendar. They are worked out from every round trip the accounts hold, the same trades GET /api/account/pnl/round-trips lists, each counted on the trading day it closed. Name an account for its figures, or omit both provider and account for the figures of every open account you hold together. Read it again when the account stream sends an analytics event. Required key: Trading API key. A venue's backend can also send it with its Venue key, which carries trader:read or trader:trade, naming one of its own traders in x-trdrs-trader: it then runs on that trader's own accounts.\",\"url\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics\",\"mainEntityOfPage\":{\"@id\":\"https://docs.trdrs.co/api-reference/account/get-trading-analytics#webpage\"},\"dateModified\":\"2026-11-25T02:04:41.098Z\",\"publisher\":{\"@id\":\"https://docs.trdrs.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.trdrs.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"trdrs Engine API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"trdrs Engine API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/account/get-trading-analytics.md","siteName":"trdrs Engine API","nav":{"global":null,"tabs":[{"tab":"Get started","pages":[{"title":"Get started","href":""}]},{"tab":"Guides","dropdowns":[{"dropdown":"Programmatic trading","icon":"code","description":"Trade accounts you hold","groups":[{"group":"Start here","pages":[{"title":"Programmatic trading quickstart","href":"/guides/programmatic-quickstart"}]},{"group":"Trading","pages":[{"title":"Trading overview","sidebarTitle":"Overview","href":"/guides/trading-overview"},{"title":"Place your first order","sidebarTitle":"Place an order","href":"/guides/place-your-first-order"},{"title":"Protect a position","sidebarTitle":"Protect a position","href":"/guides/protect-a-position"},{"title":"Manage working orders","sidebarTitle":"Manage working orders","href":"/guides/manage-working-orders"},{"title":"Close a position","sidebarTitle":"Close a position","href":"/guides/close-a-position"},{"title":"Trade with leverage","sidebarTitle":"Trade with leverage","href":"/guides/trade-with-leverage"},{"title":"Track fills and P\u0026L","sidebarTitle":"Track fills and P\u0026L","href":"/guides/track-fills-and-pnl"}]}]},{"dropdown":"Market data","icon":"chart-line","description":"Read prices, history and streams","pages":[{"title":"Market data overview","sidebarTitle":"Overview","href":"/guides/market-data-overview"},{"title":"Find symbols","sidebarTitle":"Find symbols","href":"/guides/find-symbols"},{"title":"Backfill history","sidebarTitle":"Backfill history","href":"/guides/backfill-history"},{"title":"Stream live market data","sidebarTitle":"Stream live data","href":"/guides/stream-live-data"}]},{"dropdown":"Venues","icon":"building","description":"Run a prop firm or brokerage","groups":[{"group":"Start here","pages":[{"title":"Prop firms","sidebarTitle":"Prop firms","href":"/guides/prop-firms-overview"},{"title":"Brokerages","sidebarTitle":"Brokerages","href":"/guides/brokerages-overview"},{"title":"Venue quickstart","href":"/guides/business-quickstart"},{"title":"Evaluation quickstart","href":"/quickstart"}]},{"group":"Set up your venue","pages":[{"title":"Run a venue end to end","sidebarTitle":"Run a venue","href":"/guides/run-a-venue"},{"title":"Add a provider's markets","sidebarTitle":"Provider markets","href":"/guides/add-provider-markets"},{"title":"Venue keys","sidebarTitle":"Venue keys","href":"/guides/venue-keys"},{"title":"Back Office","href":"/guides/back-office"},{"title":"Venue settings","sidebarTitle":"Venue settings","href":"/guides/back-office-settings"}]},{"group":"Run accounts","pages":[{"title":"Venue accounts","sidebarTitle":"Accounts","href":"/guides/venue-accounts"},{"title":"Put accounts into groups with tags","sidebarTitle":"Groups by tag","href":"/guides/put-accounts-into-groups-with-tags"},{"title":"Paper accounts on provider contracts","href":"/guides/paper-provider-contracts"},{"title":"Hedge venue exposure","sidebarTitle":"Hedging","href":"/guides/venue-hedging"},{"title":"Account analytics","sidebarTitle":"Account analytics","href":"/guides/firm-analytics"},{"title":"Read your usage","sidebarTitle":"Read your usage","href":"/guides/read-your-usage"},{"title":"Receive events on your server","sidebarTitle":"Receive events","href":"/guides/receive-events"}]},{"group":"Check your integration","pages":[{"title":"Venue requirements","href":"/providers/requirements"},{"title":"Run venue conformance","href":"/providers/test-evidence"},{"title":"Use your results","href":"/providers/submission"}]}]},{"dropdown":"Providers","icon":"plug","description":"Connect or build a provider","groups":[{"group":"Start here","pages":[{"title":"Providers overview","sidebarTitle":"Overview","href":"/providers/overview"}]},{"group":"Connect a provider","pages":[{"title":"Connect a provider","sidebarTitle":"Connect and promote","href":"/providers/connections"}]},{"group":"Give your traders data","pages":[{"title":"Provider data","sidebarTitle":"Provider data","href":"/guides/venue-data"},{"title":"Publish a datafeed to your traders","sidebarTitle":"Publish a datafeed","href":"/guides/publish-a-datafeed"}]},{"group":"Add your own provider","pages":[{"title":"Add your own provider","sidebarTitle":"Add your own provider","href":"/providers/build-a-provider"},{"title":"Serve prices and symbols","sidebarTitle":"Serve prices and symbols","href":"/providers/serve-market-data"}]},{"group":"Test and qualify","pages":[{"title":"Provider conformance","href":"/providers/provider-conformance"},{"title":"Run a testnet provider","href":"/guides/run-a-testnet-provider"}]}]},{"dropdown":"Trading interfaces","icon":"display-code","description":"Build your own trading screens","pages":[{"title":"Build a front end","sidebarTitle":"Build a front end","href":"/guides/build-a-front-end"},{"title":"Build a trader app","sidebarTitle":"Build a trader app","href":"/guides/build-a-trader-app"},{"title":"Route your traders' orders","sidebarTitle":"Route your traders' orders","href":"/guides/route-your-traders-orders"}]}]},{"tab":"API reference","groups":[{"group":"Start here","pages":[{"title":"API reference overview","sidebarTitle":"Overview","href":"/api/overview"}]},{"group":"Endpoints","pages":[{"group":"Market data","pages":[{"group":"Prices and symbols","pages":[{"title":"Get market-data limits","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/config","href":"/api-reference/market-data/get-market-data-limits"},{"title":"Search the symbol catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/symbols","href":"/api-reference/market-data/search-the-symbol-catalog"},{"title":"Get symbol details","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/symbol-info","href":"/api-reference/market-data/get-symbol-details"},{"title":"List the perpetuals exchanges' market lists register","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/perpetuals","href":"/api-reference/market-data/list-the-perpetuals-exchanges-market-lists-register"},{"title":"Get the futures catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/instruments","href":"/api-reference/market-data/get-the-futures-catalog"},{"title":"Get server time","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/time","href":"/api-reference/market-data/get-server-time"},{"title":"Get price history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/history","href":"/api-reference/market-data/get-price-history"},{"title":"Get quote snapshots","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/quotes","href":"/api-reference/market-data/get-quote-snapshots"},{"title":"Stream live bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/stream","href":"/api-reference/market-data/stream-live-bars"},{"title":"Stream multiplexed live bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/streams","href":"/api-reference/market-data/stream-multiplexed-live-bars"},{"title":"Get a stock or exchange logo","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/market/logos/{kind}/{id}","href":"/api-reference/market-data/get-a-stock-or-exchange-logo"}]},{"group":"News and calendar","pages":[{"title":"List news headlines","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news","href":"/api-reference/news/list-news-headlines"},{"title":"Get a news image","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news/image/{id}","href":"/api-reference/news/get-a-news-image"},{"title":"List calendar events","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/calendar","href":"/api-reference/news/list-calendar-events"},{"title":"Stream news","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/news/stream","href":"/api-reference/news/stream-news"},{"title":"Stream calendar updates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/calendar/stream","href":"/api-reference/news/stream-calendar-updates"}]}]},{"group":"Trading","pages":[{"group":"Orders","pages":[{"title":"Get the net position","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/position","href":"/api-reference/trading/get-the-net-position"},{"title":"Get what the account may do","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/actions","href":"/api-reference/trading/get-what-the-account-may-do"},{"title":"Match a market for an account","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/match","href":"/api-reference/trading/match-a-market-for-an-account"},{"title":"Preview order margin","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/margin-preview","href":"/api-reference/trading/preview-order-margin"},{"title":"Size an order in money","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/order-size","href":"/api-reference/trading/size-an-order-in-money"},{"title":"Get leverage and margin mode","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/trading/symbol-config","href":"/api-reference/trading/get-leverage-and-margin-mode"},{"title":"Set leverage","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/symbol-config","href":"/api-reference/trading/set-leverage"},{"title":"Set margin mode","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/margin-mode","href":"/api-reference/trading/set-margin-mode"},{"title":"Place an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/order","href":"/api-reference/trading/place-an-order"},{"title":"Replace an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/replace","href":"/api-reference/trading/replace-an-order"},{"title":"Cancel an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/cancel","href":"/api-reference/trading/cancel-an-order"},{"title":"Cancel all working orders","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/cancel-all","href":"/api-reference/trading/cancel-all-working-orders"},{"title":"Protect a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/exits","href":"/api-reference/trading/protect-a-position"},{"title":"Change a bracket","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/trading/exits/{id}","href":"/api-reference/trading/change-a-bracket"},{"title":"Withdraw a bracket","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/trading/exits/{id}","href":"/api-reference/trading/withdraw-a-bracket"},{"title":"Close part of a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/close","href":"/api-reference/trading/close-part-of-a-position"},{"title":"Flatten a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/flatten","href":"/api-reference/trading/flatten-a-position"},{"title":"Flatten the account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/flatten-account","href":"/api-reference/trading/flatten-the-account"},{"title":"Reverse a position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/trading/reverse","href":"/api-reference/trading/reverse-a-position"}]},{"group":"Account state","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/list","href":"/api-reference/account/list-accounts"},{"title":"List the markets an account trades","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/markets","href":"/api-reference/account/list-the-markets-an-account-trades"},{"title":"Get the account summary","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/summary","href":"/api-reference/account/get-the-account-summary"},{"title":"Get the account snapshot","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/snapshot","href":"/api-reference/account/get-the-account-snapshot"},{"title":"List open positions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/positions","href":"/api-reference/account/list-open-positions"},{"title":"List closed positions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/positions/closed","href":"/api-reference/account/list-closed-positions"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/orders","href":"/api-reference/account/list-orders"},{"title":"List order history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/orders/history","href":"/api-reference/account/list-order-history"},{"title":"List fills for an instrument","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/executions","href":"/api-reference/account/list-fills-for-an-instrument"},{"title":"List charges stated apart from fills","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/charges","href":"/api-reference/account/list-charges-stated-apart-from-fills"},{"title":"Get daily P\u0026L history","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/pnl/history","href":"/api-reference/account/get-daily-p\u0026l-history"},{"title":"Get recorded portfolio value","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/portfolio/history","href":"/api-reference/account/get-recorded-portfolio-value"},{"title":"List closed round trips","description":"Returns the account's closed trades, each an entry matched with the fill that closed it, newest first, one page at a time. Pass the previous page's `nextCursor` to get the next, until it is null.\n\nRequired key: Trading API key. A venue's backend can also send it with its Venue key, which carries `trader:read` or `trader:trade`, naming one of its own traders in `x-trdrs-trader`: it then runs on that trader's own accounts.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/pnl/round-trips","href":"/api-reference/account/list-closed-round-trips"},{"title":"Get trading analytics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/analytics","href":"/api-reference/account/get-trading-analytics"},{"title":"List brackets","description":"Returns the brackets around the account's positions: the live ones and those that ended in the last day, each with its ladders, the automation its stop losses run and the orders resting for it, and the account revision they were read at. Where a stop loss's automation is paused, it says why nothing is moving the stop; the stop resting at the provider still protects the position while it is paused. If you already hold a snapshot, you don't need this: the snapshot's `brackets` is the same list. This read makes no call to the provider and doesn't advance the revision.\n\nRequired key: Trading API key. A venue's backend can also send it with its Venue key, which carries `trader:read` or `trader:trade`, naming one of its own traders in `x-trdrs-trader`: it then runs on that trader's own accounts.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/brackets","href":"/api-reference/account/list-brackets"},{"title":"Stream account updates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/stream","href":"/api-reference/account/stream-account-updates"},{"title":"Get history sync status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/account/sync-status","href":"/api-reference/account/get-history-sync-status"}]},{"group":"Evaluation programs","pages":[{"title":"List evaluation programs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/challenges","href":"/api-reference/challenges/list-evaluation-programs"},{"title":"Create an enrollment","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/challenges/enroll","href":"/api-reference/challenges/create-an-enrollment"},{"title":"List your enrollments","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/enrollments","href":"/api-reference/challenges/list-your-enrollments"},{"title":"List enrollment events","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/enrollments/events","href":"/api-reference/challenges/list-enrollment-events"}]}]},{"group":"Connect","pages":[{"title":"List the built-in providers and how each is signed into","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect/providers","href":"/api-reference/connect/list-the-built-in-providers-and-how-each-is-signed-into"},{"title":"List Connect’s tiles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/connect/tiles","href":"/api-reference/connect/list-connect’s-tiles"}]},{"group":"Venues","pages":[{"group":"Venue details","pages":[{"title":"Read a venue","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}","href":"/api-reference/venue-platform-preview/read-a-venue"},{"title":"Retire the venue","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/retire","href":"/api-reference/venue-platform-preview/retire-the-venue"}]},{"group":"Venue conformance","pages":[{"title":"Read your venue certificate","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance","href":"/api-reference/venue-platform-preview/read-your-venue-certificate"},{"title":"List venue conformance tests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance/runs","href":"/api-reference/venue-platform-preview/list-venue-conformance-tests"},{"title":"Start a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conformance/runs","href":"/api-reference/venue-platform-preview/start-a-venue-conformance-test"},{"title":"Read a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conformance/runs/{runId}","href":"/api-reference/venue-platform-preview/read-a-venue-conformance-test"},{"title":"Finish a venue conformance test","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conformance/runs/{runId}/close","href":"/api-reference/venue-platform-preview/finish-a-venue-conformance-test"}]},{"group":"Branding and reference data","pages":[{"title":"Read the venue brand","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/brand","href":"/api-reference/venue-platform-preview/read-the-venue-brand"},{"title":"Update the venue brand","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/brand","href":"/api-reference/venue-platform-preview/update-the-venue-brand"},{"title":"Upload the venue logo","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/brand/logo","href":"/api-reference/venue-platform-preview/upload-the-venue-logo"},{"title":"Read the venue instrument reference catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/instruments","href":"/api-reference/venue-platform-preview/read-the-venue-instrument-reference-catalog"},{"title":"Read registered contract facts for a new instrument","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/contract","href":"/api-reference/venue-platform-preview/read-registered-contract-facts-for-a-new-instrument"},{"title":"Search the markets a venue can list","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reference/symbols","href":"/api-reference/venue-platform-preview/search-the-markets-a-venue-can-list"}]},{"group":"Instruments","pages":[{"title":"List instrument candidates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments","href":"/api-reference/venue-platform-preview/list-instrument-candidates"},{"title":"List active instruments","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments/active","href":"/api-reference/venue-platform-preview/list-active-instruments"},{"title":"Read an instrument candidate","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/instruments/{candidateId}","href":"/api-reference/venue-platform-preview/read-an-instrument-candidate"},{"title":"Save an instrument candidate","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/instruments","href":"/api-reference/venue-platform-preview/save-an-instrument-candidate"},{"title":"Activate an instrument version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/instruments/active","href":"/api-reference/venue-platform-preview/activate-an-instrument-version"}]},{"group":"Conditions and groups","pages":[{"title":"List account groups","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/groups","href":"/api-reference/venue-platform-preview/list-account-groups"},{"title":"List condition profiles","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/profiles","href":"/api-reference/venue-platform-preview/list-condition-profiles"},{"title":"Apply a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/active","href":"/api-reference/venue-platform-preview/apply-a-condition-profile"},{"title":"Create or update an account group","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/groups","href":"/api-reference/venue-platform-preview/create-or-update-an-account-group"},{"title":"Delete an account group","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/groups/{groupId}","href":"/api-reference/venue-platform-preview/delete-an-account-group"},{"title":"Delete an evaluation","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/evaluations/{groupId}","href":"/api-reference/venue-platform-preview/delete-an-evaluation"},{"title":"Preview a conditions change","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/preview","href":"/api-reference/venue-platform-preview/preview-a-conditions-change"},{"title":"Publish a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/profiles","href":"/api-reference/venue-platform-preview/publish-a-condition-profile"},{"title":"Delete a condition profile","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/conditions/profiles/{profileId}","href":"/api-reference/venue-platform-preview/delete-a-condition-profile"},{"title":"Point a group at a route","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/groups/{groupId}/route","href":"/api-reference/venue-platform-preview/point-a-group-at-a-route"},{"title":"Read the tag rules","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/tag-rules","href":"/api-reference/venue-platform-preview/read-the-tag-rules"},{"title":"Set the tag rules","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/tag-rules","href":"/api-reference/venue-platform-preview/set-the-tag-rules"}]},{"group":"Routes","pages":[{"title":"List routes","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/routes","href":"/api-reference/venue-platform-preview/list-routes"},{"title":"Create or update a route","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/routes","href":"/api-reference/venue-platform-preview/create-or-update-a-route"}]},{"group":"Providers and connections","pages":[{"title":"List provider connections","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections","href":"/api-reference/venue-platform-preview/list-provider-connections"},{"title":"List discovered provider accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/accounts","href":"/api-reference/venue-platform-preview/list-discovered-provider-accounts"},{"title":"Read provider validation status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/validations/{jobId}","href":"/api-reference/venue-platform-preview/read-provider-validation-status"},{"title":"List provider versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/providers","href":"/api-reference/venue-platform-preview/list-provider-versions"},{"title":"Create a provider connection draft","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections","href":"/api-reference/venue-platform-preview/create-a-provider-connection-draft"},{"title":"Queue read-only provider validation","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/validate","href":"/api-reference/venue-platform-preview/queue-read-only-provider-validation"},{"title":"Promote a provider connection to validated","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/promote","href":"/api-reference/venue-platform-preview/promote-a-provider-connection-to-validated"},{"title":"Register a public provider version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers","href":"/api-reference/venue-platform-preview/register-a-public-provider-version"},{"title":"Link a provider version to its company and integration","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers/{providerId}/link","href":"/api-reference/venue-platform-preview/link-a-provider-version-to-its-company-and-integration"},{"title":"Retire a provider version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/providers/{providerId}/retire","href":"/api-reference/venue-platform-preview/retire-a-provider-version"},{"title":"Record a provider connection's exposed setting (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/expose","href":"/api-reference/venue-platform-preview/record-a-provider-connections-exposed-setting-deprecated"},{"title":"List a connection's provider markets","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/connections/{connectionId}/markets","href":"/api-reference/venue-platform-preview/list-a-connections-provider-markets"},{"title":"Add a connection's provider markets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/markets","href":"/api-reference/venue-platform-preview/add-a-connections-provider-markets"},{"title":"Read a connection's provider markets now","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/connections/{connectionId}/markets/read","href":"/api-reference/venue-platform-preview/read-a-connections-provider-markets-now"},{"title":"List the platform's markets","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/platform-markets","href":"/api-reference/venue-platform-preview/list-the-platforms-markets"},{"title":"Add the platform's markets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/platform-markets","href":"/api-reference/venue-platform-preview/add-the-platforms-markets"},{"title":"Read the trdrs-managed provider catalog","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/provider-catalog/directory","href":"/api-reference/venue-platform-preview/read-the-trdrs-managed-provider-catalog"},{"title":"Read your organization's provider listings","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/provider-catalog/mine","href":"/api-reference/venue-platform-preview/read-your-organizations-provider-listings"},{"title":"Create a provider listing","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles","href":"/api-reference/venue-platform-preview/create-a-provider-listing"},{"title":"Update a provider listing","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}","href":"/api-reference/venue-platform-preview/update-a-provider-listing"},{"title":"Upload a listing's logo","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/logo","href":"/api-reference/venue-platform-preview/upload-a-listings-logo"},{"title":"Record a provider release","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/releases","href":"/api-reference/venue-platform-preview/record-a-provider-release"},{"title":"Submit a release for production review","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/profiles/{companyId}/publication","href":"/api-reference/venue-platform-preview/submit-a-release-for-production-review"},{"title":"Request dedicated provider setup","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/provider-catalog/releases/{releaseId}/install","href":"/api-reference/venue-platform-preview/request-dedicated-provider-setup"}]},{"group":"Risk policies","pages":[{"title":"List the venue's risk policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk-policies","href":"/api-reference/venue-platform-preview/list-the-venues-risk-policies"},{"title":"Store a risk policy version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies","href":"/api-reference/venue-platform-preview/store-a-risk-policy-version"},{"title":"Read one risk policy","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk-policies/{policyId}","href":"/api-reference/venue-platform-preview/read-one-risk-policy"},{"title":"Publish a risk policy version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/publications","href":"/api-reference/venue-platform-preview/publish-a-risk-policy-version"},{"title":"Name a risk policy and set its limits","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/setting","href":"/api-reference/venue-platform-preview/name-a-risk-policy-and-set-its-limits"},{"title":"Preview a financing sheet","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/financing/preview","href":"/api-reference/venue-platform-preview/preview-a-financing-sheet"},{"title":"Apply a financing sheet","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/risk-policies/{policyId}/financing/apply","href":"/api-reference/venue-platform-preview/apply-a-financing-sheet"}]},{"group":"Stages","pages":[{"title":"Read an account's stage eligibility","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/stages/{stageId}/eligibility","href":"/api-reference/venue-platform-preview/read-an-accounts-stage-eligibility"},{"title":"List stage policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/stages/policies","href":"/api-reference/venue-platform-preview/list-stage-policies"},{"title":"Advance an account past a stage","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/stages/{stageId}/advance","href":"/api-reference/venue-platform-preview/advance-an-account-past-a-stage"},{"title":"Put a stage policy in force","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/stages/active","href":"/api-reference/venue-platform-preview/put-a-stage-policy-in-force"},{"title":"Publish a stage policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/stages/policies","href":"/api-reference/venue-platform-preview/publish-a-stage-policy"}]},{"group":"Retired account controls","pages":[{"title":"Retired account risk controls","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/risk-controls","href":"/api-reference/venue-platform-preview/retired-account-risk-controls"},{"title":"Retired account risk controls write","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/risk-controls","href":"/api-reference/venue-platform-preview/retired-account-risk-controls-write"}]},{"group":"Venue accounts","pages":[{"title":"List a venue's accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts","href":"/api-reference/venue-platform-preview/list-a-venues-accounts"},{"title":"List existing accounts with original rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/existing-accounts","href":"/api-reference/venue-platform-preview/list-existing-accounts-with-original-rules"},{"title":"Issue an account into a group","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts","href":"/api-reference/venue-platform-preview/issue-an-account-into-a-group"},{"title":"Bind a discovered external account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/bind","href":"/api-reference/venue-platform-preview/bind-a-discovered-external-account"},{"title":"Credit, debit or adjust an account's balance","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/balance","href":"/api-reference/venue-platform-preview/credit-debit-or-adjust-an-accounts-balance"},{"title":"Quote an account payout","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/payout","href":"/api-reference/venue-platform-preview/quote-an-account-payout"},{"title":"Record an account payout","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/payout","href":"/api-reference/venue-platform-preview/record-an-account-payout"},{"title":"Reset an account to its starting balance","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/reset","href":"/api-reference/venue-platform-preview/reset-an-account-to-its-starting-balance"},{"title":"Close a trader's position","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/close-position","href":"/api-reference/venue-platform-preview/close-a-traders-position"},{"title":"Halt trading on an account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/halt","href":"/api-reference/venue-platform-preview/halt-trading-on-an-account"},{"title":"Resume trading on an account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/resume","href":"/api-reference/venue-platform-preview/resume-trading-on-an-account"},{"title":"Read an account's analytics","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/analytics","href":"/api-reference/venue-platform-preview/read-an-accounts-analytics"},{"title":"Revoke an account grant","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/accounts/{accountId}/grants/{grantId}","href":"/api-reference/venue-platform-preview/revoke-an-account-grant"},{"title":"Read account invitation status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/grants/{grantId}","href":"/api-reference/venue-platform-preview/read-account-invitation-status"},{"title":"Read an account's open liquidation","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/incident","href":"/api-reference/venue-platform-preview/read-an-accounts-open-liquidation"},{"title":"Read what one account may trade","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/instruments","href":"/api-reference/venue-platform-preview/read-what-one-account-may-trade"},{"title":"Read a customer account's books","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/ledger","href":"/api-reference/venue-platform-preview/read-a-customer-accounts-books"},{"title":"Read one account's effective conditions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/conditions/accounts/{accountId}/effective","href":"/api-reference/venue-platform-preview/read-one-accounts-effective-conditions"},{"title":"Invite an account recipient","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/grants","href":"/api-reference/venue-platform-preview/invite-an-account-recipient"},{"title":"Move an account between groups","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/accounts/{accountId}/group","href":"/api-reference/venue-platform-preview/move-an-account-between-groups"},{"title":"Set per-account safety limits","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/conditions/accounts/{accountId}/risk","href":"/api-reference/venue-platform-preview/set-per-account-safety-limits"},{"title":"Read recorded account operations","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/activity","href":"/api-reference/venue-platform-preview/read-recorded-account-operations"},{"title":"Read a user’s activity across their accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/user-activity","href":"/api-reference/venue-platform-preview/read-a-user’s-activity-across-their-accounts"},{"title":"Read the wallets of an account's trader","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/wallets","href":"/api-reference/venue-platform-preview/read-the-wallets-of-an-accounts-trader"}]},{"group":"Sales and payout requests","pages":[{"title":"Read the catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/catalog","href":"/api-reference/venue-platform-preview/read-the-catalog"},{"title":"Read the legal text (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/legal","href":"/api-reference/venue-platform-preview/read-the-legal-text-deprecated"},{"title":"Record an order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/orders","href":"/api-reference/venue-platform-preview/record-an-order"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/orders","href":"/api-reference/venue-platform-preview/list-orders"},{"title":"Read an order","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/orders/{orderId}","href":"/api-reference/venue-platform-preview/read-an-order"},{"title":"Request a payout","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/payout-requests","href":"/api-reference/venue-platform-preview/request-a-payout"},{"title":"List an account's payout requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/payout-requests","href":"/api-reference/venue-platform-preview/list-an-accounts-payout-requests"},{"title":"List payout requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/payout-requests","href":"/api-reference/venue-platform-preview/list-payout-requests"},{"title":"Read the payouts pause","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/payouts-pause","href":"/api-reference/venue-platform-preview/read-the-payouts-pause"},{"title":"Read where fees are paid","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-wallet/fee-addresses","href":"/api-reference/venue-platform-preview/read-where-fees-are-paid"}]},{"group":"Venue traders","pages":[{"title":"Send a trader to the trading platform (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/handoffs","href":"/api-reference/venue-platform-preview/send-a-trader-to-the-trading-platform-deprecated"},{"title":"Suspend a trader","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/traders/{trader}/suspension","href":"/api-reference/venue-platform-preview/suspend-a-trader"},{"title":"Lift a trader's suspension","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/traders/{trader}/suspension","href":"/api-reference/venue-platform-preview/lift-a-traders-suspension"}]},{"group":"Introducing brokers","pages":[{"title":"List introducing brokers","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers","href":"/api-reference/venue-platform-preview/list-introducing-brokers"},{"title":"Make an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers","href":"/api-reference/venue-platform-preview/make-an-introducing-broker"},{"title":"Read the introducing broker tree","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers/tree","href":"/api-reference/venue-platform-preview/read-the-introducing-broker-tree"},{"title":"Read an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}","href":"/api-reference/venue-platform-preview/read-an-introducing-broker"},{"title":"Change an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}","href":"/api-reference/venue-platform-preview/change-an-introducing-broker"},{"title":"Retire an introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/introducing-brokers/{introducingBrokerId}/retire","href":"/api-reference/venue-platform-preview/retire-an-introducing-broker"},{"title":"Read an account's introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/introducing-broker","href":"/api-reference/venue-platform-preview/read-an-accounts-introducing-broker"},{"title":"Move an account to another introducing broker","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/introducing-broker","href":"/api-reference/venue-platform-preview/move-an-account-to-another-introducing-broker"},{"title":"Read the rebate cap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/cap","href":"/api-reference/venue-platform-preview/read-the-rebate-cap"},{"title":"Set the rebate cap","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/rebates/cap","href":"/api-reference/venue-platform-preview/set-the-rebate-cap"},{"title":"Read the rebate report","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/report","href":"/api-reference/venue-platform-preview/read-the-rebate-report"},{"title":"Download the rebate report","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/rebates/report.csv","href":"/api-reference/venue-platform-preview/download-the-rebate-report"}]},{"group":"Reconciliation","pages":[{"title":"Read every account's statement","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/accounts","href":"/api-reference/venue-platform-preview/read-every-accounts-statement"},{"title":"Read an account's statement","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/accounts/{accountId}","href":"/api-reference/venue-platform-preview/read-an-accounts-statement"},{"title":"Compare your figures with the book","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/reconciliation/compare","href":"/api-reference/venue-platform-preview/compare-your-figures-with-the-book"},{"title":"Read how often your providers rejected orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/reconciliation/rejections","href":"/api-reference/venue-platform-preview/read-how-often-your-providers-rejected-orders"},{"title":"Read the money in and out of your accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-flow","href":"/api-reference/venue-platform-preview/read-the-money-in-and-out-of-your-accounts"},{"title":"Read what the venue earned in a month","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/earnings","href":"/api-reference/venue-platform-preview/read-what-the-venue-earned-in-a-month"}]},{"group":"Money moves","pages":[{"title":"Read the venue's money moves","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-moves","href":"/api-reference/venue-platform-preview/read-the-venues-money-moves"},{"title":"Read one money move","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-moves/{moveId}","href":"/api-reference/venue-platform-preview/read-one-money-move"},{"title":"Read the venue's money settings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/money-settings","href":"/api-reference/venue-platform-preview/read-the-venues-money-settings"},{"title":"Read which platform runs the company wallet","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-wallet/platform","href":"/api-reference/venue-platform-preview/read-which-platform-runs-the-company-wallet"},{"title":"List what the company wallet can swap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps/pairs","href":"/api-reference/venue-platform-preview/list-what-the-company-wallet-can-swap"},{"title":"List the company wallet's swaps","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps","href":"/api-reference/venue-platform-preview/list-the-company-wallets-swaps"},{"title":"Read one swap","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/company-swaps/{swapId}","href":"/api-reference/venue-platform-preview/read-one-swap"}]},{"group":"Trade desk","pages":[{"title":"Read your markets' prices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/markets","href":"/api-reference/venue-platform-preview/read-your-markets-prices"},{"title":"Read one market's bars","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/markets/{instrumentId}/bars","href":"/api-reference/venue-platform-preview/read-one-markets-bars"},{"title":"Stream your markets' prices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/stream","href":"/api-reference/venue-platform-preview/stream-your-markets-prices"},{"title":"Read your desk accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts","href":"/api-reference/venue-platform-preview/read-your-desk-accounts"},{"title":"Mark a desk account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts","href":"/api-reference/venue-platform-preview/mark-a-desk-account"},{"title":"Release a desk account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/release","href":"/api-reference/venue-platform-preview/release-a-desk-account"},{"title":"Read a desk account's limits","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/limits","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-limits"},{"title":"Set a desk account's limits","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/desk/accounts/{accountId}/limits","href":"/api-reference/venue-platform-preview/set-a-desk-accounts-limits"},{"title":"Read a desk account's orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/orders","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-orders"},{"title":"Place a desk order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders","href":"/api-reference/venue-platform-preview/place-a-desk-order"},{"title":"Cancel a desk order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders/{orderId}/cancel","href":"/api-reference/venue-platform-preview/cancel-a-desk-order"},{"title":"Settle a desk order whose outcome is unknown","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/orders/{orderId}/settle","href":"/api-reference/venue-platform-preview/settle-a-desk-order-whose-outcome-is-unknown"},{"title":"Read a desk account's parent orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-parent-orders"},{"title":"Place a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders","href":"/api-reference/venue-platform-preview/place-a-desk-parent-order"},{"title":"Read a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders/{parentOrderId}","href":"/api-reference/venue-platform-preview/read-a-desk-parent-order"},{"title":"Cancel a desk parent order","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/parent-orders/{parentOrderId}/cancel","href":"/api-reference/venue-platform-preview/cancel-a-desk-parent-order"},{"title":"Size a desk order by money","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/order-size","href":"/api-reference/venue-platform-preview/size-a-desk-order-by-money"},{"title":"Preview a desk order's margin","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/order-preview","href":"/api-reference/venue-platform-preview/preview-a-desk-orders-margin"},{"title":"Read a desk account's symbol settings","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/desk/accounts/{accountId}/symbol-settings","href":"/api-reference/venue-platform-preview/read-a-desk-accounts-symbol-settings"},{"title":"Change a desk account's symbol settings","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/desk/accounts/{accountId}/symbol-settings","href":"/api-reference/venue-platform-preview/change-a-desk-accounts-symbol-settings"},{"title":"Resume your desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/resume","href":"/api-reference/venue-platform-preview/resume-your-desk"}]},{"group":"Quote requests","pages":[{"title":"List quote requests","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quote-requests","href":"/api-reference/venue-platform-preview/list-quote-requests"},{"title":"Read a quote request","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quote-requests/{requestId}","href":"/api-reference/venue-platform-preview/read-a-quote-request"},{"title":"Ask for quotes from the desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/quote-requests","href":"/api-reference/venue-platform-preview/ask-for-quotes-from-the-desk"},{"title":"Accept quotes from the desk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/desk/accounts/{accountId}/quote-requests/{requestId}/accept","href":"/api-reference/venue-platform-preview/accept-quotes-from-the-desk"},{"title":"Read your quoting rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/quoting-rules","href":"/api-reference/venue-platform-preview/read-your-quoting-rules"},{"title":"Set your quoting rules","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/quoting-rules","href":"/api-reference/venue-platform-preview/set-your-quoting-rules"},{"title":"Read a group's quotes first setting","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/groups/{groupId}/quotes-first","href":"/api-reference/venue-platform-preview/read-a-groups-quotes-first-setting"},{"title":"Set a group's quotes first setting","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/groups/{groupId}/quotes-first","href":"/api-reference/venue-platform-preview/set-a-groups-quotes-first-setting"}]},{"group":"Hedging","pages":[{"title":"Read venue hedge state","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedges","href":"/api-reference/venue-platform-preview/read-venue-hedge-state"},{"title":"Publish a hedge policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/policies","href":"/api-reference/venue-platform-preview/publish-a-hedge-policy"},{"title":"Activate, pause or stop a hedge policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/activation","href":"/api-reference/venue-platform-preview/activate-pause-or-stop-a-hedge-policy"},{"title":"Preview or persist the next hedge target","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/calculate","href":"/api-reference/venue-platform-preview/preview-or-persist-the-next-hedge-target"},{"title":"Dispatch one prepared hedge intent","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/intents/{intentId}/dispatch","href":"/api-reference/venue-platform-preview/dispatch-one-prepared-hedge-intent"},{"title":"Reconcile an uncertain hedge intent","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/intents/{intentId}/reconcile","href":"/api-reference/venue-platform-preview/reconcile-an-uncertain-hedge-intent"},{"title":"Stop every hedge policy for this venue","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/emergency-stop","href":"/api-reference/venue-platform-preview/stop-every-hedge-policy-for-this-venue"},{"title":"Flatten a hedge destination","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/flatten","href":"/api-reference/venue-platform-preview/flatten-a-hedge-destination"},{"title":"Bind a customer account to its hedge account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/accounts","href":"/api-reference/venue-platform-preview/bind-a-customer-account-to-its-hedge-account"},{"title":"Reconcile a customer account's hedge","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedges/accounts/{accountId}/reconcile","href":"/api-reference/venue-platform-preview/reconcile-a-customer-accounts-hedge"},{"title":"List hedging policies","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies","href":"/api-reference/venue-platform-preview/list-hedging-policies"},{"title":"Make a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies","href":"/api-reference/venue-platform-preview/make-a-hedging-policy"},{"title":"Change a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}","href":"/api-reference/venue-platform-preview/change-a-hedging-policy"},{"title":"Delete a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}","href":"/api-reference/venue-platform-preview/delete-a-hedging-policy"},{"title":"Pause, stop or resume a hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/state","href":"/api-reference/venue-platform-preview/pause-stop-or-resume-a-hedging-policy"},{"title":"Resume the new trades a failed net hedge paused","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/resume-trading","href":"/api-reference/venue-platform-preview/resume-the-new-trades-a-failed-net-hedge-paused"},{"title":"Read a hedging policy's parent orders","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/parent-orders","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-parent-orders"},{"title":"Read a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-script"},{"title":"Save a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script","href":"/api-reference/venue-platform-preview/save-a-hedging-policys-script"},{"title":"List a hedging policy's script versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/versions","href":"/api-reference/venue-platform-preview/list-a-hedging-policys-script-versions"},{"title":"Read one version of a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/versions/{version}","href":"/api-reference/venue-platform-preview/read-one-version-of-a-hedging-policys-script"},{"title":"Set a hedging policy's script mode","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/mode","href":"/api-reference/venue-platform-preview/set-a-hedging-policys-script-mode"},{"title":"Run an earlier version of a hedging policy's script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/version","href":"/api-reference/venue-platform-preview/run-an-earlier-version-of-a-hedging-policys-script"},{"title":"Read a hedging policy's script runs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/runs","href":"/api-reference/venue-platform-preview/read-a-hedging-policys-script-runs"},{"title":"Try a hedging script","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/hedging-policies/{hedgingPolicyId}/script/try","href":"/api-reference/venue-platform-preview/try-a-hedging-script"},{"title":"Pick a group's hedging policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/groups/{groupId}/hedging-policy","href":"/api-reference/venue-platform-preview/pick-a-groups-hedging-policy"},{"title":"Read your router's price","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/router","href":"/api-reference/venue-platform-preview/read-your-routers-price"},{"title":"Read the router's valuation beside the listings'","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/router/comparison","href":"/api-reference/venue-platform-preview/read-the-routers-valuation-beside-the-listings"},{"title":"Read a group's router setting","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/groups/{groupId}/router","href":"/api-reference/venue-platform-preview/read-a-groups-router-setting"},{"title":"Set a group's router setting","deprecated":null,"version":null,"openapi":"/api/openapi.json put /api/venues/{venueId}/groups/{groupId}/router","href":"/api-reference/venue-platform-preview/set-a-groups-router-setting"},{"title":"Set an account's tags","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/tags","href":"/api-reference/venue-platform-preview/set-an-accounts-tags"},{"title":"Read where an account stands against results rules","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/accounts/{accountId}/hedging-results","href":"/api-reference/venue-platform-preview/read-where-an-account-stands-against-results-rules"},{"title":"Unbind a hedge account","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/accounts/{accountId}/unbind","href":"/api-reference/venue-platform-preview/unbind-a-hedge-account"},{"title":"Read risk across the venue's accounts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/risk","href":"/api-reference/venue-platform-preview/read-risk-across-the-venues-accounts"}]},{"group":"Usage and webhooks","pages":[{"title":"Read the venue's metered usage for a month","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/usage","href":"/api-reference/venue-platform-preview/read-the-venues-metered-usage-for-a-month"},{"title":"Read the accounts behind the venue's usage","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/usage/accounts","href":"/api-reference/venue-platform-preview/read-the-accounts-behind-the-venues-usage"},{"title":"Read the receipt of one balance operation","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/balance-ops/{referenceId}","href":"/api-reference/venue-platform-preview/read-the-receipt-of-one-balance-operation"},{"title":"List the venue's webhooks","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/webhooks","href":"/api-reference/venue-platform-preview/list-the-venues-webhooks"},{"title":"Register a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/webhooks","href":"/api-reference/venue-platform-preview/register-a-webhook"},{"title":"Remove a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /api/venues/{venueId}/webhooks/{webhookId}","href":"/api-reference/venue-platform-preview/remove-a-webhook"},{"title":"Send a signed test ping to a webhook","deprecated":null,"version":null,"openapi":"/api/openapi.json post /api/venues/{venueId}/webhooks/{webhookId}/test","href":"/api-reference/venue-platform-preview/send-a-signed-test-ping-to-a-webhook"},{"title":"Read a webhook's delivery log","deprecated":null,"version":null,"openapi":"/api/openapi.json get /api/venues/{venueId}/webhooks/{webhookId}/deliveries","href":"/api-reference/venue-platform-preview/read-a-webhooks-delivery-log"}]},{"group":"Pre-registration","pages":[{"title":"Pre-register a trader’s account (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/registrations","href":"/api-reference/connect/pre-register-a-trader’s-account-deprecated"},{"title":"List pre-registered accounts (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/pre-registration/registrations","href":"/api-reference/connect/list-pre-registered-accounts-deprecated"},{"title":"Cancel a pre-registration (deprecated)","deprecated":true,"version":null,"openapi":"/api/openapi.json delete /api/pre-registration/registrations","href":"/api-reference/connect/cancel-a-pre-registration-deprecated"}]},{"group":"Pre-registration conformance (sandbox)","pages":[{"title":"Start a sandbox conformance run","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/conformance/runs","href":"/api-reference/connect/start-a-sandbox-conformance-run"},{"title":"Read conformance run results","deprecated":true,"version":null,"openapi":"/api/openapi.json get /api/pre-registration/conformance/runs/{id}","href":"/api-reference/connect/read-conformance-run-results"},{"title":"Finish a sandbox conformance run","deprecated":true,"version":null,"openapi":"/api/openapi.json post /api/pre-registration/conformance/runs/{id}/close","href":"/api-reference/connect/finish-a-sandbox-conformance-run"}]}]}]}]},{"tab":"SDKs and tools","dropdowns":[{"dropdown":"Overview","icon":"flag-checkered","description":"Choose a tool for your integration","pages":[{"title":"SDKs and tools","sidebarTitle":"Overview","href":"/sdks"}]},{"dropdown":"TypeScript","icon":"cube","description":"Read about the TypeScript SDK and its availability","pages":[{"title":"TypeScript SDK","sidebarTitle":"TypeScript SDK (unavailable)","href":"/sdks/typescript"}]},{"dropdown":"Charting","icon":"chart-line","description":"Build charts with Quick Charts","pages":[{"title":"Charting","href":"/chart-integration"}]},{"dropdown":"CLI","icon":"terminal","description":"Read about the CLI and its availability","pages":[{"title":"CLI","sidebarTitle":"CLI (unavailable)","href":"/cli"}]},{"dropdown":"AI","icon":"robot","description":"Build and check an integration with a coding agent","groups":[{"group":"Start here","pages":[{"title":"Build with AI","href":"/ai"}]},{"group":"Prompts","pages":[{"title":"Agent prompts","href":"/sdks/agent-prompts"}]}]}]}]},"basePath":"","title":"Get trading analytics - trdrs Engine API","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}