{"format":"opendoc-document","version":1,"url":"https://docs.upscale.trade/ru/developers/operations/getmarket","title":"Получить рынок по id","description":"GET /v2/markets/{id}: Один рынок с тем же снимком, который возвращает список. Отвечает 404, когда рынок не существует, исключён из листинга или скрыт от вызывающего.","kind":"api-operation","locale":"ru","inLanguage":"ru","translation":{"sourceLanguage":"en","targetLanguage":"ru","status":"complete","translatedUnits":61,"totalUnits":61},"lastModified":"2026-09-28T20:14:21.334Z","revision":"4bcdb0248fec5130d7dca32f21ced4a207c71ff2d711894a920c99e4198fedd7","section":{"title":"Developers","url":"https://docs.upscale.trade/ru/developers"},"representations":{"html":"https://docs.upscale.trade/ru/developers/operations/getmarket","markdown":"https://docs.upscale.trade/ru/developers/operations/getmarket.md","json":"https://docs.upscale.trade/ru/developers/operations/getmarket.json"},"translations":{"en":"https://docs.upscale.trade/developers/operations/getmarket","ru":"https://docs.upscale.trade/ru/developers/operations/getmarket","es":"https://docs.upscale.trade/es/developers/operations/getmarket"},"operation":{"id":"getMarket","method":"GET","path":"/v2/markets/{id}","summary":"Получить рынок по id","description":"Один рынок с тем же снимком, который возвращает список.\n\nОтвечает `404`, когда рынок не существует, исключён из листинга или скрыт от вызывающего.","tags":["Config"],"tagLabels":{"Accounts":"Аккаунты","Config":"Конфигурация","Trading":"Торговля"},"deprecated":false,"parameters":[{"name":"id","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":"Идентификатор рынка, возвращаемый `GET /v2/markets`.","example":"00000000-0000-4000-8000-000000000000"},{"name":"accountId","location":"query","schema":{"type":"string · uuid","types":["string"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"properties":[],"variants":[]},"type":"string · uuid","required":false,"description":"Торговый счёт, относительно которого формируется список рынков: границы кредитного плеча и доступность возвращаются применительно к этому счёту. Если не указан — возвращаются значения по умолчанию для всей платформы.","example":"00000000-0000-4000-8000-000000000000"}],"bodies":[],"responses":[{"status":"401","description":"Неавторизовано","properties":[],"headers":[]},{"status":"404","description":"Рынок не найден, исключён из листинга или скрыт от вызывающего.","properties":[],"headers":[]},{"status":"429","description":"Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`.","properties":[],"headers":[]},{"status":"default","description":"Ответ","mediaType":"application/json","properties":[{"name":"id","type":"string · uuid","required":true,"description":"Market identifier — the value order creation takes as `marketId`.","example":"00000000-0000-4000-8000-000000000000","schema":{"type":"string · uuid","types":["string"],"description":"Market identifier — the value order creation takes as `marketId`.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"properties":[],"variants":[]}},{"name":"config","type":"object","required":true,"description":"Static description of the market: assets, naming and category.","example":"{\n  \"baseAsset\": \"BTC\",\n  \"quoteAsset\": \"USD\",\n  \"settlementToken\": \"USD\",\n  \"type\": \"base\",\n  \"name\": \"BTC\",\n  \"description\": \"Market description\",\n  \"ticker\": \"BTC/USD\",\n  \"imageLink\": \"https://app.storm.tg/markets/btc.png\",\n  \"tags\": [\n    \"Crypto\"\n  ],\n  \"category\": \"crypto\",\n  \"priority\": 0\n}","schema":{"type":"object","types":["object"],"description":"Static description of the market: assets, naming and category.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"baseAsset","type":"string","required":true,"description":"Base asset ticker — the value the per-market endpoints take as `asset`.","example":"BTC","schema":{"type":"string","types":["string"],"description":"Base asset ticker — the value the per-market endpoints take as `asset`.","example":"BTC","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"quoteAsset","type":"string","required":true,"description":"Asset prices and notionals are quoted in.","example":"USD","schema":{"type":"string","types":["string"],"description":"Asset prices and notionals are quoted in.","example":"USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"settlementToken","type":"string","required":true,"description":"Asset positions settle in.","example":"USD","schema":{"type":"string","types":["string"],"description":"Asset positions settle in.","example":"USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"type","type":"string","required":true,"description":"Pricing model of the market.","example":"base","schema":{"type":"string","types":["string"],"description":"Pricing model of the market.","example":"base","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"name","type":"string","required":true,"description":"Display name of the market.","example":"BTC","schema":{"type":"string","types":["string"],"description":"Display name of the market.","example":"BTC","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"description","type":"string","required":true,"description":"Free-form description shown in the app.","example":"Market description","schema":{"type":"string","types":["string"],"description":"Free-form description shown in the app.","example":"Market description","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"ticker","type":"string","required":true,"description":"Full pair label.","example":"BTC/USD","schema":{"type":"string","types":["string"],"description":"Full pair label.","example":"BTC/USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"imageLink","type":"string","required":true,"description":"Icon of the market.","example":"https://app.storm.tg/markets/btc.png","schema":{"type":"string","types":["string"],"description":"Icon of the market.","example":"https://app.storm.tg/markets/btc.png","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"tags","type":"string[]","required":true,"description":"Tags the app groups markets by.","example":"[\n  \"Crypto\"\n]","schema":{"type":"string[]","types":["array"],"description":"Tags the app groups markets by.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"items":{"type":"string","types":["string"],"example":"Crypto","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]},"variants":[]}},{"name":"category","type":"string · enum","required":true,"description":"Whether the market is crypto or a real-world asset — an account may be limited to one of the two.","example":"crypto","schema":{"type":"string · enum","types":["string"],"description":"Whether the market is crypto or a real-world asset — an account may be limited to one of the two.","enum":["crypto","rwa"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"priority","type":"number · nullable","required":true,"description":"Sort weight in the market list; higher comes first. Null when unranked.","example":"0","schema":{"type":"number · nullable","types":["number","null"],"description":"Sort weight in the market list; higher comes first. Null when unranked.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"state","type":"object","required":true,"description":"Live state: index price, funding and the depth an order is priced against.","example":"{\n  \"indexPrice\": \"1000000000\",\n  \"blockTimestamp\": 0,\n  \"fundingRate\": \"1000000000\",\n  \"nextFundingAt\": 0,\n  \"lastFundingAt\": 0,\n  \"vpiSpread\": \"1000000000\",\n  \"vpiMarketDepthLong\": \"1000000000\",\n  \"vpiMarketDepthShort\": \"1000000000\",\n  \"vpiCoefficientLong\": \"1000000000\",\n  \"vpiCoefficientShort\": \"1000000000\"\n}","schema":{"type":"object","types":["object"],"description":"Live state: index price, funding and the depth an order is priced against.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"indexPrice","type":"string · int32","required":true,"description":"Current index price of the market, fp9 raw — what orders are priced and triggers compared against.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Current index price of the market, fp9 raw — what orders are priced and triggers compared against.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"blockTimestamp","type":"number","required":true,"description":"When this state snapshot was produced, unix timestamp in milliseconds.","example":"0","schema":{"type":"number","types":["number"],"description":"When this state snapshot was produced, unix timestamp in milliseconds.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"fundingRate","type":"string · int32","required":true,"description":"Funding rate of the running interval, fp9 raw fraction. Positive means longs pay shorts.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Funding rate of the running interval, fp9 raw fraction. Positive means longs pay shorts.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"nextFundingAt","type":"number","required":true,"description":"When funding is settled next, unix timestamp in milliseconds.","example":"0","schema":{"type":"number","types":["number"],"description":"When funding is settled next, unix timestamp in milliseconds.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"lastFundingAt","type":"number · nullable","required":true,"description":"When funding was last settled, unix timestamp in milliseconds. Null before the first settlement.","example":"0","schema":{"type":"number · nullable","types":["number","null"],"description":"When funding was last settled, unix timestamp in milliseconds. Null before the first settlement.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"vpiSpread","type":"string · int32","required":true,"description":"Current spread charged on top of the index price, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Current spread charged on top of the index price, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiMarketDepthLong","type":"string · int32","required":true,"description":"Depth available on the long side, fp9 raw. Orders large against it move the execution price.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Depth available on the long side, fp9 raw. Orders large against it move the execution price.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiMarketDepthShort","type":"string · int32","required":true,"description":"Depth available on the short side, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Depth available on the short side, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiCoefficientLong","type":"string · int32","required":true,"description":"Price-impact coefficient applied to long orders, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Price-impact coefficient applied to long orders, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiCoefficientShort","type":"string · int32","required":true,"description":"Price-impact coefficient applied to short orders, fp9 raw.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Price-impact coefficient applied to short orders, fp9 raw.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}],"variants":[]}},{"name":"settings","type":"object","required":true,"description":"Trading rules of the market: fees, margin ratios and the caps an order is checked against.","example":"{\n  \"fee\": \"1000000000\",\n  \"minInitMarginRatio\": \"1000000000\",\n  \"initMarginRatio\": \"1000000000\",\n  \"maintenanceMarginRatio\": \"1000000000\",\n  \"maxLeverageByAccount\": {\n    \"key\": \"1000000000\"\n  },\n  \"spreadLimit\": \"1000000000\",\n  \"maxPriceImpact\": \"1000000000\",\n  \"maxPriceSpread\": \"1000000000\",\n  \"maxOpenNotionalLong\": \"1000000000\",\n  \"maxOpenNotionalShort\": \"1000000000\",\n  \"minStopTriggerDistanceRatio\": \"1000000000\",\n  \"isCloseOnly\": true,\n  \"isClosed\": true,\n  \"isPaused\": true,\n  \"isZeroSpread\": true\n}","schema":{"type":"object","types":["object"],"description":"Trading rules of the market: fees, margin ratios and the caps an order is checked against.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"fee","type":"string · int32","required":true,"description":"Trading fee rate, fp9 raw fraction (`1000000` = 0.1%).","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Trading fee rate, fp9 raw fraction (`1000000` = 0.1%).","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"minInitMarginRatio","type":"string · int32","required":true,"description":"Smallest initial margin ratio the market accepts, fp9 raw fraction — the cap on leverage.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Smallest initial margin ratio the market accepts, fp9 raw fraction — the cap on leverage.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"initMarginRatio","type":"string · int32","required":true,"description":"Default initial margin ratio of the market, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Default initial margin ratio of the market, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maintenanceMarginRatio","type":"string · int32","required":true,"description":"Margin ratio below which a position is liquidated, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Margin ratio below which a position is liquidated, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxLeverageByAccount","type":"object","required":true,"description":"Highest leverage allowed per account type, fp9 raw, keyed by account type.","example":"{\n  \"key\": \"1000000000\"\n}","schema":{"type":"object","types":["object"],"description":"Highest leverage allowed per account type, fp9 raw, keyed by account type.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[],"additionalProperties":{"type":"string · int32","types":["string"],"example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}},{"name":"spreadLimit","type":"string · int32","required":true,"description":"Largest spread the market will charge, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Largest spread the market will charge, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPriceImpact","type":"string · int32","required":true,"description":"Largest price impact a single order may cause, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Largest price impact a single order may cause, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPriceSpread","type":"string · int32","required":true,"description":"Largest deviation allowed between market and index price, fp9 raw fraction.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Largest deviation allowed between market and index price, fp9 raw fraction.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxOpenNotionalLong","type":"string · int32","required":true,"description":"Cap on open notional held long on this market, fp9 raw. `0` means no cap.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Cap on open notional held long on this market, fp9 raw. `0` means no cap.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxOpenNotionalShort","type":"string · int32","required":true,"description":"Cap on open notional held short on this market, fp9 raw. `0` means no cap.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Cap on open notional held short on this market, fp9 raw. `0` means no cap.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"minStopTriggerDistanceRatio","type":"string · int32","required":true,"description":"Minimum distance between the current price and a stop trigger, fp9 raw fraction. A closer trigger is pushed out to this distance.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Minimum distance between the current price and a stop trigger, fp9 raw fraction. A closer trigger is pushed out to this distance.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"isCloseOnly","type":"boolean","required":true,"description":"Whether the market only accepts orders that close a position.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Whether the market only accepts orders that close a position.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isClosed","type":"boolean","required":true,"example":"true","schema":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isPaused","type":"boolean","required":true,"example":"true","schema":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isZeroSpread","type":"boolean","required":true,"description":"Whether the market currently trades without a spread.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Whether the market currently trades without a spread.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"change","type":"object","required":true,"description":"Reference prices for computing 1h, 4h and 24h price changes.","example":"{\n  \"initialPrice\": 0,\n  \"initialPrice1h\": 0,\n  \"initialPrice4h\": 0\n}","schema":{"type":"object","types":["object"],"description":"Reference prices for computing 1h, 4h and 24h price changes.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"initialPrice","type":"number","required":true,"description":"Price 24 hours ago, as a decimal number — the base of the daily change. `0` when no history is available.","example":"0","schema":{"type":"number","types":["number"],"description":"Price 24 hours ago, as a decimal number — the base of the daily change. `0` when no history is available.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"initialPrice1h","type":"number","required":true,"description":"Price one hour ago, as a decimal number. `0` when no history is available.","example":"0","schema":{"type":"number","types":["number"],"description":"Price one hour ago, as a decimal number. `0` when no history is available.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"initialPrice4h","type":"number","required":true,"description":"Price four hours ago, as a decimal number. `0` when no history is available.","example":"0","schema":{"type":"number","types":["number"],"description":"Price four hours ago, as a decimal number. `0` when no history is available.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"schedule","type":"object · nullable","required":true,"description":"Trading sessions of the market. Null when it trades around the clock.","example":"{\n  \"nextPauseAt\": 0,\n  \"nextUnpauseAt\": 0,\n  \"closestPauseAt\": 0,\n  \"closestUnpauseAt\": 0,\n  \"pausedAt\": 0,\n  \"inPause\": true\n}","schema":{"type":"object · nullable","types":["object"],"description":"Trading sessions of the market. Null when it trades around the clock.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"nextPauseAt","type":"number","required":true,"description":"Start of the next scheduled break, unix timestamp in milliseconds. `0` when the market has no breaks at all, and `9007199254740991` when none is scheduled ahead of the current one.","example":"0","schema":{"type":"number","types":["number"],"description":"Start of the next scheduled break, unix timestamp in milliseconds. `0` when the market has no breaks at all, and `9007199254740991` when none is scheduled ahead of the current one.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"nextUnpauseAt","type":"number","required":true,"description":"End of the break the market is in, or of the next one, unix timestamp in milliseconds. Same `0` and sentinel rules as `nextPauseAt`.","example":"0","schema":{"type":"number","types":["number"],"description":"End of the break the market is in, or of the next one, unix timestamp in milliseconds. Same `0` and sentinel rules as `nextPauseAt`.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"closestPauseAt","type":"number","required":true,"description":"Same value as `nextPauseAt`. Kept for backward compatibility.","example":"0","schema":{"type":"number","types":["number"],"description":"Same value as `nextPauseAt`. Kept for backward compatibility.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"closestUnpauseAt","type":"number","required":true,"description":"Same value as `nextUnpauseAt`. Kept for backward compatibility.","example":"0","schema":{"type":"number","types":["number"],"description":"Same value as `nextUnpauseAt`. Kept for backward compatibility.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"pausedAt","type":"number","required":true,"description":"Start of the break currently running, unix timestamp in milliseconds. `0` when the market is trading.","example":"0","schema":{"type":"number","types":["number"],"description":"Start of the break currently running, unix timestamp in milliseconds. `0` when the market is trading.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"inPause","type":"boolean","required":true,"description":"Whether the market is inside a scheduled break right now. Orders are refused while it is.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Whether the market is inside a scheduled break right now. Orders are refused while it is.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}}],"schema":{"type":"object","types":["object"],"reference":"#/components/schemas/MarketV2Response","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"id","type":"string · uuid","required":true,"description":"Идентификатор рынка — значение, которое создание Ордера принимает в качестве `marketId`.","example":"00000000-0000-4000-8000-000000000000","schema":{"type":"string · uuid","types":["string"],"description":"Идентификатор рынка — значение, которое создание Ордера принимает в качестве `marketId`.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"properties":[],"variants":[]}},{"name":"config","type":"object","required":true,"description":"Статическое описание рынка: активы, наименование и категория.","example":"{\n  \"baseAsset\": \"BTC\",\n  \"quoteAsset\": \"USD\",\n  \"settlementToken\": \"USD\",\n  \"type\": \"base\",\n  \"name\": \"BTC\",\n  \"description\": \"Market description\",\n  \"ticker\": \"BTC/USD\",\n  \"imageLink\": \"https://app.storm.tg/markets/btc.png\",\n  \"tags\": [\n    \"Crypto\"\n  ],\n  \"category\": \"crypto\",\n  \"priority\": 0\n}","schema":{"type":"object","types":["object"],"description":"Статическое описание рынка: активы, наименование и категория.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"baseAsset","type":"string","required":true,"description":"Тикер базового актива — значение, которое эндпоинты для конкретного рынка принимают как `asset`.","example":"BTC","schema":{"type":"string","types":["string"],"description":"Тикер базового актива — значение, которое эндпоинты для конкретного рынка принимают как `asset`.","example":"BTC","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"quoteAsset","type":"string","required":true,"description":"Актив, в котором котируются цены активов и номиналы.","example":"USD","schema":{"type":"string","types":["string"],"description":"Актив, в котором котируются цены активов и номиналы.","example":"USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"settlementToken","type":"string","required":true,"description":"Актив, в котором рассчитываются позиции.","example":"USD","schema":{"type":"string","types":["string"],"description":"Актив, в котором рассчитываются позиции.","example":"USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"type","type":"string","required":true,"description":"Модель ценообразования рынка.","example":"base","schema":{"type":"string","types":["string"],"description":"Модель ценообразования рынка.","example":"base","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"name","type":"string","required":true,"description":"Отображаемое имя рынка.","example":"BTC","schema":{"type":"string","types":["string"],"description":"Отображаемое имя рынка.","example":"BTC","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"description","type":"string","required":true,"description":"Описание в свободной форме, отображаемое в приложении.","example":"Market description","schema":{"type":"string","types":["string"],"description":"Описание в свободной форме, отображаемое в приложении.","example":"Market description","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"ticker","type":"string","required":true,"description":"Полная метка пары.","example":"BTC/USD","schema":{"type":"string","types":["string"],"description":"Полная метка пары.","example":"BTC/USD","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"imageLink","type":"string","required":true,"description":"Иконка рынка.","example":"https://app.storm.tg/markets/btc.png","schema":{"type":"string","types":["string"],"description":"Иконка рынка.","example":"https://app.storm.tg/markets/btc.png","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"tags","type":"string[]","required":true,"description":"Теги, по которым приложение группирует рынки.","example":"[\n  \"Crypto\"\n]","schema":{"type":"string[]","types":["array"],"description":"Теги, по которым приложение группирует рынки.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"items":{"type":"string","types":["string"],"example":"Crypto","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]},"variants":[]}},{"name":"category","type":"string · enum","required":true,"description":"Является ли рынок криптовалютным или реальным активом — аккаунт может быть ограничен одним из двух.","example":"crypto","schema":{"type":"string · enum","types":["string"],"description":"Является ли рынок криптовалютным или реальным активом — аккаунт может быть ограничен одним из двух.","enum":["crypto","rwa"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"priority","type":"number · nullable","required":true,"description":"Вес сортировки в списке рынков; более высокий идёт первым. Null, если не ранжирован.","example":"0","schema":{"type":"number · nullable","types":["number","null"],"description":"Вес сортировки в списке рынков; более высокий идёт первым. Null, если не ранжирован.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"state","type":"object","required":true,"description":"Текущее состояние: индексная цена, финансирование и глубина, относительно которой рассчитывается цена ордера.","example":"{\n  \"indexPrice\": \"1000000000\",\n  \"blockTimestamp\": 0,\n  \"fundingRate\": \"1000000000\",\n  \"nextFundingAt\": 0,\n  \"lastFundingAt\": 0,\n  \"vpiSpread\": \"1000000000\",\n  \"vpiMarketDepthLong\": \"1000000000\",\n  \"vpiMarketDepthShort\": \"1000000000\",\n  \"vpiCoefficientLong\": \"1000000000\",\n  \"vpiCoefficientShort\": \"1000000000\"\n}","schema":{"type":"object","types":["object"],"description":"Текущее состояние: индексная цена, финансирование и глубина, относительно которой рассчитывается цена ордера.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"indexPrice","type":"string · int32","required":true,"description":"Текущая индексная цена рынка, fp9 в сыром виде — то, относительно чего оцениваются ордера и сравниваются триггеры.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Текущая индексная цена рынка, fp9 в сыром виде — то, относительно чего оцениваются ордера и сравниваются триггеры.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"blockTimestamp","type":"number","required":true,"description":"Когда был создан этот снимок состояния, временная метка Unix в миллисекундах.","example":"0","schema":{"type":"number","types":["number"],"description":"Когда был создан этот снимок состояния, временная метка Unix в миллисекундах.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"fundingRate","type":"string · int32","required":true,"description":"Ставка финансирования текущего интервала, fp9 в виде необработанной доли. Положительное значение означает, что лонги платят шортам.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Ставка финансирования текущего интервала, fp9 в виде необработанной доли. Положительное значение означает, что лонги платят шортам.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"nextFundingAt","type":"number","required":true,"description":"Когда в следующий раз будет произведен расчет финансирования, временная метка Unix в миллисекундах.","example":"0","schema":{"type":"number","types":["number"],"description":"Когда в следующий раз будет произведен расчет финансирования, временная метка Unix в миллисекундах.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"lastFundingAt","type":"number · nullable","required":true,"description":"Когда финансирование было рассчитано в последний раз, временная метка Unix в миллисекундах. Null до первого расчета.","example":"0","schema":{"type":"number · nullable","types":["number","null"],"description":"Когда финансирование было рассчитано в последний раз, временная метка Unix в миллисекундах. Null до первого расчета.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"vpiSpread","type":"string · int32","required":true,"description":"Текущий спред, взимаемый сверх цены индекса, fp9 в виде необработанной доли.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Текущий спред, взимаемый сверх цены индекса, fp9 в виде необработанной доли.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiMarketDepthLong","type":"string · int32","required":true,"description":"Глубина, доступная на стороне лонгов, fp9 в необработанном виде. Крупные ордера против нее сдвигают цену исполнения.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Глубина, доступная на стороне лонгов, fp9 в необработанном виде. Крупные ордера против нее сдвигают цену исполнения.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiMarketDepthShort","type":"string · int32","required":true,"description":"Глубина, доступная на стороне шорта, fp9 в сыром виде.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Глубина, доступная на стороне шорта, fp9 в сыром виде.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiCoefficientLong","type":"string · int32","required":true,"description":"Коэффициент влияния на цену, применяемый к длинным ордерам, fp9 в сыром виде.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Коэффициент влияния на цену, применяемый к длинным ордерам, fp9 в сыром виде.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"vpiCoefficientShort","type":"string · int32","required":true,"description":"Коэффициент влияния на цену, применяемый к коротким ордерам, fp9 в сыром виде.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Коэффициент влияния на цену, применяемый к коротким ордерам, fp9 в сыром виде.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}],"variants":[]}},{"name":"settings","type":"object","required":true,"description":"Правила торговли на рынке: комиссии, коэффициенты маржи и лимиты, с которыми сверяется ордер.","example":"{\n  \"fee\": \"1000000000\",\n  \"minInitMarginRatio\": \"1000000000\",\n  \"initMarginRatio\": \"1000000000\",\n  \"maintenanceMarginRatio\": \"1000000000\",\n  \"maxLeverageByAccount\": {\n    \"key\": \"1000000000\"\n  },\n  \"spreadLimit\": \"1000000000\",\n  \"maxPriceImpact\": \"1000000000\",\n  \"maxPriceSpread\": \"1000000000\",\n  \"maxOpenNotionalLong\": \"1000000000\",\n  \"maxOpenNotionalShort\": \"1000000000\",\n  \"minStopTriggerDistanceRatio\": \"1000000000\",\n  \"isCloseOnly\": true,\n  \"isClosed\": true,\n  \"isPaused\": true,\n  \"isZeroSpread\": true\n}","schema":{"type":"object","types":["object"],"description":"Правила торговли на рынке: комиссии, коэффициенты маржи и лимиты, с которыми сверяется ордер.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"fee","type":"string · int32","required":true,"description":"Ставка торговой комиссии, fp9 в виде сырой дроби (`1000000` = 0.1%).","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Ставка торговой комиссии, fp9 в виде сырой дроби (`1000000` = 0.1%).","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"minInitMarginRatio","type":"string · int32","required":true,"description":"Наименьший коэффициент начальной маржи, который принимает рынок, fp9 в виде необработанной дроби — предел кредитного плеча.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Наименьший коэффициент начальной маржи, который принимает рынок, fp9 в виде необработанной дроби — предел кредитного плеча.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"initMarginRatio","type":"string · int32","required":true,"description":"Коэффициент начальной маржи рынка по умолчанию, fp9 в виде необработанной дроби.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Коэффициент начальной маржи рынка по умолчанию, fp9 в виде необработанной дроби.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maintenanceMarginRatio","type":"string · int32","required":true,"description":"Коэффициент маржи, ниже которого позиция ликвидируется, fp9 в виде необработанной дроби.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Коэффициент маржи, ниже которого позиция ликвидируется, fp9 в виде необработанной дроби.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxLeverageByAccount","type":"object","required":true,"description":"Наибольшее кредитное плечо, разрешённое для каждого типа аккаунта, fp9 в необработанном виде, с ключом по типу аккаунта.","example":"{\n  \"key\": \"1000000000\"\n}","schema":{"type":"object","types":["object"],"description":"Наибольшее кредитное плечо, разрешённое для каждого типа аккаунта, fp9 в необработанном виде, с ключом по типу аккаунта.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[],"additionalProperties":{"type":"string · int32","types":["string"],"example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}}},{"name":"spreadLimit","type":"string · int32","required":true,"description":"Наибольший спред, который будет взимать рынок, fp9 в виде необработанной дроби.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Наибольший спред, который будет взимать рынок, fp9 в виде необработанной дроби.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPriceImpact","type":"string · int32","required":true,"description":"Максимальное влияние на цену, которое может вызвать один ордер, fp9 в виде необработанной доли.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Максимальное влияние на цену, которое может вызвать один ордер, fp9 в виде необработанной доли.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxPriceSpread","type":"string · int32","required":true,"description":"Максимально допустимое отклонение между рыночной и индексной ценой, fp9 в виде необработанной доли.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Максимально допустимое отклонение между рыночной и индексной ценой, fp9 в виде необработанной доли.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxOpenNotionalLong","type":"string · int32","required":true,"description":"Ограничение на открытый номинал, удерживаемый в длинной позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Ограничение на открытый номинал, удерживаемый в длинной позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"maxOpenNotionalShort","type":"string · int32","required":true,"description":"Ограничение на открытый номинал, удерживаемый в короткой позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Ограничение на открытый номинал, удерживаемый в короткой позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"minStopTriggerDistanceRatio","type":"string · int32","required":true,"description":"Минимальное расстояние между текущей ценой и триггером стоп-ордера, fp9 в виде необработанной доли. Более близкий триггер отодвигается на это расстояние.","example":"1000000000","schema":{"type":"string · int32","types":["string"],"description":"Минимальное расстояние между текущей ценой и триггером стоп-ордера, fp9 в виде необработанной доли. Более близкий триггер отодвигается на это расстояние.","example":"1000000000","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{"format":"int32","pattern":"^(?:-?[1-9][0-9]*|0)$"},"properties":[],"variants":[]}},{"name":"isCloseOnly","type":"boolean","required":true,"description":"Принимает ли рынок только ордера, закрывающие позицию.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Принимает ли рынок только ордера, закрывающие позицию.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isClosed","type":"boolean","required":true,"example":"true","schema":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isPaused","type":"boolean","required":true,"example":"true","schema":{"type":"boolean","types":["boolean"],"nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"isZeroSpread","type":"boolean","required":true,"description":"Торгуется ли рынок в настоящее время без спреда.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Торгуется ли рынок в настоящее время без спреда.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"change","type":"object","required":true,"description":"Справочные цены для расчёта изменений цены за 1 ч, 4 ч и 24 ч.","example":"{\n  \"initialPrice\": 0,\n  \"initialPrice1h\": 0,\n  \"initialPrice4h\": 0\n}","schema":{"type":"object","types":["object"],"description":"Справочные цены для расчёта изменений цены за 1 ч, 4 ч и 24 ч.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"initialPrice","type":"number","required":true,"description":"Цена 24 часов назад, в виде десятичного числа — база дневного изменения. `0`, если история недоступна.","example":"0","schema":{"type":"number","types":["number"],"description":"Цена 24 часов назад, в виде десятичного числа — база дневного изменения. `0`, если история недоступна.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"initialPrice1h","type":"number","required":true,"description":"Цена один час назад, в виде десятичного числа. `0`, если история недоступна.","example":"0","schema":{"type":"number","types":["number"],"description":"Цена один час назад, в виде десятичного числа. `0`, если история недоступна.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"initialPrice4h","type":"number","required":true,"description":"Цена четыре часа назад, в виде десятичного числа. `0`, когда история недоступна.","example":"0","schema":{"type":"number","types":["number"],"description":"Цена четыре часа назад, в виде десятичного числа. `0`, когда история недоступна.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}},{"name":"schedule","type":"object · nullable","required":true,"description":"Торговые сессии рынка. Null, когда рынок торгуется круглосуточно.","example":"{\n  \"nextPauseAt\": 0,\n  \"nextUnpauseAt\": 0,\n  \"closestPauseAt\": 0,\n  \"closestUnpauseAt\": 0,\n  \"pausedAt\": 0,\n  \"inPause\": true\n}","schema":{"type":"object · nullable","types":["object"],"description":"Торговые сессии рынка. Null, когда рынок торгуется круглосуточно.","nullable":true,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[{"name":"nextPauseAt","type":"number","required":true,"description":"Начало следующего запланированного перерыва, временная метка Unix в миллисекундах. `0`, когда у рынка вообще нет перерывов, и `9007199254740991`, когда после текущего ничего не запланировано.","example":"0","schema":{"type":"number","types":["number"],"description":"Начало следующего запланированного перерыва, временная метка Unix в миллисекундах. `0`, когда у рынка вообще нет перерывов, и `9007199254740991`, когда после текущего ничего не запланировано.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"nextUnpauseAt","type":"number","required":true,"description":"Конец перерыва, в котором находится рынок, или следующего перерыва, временная метка Unix в миллисекундах. Те же `0` и правила для сигнальных значений, что и `nextPauseAt`.","example":"0","schema":{"type":"number","types":["number"],"description":"Конец перерыва, в котором находится рынок, или следующего перерыва, временная метка Unix в миллисекундах. Те же `0` и правила для сигнальных значений, что и `nextPauseAt`.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"closestPauseAt","type":"number","required":true,"description":"То же значение, что и `nextPauseAt`. Сохранено для обратной совместимости.","example":"0","schema":{"type":"number","types":["number"],"description":"То же значение, что и `nextPauseAt`. Сохранено для обратной совместимости.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"closestUnpauseAt","type":"number","required":true,"description":"То же значение, что и `nextUnpauseAt`. Сохранено для обратной совместимости.","example":"0","schema":{"type":"number","types":["number"],"description":"То же значение, что и `nextUnpauseAt`. Сохранено для обратной совместимости.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"pausedAt","type":"number","required":true,"description":"Начало текущего перерыва, метка времени Unix в миллисекундах. `0`, когда рынок торгуется.","example":"0","schema":{"type":"number","types":["number"],"description":"Начало текущего перерыва, метка времени Unix в миллисекундах. `0`, когда рынок торгуется.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}},{"name":"inPause","type":"boolean","required":true,"description":"Находится ли рынок прямо сейчас в запланированном перерыве. Ордера отклоняются, пока он длится.","example":"true","schema":{"type":"boolean","types":["boolean"],"description":"Находится ли рынок прямо сейчас в запланированном перерыве. Ордера отклоняются, пока он длится.","nullable":false,"readOnly":false,"writeOnly":false,"constraints":{},"properties":[],"variants":[]}}],"variants":[]}}],"variants":[]},"example":"{\n  \"id\": \"00000000-0000-4000-8000-000000000000\",\n  \"config\": {\n    \"baseAsset\": \"BTC\",\n    \"quoteAsset\": \"USD\",\n    \"settlementToken\": \"USD\",\n    \"type\": \"base\",\n    \"name\": \"BTC\",\n    \"description\": \"Market description\",\n    \"ticker\": \"BTC/USD\",\n    \"imageLink\": \"https://app.storm.tg/markets/btc.png\",\n    \"tags\": [\n      \"Crypto\"\n    ],\n    \"category\": \"crypto\",\n    \"priority\": 0\n  },\n  \"state\": {\n    \"indexPrice\": \"1000000000\",\n    \"blockTimestamp\": 0,\n    \"fundingRate\": \"1000000000\",\n    \"nextFundingAt\": 0,\n    \"lastFundingAt\": 0,\n    \"vpiSpread\": \"1000000000\",\n    \"vpiMarketDepthLong\": \"1000000000\",\n    \"vpiMarketDepthShort\": \"1000000000\",\n    \"vpiCoefficientLong\": \"1000000000\",\n    \"vpiCoefficientShort\": \"1000000000\"\n  },\n  \"settings\": {\n    \"fee\": \"1000000000\",\n    \"minInitMarginRatio\": \"1000000000\",\n    \"initMarginRatio\": \"1000000000\",\n    \"maintenanceMarginRatio\": \"1000000000\",\n    \"maxLeverageByAccount\": {\n      \"key\": \"1000000000\"\n    },\n    \"spreadLimit\": \"1000000000\",\n    \"maxPriceImpact\": \"1000000000\",\n    \"maxPriceSpread\": \"1000000000\",\n    \"maxOpenNotionalLong\": \"1000000000\",\n    \"maxOpenNotionalShort\": \"1000000000\",\n    \"minStopTriggerDistanceRatio\": \"1000000000\",\n    \"isCloseOnly\": true,\n    \"isClosed\": true,\n    \"isPaused\": true,\n    \"isZeroSpread\": true\n  },\n  \"change\": {\n    \"initialPrice\": 0,\n    \"initialPrice1h\": 0,\n    \"initialPrice4h\": 0\n  },\n  \"schedule\": {\n    \"nextPauseAt\": 0,\n    \"nextUnpauseAt\": 0,\n    \"closestPauseAt\": 0,\n    \"closestUnpauseAt\": 0,\n    \"pausedAt\": 0,\n    \"inPause\": true\n  }\n}","headers":[]}],"security":[{"name":"bearer","type":"http · bearer","description":"Персональный API-ключ с префиксом `usk_`.","required":true,"scopes":[]}],"codeSamples":[{"label":"cURL","language":"bash","source":"curl --request GET 'https://api.upscale.trade/v2/markets/{id}' \\\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/v2/markets/{id}\", {\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/v2/markets/{id}\",\n    headers={\"Accept\":\"application/json\",\"Authorization\":\"Bearer YOUR_API_KEY\"},\n    timeout=30,\n)\nprint(response.status_code, response.text)"}]},"breadcrumbs":[{"title":"Что такое проп-трейдинг","url":"https://docs.upscale.trade/ru"},{"title":"Developers","url":"https://docs.upscale.trade/ru/developers"},{"title":"Получить рынок по id","url":"https://docs.upscale.trade/ru/developers/operations/getmarket"}],"headings":[{"depth":2,"id":"authorization","title":"Авторизация"},{"depth":2,"id":"parameters","title":"Параметры"},{"depth":2,"id":"examples","title":"Примеры"},{"depth":2,"id":"responses","title":"Ответы"}],"markdown":"# Получить рынок по id\n\n`GET /v2/markets/{id}`\n\nОдин рынок с тем же снимком, который возвращает список.\n\nОтвечает `404`, когда рынок не существует, исключён из листинга или скрыт от вызывающего.\n\n<a id=\"authorization\"></a>\n\n## Авторизация\n\nbearer: http · bearer (обязательно). Персональный API-ключ с префиксом `usk_`.\n\n<a id=\"parameters\"></a>\n\n## Параметры\n\n- path: id (string · uuid; обязательно). Идентификатор рынка, возвращаемый `GET /v2/markets`.\n\nТип: string · uuid\n\nformat: uuid\n\n- query: accountId (string · uuid; необязательно). Торговый счёт, относительно которого формируется список рынков: границы кредитного плеча и доступность возвращаются применительно к этому счёту. Если не указан — возвращаются значения по умолчанию для всей платформы.\n\nТип: string · uuid\n\nformat: uuid\n\npattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$\n\n<a id=\"example-curl\"></a>\n\n## Пример · cURL\n\n```bash\ncurl --request GET 'https://api.upscale.trade/v2/markets/{id}' \\\n  --header 'Accept: application/json' \\\n  --header 'Authorization: Bearer YOUR_API_KEY'\n```\n\n<a id=\"example-javascript\"></a>\n\n## Пример · JavaScript\n\n```javascript\nconst response = await fetch(\"https://api.upscale.trade/v2/markets/{id}\", {\n  method: \"GET\",\n  headers: {\n    \"Accept\": \"application/json\",\n    \"Authorization\": \"Bearer YOUR_API_KEY\"\n  },\n});\nconsole.log(response.status, await response.text());\n```\n\n<a id=\"example-python\"></a>\n\n## Пример · Python\n\n```python\nimport requests\n\nresponse = requests.request(\n    \"GET\",\n    \"https://api.upscale.trade/v2/markets/{id}\",\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## Ответ 401\n\n**401**  — Неавторизовано\n\n<a id=\"response-404\"></a>\n\n## Ответ 404\n\n**404**  — Рынок не найден, исключён из листинга или скрыт от вызывающего.\n\n<a id=\"response-429\"></a>\n\n## Ответ 429\n\n**429**  — Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`.\n\n<a id=\"response-default-marketv2response\"></a>\n\n## Ответ default · MarketV2Response\n\n**default** application/json — Ответ\n\nСхема: MarketV2Response\n\nТип: object\n\nОбязательные поля: id, config, state, settings, change, schedule\n\nТипы обязательных полей: id (string · uuid; обязательно), config (object; обязательно), state (object; обязательно), settings (object; обязательно), change (object; обязательно), schedule (object · nullable; обязательно)\n\n- id (string · uuid; обязательно)\n\nid пример: 00000000-0000-4000-8000-000000000000\n\nid.Тип: string · uuid\n\nid.Идентификатор рынка — значение, которое создание Ордера принимает в качестве `marketId`.\n\nid.format: uuid\n\nid.pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$\n\n- config (object; обязательно)\n\nconfig пример: {\n  \"baseAsset\": \"BTC\",\n  \"quoteAsset\": \"USD\",\n  \"settlementToken\": \"USD\",\n  \"type\": \"base\",\n  \"name\": \"BTC\",\n  \"description\": \"Market description\",\n  \"ticker\": \"BTC/USD\",\n  \"imageLink\": \"https://app.storm.tg/markets/btc.png\",\n  \"tags\": [\n    \"Crypto\"\n  ],\n  \"category\": \"crypto\",\n  \"priority\": 0\n}\n\nconfig.Тип: object\n\nconfig.Обязательные поля: baseAsset, quoteAsset, settlementToken, type, name, description, ticker, imageLink, tags, category, priority\n\nconfig.Типы обязательных полей: baseAsset (string; обязательно), quoteAsset (string; обязательно), settlementToken (string; обязательно), type (string; обязательно), name (string; обязательно), description (string; обязательно), ticker (string; обязательно), imageLink (string; обязательно), tags (string[]; обязательно), category (string · enum; обязательно), priority (number · nullable; обязательно)\n\nconfig.Статическое описание рынка: активы, наименование и категория.\n\n- config.baseAsset (string; обязательно)\n\nconfig.baseAsset пример: BTC\n\nconfig.baseAsset.Тип: string\n\nconfig.baseAsset.Тикер базового актива — значение, которое эндпоинты для конкретного рынка принимают как `asset`.\n\n- config.quoteAsset (string; обязательно)\n\nconfig.quoteAsset пример: USD\n\nconfig.quoteAsset.Тип: string\n\nconfig.quoteAsset.Актив, в котором котируются цены активов и номиналы.\n\n- config.settlementToken (string; обязательно)\n\nconfig.settlementToken пример: USD\n\nconfig.settlementToken.Тип: string\n\nconfig.settlementToken.Актив, в котором рассчитываются позиции.\n\n- config.type (string; обязательно)\n\nconfig.type пример: base\n\nconfig.type.Тип: string\n\nconfig.type.Модель ценообразования рынка.\n\n- config.name (string; обязательно)\n\nconfig.name пример: BTC\n\nconfig.name.Тип: string\n\nconfig.name.Отображаемое имя рынка.\n\n- config.description (string; обязательно)\n\nconfig.description пример: Market description\n\nconfig.description.Тип: string\n\nconfig.description.Описание в свободной форме, отображаемое в приложении.\n\n- config.ticker (string; обязательно)\n\nconfig.ticker пример: BTC/USD\n\nconfig.ticker.Тип: string\n\nconfig.ticker.Полная метка пары.\n\n- config.imageLink (string; обязательно)\n\nconfig.imageLink пример: https://app.storm.tg/markets/btc.png\n\nconfig.imageLink.Тип: string\n\nconfig.imageLink.Иконка рынка.\n\n- config.tags (string[]; обязательно)\n\nconfig.tags пример: [\n  \"Crypto\"\n]\n\nconfig.tags.Тип: string[]\n\nconfig.tags.Теги, по которым приложение группирует рынки.\n\nconfig.tags.[]Тип: string\n\n- config.category (string · enum; обязательно)\n\nconfig.category пример: crypto\n\nconfig.category.Тип: string · enum\n\nconfig.category.Является ли рынок криптовалютным или реальным активом — аккаунт может быть ограничен одним из двух.\n\nconfig.category.Допустимые значения: [\"crypto\",\"rwa\"]\n\n- config.priority (number · nullable; обязательно)\n\nconfig.priority пример: 0\n\nconfig.priority.Тип: number · nullable\n\nconfig.priority.Вес сортировки в списке рынков; более высокий идёт первым. Null, если не ранжирован.\n\n- state (object; обязательно)\n\nstate пример: {\n  \"indexPrice\": \"1000000000\",\n  \"blockTimestamp\": 0,\n  \"fundingRate\": \"1000000000\",\n  \"nextFundingAt\": 0,\n  \"lastFundingAt\": 0,\n  \"vpiSpread\": \"1000000000\",\n  \"vpiMarketDepthLong\": \"1000000000\",\n  \"vpiMarketDepthShort\": \"1000000000\",\n  \"vpiCoefficientLong\": \"1000000000\",\n  \"vpiCoefficientShort\": \"1000000000\"\n}\n\nstate.Тип: object\n\nstate.Обязательные поля: indexPrice, blockTimestamp, fundingRate, nextFundingAt, lastFundingAt, vpiSpread, vpiMarketDepthLong, vpiMarketDepthShort, vpiCoefficientLong, vpiCoefficientShort\n\nstate.Типы обязательных полей: indexPrice (string · int32; обязательно), blockTimestamp (number; обязательно), fundingRate (string · int32; обязательно), nextFundingAt (number; обязательно), lastFundingAt (number · nullable; обязательно), vpiSpread (string · int32; обязательно), vpiMarketDepthLong (string · int32; обязательно), vpiMarketDepthShort (string · int32; обязательно), vpiCoefficientLong (string · int32; обязательно), vpiCoefficientShort (string · int32; обязательно)\n\nstate.Текущее состояние: индексная цена, финансирование и глубина, относительно которой рассчитывается цена ордера.\n\n- state.indexPrice (string · int32; обязательно)\n\nstate.indexPrice пример: 1000000000\n\nstate.indexPrice.Тип: string · int32\n\nstate.indexPrice.Текущая индексная цена рынка, fp9 в сыром виде — то, относительно чего оцениваются ордера и сравниваются триггеры.\n\nstate.indexPrice.format: int32\n\nstate.indexPrice.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.blockTimestamp (number; обязательно)\n\nstate.blockTimestamp пример: 0\n\nstate.blockTimestamp.Тип: number\n\nstate.blockTimestamp.Когда был создан этот снимок состояния, временная метка Unix в миллисекундах.\n\n- state.fundingRate (string · int32; обязательно)\n\nstate.fundingRate пример: 1000000000\n\nstate.fundingRate.Тип: string · int32\n\nstate.fundingRate.Ставка финансирования текущего интервала, fp9 в виде необработанной доли. Положительное значение означает, что лонги платят шортам.\n\nstate.fundingRate.format: int32\n\nstate.fundingRate.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.nextFundingAt (number; обязательно)\n\nstate.nextFundingAt пример: 0\n\nstate.nextFundingAt.Тип: number\n\nstate.nextFundingAt.Когда в следующий раз будет произведен расчет финансирования, временная метка Unix в миллисекундах.\n\n- state.lastFundingAt (number · nullable; обязательно)\n\nstate.lastFundingAt пример: 0\n\nstate.lastFundingAt.Тип: number · nullable\n\nstate.lastFundingAt.Когда финансирование было рассчитано в последний раз, временная метка Unix в миллисекундах. Null до первого расчета.\n\n- state.vpiSpread (string · int32; обязательно)\n\nstate.vpiSpread пример: 1000000000\n\nstate.vpiSpread.Тип: string · int32\n\nstate.vpiSpread.Текущий спред, взимаемый сверх цены индекса, fp9 в виде необработанной доли.\n\nstate.vpiSpread.format: int32\n\nstate.vpiSpread.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.vpiMarketDepthLong (string · int32; обязательно)\n\nstate.vpiMarketDepthLong пример: 1000000000\n\nstate.vpiMarketDepthLong.Тип: string · int32\n\nstate.vpiMarketDepthLong.Глубина, доступная на стороне лонгов, fp9 в необработанном виде. Крупные ордера против нее сдвигают цену исполнения.\n\nstate.vpiMarketDepthLong.format: int32\n\nstate.vpiMarketDepthLong.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.vpiMarketDepthShort (string · int32; обязательно)\n\nstate.vpiMarketDepthShort пример: 1000000000\n\nstate.vpiMarketDepthShort.Тип: string · int32\n\nstate.vpiMarketDepthShort.Глубина, доступная на стороне шорта, fp9 в сыром виде.\n\nstate.vpiMarketDepthShort.format: int32\n\nstate.vpiMarketDepthShort.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.vpiCoefficientLong (string · int32; обязательно)\n\nstate.vpiCoefficientLong пример: 1000000000\n\nstate.vpiCoefficientLong.Тип: string · int32\n\nstate.vpiCoefficientLong.Коэффициент влияния на цену, применяемый к длинным ордерам, fp9 в сыром виде.\n\nstate.vpiCoefficientLong.format: int32\n\nstate.vpiCoefficientLong.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- state.vpiCoefficientShort (string · int32; обязательно)\n\nstate.vpiCoefficientShort пример: 1000000000\n\nstate.vpiCoefficientShort.Тип: string · int32\n\nstate.vpiCoefficientShort.Коэффициент влияния на цену, применяемый к коротким ордерам, fp9 в сыром виде.\n\nstate.vpiCoefficientShort.format: int32\n\nstate.vpiCoefficientShort.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings (object; обязательно)\n\nsettings пример: {\n  \"fee\": \"1000000000\",\n  \"minInitMarginRatio\": \"1000000000\",\n  \"initMarginRatio\": \"1000000000\",\n  \"maintenanceMarginRatio\": \"1000000000\",\n  \"maxLeverageByAccount\": {\n    \"key\": \"1000000000\"\n  },\n  \"spreadLimit\": \"1000000000\",\n  \"maxPriceImpact\": \"1000000000\",\n  \"maxPriceSpread\": \"1000000000\",\n  \"maxOpenNotionalLong\": \"1000000000\",\n  \"maxOpenNotionalShort\": \"1000000000\",\n  \"minStopTriggerDistanceRatio\": \"1000000000\",\n  \"isCloseOnly\": true,\n  \"isClosed\": true,\n  \"isPaused\": true,\n  \"isZeroSpread\": true\n}\n\nsettings.Тип: object\n\nsettings.Обязательные поля: fee, minInitMarginRatio, initMarginRatio, maintenanceMarginRatio, maxLeverageByAccount, spreadLimit, maxPriceImpact, maxPriceSpread, maxOpenNotionalLong, maxOpenNotionalShort, minStopTriggerDistanceRatio, isCloseOnly, isClosed, isPaused, isZeroSpread\n\nsettings.Типы обязательных полей: fee (string · int32; обязательно), minInitMarginRatio (string · int32; обязательно), initMarginRatio (string · int32; обязательно), maintenanceMarginRatio (string · int32; обязательно), maxLeverageByAccount (object; обязательно), spreadLimit (string · int32; обязательно), maxPriceImpact (string · int32; обязательно), maxPriceSpread (string · int32; обязательно), maxOpenNotionalLong (string · int32; обязательно), maxOpenNotionalShort (string · int32; обязательно), minStopTriggerDistanceRatio (string · int32; обязательно), isCloseOnly (boolean; обязательно), isClosed (boolean; обязательно), isPaused (boolean; обязательно), isZeroSpread (boolean; обязательно)\n\nsettings.Правила торговли на рынке: комиссии, коэффициенты маржи и лимиты, с которыми сверяется ордер.\n\n- settings.fee (string · int32; обязательно)\n\nsettings.fee пример: 1000000000\n\nsettings.fee.Тип: string · int32\n\nsettings.fee.Ставка торговой комиссии, fp9 в виде сырой дроби (`1000000` = 0.1%).\n\nsettings.fee.format: int32\n\nsettings.fee.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.minInitMarginRatio (string · int32; обязательно)\n\nsettings.minInitMarginRatio пример: 1000000000\n\nsettings.minInitMarginRatio.Тип: string · int32\n\nsettings.minInitMarginRatio.Наименьший коэффициент начальной маржи, который принимает рынок, fp9 в виде необработанной дроби — предел кредитного плеча.\n\nsettings.minInitMarginRatio.format: int32\n\nsettings.minInitMarginRatio.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.initMarginRatio (string · int32; обязательно)\n\nsettings.initMarginRatio пример: 1000000000\n\nsettings.initMarginRatio.Тип: string · int32\n\nsettings.initMarginRatio.Коэффициент начальной маржи рынка по умолчанию, fp9 в виде необработанной дроби.\n\nsettings.initMarginRatio.format: int32\n\nsettings.initMarginRatio.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maintenanceMarginRatio (string · int32; обязательно)\n\nsettings.maintenanceMarginRatio пример: 1000000000\n\nsettings.maintenanceMarginRatio.Тип: string · int32\n\nsettings.maintenanceMarginRatio.Коэффициент маржи, ниже которого позиция ликвидируется, fp9 в виде необработанной дроби.\n\nsettings.maintenanceMarginRatio.format: int32\n\nsettings.maintenanceMarginRatio.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maxLeverageByAccount (object; обязательно)\n\nsettings.maxLeverageByAccount пример: {\n  \"key\": \"1000000000\"\n}\n\nsettings.maxLeverageByAccount.Тип: object\n\nsettings.maxLeverageByAccount.Наибольшее кредитное плечо, разрешённое для каждого типа аккаунта, fp9 в необработанном виде, с ключом по типу аккаунта.\n\nsettings.maxLeverageByAccount.*.Тип: string · int32\n\nsettings.maxLeverageByAccount.*.Пример: \"1000000000\"\n\nsettings.maxLeverageByAccount.*.format: int32\n\nsettings.maxLeverageByAccount.*.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.spreadLimit (string · int32; обязательно)\n\nsettings.spreadLimit пример: 1000000000\n\nsettings.spreadLimit.Тип: string · int32\n\nsettings.spreadLimit.Наибольший спред, который будет взимать рынок, fp9 в виде необработанной дроби.\n\nsettings.spreadLimit.format: int32\n\nsettings.spreadLimit.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maxPriceImpact (string · int32; обязательно)\n\nsettings.maxPriceImpact пример: 1000000000\n\nsettings.maxPriceImpact.Тип: string · int32\n\nsettings.maxPriceImpact.Максимальное влияние на цену, которое может вызвать один ордер, fp9 в виде необработанной доли.\n\nsettings.maxPriceImpact.format: int32\n\nsettings.maxPriceImpact.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maxPriceSpread (string · int32; обязательно)\n\nsettings.maxPriceSpread пример: 1000000000\n\nsettings.maxPriceSpread.Тип: string · int32\n\nsettings.maxPriceSpread.Максимально допустимое отклонение между рыночной и индексной ценой, fp9 в виде необработанной доли.\n\nsettings.maxPriceSpread.format: int32\n\nsettings.maxPriceSpread.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maxOpenNotionalLong (string · int32; обязательно)\n\nsettings.maxOpenNotionalLong пример: 1000000000\n\nsettings.maxOpenNotionalLong.Тип: string · int32\n\nsettings.maxOpenNotionalLong.Ограничение на открытый номинал, удерживаемый в длинной позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.\n\nsettings.maxOpenNotionalLong.format: int32\n\nsettings.maxOpenNotionalLong.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.maxOpenNotionalShort (string · int32; обязательно)\n\nsettings.maxOpenNotionalShort пример: 1000000000\n\nsettings.maxOpenNotionalShort.Тип: string · int32\n\nsettings.maxOpenNotionalShort.Ограничение на открытый номинал, удерживаемый в короткой позиции на этом рынке, fp9 в необработанном виде. `0` означает отсутствие ограничения.\n\nsettings.maxOpenNotionalShort.format: int32\n\nsettings.maxOpenNotionalShort.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.minStopTriggerDistanceRatio (string · int32; обязательно)\n\nsettings.minStopTriggerDistanceRatio пример: 1000000000\n\nsettings.minStopTriggerDistanceRatio.Тип: string · int32\n\nsettings.minStopTriggerDistanceRatio.Минимальное расстояние между текущей ценой и триггером стоп-ордера, fp9 в виде необработанной доли. Более близкий триггер отодвигается на это расстояние.\n\nsettings.minStopTriggerDistanceRatio.format: int32\n\nsettings.minStopTriggerDistanceRatio.pattern: ^(?:-?[1-9][0-9]*|0)$\n\n- settings.isCloseOnly (boolean; обязательно)\n\nsettings.isCloseOnly пример: true\n\nsettings.isCloseOnly.Тип: boolean\n\nsettings.isCloseOnly.Принимает ли рынок только ордера, закрывающие позицию.\n\n- settings.isClosed (boolean; обязательно)\n\nsettings.isClosed пример: true\n\nsettings.isClosed.Тип: boolean\n\n- settings.isPaused (boolean; обязательно)\n\nsettings.isPaused пример: true\n\nsettings.isPaused.Тип: boolean\n\n- settings.isZeroSpread (boolean; обязательно)\n\nsettings.isZeroSpread пример: true\n\nsettings.isZeroSpread.Тип: boolean\n\nsettings.isZeroSpread.Торгуется ли рынок в настоящее время без спреда.\n\n- change (object; обязательно)\n\nchange пример: {\n  \"initialPrice\": 0,\n  \"initialPrice1h\": 0,\n  \"initialPrice4h\": 0\n}\n\nchange.Тип: object\n\nchange.Обязательные поля: initialPrice, initialPrice1h, initialPrice4h\n\nchange.Типы обязательных полей: initialPrice (number; обязательно), initialPrice1h (number; обязательно), initialPrice4h (number; обязательно)\n\nchange.Справочные цены для расчёта изменений цены за 1 ч, 4 ч и 24 ч.\n\n- change.initialPrice (number; обязательно)\n\nchange.initialPrice пример: 0\n\nchange.initialPrice.Тип: number\n\nchange.initialPrice.Цена 24 часов назад, в виде десятичного числа — база дневного изменения. `0`, если история недоступна.\n\n- change.initialPrice1h (number; обязательно)\n\nchange.initialPrice1h пример: 0\n\nchange.initialPrice1h.Тип: number\n\nchange.initialPrice1h.Цена один час назад, в виде десятичного числа. `0`, если история недоступна.\n\n- change.initialPrice4h (number; обязательно)\n\nchange.initialPrice4h пример: 0\n\nchange.initialPrice4h.Тип: number\n\nchange.initialPrice4h.Цена четыре часа назад, в виде десятичного числа. `0`, когда история недоступна.\n\n- schedule (object · nullable; обязательно)\n\nschedule пример: {\n  \"nextPauseAt\": 0,\n  \"nextUnpauseAt\": 0,\n  \"closestPauseAt\": 0,\n  \"closestUnpauseAt\": 0,\n  \"pausedAt\": 0,\n  \"inPause\": true\n}\n\nschedule.Тип: object · nullable\n\nschedule.Обязательные поля: nextPauseAt, nextUnpauseAt, closestPauseAt, closestUnpauseAt, pausedAt, inPause\n\nschedule.Типы обязательных полей: nextPauseAt (number; обязательно), nextUnpauseAt (number; обязательно), closestPauseAt (number; обязательно), closestUnpauseAt (number; обязательно), pausedAt (number; обязательно), inPause (boolean; обязательно)\n\nschedule.Торговые сессии рынка. Null, когда рынок торгуется круглосуточно.\n\n- schedule.nextPauseAt (number; обязательно)\n\nschedule.nextPauseAt пример: 0\n\nschedule.nextPauseAt.Тип: number\n\nschedule.nextPauseAt.Начало следующего запланированного перерыва, временная метка Unix в миллисекундах. `0`, когда у рынка вообще нет перерывов, и `9007199254740991`, когда после текущего ничего не запланировано.\n\n- schedule.nextUnpauseAt (number; обязательно)\n\nschedule.nextUnpauseAt пример: 0\n\nschedule.nextUnpauseAt.Тип: number\n\nschedule.nextUnpauseAt.Конец перерыва, в котором находится рынок, или следующего перерыва, временная метка Unix в миллисекундах. Те же `0` и правила для сигнальных значений, что и `nextPauseAt`.\n\n- schedule.closestPauseAt (number; обязательно)\n\nschedule.closestPauseAt пример: 0\n\nschedule.closestPauseAt.Тип: number\n\nschedule.closestPauseAt.То же значение, что и `nextPauseAt`. Сохранено для обратной совместимости.\n\n- schedule.closestUnpauseAt (number; обязательно)\n\nschedule.closestUnpauseAt пример: 0\n\nschedule.closestUnpauseAt.Тип: number\n\nschedule.closestUnpauseAt.То же значение, что и `nextUnpauseAt`. Сохранено для обратной совместимости.\n\n- schedule.pausedAt (number; обязательно)\n\nschedule.pausedAt пример: 0\n\nschedule.pausedAt.Тип: number\n\nschedule.pausedAt.Начало текущего перерыва, метка времени Unix в миллисекундах. `0`, когда рынок торгуется.\n\n- schedule.inPause (boolean; обязательно)\n\nschedule.inPause пример: true\n\nschedule.inPause.Тип: boolean\n\nschedule.inPause.Находится ли рынок прямо сейчас в запланированном перерыве. Ордера отклоняются, пока он длится.\n\nПример\n\n\n\n```json\n{\n  \"id\": \"00000000-0000-4000-8000-000000000000\",\n  \"config\": {\n    \"baseAsset\": \"BTC\",\n    \"quoteAsset\": \"USD\",\n    \"settlementToken\": \"USD\",\n    \"type\": \"base\",\n    \"name\": \"BTC\",\n    \"description\": \"Market description\",\n    \"ticker\": \"BTC/USD\",\n    \"imageLink\": \"https://app.storm.tg/markets/btc.png\",\n    \"tags\": [\n      \"Crypto\"\n    ],\n    \"category\": \"crypto\",\n    \"priority\": 0\n  },\n  \"state\": {\n    \"indexPrice\": \"1000000000\",\n    \"blockTimestamp\": 0,\n    \"fundingRate\": \"1000000000\",\n    \"nextFundingAt\": 0,\n    \"lastFundingAt\": 0,\n    \"vpiSpread\": \"1000000000\",\n    \"vpiMarketDepthLong\": \"1000000000\",\n    \"vpiMarketDepthShort\": \"1000000000\",\n    \"vpiCoefficientLong\": \"1000000000\",\n    \"vpiCoefficientShort\": \"1000000000\"\n  },\n  \"settings\": {\n    \"fee\": \"1000000000\",\n    \"minInitMarginRatio\": \"1000000000\",\n    \"initMarginRatio\": \"1000000000\",\n    \"maintenanceMarginRatio\": \"1000000000\",\n    \"maxLeverageByAccount\": {\n      \"key\": \"1000000000\"\n    },\n    \"spreadLimit\": \"1000000000\",\n    \"maxPriceImpact\": \"1000000000\",\n    \"maxPriceSpread\": \"1000000000\",\n    \"maxOpenNotionalLong\": \"1000000000\",\n    \"maxOpenNotionalShort\": \"1000000000\",\n    \"minStopTriggerDistanceRatio\": \"1000000000\",\n    \"isCloseOnly\": true,\n    \"isClosed\": true,\n    \"isPaused\": true,\n    \"isZeroSpread\": true\n  },\n  \"change\": {\n    \"initialPrice\": 0,\n    \"initialPrice1h\": 0,\n    \"initialPrice4h\": 0\n  },\n  \"schedule\": {\n    \"nextPauseAt\": 0,\n    \"nextUnpauseAt\": 0,\n    \"closestPauseAt\": 0,\n    \"closestUnpauseAt\": 0,\n    \"pausedAt\": 0,\n    \"inPause\": true\n  }\n}\n```","text":"Получить рынок по id Один рынок с тем же снимком, который возвращает список. Отвечает `404`, когда рынок не существует, исключён из листинга или скрыт от вызывающего. GET /v2/markets/{id} Config id Идентификатор рынка, возвращаемый `GET /v2/markets`. string · uuid accountId Торговый счёт, относительно которого формируется список рынков: границы кредитного плеча и доступность возвращаются применительно к этому счёту. Если не указан — возвращаются значения по умолчанию для всей платформы. string · uuid 401 Неавторизовано 404 Рынок не найден, исключён из листинга или скрыт от вызывающего. 429 Превышен лимит частоты запросов API-ключа (`api_key_rate_limit_exceeded`). `Retry-After` указывает, когда вернуться; тело содержит бакет (`read` / `write`), окно, которое сработало, его лимит и `retryAt`. default Ответ id Market identifier — the value order creation takes as `marketId`. string · uuid config Static description of the market: assets, naming and category. object state Live state: index price, funding and the depth an order is priced against. object settings Trading rules of the market: fees, margin ratios and the caps an order is checked against. object change Reference prices for computing 1h, 4h and 24h price changes. object schedule Trading sessions of the market. Null when it trades around the clock. object · nullable","api":{"title":"Публичный API Upscale","version":"d796ac9","documentation":"https://docs.upscale.trade/ru/developers","playgroundServer":"https://api.upscale.trade"}}