{"format":"opendoc-document","version":1,"url":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker","title":"Obtener el interés abierto actual por ticker","description":"GET /positions/{accountId}/{asset}/open-notional: Nocional abierto que la cuenta mantiene actualmente en un mercado, sumado por dirección, fp9 en bruto.","kind":"api-operation","locale":"es","inLanguage":"es","translation":{"sourceLanguage":"en","targetLanguage":"es","status":"complete","translatedUnits":15,"totalUnits":15},"lastModified":"2026-09-28T20:05:09.350Z","revision":"3c2fd254d25c5fe88817d5c939afd24407f25862bdfb7b9dc8ab5105728c7abe","section":{"title":"Developers","url":"https://docs.upscale.trade/es/developers"},"representations":{"html":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker","markdown":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker.md","json":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker.json"},"translations":{"en":"https://docs.upscale.trade/developers/operations/getopennotionalbyticker","ru":"https://docs.upscale.trade/ru/developers/operations/getopennotionalbyticker","es":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker"},"operation":{"id":"getOpenNotionalByTicker","method":"GET","path":"/positions/{accountId}/{asset}/open-notional","summary":"Obtener el interés abierto actual por ticker","description":"Nocional abierto que la cuenta mantiene actualmente en un mercado, sumado por dirección, fp9 en bruto.\n\n- Útil antes de calcular el tamaño de un aumento: el mercado limita el nocional abierto por dirección, y una orden que superaría el límite se rechaza\n  con `order_exceeds_max_open_notional`.","tags":["Trading"],"tagLabels":{"Accounts":"Cuentas","Config":"Configuración","Trading":"Trading"},"deprecated":false,"parameters":[{"name":"accountId","location":"path","schema":{"type":"string · uuid","types":["string"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid"},"properties":[],"variants":[]},"type":"string · uuid","required":true,"description":"Identificador de la cuenta del trader. Debe pertenecer al solicitante.","example":"00000000-0000-4000-8000-000000000000"},{"name":"asset","location":"path","schema":{"type":"string","types":["string"],"example":"BTC","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]},"type":"string","required":true,"description":"Ticker del activo base del mercado, tal como lo devuelve `GET /v2/markets`.","example":"BTC"}],"bodies":[],"responses":[{"status":"401","description":"No autorizado","properties":[],"headers":[]},{"status":"403","description":"La cuenta pertenece a otro usuario (`account_access_denied`), o la solicitud se autentica con una clave de API mientras `api_trading` está deshabilitado en la cuenta (`api_trading_not_enabled`).","properties":[],"headers":[]},{"status":"404","description":"No hay ninguna cuenta con este identificador, o no hay ningún mercado para este ticker.","properties":[],"headers":[]},{"status":"429","description":"Se superó el límite de velocidad de la clave de API (`api_key_rate_limit_exceeded`). `Retry-After` indica cuándo volver; el cuerpo incluye el bucket (`read` / `write`), la ventana que se activó, su límite y `retryAt`.","properties":[],"headers":[]},{"status":"default","description":"Respuesta","mediaType":"application/json","properties":[{"name":"openNotionalLong","type":"string · int32","required":true,"description":"Open notional the account holds long on this market, summed across positions, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Open notional the account holds long on this market, summed across positions, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"openNotionalShort","type":"string · int32","required":true,"description":"Open notional the account holds short on this market, summed across positions, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Open notional the account holds short on this market, summed across positions, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}],"schema":{"type":"object","types":["object"],"reference":"#/components/schemas/PositionOpenNotionalResponse","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"openNotionalLong","type":"string · int32","required":true,"description":"Nocional abierto que la cuenta mantiene en largo en este mercado, sumado entre posiciones, fp9 en bruto.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Nocional abierto que la cuenta mantiene en largo en este mercado, sumado entre posiciones, fp9 en bruto.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"openNotionalShort","type":"string · int32","required":true,"description":"Notional abierto que la cuenta mantiene en corto en este mercado, sumado entre posiciones, fp9 en bruto.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Notional abierto que la cuenta mantiene en corto en este mercado, sumado entre posiciones, fp9 en bruto.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}],"variants":[]},"example":"{\n  \"openNotionalLong\": \"1000000000\",\n  \"openNotionalShort\": \"1000000000\"\n}","headers":[]}],"security":[{"name":"bearer","type":"http · bearer","description":"Clave de API personal, con el prefijo `usk_`.","required":true,"scopes":[]}],"codeSamples":[{"label":"cURL","language":"bash","source":"curl --request GET 'https://api.upscale.trade/positions/{accountId}/{asset}/open-notional' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer YOUR_API_KEY'"},{"label":"JavaScript","language":"javascript","source":"const response = await fetch(\"https://api.upscale.trade/positions/{accountId}/{asset}/open-notional\", {\n  method: \"GET\",\n  headers: {\n    \"Accept\": \"application/json\",\n    \"Authorization\": \"Bearer YOUR_API_KEY\"\n  },\n});\nconsole.log(response.status, await response.text());"},{"label":"Python","language":"python","source":"import requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.upscale.trade/positions/{accountId}/{asset}/open-notional\",\n    headers={\"Accept\":\"application/json\",\"Authorization\":\"Bearer YOUR_API_KEY\"},\n    timeout=30,\n)\nprint(response.status_code, response.text)"}]},"breadcrumbs":[{"title":"Qué es el prop trading","url":"https://docs.upscale.trade/es"},{"title":"Developers","url":"https://docs.upscale.trade/es/developers"},{"title":"Obtener el interés abierto actual por ticker","url":"https://docs.upscale.trade/es/developers/operations/getopennotionalbyticker"}],"headings":[{"depth":2,"id":"authorization","title":"Autorización"},{"depth":2,"id":"parameters","title":"Parámetros"},{"depth":2,"id":"examples","title":"Ejemplos"},{"depth":2,"id":"responses","title":"Respuestas"}],"markdown":"# Obtener el interés abierto actual por ticker\n\n`GET /positions/{accountId}/{asset}/open-notional`\n\nNocional abierto que la cuenta mantiene actualmente en un mercado, sumado por dirección, fp9 en bruto.\n\n- Útil antes de calcular el tamaño de un aumento: el mercado limita el nocional abierto por dirección, y una orden que superaría el límite se rechaza\n  con `order_exceeds_max_open_notional`.\n\n<a id=\"authorization\"></a>\n\n## Autorización\n\nbearer: http · bearer (obligatorio). Clave de API personal, con el prefijo `usk_`.\n\n<a id=\"parameters\"></a>\n\n## Parámetros\n\n- path: accountId (string · uuid; obligatorio). Identificador de la cuenta del trader. Debe pertenecer al solicitante.\n\nTipo: string · uuid\n\nformat: uuid\n\n- path: asset (string; obligatorio). Ticker del activo base del mercado, tal como lo devuelve `GET /v2/markets`.\n\nTipo: string\n\nEjemplo: \"BTC\"\n\n<a id=\"example-curl\"></a>\n\n## Ejemplo · cURL\n\n```bash\ncurl --request GET 'https://api.upscale.trade/positions/{accountId}/{asset}/open-notional' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer YOUR_API_KEY'\n```\n\n<a id=\"example-javascript\"></a>\n\n## Ejemplo · JavaScript\n\n```javascript\nconst response = await fetch(\"https://api.upscale.trade/positions/{accountId}/{asset}/open-notional\", {\n  method: \"GET\",\n  headers: {\n    \"Accept\": \"application/json\",\n    \"Authorization\": \"Bearer YOUR_API_KEY\"\n  },\n});\nconsole.log(response.status, await response.text());\n```\n\n<a id=\"example-python\"></a>\n\n## Ejemplo · Python\n\n```python\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.upscale.trade/positions/{accountId}/{asset}/open-notional\",\n    headers={\"Accept\":\"application/json\",\"Authorization\":\"Bearer YOUR_API_KEY\"},\n    timeout=30,\n)\nprint(response.status_code, response.text)\n```\n\n<a id=\"response-401\"></a>\n\n## Respuesta 401\n\n**401**  — No autorizado\n\n<a id=\"response-403\"></a>\n\n## Respuesta 403\n\n**403**  — La cuenta pertenece a otro usuario (`account_access_denied`), o la solicitud se autentica con una clave de API mientras `api_trading` está deshabilitado en la cuenta (`api_trading_not_enabled`).\n\n<a id=\"response-404\"></a>\n\n## Respuesta 404\n\n**404**  — No hay ninguna cuenta con este identificador, o no hay ningún mercado para este ticker.\n\n<a id=\"response-429\"></a>\n\n## Respuesta 429\n\n**429**  — Se superó el límite de velocidad de la clave de API (`api_key_rate_limit_exceeded`). `Retry-After` indica cuándo volver; el cuerpo incluye el bucket (`read` / `write`), la ventana que se activó, su límite y `retryAt`.\n\n<a id=\"response-default-positionopennotionalresponse\"></a>\n\n## Respuesta default · PositionOpenNotionalResponse\n\n**default** application/json — Respuesta\n\nEsquema: PositionOpenNotionalResponse\n\nTipo: object\n\nCampos obligatorios: openNotionalLong, openNotionalShort\n\nTipos de campos obligatorios: openNotionalLong (string · int32; obligatorio), openNotionalShort (string · int32; obligatorio)\n\n- openNotionalLong (string · int32; obligatorio)\n\nopenNotionalLong ejemplo: 1000000000\n\nopenNotionalLong.Tipo: string · int32\n\nopenNotionalLong.Nocional abierto que la cuenta mantiene en largo en este mercado, sumado entre posiciones, fp9 en bruto.\n\nopenNotionalLong.format: int32\n\nopenNotionalLong.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- openNotionalShort (string · int32; obligatorio)\n\nopenNotionalShort ejemplo: 1000000000\n\nopenNotionalShort.Tipo: string · int32\n\nopenNotionalShort.Notional abierto que la cuenta mantiene en corto en este mercado, sumado entre posiciones, fp9 en bruto.\n\nopenNotionalShort.format: int32\n\nopenNotionalShort.pattern: ^(?:-?[1-9][0-9]*|0)$\n\nEjemplo\n\n\n\n```json\n{\n  \"openNotionalLong\": \"1000000000\",\n  \"openNotionalShort\": \"1000000000\"\n}\n```","text":"Obtener el interés abierto actual por ticker Nocional abierto que la cuenta mantiene actualmente en un mercado, sumado por dirección, fp9 en bruto. - Útil antes de calcular el tamaño de un aumento: el mercado limita el nocional abierto por dirección, y una orden que superaría el límite se rechaza con `order_exceeds_max_open_notional`. GET /positions/{accountId}/{asset}/open-notional Trading accountId Identificador de la cuenta del trader. Debe pertenecer al solicitante. string · uuid asset Ticker del activo base del mercado, tal como lo devuelve `GET /v2/markets`. string 401 No autorizado 403 La cuenta pertenece a otro usuario (`account_access_denied`), o la solicitud se autentica con una clave de API mientras `api_trading` está deshabilitado en la cuenta (`api_trading_not_enabled`). 404 No hay ninguna cuenta con este identificador, o no hay ningún mercado para este ticker. 429 Se superó el límite de velocidad de la clave de API (`api_key_rate_limit_exceeded`). `Retry-After` indica cuándo volver; el cuerpo incluye el bucket (`read` / `write`), la ventana que se activó, su límite y `retryAt`. default Respuesta openNotionalLong Open notional the account holds long on this market, summed across positions, fp9 raw. string · int32 openNotionalShort Open notional the account holds short on this market, summed across positions, fp9 raw. string · int32","api":{"title":"API pública de Upscale","version":"d796ac9","documentation":"https://docs.upscale.trade/es/developers","playgroundServer":"https://api.upscale.trade"}}