{"info":{"_postman_id":"a58f7bff-50c7-440b-8c47-60c75be139ce","name":"Exchange API V4","description":"<html><head></head><body><p>This page contains documentation for version 4 of our Exchange API. Please note that past versions of the exchange API have been deprecated and should not be used.</p>\n\n<hr>\n<p>This API describes all the methods available for interacting with the exchange.</p>\n\n<p>Many requests require an Authorization header to be provided:</p>\n\n<p>Authorization: Bearer <code>exchange_access_token</code></p>\n\n<p>where <code>exchange_access_token</code> is the user access token obtained when a user logs in.</p>\n\n<p>In addition to this authentication method, the platform supports API key authentication.</p>\n\n<p>This API uses GraphQL.</p></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"51571007","collectionId":"a58f7bff-50c7-440b-8c47-60c75be139ce","publishedId":"2sBXVhEWoj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"9747FF"},"publishDate":"2026-01-16T12:54:05.000Z"},"item":[{"name":"Authentication","item":[{"name":"First Login Initialization","id":"8983876b-36ad-4fa2-bace-9c5509115e13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation checkin {\n    checkin\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Initializes necessary user data structures and configurations upon first login. Safe for multiple executions - subsequent calls will not affect existing data.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"09c4e24f-c867-4d2f-9e24-62799265eaee","name":"First Login Initialization","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Dec 2024 23:58:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"1a-iNlNY5X0wncQ1Cxe9+IUKAT/weQ\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"checkin\": true\n    }\n}"}],"_postman_id":"8983876b-36ad-4fa2-bace-9c5509115e13"}],"id":"da74c821-ce91-4ef2-99bb-2ce17a6095d3","description":"<p>All the endpoints in this API that require Authorization can be called using an authentication token obtained by a user logging into the exchange at a url like <a href=\"https://live.ouinex.com/login\">https://live.ouinex.com/login</a></p>\n\n<p>In addition to this, users may use their authentication token to generate API keys with similar or reduced permissions. These API keys can be used to authenticate with the <a href=\"#799a4093-9002-492a-8da5-d6c965901c37\">Authenticate with API Key </a>endpoint, which will return a session token that can also be used in the Authorization header for secured endpoints.</p>","_postman_id":"da74c821-ce91-4ef2-99bb-2ce17a6095d3"},{"name":"API Keys","item":[{"name":"Create API Key","id":"471f001d-a89f-46c3-9b32-7192a076e6a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($name: String!, $expires_at: String!) {\n  create_api_key(\n    name: $name\n    expires_at: $expires_at\n    is_active: on\n    permissions: [\n      accounts_balances\n      conversions\n      create_conversion_order\n      create_conversion_quote\n      open_orders\n      cancel_order\n      closed_orders\n      create_order\n    ]\n  ) {\n    api_key_id\n    api_key_secret\n    expires_at\n  }\n}","variables":"{\"name\":\"My Trader API Key 1\",\"expires_at\": \"2025-01-01 00:00:00\"}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"ce4aadfd-6db8-4c1b-9bb7-764e148fc0e4","name":"Create API Key","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 21:08:54 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"179"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"b3-4g6AaBQJK5gXJBX6N5ovSdvaIGw\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_api_key\": {\n            \"api_key_id\": \"a337c967-250d-4c8d-xxxx-xxxxxxxxxxxx\",\n            \"api_key_secret\": \"RY437XJ4G7RFTLF9xxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"expires_at\": \"2025-01-01 00:00:00\"\n        }\n    }\n}"}],"_postman_id":"471f001d-a89f-46c3-9b32-7192a076e6a7"},{"name":"Create API Key with IP Whitelist","id":"40568826-8922-4791-bdd9-2db406807521","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($name: String!, $expires_at: String!, $ip_address: String!) {\n  create_api_key(\n    name: $name\n    expires_at: $expires_at\n    is_active: on\n    ip_address: [$ip_address]\n    permissions: [\n      accounts_balances\n      conversions\n      create_conversion_order\n      create_conversion_quote\n      open_orders\n      cancel_order\n      closed_orders\n      create_order\n    ]\n  ) {\n    api_key_id\n    api_key_secret\n    expires_at\n  }\n}","variables":"{\"name\":\"My Trader API Key with IP Whitelist\",\"expires_at\": \"2025-01-01 00:00:00\", \"ip_address\": \"67.85.198.23\"}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"4bc0f8c5-943b-4b6f-8651-d7926c5cbae7","name":"Create API Key with IP Whitelist","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 21:17:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"181"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"b5-ibvCu8vwlQ+8H9R4cTzr8yJqvXs\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_api_key\": {\n            \"api_key_id\": \"506c070b-feba-4cbb-xxxx-xxxxxxxxxxxx\",\n            \"api_key_secret\": \"3BGEEGBKU5V3U9G7Qxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n            \"expires_at\": \"2025-01-01 00:00:00\"\n        }\n    }\n}"}],"_postman_id":"40568826-8922-4791-bdd9-2db406807521"},{"name":"Authenticate with API Key","event":[{"listen":"test","script":{"exec":["pm.test(\"Successfully authenticated\", function(){","    pm.response.to.have.status(200);","    pm.environment.set(\"accessToken\", pm.response.json().data.service_signin.jwt);    ","});"],"type":"text/javascript","id":"b5743fe6-49fa-447f-bf0d-6c4e10100ebe"}}],"id":"1fa95ba4-1489-4934-8955-e16c0b384a4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation ($service_api_key: String!, $service_api_secret: String!) {\n  service_signin(\n    service_api_key: $service_api_key\n    service_api_secret: $service_api_secret\n  ) {\n    jwt\n    expires_at\n  }\n}","variables":"{\n    \"service_api_key\":\"506c070b-feba-4cbb-xxxx-xxxxxxxxxxxx\",\n    \"service_api_secret\": \"3BGEEGBKU5V3U9G7Qxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"84a17564-7324-43d4-b3f6-91fb8a4d3bff","name":"Authenticate with API Key","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 23:08:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"469-C5rwlOAGeKA7t4pgaXBcvkGyBfw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"service_signin\": {\n            \"jwt\": \"eyJhbGciOiJSUzI1NiIs...\",\n            \"expires_at\": 1735689600000\n        }\n    }\n}"}],"_postman_id":"1fa95ba4-1489-4934-8955-e16c0b384a4b"}],"id":"21c64491-0af8-40f8-9b08-f2376375eff0","description":"<p>This folder contains endpoints for managing API keys, which provide more granular control over API access. API keys are linked to an authentication token and can be generated with specific permissions or tied to IP whitelists for enhanced security. These keys are often used for integration services or automated systems needing restricted access.</p>\n<p>Available permissions that can be associated with the API key:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"permissions\": [\n            \"instruments\",\n            \"currencies\",\n            \"account_transactions\",\n            \"closed_orders\",\n            \"estimate_order\",\n            \"open_orders\",\n            \"trades\",\n            \"payments\",\n            \"estimate_network_fee\",\n            \"create_withdrawal_crypto\",\n            \"create_withdrawal_fiat\",\n            \"conversions\",\n            \"create_conversion_order\",\n            \"conversion_quotes\",\n            \"create_conversion_quote\",\n            \"deposit_addresses_crypto\",\n            \"accounts_balances\"\n        ]\n    }\n}\n\n<p></p></code></pre><p></p>\n","_postman_id":"21c64491-0af8-40f8-9b08-f2376375eff0"},{"name":"Exchange","item":[{"name":"Get Exchange Status","id":"0f55718d-65c2-4805-a926-ab3f66536bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"{\n  healthcheck {\n    maintenance_message\n    maintenance_mode\n  }\n}","variables":""}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"ede284b1-3263-4e2c-94cf-d84fce77ea56","name":"Get Exchange Status","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 00:51:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"79"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"4f-qVdCpatRcjKdjrR5eiEvOAJFsXU\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"healthcheck\": {\n            \"maintenance_message\": \"OK\",\n            \"maintenance_mode\": false\n        }\n    }\n}"}],"_postman_id":"0f55718d-65c2-4805-a926-ab3f66536bdd"},{"name":"Check User Exchange Access","id":"b2e37448-cc2b-42fd-bd2f-cbd8f02e1025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"mutation restrictions_check {\n    restrictions_check\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Validates if a user has permission to access an exchange. Currently implements geographical restrictions based on user's country, with infrastructure in place for future expansion of access control mechanisms.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"c5b0b832-c3db-426b-9073-9bf1228631ce","name":"Check User Exchange Access","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Dec 2024 23:45:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"25-CXy8drjMGxsQ4yiBdtv2EZu+Sps\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"restrictions_check\": true\n    }\n}"}],"_postman_id":"b2e37448-cc2b-42fd-bd2f-cbd8f02e1025"},{"name":"Initiate Websocket Connection","id":"897a8527-30fc-4641-a88d-f1e716dfda5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"connection_init\",\n    \"payload\": {\n        \"authorization\": \"{{vault:bearer-token}}\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"897a8527-30fc-4641-a88d-f1e716dfda5a"}],"id":"f5c4b25e-b939-4a17-88cd-44d44496c512","_postman_id":"f5c4b25e-b939-4a17-88cd-44d44496c512","description":""},{"name":"User","item":[{"name":"Security","item":[{"name":"Update Anti-Phishing Code","id":"e45c50dd-6b11-428c-9ea3-6165ca66cbb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($anti_phishing_code: String!, $token: String!) {\n  update_anti_phishing_code(\n    anti_phishing_code: $anti_phishing_code\n    token: $token\n  )\n}","variables":"{\n  \"anti_phishing_code\": \"123456\",\n  \"token\": \"059707\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows users to update their anti-phishing code, enhancing security by providing an additional verification layer for identifying legitimate platform communications.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>anti_phishing_code</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The new anti-phishing code that the user wants to set.</td>\n</tr>\n<tr>\n<td><code>token</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The one-time verification code required to confirm the update.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"da28bbb0-46d5-4155-aeff-696ab55176b2","name":"Change Anti-phishing Code","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Mar 2025 20:54:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"194"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"c2-LNf9lrm4fGOTc3UJbZJeGn+2GDQ\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"update_anti_phishing_code\":\"123456\"\n    }\n}"}],"_postman_id":"e45c50dd-6b11-428c-9ea3-6165ca66cbb3"},{"name":"Create User MFA Secret","id":"e3d61307-b65a-4bc0-a26c-8be31ffbb74a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  create_user_mfa_secret {\n    secret\n    uri\n    qr\n  }\n}","variables":""}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint generates a Multi-Factor Authentication (MFA) secret for a user. The secret can be used to set up MFA authentication, adding an extra layer of security to the user’s account.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"3d21aa73-88ff-472f-bc3c-2eff1e060a52","name":"Get 2FA Code","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Mar 2025 20:42:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"479"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"1df-fOovLO0E1RIEDaf6JhPHXSU1/iI\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_user_mfa_secret\": {\n            \"secret\": \"*****************************************\",\n            \"uri\": \"otpauth://totp/*********:usermail@example.com?secret=***************&issuer=********\",\n            \"qr\": \"https://api.qrserver.com/v1/create-qr-code/?size=166x166&data=otpauth%3A%2F%2Ftotp%2F**********%3Auseremail@example.com%3Fsecret%*********************\"\n        }\n    }\n}"}],"_postman_id":"e3d61307-b65a-4bc0-a26c-8be31ffbb74a"},{"name":"Update User MFA Status","id":"c0b12ee7-de96-4229-a59e-58729f501db1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($status: ToggleSwitch!, $secret: String, $token: String!) {\n  update_user_mfa_status(status: $status, secret: $secret, token: $token)\n}","variables":"{\n  \"status\": \"on\",\n  \"secret\": \"*************\",\n  \"token\": \"123456\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows updating the Multi-Factor Authentication (MFA) status for a user. It enables or disables MFA based on the provided status and verifies the update using an MFA token.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Specifies whether MFA should be enabled (<code>\"on\"</code>) or disabled (<code>\"off\"</code>).</td>\n</tr>\n<tr>\n<td><code>secret</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The MFA secret key required for generating authentication codes.</td>\n</tr>\n<tr>\n<td><code>token</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The one-time MFA verification code used to confirm the update.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"cccf238a-2dad-4548-ac8a-6fecc09c4844","name":"Enable/Disable 2 MFA","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Mar 2025 20:47:13 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"194"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"c2-PlU31xtVNi3yQ9ukwBnq0Cek1S8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\":{\n        \"update_user_mfa_status\": true\n    }\n}"}],"_postman_id":"c0b12ee7-de96-4229-a59e-58729f501db1"}],"id":"ea2f2eab-8aae-4581-a3d3-e27924a9620f","_postman_id":"ea2f2eab-8aae-4581-a3d3-e27924a9620f","description":""},{"name":"Update User Preferences","id":"d123e559-4c88-4bee-a8f7-defabd6ed174","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($language: String, $primary_market_currency: String, $timezone: String, $favorite_instruments: [String!], $favorite_addresses_crypto: [FavoriteAddressCryptoItem!], $favorite_fiat_destinations: [FavoriteFiatDestinationItem!], $notifications_settings: [NotificationTrigger!]) {\n  update_user(language: $language, primary_market_currency: $primary_market_currency, timezone: $timezone, favorite_instruments: $favorite_instruments, favorite_addresses_crypto: $favorite_addresses_crypto, favorite_fiat_destinations: $favorite_fiat_destinations, notifications_settings: $notifications_settings) {\n    username\n    user_id\n    email\n    language\n    timezone\n    primary_market_currency\n    profile_pic_url\n    created_at\n    updated_at\n    favorite_instruments\n    kyc_message\n    kyc_status\n    mfa_status\n    kyc_level\n    favorite_addresses_crypto {\n      currency_id\n      address\n      address_tag_type\n      address_tag_value\n      name\n      network\n    }\n    favorite_fiat_destinations {\n      name\n      bank_name\n      bank_address\n      bank_bic\n      routing_number\n      reference\n      notes\n      beneficiary_name\n      beneficiary_account_number\n      beneficiary_address_line_1\n      beneficiary_address_line_2\n    }\n    notifications_settings\n  }\n}","variables":"{\n  \"language\": \"english\",\n  \"primary_market_currency\": \"USD\",\n  \"timezone\": \"Europe/London\",\n  \"favorite_instruments\": [],\n  \"favorite_addresses_crypto\": [],\n  \"favorite_fiat_destinations\": [],\n  \"notifications_settings\": [\n    \"account_created\",\n    \"crypto_address_created\",\n    \"trade_completed\",\n    \"user_created\",\n    \"user_updated\",\n    \"conversion_completed\",\n    \"order_cancelled\",\n    \"order_completed\",\n    \"order_rejected\",\n    \"payment_completed\",\n    \"payment_new\",\n    \"payment_rejected\"\n  ]\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d123e559-4c88-4bee-a8f7-defabd6ed174"},{"name":"Subscribe to User Updates","id":"be5400fd-5590-4bdc-a1c8-39a02f124af5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"0c09a127-8127-438f-b480-1b5264ee3251\",\n    \"type\": \"subscribe\",\n    \"payload\": {\n        \"query\": \"subscription  { user_update  { order { order_id, type, side, status, price, quantity, executed_quantity, remaining_quantity, quantity_mode, instrument_id, message, updated_at, created_at, expires_at }, account_transaction { currency_id, type, amount, post_balance, order_id }, payment { payment_id, currency_id, amount, type, crypto_transaction_id, crypto_address, crypto_address_tag_type, crypto_address_tag_value, crypto_network, approval_status, fiat_bank_name, fiat_bank_address, fiat_bank_bic, fiat_routing_number, fiat_reference, fiat_notes, fiat_beneficiary_name, fiat_beneficiary_account_number, fiat_beneficiary_address_line_1, fiat_beneficiary_address_line_2, fee_amount, status, message, error_message, created_at, updated_at }, account { account_id, balance }, notification { title, body, class }, healthcheck { maintenance_message, maintenance_mode }, conversion { conversion_id, conversion_quote_id, reference, source_currency_id, source_currency_amount, target_currency_id, target_currency_amount, instrument_id, fee_currency_id, fee_currency_amount, price, status, message, error_message, created_at_iso, updated_at_iso }}}\",\n        \"variables\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"be5400fd-5590-4bdc-a1c8-39a02f124af5"}],"id":"f4174812-83e0-4893-a498-80e95edf3365","_postman_id":"f4174812-83e0-4893-a498-80e95edf3365","description":""},{"name":"Market Data","item":[{"name":"Get Currencies","id":"fea7bf60-c151-4a2c-bf7a-23b263a359ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query currencies ($search: String, $type: CurrencyType, $is_active: ToggleSwitch, $page: Int, $limit: Int!, $store_mode: ToggleSwitch) {\n    currencies (search: $search, type: $type, is_active: $is_active, page: $page, limit: $limit, store_mode: $store_mode) {\n        serial_id\n        currency_id\n        type\n        precision\n        name\n        is_active\n    }\n}","variables":"{\n  \"search\": \"\",\n  \"type\": \"\",\n  \"is_active\": \"\",\n  \"page\": 0,\n  \"limit\": 0,\n  \"store_mode\": \"\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Get All Active Currencies.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Search by Currency ID or Name</td>\n</tr>\n<tr>\n<td>type</td>\n<td>CurrencyType</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to CurrencyType for possible values</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Int</td>\n<td>❌ No</td>\n<td>0</td>\n<td>Number of the page</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>Int</td>\n<td>❌ No</td>\n<td>500</td>\n<td>Number of rows to retrieve</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"f2978c82-490b-4dc6-824c-fa10d7c520af","name":"Get Currencies","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 25 Nov 2024 18:02:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"fb6-HcmnywhvbD/4/kj40JIMDae4DBw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"currencies\": [\n            {\n                \"currency_id\": \"ETB\",\n                \"type\": \"fiat\",\n                \"precision\": 4,\n                \"name\": \"Ethiopian Birr\",\n                \"is_active\": \"on\"\n            },\n            {\n                \"currency_id\": \"AED\",\n                \"type\": \"fiat\",\n                \"precision\": 4,\n                \"name\": \"Dirhams\",\n                \"is_active\": \"on\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fea7bf60-c151-4a2c-bf7a-23b263a359ed"},{"name":"Get Instruments","id":"53b824a2-6045-4984-82c8-929185a11d6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query {\n    instruments {\n        instrument_id\n        base_currency {\n            is_active\n            currency_id\n            precision\n            type\n        }\n        quote_currency {\n            is_active\n            currency_id\n            precision\n            type\n        }\n    }\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"7a9d67a3-eb64-4332-906b-c173a693be6e","name":"Get Instruments","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Oct 2022 15:02:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"d3f-yQxf8W7EdaqsOwQcGO36a3FrDCE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"instruments\": [\n            {\n                \"instrument_id\": \"ETHGBP\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"GBP\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"BTCGBP\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"GBP\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"ETHEUR\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"EUR\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"BTCEUR\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"EUR\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"ETHUSD\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"type\": \"fiat\"\n                }\n            },\n            {\n                \"instrument_id\": \"BCHUSDT\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BCH\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USDT\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"BCHBTC\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BCH\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"XRPUSDT\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"XRP\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USDT\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"XRPETH\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"XRP\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"XRPBTC\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"XRP\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"ETHBTC\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"LTCETH\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"LTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"LTCBTC\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"LTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"LTCUSDT\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"LTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USDT\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"BTCUSDT\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USDT\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                }\n            },\n            {\n                \"instrument_id\": \"ETHUSDT\",\n                \"base_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 9,\n                    \"type\": \"crypto\"\n                },\n                \"quote_currency\": {\n                    \"is_active\": \"on\",\n                    \"currency_id\": \"USDT\",\n                    \"precision\": 6,\n                    \"type\": \"crypto\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"53b824a2-6045-4984-82c8-929185a11d6c"},{"name":"Get Best Bid and Ask for Instrument","id":"5fe32a60-4e1b-4523-8a25-f1b61076e1c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query ($instrument_id: String!, $is_active: ToggleSwitch) {\n  instruments(instrument_id: $instrument_id, is_active: $is_active) {\n    name\n    instrument_id\n    base_currency_id\n    quote_currency_id\n    price {\n      instrument_id\n      ask\n      bid\n      price_24h_change\n      ts\n    }\n  }\n}","variables":"{\n    \"instrument_id\":\"BTCUSD\",\n    \"date_range\": {\n        \"time_from\":\"2022-11-08T21:43:55.000Z\",\n        \"time_to\":\"2022-11-12T00:43:55.000Z\"\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"add06710-285d-42c9-aeeb-8aef20638e24","name":"Get Best Bid and Ask for Instrument","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 22:47:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"237"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"ed-zWskoqmiF9PJs9Q8mhRtPAr8Gbg\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"instruments\": [\n            {\n                \"name\": \"BTCUSD\",\n                \"instrument_id\": \"BTCUSD\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"USD\",\n                \"price\": {\n                    \"instrument_id\": \"BTCUSD\",\n                    \"ask\": 29446.64,\n                    \"bid\": 29443.3,\n                    \"price_24h_change\": -0.11,\n                    \"ts\": \"2023-04-28 22:47:19\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"5fe32a60-4e1b-4523-8a25-f1b61076e1c5"},{"name":"Get Historical Prices for Instrument","id":"2b4fc75b-890c-4b46-b24b-843701bd42c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query ($instrument_id: String!, $limit: Int, $date_range: DateRangeInput, $periodicity: InstrumentHistoryPeriodicity) {\n  instrument_price_bars(instrument_id: $instrument_id, limit: $limit, date_range: $date_range, periodicity: $periodicity) {\n    instrument_id\n    high\n    low\n    ts\n    close\n    open\n  }\n}","variables":"{\n    \"instrument_id\":\"BTCUSD\",\n    \"limit\":400,\n    \"date_range\": {\n        \"time_from\":\"2022-11-08T21:43:55.000Z\",\n        \"time_to\":\"2022-11-12T00:43:55.000Z\"\n    },\n    \"periodicity\":\"minute15\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"03148b67-065d-4daf-8768-d1d095d05b8c","name":"Get Historical Prices for Instrument","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 00:47:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"89bb-b12IzHTQb6X9CmXVcpxde31pOcM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"instrument_price_bars\": [\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16915.43,\n                \"low\": 16898.43,\n                \"ts\": \"2022-11-12 00:30:00\",\n                \"close\": 16915.43,\n                \"open\": 16898.43\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16974.44,\n                \"low\": 16936.68,\n                \"ts\": \"2022-11-12 00:15:00\",\n                \"close\": 16936.68,\n                \"open\": 16974.44\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17051.5,\n                \"low\": 17014.03,\n                \"ts\": \"2022-11-12 00:00:00\",\n                \"close\": 17014.03,\n                \"open\": 17021.73\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16886.8,\n                \"low\": 16877.77,\n                \"ts\": \"2022-11-11 23:45:00\",\n                \"close\": 16879.69,\n                \"open\": 16883.99\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16857.23,\n                \"low\": 16828.29,\n                \"ts\": \"2022-11-11 23:30:00\",\n                \"close\": 16857.23,\n                \"open\": 16828.29\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16860.18,\n                \"low\": 16824.45,\n                \"ts\": \"2022-11-11 23:15:00\",\n                \"close\": 16845.1,\n                \"open\": 16860.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16883.81,\n                \"low\": 16878.11,\n                \"ts\": \"2022-11-11 23:00:00\",\n                \"close\": 16880.26,\n                \"open\": 16883.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16864.61,\n                \"low\": 16823.07,\n                \"ts\": \"2022-11-11 22:45:00\",\n                \"close\": 16864.61,\n                \"open\": 16854.19\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16860.07,\n                \"low\": 16853.91,\n                \"ts\": \"2022-11-11 22:30:00\",\n                \"close\": 16858.22,\n                \"open\": 16853.91\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16826.28,\n                \"low\": 16818.2,\n                \"ts\": \"2022-11-11 22:15:00\",\n                \"close\": 16826.28,\n                \"open\": 16818.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16783.02,\n                \"low\": 16760.05,\n                \"ts\": \"2022-11-11 22:00:00\",\n                \"close\": 16783.02,\n                \"open\": 16760.05\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16775.77,\n                \"low\": 16751.65,\n                \"ts\": \"2022-11-11 21:45:00\",\n                \"close\": 16752.5,\n                \"open\": 16775.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16800.04,\n                \"low\": 16772.08,\n                \"ts\": \"2022-11-11 21:30:00\",\n                \"close\": 16772.08,\n                \"open\": 16796.79\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16747.08,\n                \"low\": 16721.95,\n                \"ts\": \"2022-11-11 21:15:00\",\n                \"close\": 16745.74,\n                \"open\": 16722.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16622.81,\n                \"low\": 16590.93,\n                \"ts\": \"2022-11-11 21:00:00\",\n                \"close\": 16622.81,\n                \"open\": 16590.93\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16616.19,\n                \"low\": 16581.51,\n                \"ts\": \"2022-11-11 20:45:00\",\n                \"close\": 16616.19,\n                \"open\": 16588.06\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16672.43,\n                \"low\": 16646.21,\n                \"ts\": \"2022-11-11 20:30:00\",\n                \"close\": 16669.47,\n                \"open\": 16646.21\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16698.66,\n                \"low\": 16671.63,\n                \"ts\": \"2022-11-11 20:15:00\",\n                \"close\": 16671.63,\n                \"open\": 16698.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16826.62,\n                \"low\": 16814.84,\n                \"ts\": \"2022-11-11 20:00:00\",\n                \"close\": 16820.02,\n                \"open\": 16814.84\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16748.43,\n                \"low\": 16739.93,\n                \"ts\": \"2022-11-11 19:45:00\",\n                \"close\": 16742.7,\n                \"open\": 16748.43\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16788.86,\n                \"low\": 16773.04,\n                \"ts\": \"2022-11-11 19:30:00\",\n                \"close\": 16773.04,\n                \"open\": 16788.86\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16783.66,\n                \"low\": 16751.79,\n                \"ts\": \"2022-11-11 19:15:00\",\n                \"close\": 16769.92,\n                \"open\": 16751.79\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16803.18,\n                \"low\": 16785.96,\n                \"ts\": \"2022-11-11 19:00:00\",\n                \"close\": 16785.96,\n                \"open\": 16803.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16820.72,\n                \"low\": 16796.86,\n                \"ts\": \"2022-11-11 18:45:00\",\n                \"close\": 16796.86,\n                \"open\": 16813.1\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16920.33,\n                \"low\": 16896,\n                \"ts\": \"2022-11-11 18:30:00\",\n                \"close\": 16910.65,\n                \"open\": 16920.33\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16969.88,\n                \"low\": 16934.47,\n                \"ts\": \"2022-11-11 18:15:00\",\n                \"close\": 16969.88,\n                \"open\": 16949.68\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16891.77,\n                \"low\": 16865.78,\n                \"ts\": \"2022-11-11 18:00:00\",\n                \"close\": 16891.77,\n                \"open\": 16871.84\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16803.55,\n                \"low\": 16794,\n                \"ts\": \"2022-11-11 17:45:00\",\n                \"close\": 16794,\n                \"open\": 16798.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16797.35,\n                \"low\": 16783.61,\n                \"ts\": \"2022-11-11 17:30:00\",\n                \"close\": 16787.76,\n                \"open\": 16797.35\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16877.91,\n                \"low\": 16868.01,\n                \"ts\": \"2022-11-11 17:15:00\",\n                \"close\": 16873.43,\n                \"open\": 16868.01\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16802.02,\n                \"low\": 16766.63,\n                \"ts\": \"2022-11-11 17:00:00\",\n                \"close\": 16766.63,\n                \"open\": 16802.02\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16748.93,\n                \"low\": 16724.86,\n                \"ts\": \"2022-11-11 16:45:00\",\n                \"close\": 16744.4,\n                \"open\": 16724.86\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16609.82,\n                \"low\": 16552.73,\n                \"ts\": \"2022-11-11 16:30:00\",\n                \"close\": 16609.82,\n                \"open\": 16571.71\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16697,\n                \"low\": 16671.03,\n                \"ts\": \"2022-11-11 16:15:00\",\n                \"close\": 16674.21,\n                \"open\": 16671.03\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16856.51,\n                \"low\": 16830.13,\n                \"ts\": \"2022-11-11 16:00:00\",\n                \"close\": 16856.51,\n                \"open\": 16834.89\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16771.42,\n                \"low\": 16727.7,\n                \"ts\": \"2022-11-11 15:45:00\",\n                \"close\": 16737.26,\n                \"open\": 16771.42\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16924.04,\n                \"low\": 16847.84,\n                \"ts\": \"2022-11-11 15:30:00\",\n                \"close\": 16853.86,\n                \"open\": 16924.04\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16887.4,\n                \"low\": 16864.68,\n                \"ts\": \"2022-11-11 15:15:00\",\n                \"close\": 16887.4,\n                \"open\": 16884.45\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16975.23,\n                \"low\": 16876.7,\n                \"ts\": \"2022-11-11 15:00:00\",\n                \"close\": 16975.23,\n                \"open\": 16876.7\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16715.56,\n                \"low\": 16559.09,\n                \"ts\": \"2022-11-11 14:45:00\",\n                \"close\": 16715.56,\n                \"open\": 16559.09\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16486.62,\n                \"low\": 16410.88,\n                \"ts\": \"2022-11-11 14:30:00\",\n                \"close\": 16410.88,\n                \"open\": 16486.62\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17072.68,\n                \"low\": 16976.28,\n                \"ts\": \"2022-11-11 14:15:00\",\n                \"close\": 16988.17,\n                \"open\": 17039.78\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17270.11,\n                \"low\": 17236.09,\n                \"ts\": \"2022-11-11 14:00:00\",\n                \"close\": 17236.09,\n                \"open\": 17270.11\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17378.86,\n                \"low\": 17355.89,\n                \"ts\": \"2022-11-11 13:45:00\",\n                \"close\": 17375.73,\n                \"open\": 17355.89\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17424.08,\n                \"low\": 17388.58,\n                \"ts\": \"2022-11-11 13:30:00\",\n                \"close\": 17395.02,\n                \"open\": 17424.08\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17381.4,\n                \"low\": 17368.64,\n                \"ts\": \"2022-11-11 13:15:00\",\n                \"close\": 17368.64,\n                \"open\": 17381.4\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17358.36,\n                \"low\": 17346.9,\n                \"ts\": \"2022-11-11 13:00:00\",\n                \"close\": 17354.86,\n                \"open\": 17358.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17286.89,\n                \"low\": 17279.22,\n                \"ts\": \"2022-11-11 12:45:00\",\n                \"close\": 17283.19,\n                \"open\": 17286.89\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17240.86,\n                \"low\": 17226.97,\n                \"ts\": \"2022-11-11 12:30:00\",\n                \"close\": 17240.86,\n                \"open\": 17240.76\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17286.46,\n                \"low\": 17273.96,\n                \"ts\": \"2022-11-11 12:15:00\",\n                \"close\": 17273.96,\n                \"open\": 17277.39\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17313.55,\n                \"low\": 17298.21,\n                \"ts\": \"2022-11-11 12:00:00\",\n                \"close\": 17300.71,\n                \"open\": 17311.68\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17323.4,\n                \"low\": 17305.96,\n                \"ts\": \"2022-11-11 11:45:00\",\n                \"close\": 17321.83,\n                \"open\": 17305.96\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17337.2,\n                \"low\": 17327.45,\n                \"ts\": \"2022-11-11 11:30:00\",\n                \"close\": 17329.6,\n                \"open\": 17337.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17374.16,\n                \"low\": 17356.23,\n                \"ts\": \"2022-11-11 11:15:00\",\n                \"close\": 17356.23,\n                \"open\": 17363.42\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17296.49,\n                \"low\": 17287.99,\n                \"ts\": \"2022-11-11 11:00:00\",\n                \"close\": 17290.56,\n                \"open\": 17287.99\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17349.84,\n                \"low\": 17316,\n                \"ts\": \"2022-11-11 10:45:00\",\n                \"close\": 17346.35,\n                \"open\": 17316\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17293.11,\n                \"low\": 17266.93,\n                \"ts\": \"2022-11-11 10:30:00\",\n                \"close\": 17293.11,\n                \"open\": 17266.93\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17277.7,\n                \"low\": 17263.16,\n                \"ts\": \"2022-11-11 10:15:00\",\n                \"close\": 17263.16,\n                \"open\": 17277.7\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17352,\n                \"low\": 17342.98,\n                \"ts\": \"2022-11-11 10:00:00\",\n                \"close\": 17342.98,\n                \"open\": 17350.87\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17324.15,\n                \"low\": 17300.89,\n                \"ts\": \"2022-11-11 09:45:00\",\n                \"close\": 17302.64,\n                \"open\": 17324.15\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17330.98,\n                \"low\": 17309.81,\n                \"ts\": \"2022-11-11 09:30:00\",\n                \"close\": 17310.86,\n                \"open\": 17330.98\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17314.92,\n                \"low\": 17285.64,\n                \"ts\": \"2022-11-11 09:15:00\",\n                \"close\": 17312.93,\n                \"open\": 17285.64\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17361.9,\n                \"low\": 17342.42,\n                \"ts\": \"2022-11-11 09:00:00\",\n                \"close\": 17342.42,\n                \"open\": 17361.9\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17400.26,\n                \"low\": 17377.58,\n                \"ts\": \"2022-11-11 08:45:00\",\n                \"close\": 17382.1,\n                \"open\": 17400.26\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17313.81,\n                \"low\": 17261.79,\n                \"ts\": \"2022-11-11 08:30:00\",\n                \"close\": 17281,\n                \"open\": 17313.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17326,\n                \"low\": 17308.12,\n                \"ts\": \"2022-11-11 08:15:00\",\n                \"close\": 17313.55,\n                \"open\": 17326\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17360.97,\n                \"low\": 17339.97,\n                \"ts\": \"2022-11-11 08:00:00\",\n                \"close\": 17339.97,\n                \"open\": 17360.97\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17384.96,\n                \"low\": 17367.28,\n                \"ts\": \"2022-11-11 07:45:00\",\n                \"close\": 17367.28,\n                \"open\": 17383.44\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17364.4,\n                \"low\": 17342.1,\n                \"ts\": \"2022-11-11 07:30:00\",\n                \"close\": 17364.4,\n                \"open\": 17344.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17321.46,\n                \"low\": 17288.23,\n                \"ts\": \"2022-11-11 07:15:00\",\n                \"close\": 17321.46,\n                \"open\": 17297.15\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17214.18,\n                \"low\": 17193.33,\n                \"ts\": \"2022-11-11 07:00:00\",\n                \"close\": 17193.39,\n                \"open\": 17214.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17258.62,\n                \"low\": 17220.32,\n                \"ts\": \"2022-11-11 06:45:00\",\n                \"close\": 17245.43,\n                \"open\": 17220.32\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17190.74,\n                \"low\": 17153.29,\n                \"ts\": \"2022-11-11 06:30:00\",\n                \"close\": 17153.29,\n                \"open\": 17190.74\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17278.99,\n                \"low\": 17264.49,\n                \"ts\": \"2022-11-11 06:15:00\",\n                \"close\": 17264.49,\n                \"open\": 17278.99\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17333.18,\n                \"low\": 17294.06,\n                \"ts\": \"2022-11-11 06:00:00\",\n                \"close\": 17333.18,\n                \"open\": 17302.54\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17233.73,\n                \"low\": 17183.56,\n                \"ts\": \"2022-11-11 05:45:00\",\n                \"close\": 17214.98,\n                \"open\": 17183.56\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17179.34,\n                \"low\": 17123.41,\n                \"ts\": \"2022-11-11 05:30:00\",\n                \"close\": 17179.34,\n                \"open\": 17129.53\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17094.55,\n                \"low\": 17063.32,\n                \"ts\": \"2022-11-11 05:15:00\",\n                \"close\": 17068.15,\n                \"open\": 17094.55\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17014.63,\n                \"low\": 16993.04,\n                \"ts\": \"2022-11-11 05:00:00\",\n                \"close\": 17013.27,\n                \"open\": 17014.63\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17022.03,\n                \"low\": 16995.9,\n                \"ts\": \"2022-11-11 04:45:00\",\n                \"close\": 16995.9,\n                \"open\": 17022.03\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17053.2,\n                \"low\": 17016.28,\n                \"ts\": \"2022-11-11 04:30:00\",\n                \"close\": 17016.28,\n                \"open\": 17053.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17095.69,\n                \"low\": 17049.49,\n                \"ts\": \"2022-11-11 04:15:00\",\n                \"close\": 17049.49,\n                \"open\": 17095.69\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17002.6,\n                \"low\": 16986.21,\n                \"ts\": \"2022-11-11 04:00:00\",\n                \"close\": 16993.64,\n                \"open\": 16990.97\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16991.57,\n                \"low\": 16973.75,\n                \"ts\": \"2022-11-11 03:45:00\",\n                \"close\": 16987.35,\n                \"open\": 16973.75\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16891.71,\n                \"low\": 16842.5,\n                \"ts\": \"2022-11-11 03:30:00\",\n                \"close\": 16891.71,\n                \"open\": 16842.5\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17069.9,\n                \"low\": 17026.03,\n                \"ts\": \"2022-11-11 03:15:00\",\n                \"close\": 17069.9,\n                \"open\": 17026.03\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17154.74,\n                \"low\": 17132.6,\n                \"ts\": \"2022-11-11 03:00:00\",\n                \"close\": 17132.6,\n                \"open\": 17154.74\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17145.81,\n                \"low\": 17140.68,\n                \"ts\": \"2022-11-11 02:45:00\",\n                \"close\": 17145.81,\n                \"open\": 17144.74\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17154.98,\n                \"low\": 17110.24,\n                \"ts\": \"2022-11-11 02:30:00\",\n                \"close\": 17154.98,\n                \"open\": 17110.24\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17048.28,\n                \"low\": 17019.75,\n                \"ts\": \"2022-11-11 02:15:00\",\n                \"close\": 17019.75,\n                \"open\": 17038.45\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17221.99,\n                \"low\": 17156.71,\n                \"ts\": \"2022-11-11 02:00:00\",\n                \"close\": 17160.85,\n                \"open\": 17210.48\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17313.28,\n                \"low\": 17293.34,\n                \"ts\": \"2022-11-11 01:45:00\",\n                \"close\": 17293.34,\n                \"open\": 17311.86\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17550.24,\n                \"low\": 17532.82,\n                \"ts\": \"2022-11-11 01:30:00\",\n                \"close\": 17548.88,\n                \"open\": 17532.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17599.19,\n                \"low\": 17589.97,\n                \"ts\": \"2022-11-11 01:15:00\",\n                \"close\": 17592.7,\n                \"open\": 17592.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17515.82,\n                \"low\": 17501.56,\n                \"ts\": \"2022-11-11 01:00:00\",\n                \"close\": 17508.03,\n                \"open\": 17508.15\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17459.5,\n                \"low\": 17442.29,\n                \"ts\": \"2022-11-11 00:45:00\",\n                \"close\": 17459.5,\n                \"open\": 17442.29\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17501.54,\n                \"low\": 17439.82,\n                \"ts\": \"2022-11-11 00:30:00\",\n                \"close\": 17489.52,\n                \"open\": 17439.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17566.54,\n                \"low\": 17558.57,\n                \"ts\": \"2022-11-11 00:15:00\",\n                \"close\": 17566,\n                \"open\": 17558.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17559.39,\n                \"low\": 17536.82,\n                \"ts\": \"2022-11-11 00:00:00\",\n                \"close\": 17559.39,\n                \"open\": 17555.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17516.7,\n                \"low\": 17483.26,\n                \"ts\": \"2022-11-10 23:45:00\",\n                \"close\": 17505.75,\n                \"open\": 17483.26\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17544.18,\n                \"low\": 17503.02,\n                \"ts\": \"2022-11-10 23:30:00\",\n                \"close\": 17544.18,\n                \"open\": 17503.02\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17695.19,\n                \"low\": 17634.69,\n                \"ts\": \"2022-11-10 23:15:00\",\n                \"close\": 17634.69,\n                \"open\": 17695.19\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17777.04,\n                \"low\": 17758.36,\n                \"ts\": \"2022-11-10 23:00:00\",\n                \"close\": 17758.36,\n                \"open\": 17776.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17793.33,\n                \"low\": 17791.29,\n                \"ts\": \"2022-11-10 22:45:00\",\n                \"close\": 17793.33,\n                \"open\": 17792.63\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17708.38,\n                \"low\": 17680.52,\n                \"ts\": \"2022-11-10 22:30:00\",\n                \"close\": 17708.38,\n                \"open\": 17685.58\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17702.6,\n                \"low\": 17674.32,\n                \"ts\": \"2022-11-10 22:15:00\",\n                \"close\": 17702.6,\n                \"open\": 17674.32\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17803.84,\n                \"low\": 17788.29,\n                \"ts\": \"2022-11-10 22:00:00\",\n                \"close\": 17789.23,\n                \"open\": 17803.84\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17858.74,\n                \"low\": 17830.86,\n                \"ts\": \"2022-11-10 21:45:00\",\n                \"close\": 17838.52,\n                \"open\": 17858.74\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17932.24,\n                \"low\": 17878.46,\n                \"ts\": \"2022-11-10 21:30:00\",\n                \"close\": 17878.46,\n                \"open\": 17932.24\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17908.74,\n                \"low\": 17900.32,\n                \"ts\": \"2022-11-10 21:15:00\",\n                \"close\": 17900.32,\n                \"open\": 17901.08\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18083.44,\n                \"low\": 18006.09,\n                \"ts\": \"2022-11-10 21:00:00\",\n                \"close\": 18006.09,\n                \"open\": 18059.73\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17456.27,\n                \"low\": 17439.5,\n                \"ts\": \"2022-11-10 20:45:00\",\n                \"close\": 17441.6,\n                \"open\": 17456.27\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17467.27,\n                \"low\": 17455.65,\n                \"ts\": \"2022-11-10 20:30:00\",\n                \"close\": 17467.27,\n                \"open\": 17456.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17402.32,\n                \"low\": 17382.17,\n                \"ts\": \"2022-11-10 20:15:00\",\n                \"close\": 17382.17,\n                \"open\": 17402.32\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17421.82,\n                \"low\": 17405.53,\n                \"ts\": \"2022-11-10 20:00:00\",\n                \"close\": 17415.23,\n                \"open\": 17412.71\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17288.97,\n                \"low\": 17272.54,\n                \"ts\": \"2022-11-10 19:45:00\",\n                \"close\": 17272.54,\n                \"open\": 17288.97\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17328.34,\n                \"low\": 17307.34,\n                \"ts\": \"2022-11-10 19:30:00\",\n                \"close\": 17328.34,\n                \"open\": 17313.99\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17337.23,\n                \"low\": 17320.65,\n                \"ts\": \"2022-11-10 19:15:00\",\n                \"close\": 17336.93,\n                \"open\": 17330.02\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17329.18,\n                \"low\": 17323.65,\n                \"ts\": \"2022-11-10 19:00:00\",\n                \"close\": 17324.63,\n                \"open\": 17328.6\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17310.44,\n                \"low\": 17290.7,\n                \"ts\": \"2022-11-10 18:45:00\",\n                \"close\": 17290.7,\n                \"open\": 17310.44\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17208.51,\n                \"low\": 17176.57,\n                \"ts\": \"2022-11-10 18:30:00\",\n                \"close\": 17208.51,\n                \"open\": 17176.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17360.86,\n                \"low\": 17350.38,\n                \"ts\": \"2022-11-10 18:15:00\",\n                \"close\": 17360.86,\n                \"open\": 17355.86\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17213.66,\n                \"low\": 17156.81,\n                \"ts\": \"2022-11-10 18:00:00\",\n                \"close\": 17213.66,\n                \"open\": 17156.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17261.46,\n                \"low\": 17218.84,\n                \"ts\": \"2022-11-10 17:45:00\",\n                \"close\": 17218.84,\n                \"open\": 17235.33\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17690.38,\n                \"low\": 17654.95,\n                \"ts\": \"2022-11-10 17:30:00\",\n                \"close\": 17655.47,\n                \"open\": 17683.67\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17708.18,\n                \"low\": 17683.01,\n                \"ts\": \"2022-11-10 17:15:00\",\n                \"close\": 17683.01,\n                \"open\": 17708.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17759.77,\n                \"low\": 17738.52,\n                \"ts\": \"2022-11-10 17:00:00\",\n                \"close\": 17738.52,\n                \"open\": 17759.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17891.09,\n                \"low\": 17816.16,\n                \"ts\": \"2022-11-10 16:45:00\",\n                \"close\": 17816.16,\n                \"open\": 17891.09\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17854.87,\n                \"low\": 17801.1,\n                \"ts\": \"2022-11-10 16:30:00\",\n                \"close\": 17806.35,\n                \"open\": 17852.22\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17643.84,\n                \"low\": 17575.2,\n                \"ts\": \"2022-11-10 16:15:00\",\n                \"close\": 17643.84,\n                \"open\": 17591.3\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17528.14,\n                \"low\": 17475.63,\n                \"ts\": \"2022-11-10 16:00:00\",\n                \"close\": 17489.41,\n                \"open\": 17528.14\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17488.66,\n                \"low\": 17444.83,\n                \"ts\": \"2022-11-10 15:45:00\",\n                \"close\": 17488.5,\n                \"open\": 17444.83\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17642.47,\n                \"low\": 17596.67,\n                \"ts\": \"2022-11-10 15:30:00\",\n                \"close\": 17596.67,\n                \"open\": 17620.52\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17708.56,\n                \"low\": 17665.57,\n                \"ts\": \"2022-11-10 15:15:00\",\n                \"close\": 17708.56,\n                \"open\": 17665.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17567.64,\n                \"low\": 17543.29,\n                \"ts\": \"2022-11-10 15:00:00\",\n                \"close\": 17556.75,\n                \"open\": 17567.64\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17382.36,\n                \"low\": 17369,\n                \"ts\": \"2022-11-10 14:45:00\",\n                \"close\": 17382.36,\n                \"open\": 17369\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17606.14,\n                \"low\": 17498.03,\n                \"ts\": \"2022-11-10 14:30:00\",\n                \"close\": 17606.14,\n                \"open\": 17541.7\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17488.72,\n                \"low\": 17452.67,\n                \"ts\": \"2022-11-10 14:15:00\",\n                \"close\": 17488.72,\n                \"open\": 17471.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17557.86,\n                \"low\": 17466.28,\n                \"ts\": \"2022-11-10 14:00:00\",\n                \"close\": 17466.28,\n                \"open\": 17557.86\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17294.02,\n                \"low\": 17264.97,\n                \"ts\": \"2022-11-10 13:45:00\",\n                \"close\": 17273.93,\n                \"open\": 17264.97\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17144.71,\n                \"low\": 16308.97,\n                \"ts\": \"2022-11-10 13:30:00\",\n                \"close\": 17144.71,\n                \"open\": 16485.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16543.47,\n                \"low\": 16538.5,\n                \"ts\": \"2022-11-10 13:15:00\",\n                \"close\": 16540.24,\n                \"open\": 16541.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16462.2,\n                \"low\": 16434.43,\n                \"ts\": \"2022-11-10 13:00:00\",\n                \"close\": 16434.43,\n                \"open\": 16462.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16329.15,\n                \"low\": 16290.81,\n                \"ts\": \"2022-11-10 12:45:00\",\n                \"close\": 16317.62,\n                \"open\": 16313.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16319.92,\n                \"low\": 16287.4,\n                \"ts\": \"2022-11-10 12:30:00\",\n                \"close\": 16319.92,\n                \"open\": 16299.51\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16460.47,\n                \"low\": 16374.33,\n                \"ts\": \"2022-11-10 12:15:00\",\n                \"close\": 16460.47,\n                \"open\": 16374.33\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16202.54,\n                \"low\": 16197.61,\n                \"ts\": \"2022-11-10 12:00:00\",\n                \"close\": 16202.54,\n                \"open\": 16199.9\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16362.3,\n                \"low\": 16327.85,\n                \"ts\": \"2022-11-10 11:45:00\",\n                \"close\": 16352.54,\n                \"open\": 16327.85\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16310.91,\n                \"low\": 16299.36,\n                \"ts\": \"2022-11-10 11:30:00\",\n                \"close\": 16310.91,\n                \"open\": 16299.67\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16291.46,\n                \"low\": 16251.26,\n                \"ts\": \"2022-11-10 11:15:00\",\n                \"close\": 16278.25,\n                \"open\": 16251.26\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16296.19,\n                \"low\": 16274.77,\n                \"ts\": \"2022-11-10 11:00:00\",\n                \"close\": 16278.94,\n                \"open\": 16285.31\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16406.86,\n                \"low\": 16387.51,\n                \"ts\": \"2022-11-10 10:45:00\",\n                \"close\": 16387.51,\n                \"open\": 16404.23\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16463.72,\n                \"low\": 16450.63,\n                \"ts\": \"2022-11-10 10:30:00\",\n                \"close\": 16459.11,\n                \"open\": 16463.72\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16494.65,\n                \"low\": 16481.41,\n                \"ts\": \"2022-11-10 10:15:00\",\n                \"close\": 16485.83,\n                \"open\": 16481.41\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16637.94,\n                \"low\": 16584.88,\n                \"ts\": \"2022-11-10 10:00:00\",\n                \"close\": 16637.94,\n                \"open\": 16614.04\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16674.58,\n                \"low\": 16656.61,\n                \"ts\": \"2022-11-10 09:45:00\",\n                \"close\": 16674.58,\n                \"open\": 16667.45\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16694.05,\n                \"low\": 16664.07,\n                \"ts\": \"2022-11-10 09:30:00\",\n                \"close\": 16664.07,\n                \"open\": 16694.05\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16730.85,\n                \"low\": 16696.85,\n                \"ts\": \"2022-11-10 09:15:00\",\n                \"close\": 16730.85,\n                \"open\": 16696.85\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16782.19,\n                \"low\": 16732.14,\n                \"ts\": \"2022-11-10 09:00:00\",\n                \"close\": 16732.14,\n                \"open\": 16782.19\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16687.1,\n                \"low\": 16656.85,\n                \"ts\": \"2022-11-10 08:45:00\",\n                \"close\": 16660.69,\n                \"open\": 16687.1\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16524.4,\n                \"low\": 16510.26,\n                \"ts\": \"2022-11-10 08:30:00\",\n                \"close\": 16514.59,\n                \"open\": 16520.55\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16605.03,\n                \"low\": 16593.98,\n                \"ts\": \"2022-11-10 08:15:00\",\n                \"close\": 16603.84,\n                \"open\": 16593.98\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16717.22,\n                \"low\": 16685.85,\n                \"ts\": \"2022-11-10 08:00:00\",\n                \"close\": 16708.35,\n                \"open\": 16696.34\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16677.77,\n                \"low\": 16648.21,\n                \"ts\": \"2022-11-10 07:45:00\",\n                \"close\": 16648.21,\n                \"open\": 16677.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16709.07,\n                \"low\": 16696.36,\n                \"ts\": \"2022-11-10 07:30:00\",\n                \"close\": 16709.07,\n                \"open\": 16696.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16681.54,\n                \"low\": 16670.89,\n                \"ts\": \"2022-11-10 07:15:00\",\n                \"close\": 16681.54,\n                \"open\": 16678.75\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16656.04,\n                \"low\": 16645.81,\n                \"ts\": \"2022-11-10 07:00:00\",\n                \"close\": 16654.91,\n                \"open\": 16645.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16676.24,\n                \"low\": 16646.85,\n                \"ts\": \"2022-11-10 06:45:00\",\n                \"close\": 16646.85,\n                \"open\": 16676.24\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16696.14,\n                \"low\": 16682.82,\n                \"ts\": \"2022-11-10 06:30:00\",\n                \"close\": 16682.82,\n                \"open\": 16696.14\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16615.58,\n                \"low\": 16584.88,\n                \"ts\": \"2022-11-10 06:15:00\",\n                \"close\": 16584.88,\n                \"open\": 16606.23\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16689.1,\n                \"low\": 16663.76,\n                \"ts\": \"2022-11-10 06:00:00\",\n                \"close\": 16689.1,\n                \"open\": 16672.95\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16564.21,\n                \"low\": 16548.84,\n                \"ts\": \"2022-11-10 05:45:00\",\n                \"close\": 16564.21,\n                \"open\": 16557.4\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16594.28,\n                \"low\": 16571.17,\n                \"ts\": \"2022-11-10 05:30:00\",\n                \"close\": 16571.17,\n                \"open\": 16580.85\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16647.93,\n                \"low\": 16619.81,\n                \"ts\": \"2022-11-10 05:15:00\",\n                \"close\": 16619.81,\n                \"open\": 16638.96\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16466.37,\n                \"low\": 16436.74,\n                \"ts\": \"2022-11-10 05:00:00\",\n                \"close\": 16466.37,\n                \"open\": 16436.74\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16265.76,\n                \"low\": 16251.22,\n                \"ts\": \"2022-11-10 04:45:00\",\n                \"close\": 16262.79,\n                \"open\": 16252.93\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16250.97,\n                \"low\": 16218.62,\n                \"ts\": \"2022-11-10 04:30:00\",\n                \"close\": 16240.7,\n                \"open\": 16218.62\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16327.73,\n                \"low\": 16297.36,\n                \"ts\": \"2022-11-10 04:15:00\",\n                \"close\": 16324.12,\n                \"open\": 16327.73\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16320.96,\n                \"low\": 16288.99,\n                \"ts\": \"2022-11-10 04:00:00\",\n                \"close\": 16303.72,\n                \"open\": 16320.96\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16484.77,\n                \"low\": 16455.14,\n                \"ts\": \"2022-11-10 03:45:00\",\n                \"close\": 16455.14,\n                \"open\": 16484.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16308.81,\n                \"low\": 16261.04,\n                \"ts\": \"2022-11-10 03:30:00\",\n                \"close\": 16297.44,\n                \"open\": 16308.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16342.84,\n                \"low\": 16320.08,\n                \"ts\": \"2022-11-10 03:15:00\",\n                \"close\": 16337.93,\n                \"open\": 16320.08\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16176.93,\n                \"low\": 16165.32,\n                \"ts\": \"2022-11-10 03:00:00\",\n                \"close\": 16167.97,\n                \"open\": 16171.15\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16197.18,\n                \"low\": 16175.7,\n                \"ts\": \"2022-11-10 02:45:00\",\n                \"close\": 16177.64,\n                \"open\": 16197.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16100.55,\n                \"low\": 16072.99,\n                \"ts\": \"2022-11-10 02:30:00\",\n                \"close\": 16082.6,\n                \"open\": 16100.55\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16096.67,\n                \"low\": 16085.58,\n                \"ts\": \"2022-11-10 02:15:00\",\n                \"close\": 16091.15,\n                \"open\": 16090.5\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16109.62,\n                \"low\": 16107.41,\n                \"ts\": \"2022-11-10 02:00:00\",\n                \"close\": 16107.41,\n                \"open\": 16109.62\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16202.4,\n                \"low\": 16172.86,\n                \"ts\": \"2022-11-10 01:45:00\",\n                \"close\": 16173.26,\n                \"open\": 16189.84\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16180.62,\n                \"low\": 16152.57,\n                \"ts\": \"2022-11-10 01:30:00\",\n                \"close\": 16152.57,\n                \"open\": 16163.69\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16322.49,\n                \"low\": 16307.89,\n                \"ts\": \"2022-11-10 01:15:00\",\n                \"close\": 16310.91,\n                \"open\": 16307.89\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16243.73,\n                \"low\": 16215.1,\n                \"ts\": \"2022-11-10 01:00:00\",\n                \"close\": 16230.16,\n                \"open\": 16243.73\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16111.87,\n                \"low\": 16097.06,\n                \"ts\": \"2022-11-10 00:45:00\",\n                \"close\": 16105.56,\n                \"open\": 16111.37\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16189.31,\n                \"low\": 16127.8,\n                \"ts\": \"2022-11-10 00:30:00\",\n                \"close\": 16139.71,\n                \"open\": 16175.38\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16139.2,\n                \"low\": 16043.85,\n                \"ts\": \"2022-11-10 00:15:00\",\n                \"close\": 16043.85,\n                \"open\": 16085.51\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15886.9,\n                \"low\": 15847.9,\n                \"ts\": \"2022-11-10 00:00:00\",\n                \"close\": 15856.12,\n                \"open\": 15881.9\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15796.22,\n                \"low\": 15749.92,\n                \"ts\": \"2022-11-09 23:45:00\",\n                \"close\": 15796.22,\n                \"open\": 15770.46\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15688.3,\n                \"low\": 15671.8,\n                \"ts\": \"2022-11-09 23:30:00\",\n                \"close\": 15688.3,\n                \"open\": 15672.42\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15775.66,\n                \"low\": 15711.64,\n                \"ts\": \"2022-11-09 23:15:00\",\n                \"close\": 15711.64,\n                \"open\": 15751.47\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15849.91,\n                \"low\": 15805.57,\n                \"ts\": \"2022-11-09 23:00:00\",\n                \"close\": 15805.57,\n                \"open\": 15849.91\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15967.7,\n                \"low\": 15958.46,\n                \"ts\": \"2022-11-09 22:45:00\",\n                \"close\": 15966.48,\n                \"open\": 15958.46\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15974.26,\n                \"low\": 15944.4,\n                \"ts\": \"2022-11-09 22:30:00\",\n                \"close\": 15947.85,\n                \"open\": 15944.4\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15762.93,\n                \"low\": 15721.2,\n                \"ts\": \"2022-11-09 22:15:00\",\n                \"close\": 15744.59,\n                \"open\": 15721.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15730.95,\n                \"low\": 15686.64,\n                \"ts\": \"2022-11-09 22:00:00\",\n                \"close\": 15696.29,\n                \"open\": 15730.41\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 15868.66,\n                \"low\": 15800.67,\n                \"ts\": \"2022-11-09 21:45:00\",\n                \"close\": 15844.04,\n                \"open\": 15800.67\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16000.8,\n                \"low\": 15900.62,\n                \"ts\": \"2022-11-09 21:30:00\",\n                \"close\": 15962.27,\n                \"open\": 15900.62\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16184.62,\n                \"low\": 16119.61,\n                \"ts\": \"2022-11-09 21:15:00\",\n                \"close\": 16119.61,\n                \"open\": 16178.59\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16215.72,\n                \"low\": 16198.34,\n                \"ts\": \"2022-11-09 21:00:00\",\n                \"close\": 16198.34,\n                \"open\": 16215.72\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16295.76,\n                \"low\": 16259.74,\n                \"ts\": \"2022-11-09 20:45:00\",\n                \"close\": 16295.76,\n                \"open\": 16295.13\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16719.45,\n                \"low\": 16699.56,\n                \"ts\": \"2022-11-09 20:30:00\",\n                \"close\": 16704.45,\n                \"open\": 16718.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16737.93,\n                \"low\": 16716.43,\n                \"ts\": \"2022-11-09 20:15:00\",\n                \"close\": 16737.93,\n                \"open\": 16716.43\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16790.81,\n                \"low\": 16762.38,\n                \"ts\": \"2022-11-09 20:00:00\",\n                \"close\": 16790.81,\n                \"open\": 16762.38\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16924.34,\n                \"low\": 16893.91,\n                \"ts\": \"2022-11-09 19:45:00\",\n                \"close\": 16893.91,\n                \"open\": 16917.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16897.59,\n                \"low\": 16860.6,\n                \"ts\": \"2022-11-09 19:30:00\",\n                \"close\": 16860.6,\n                \"open\": 16896.64\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16729.51,\n                \"low\": 16686.54,\n                \"ts\": \"2022-11-09 19:15:00\",\n                \"close\": 16686.54,\n                \"open\": 16729.37\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16620.68,\n                \"low\": 16586.79,\n                \"ts\": \"2022-11-09 19:00:00\",\n                \"close\": 16614.42,\n                \"open\": 16586.79\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16517.12,\n                \"low\": 16463.47,\n                \"ts\": \"2022-11-09 18:45:00\",\n                \"close\": 16498.36,\n                \"open\": 16517.12\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16716.8,\n                \"low\": 16682.52,\n                \"ts\": \"2022-11-09 18:30:00\",\n                \"close\": 16688.05,\n                \"open\": 16716.8\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16773.58,\n                \"low\": 16750.83,\n                \"ts\": \"2022-11-09 18:15:00\",\n                \"close\": 16773.58,\n                \"open\": 16763.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16938.34,\n                \"low\": 16900.74,\n                \"ts\": \"2022-11-09 18:00:00\",\n                \"close\": 16900.74,\n                \"open\": 16933.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17022.2,\n                \"low\": 16990.43,\n                \"ts\": \"2022-11-09 17:45:00\",\n                \"close\": 17011.25,\n                \"open\": 17012.35\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 16921.49,\n                \"low\": 16893.71,\n                \"ts\": \"2022-11-09 17:30:00\",\n                \"close\": 16921.49,\n                \"open\": 16893.71\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17178.83,\n                \"low\": 17136,\n                \"ts\": \"2022-11-09 17:15:00\",\n                \"close\": 17178.83,\n                \"open\": 17136\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17073.95,\n                \"low\": 17039.97,\n                \"ts\": \"2022-11-09 17:00:00\",\n                \"close\": 17053.42,\n                \"open\": 17061.7\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17235.84,\n                \"low\": 17207.48,\n                \"ts\": \"2022-11-09 16:45:00\",\n                \"close\": 17223.21,\n                \"open\": 17214.92\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17066.34,\n                \"low\": 16994.91,\n                \"ts\": \"2022-11-09 16:30:00\",\n                \"close\": 16997.4,\n                \"open\": 17043.26\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17217.82,\n                \"low\": 17178.9,\n                \"ts\": \"2022-11-09 16:15:00\",\n                \"close\": 17215.36,\n                \"open\": 17178.9\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17101.77,\n                \"low\": 17019.02,\n                \"ts\": \"2022-11-09 16:00:00\",\n                \"close\": 17037.78,\n                \"open\": 17098.25\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17244.79,\n                \"low\": 17107,\n                \"ts\": \"2022-11-09 15:45:00\",\n                \"close\": 17107,\n                \"open\": 17166.75\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17658.57,\n                \"low\": 17625.38,\n                \"ts\": \"2022-11-09 15:30:00\",\n                \"close\": 17646.79,\n                \"open\": 17628.72\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17745.15,\n                \"low\": 17694.78,\n                \"ts\": \"2022-11-09 15:15:00\",\n                \"close\": 17745.15,\n                \"open\": 17694.78\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17659,\n                \"low\": 17602.37,\n                \"ts\": \"2022-11-09 15:00:00\",\n                \"close\": 17659,\n                \"open\": 17620.52\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17717.5,\n                \"low\": 17622.23,\n                \"ts\": \"2022-11-09 14:45:00\",\n                \"close\": 17717.5,\n                \"open\": 17622.23\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17479.98,\n                \"low\": 17445.74,\n                \"ts\": \"2022-11-09 14:30:00\",\n                \"close\": 17479.98,\n                \"open\": 17473.22\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17584.26,\n                \"low\": 17549.42,\n                \"ts\": \"2022-11-09 14:15:00\",\n                \"close\": 17549.42,\n                \"open\": 17572.09\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17587.24,\n                \"low\": 17562.18,\n                \"ts\": \"2022-11-09 14:00:00\",\n                \"close\": 17565.99,\n                \"open\": 17562.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17618.11,\n                \"low\": 17582.02,\n                \"ts\": \"2022-11-09 13:45:00\",\n                \"close\": 17582.02,\n                \"open\": 17594.3\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17497.86,\n                \"low\": 17465.61,\n                \"ts\": \"2022-11-09 13:30:00\",\n                \"close\": 17490.91,\n                \"open\": 17465.61\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17457.36,\n                \"low\": 17374.11,\n                \"ts\": \"2022-11-09 13:15:00\",\n                \"close\": 17374.11,\n                \"open\": 17425.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17628.74,\n                \"low\": 17599.46,\n                \"ts\": \"2022-11-09 13:00:00\",\n                \"close\": 17628.74,\n                \"open\": 17599.46\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17825.82,\n                \"low\": 17798,\n                \"ts\": \"2022-11-09 12:45:00\",\n                \"close\": 17825.82,\n                \"open\": 17798\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17703.98,\n                \"low\": 17680.88,\n                \"ts\": \"2022-11-09 12:30:00\",\n                \"close\": 17703.98,\n                \"open\": 17680.88\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17950.73,\n                \"low\": 17926.92,\n                \"ts\": \"2022-11-09 12:15:00\",\n                \"close\": 17926.92,\n                \"open\": 17950.73\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17789.36,\n                \"low\": 17766.72,\n                \"ts\": \"2022-11-09 12:00:00\",\n                \"close\": 17766.72,\n                \"open\": 17789.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17656.43,\n                \"low\": 17638.59,\n                \"ts\": \"2022-11-09 11:45:00\",\n                \"close\": 17638.59,\n                \"open\": 17656.43\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17741.18,\n                \"low\": 17700.65,\n                \"ts\": \"2022-11-09 11:30:00\",\n                \"close\": 17700.65,\n                \"open\": 17730.72\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17744.03,\n                \"low\": 17688.93,\n                \"ts\": \"2022-11-09 11:15:00\",\n                \"close\": 17744.03,\n                \"open\": 17714.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17702.66,\n                \"low\": 17666.81,\n                \"ts\": \"2022-11-09 11:00:00\",\n                \"close\": 17687.51,\n                \"open\": 17666.81\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17739.57,\n                \"low\": 17661.55,\n                \"ts\": \"2022-11-09 10:45:00\",\n                \"close\": 17739.57,\n                \"open\": 17665.02\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17502.82,\n                \"low\": 17388.61,\n                \"ts\": \"2022-11-09 10:30:00\",\n                \"close\": 17496.98,\n                \"open\": 17388.61\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17427.39,\n                \"low\": 17362.23,\n                \"ts\": \"2022-11-09 10:15:00\",\n                \"close\": 17427.39,\n                \"open\": 17388.68\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17807.61,\n                \"low\": 17751.09,\n                \"ts\": \"2022-11-09 10:00:00\",\n                \"close\": 17806.32,\n                \"open\": 17751.09\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17830.68,\n                \"low\": 17820.02,\n                \"ts\": \"2022-11-09 09:45:00\",\n                \"close\": 17830.28,\n                \"open\": 17830.68\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17994.28,\n                \"low\": 17950.35,\n                \"ts\": \"2022-11-09 09:30:00\",\n                \"close\": 17950.35,\n                \"open\": 17975.59\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 17906.7,\n                \"low\": 17879.46,\n                \"ts\": \"2022-11-09 09:15:00\",\n                \"close\": 17883.29,\n                \"open\": 17879.46\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18142.95,\n                \"low\": 18121.06,\n                \"ts\": \"2022-11-09 09:00:00\",\n                \"close\": 18121.06,\n                \"open\": 18142.95\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18178.82,\n                \"low\": 18164.93,\n                \"ts\": \"2022-11-09 08:45:00\",\n                \"close\": 18170.83,\n                \"open\": 18178.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18162.85,\n                \"low\": 18129.24,\n                \"ts\": \"2022-11-09 08:30:00\",\n                \"close\": 18148.65,\n                \"open\": 18129.24\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18121.51,\n                \"low\": 18090.57,\n                \"ts\": \"2022-11-09 08:15:00\",\n                \"close\": 18111.68,\n                \"open\": 18090.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18236.01,\n                \"low\": 18216.63,\n                \"ts\": \"2022-11-09 08:00:00\",\n                \"close\": 18235.04,\n                \"open\": 18229.87\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18270.89,\n                \"low\": 18243.16,\n                \"ts\": \"2022-11-09 07:45:00\",\n                \"close\": 18270.89,\n                \"open\": 18249.09\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18331.65,\n                \"low\": 18313.32,\n                \"ts\": \"2022-11-09 07:30:00\",\n                \"close\": 18331.65,\n                \"open\": 18313.32\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18314.54,\n                \"low\": 18290.43,\n                \"ts\": \"2022-11-09 07:15:00\",\n                \"close\": 18290.43,\n                \"open\": 18314.54\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18317.59,\n                \"low\": 18301.83,\n                \"ts\": \"2022-11-09 07:00:00\",\n                \"close\": 18304.12,\n                \"open\": 18302.57\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18411.86,\n                \"low\": 18396.04,\n                \"ts\": \"2022-11-09 06:45:00\",\n                \"close\": 18404.72,\n                \"open\": 18396.67\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18407.93,\n                \"low\": 18383.49,\n                \"ts\": \"2022-11-09 06:30:00\",\n                \"close\": 18383.49,\n                \"open\": 18405.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18398.02,\n                \"low\": 18372.01,\n                \"ts\": \"2022-11-09 06:15:00\",\n                \"close\": 18398.02,\n                \"open\": 18377.92\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18394.39,\n                \"low\": 18382.98,\n                \"ts\": \"2022-11-09 06:00:00\",\n                \"close\": 18382.98,\n                \"open\": 18394.39\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18482.36,\n                \"low\": 18444.66,\n                \"ts\": \"2022-11-09 05:45:00\",\n                \"close\": 18482.36,\n                \"open\": 18444.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18408.02,\n                \"low\": 18400.45,\n                \"ts\": \"2022-11-09 05:30:00\",\n                \"close\": 18401.03,\n                \"open\": 18403.25\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18231.41,\n                \"low\": 18217.35,\n                \"ts\": \"2022-11-09 05:15:00\",\n                \"close\": 18225.22,\n                \"open\": 18217.35\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18247.2,\n                \"low\": 18222.42,\n                \"ts\": \"2022-11-09 05:00:00\",\n                \"close\": 18222.42,\n                \"open\": 18247.2\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18246.71,\n                \"low\": 18226.53,\n                \"ts\": \"2022-11-09 04:45:00\",\n                \"close\": 18226.53,\n                \"open\": 18235.58\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18337.96,\n                \"low\": 18325.98,\n                \"ts\": \"2022-11-09 04:30:00\",\n                \"close\": 18325.98,\n                \"open\": 18326.3\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18321.73,\n                \"low\": 18294.96,\n                \"ts\": \"2022-11-09 04:15:00\",\n                \"close\": 18321.73,\n                \"open\": 18307.82\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18310.42,\n                \"low\": 18284.09,\n                \"ts\": \"2022-11-09 04:00:00\",\n                \"close\": 18284.09,\n                \"open\": 18310.42\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18244.55,\n                \"low\": 18222.82,\n                \"ts\": \"2022-11-09 03:45:00\",\n                \"close\": 18222.82,\n                \"open\": 18231.65\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18207,\n                \"low\": 18194.93,\n                \"ts\": \"2022-11-09 03:30:00\",\n                \"close\": 18199.68,\n                \"open\": 18197.04\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18016.64,\n                \"low\": 17998.41,\n                \"ts\": \"2022-11-09 03:15:00\",\n                \"close\": 18016.64,\n                \"open\": 17998.41\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18126.76,\n                \"low\": 18110.93,\n                \"ts\": \"2022-11-09 03:00:00\",\n                \"close\": 18112.46,\n                \"open\": 18123.33\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18229.31,\n                \"low\": 18184.87,\n                \"ts\": \"2022-11-09 02:45:00\",\n                \"close\": 18221.07,\n                \"open\": 18184.87\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18367.45,\n                \"low\": 18334.09,\n                \"ts\": \"2022-11-09 02:30:00\",\n                \"close\": 18334.09,\n                \"open\": 18367.45\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18373.92,\n                \"low\": 18361.96,\n                \"ts\": \"2022-11-09 02:15:00\",\n                \"close\": 18363.95,\n                \"open\": 18361.96\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18340.99,\n                \"low\": 18319.67,\n                \"ts\": \"2022-11-09 02:00:00\",\n                \"close\": 18319.67,\n                \"open\": 18327.3\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18426.76,\n                \"low\": 18392.21,\n                \"ts\": \"2022-11-09 01:45:00\",\n                \"close\": 18425.31,\n                \"open\": 18392.21\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18397.31,\n                \"low\": 18377.77,\n                \"ts\": \"2022-11-09 01:30:00\",\n                \"close\": 18396.35,\n                \"open\": 18377.77\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18393.03,\n                \"low\": 18378.75,\n                \"ts\": \"2022-11-09 01:15:00\",\n                \"close\": 18393.03,\n                \"open\": 18378.75\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18345.61,\n                \"low\": 18323.53,\n                \"ts\": \"2022-11-09 01:00:00\",\n                \"close\": 18323.53,\n                \"open\": 18341.55\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18518.07,\n                \"low\": 18501.34,\n                \"ts\": \"2022-11-09 00:45:00\",\n                \"close\": 18501.34,\n                \"open\": 18514.24\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18549.68,\n                \"low\": 18539.66,\n                \"ts\": \"2022-11-09 00:30:00\",\n                \"close\": 18549.68,\n                \"open\": 18539.66\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18475.4,\n                \"low\": 18465.31,\n                \"ts\": \"2022-11-09 00:15:00\",\n                \"close\": 18471.07,\n                \"open\": 18465.31\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18555.57,\n                \"low\": 18524.99,\n                \"ts\": \"2022-11-09 00:00:00\",\n                \"close\": 18555.57,\n                \"open\": 18544.15\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18641.18,\n                \"low\": 18599.5,\n                \"ts\": \"2022-11-08 23:45:00\",\n                \"close\": 18599.5,\n                \"open\": 18641.18\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18458.36,\n                \"low\": 18439.63,\n                \"ts\": \"2022-11-08 23:30:00\",\n                \"close\": 18439.63,\n                \"open\": 18458.36\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18527.82,\n                \"low\": 18515.57,\n                \"ts\": \"2022-11-08 23:15:00\",\n                \"close\": 18527.82,\n                \"open\": 18525.54\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18466.42,\n                \"low\": 18441.59,\n                \"ts\": \"2022-11-08 23:00:00\",\n                \"close\": 18449.39,\n                \"open\": 18466.42\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18501.11,\n                \"low\": 18495.47,\n                \"ts\": \"2022-11-08 22:45:00\",\n                \"close\": 18500.15,\n                \"open\": 18501.11\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18590.3,\n                \"low\": 18558.97,\n                \"ts\": \"2022-11-08 22:30:00\",\n                \"close\": 18570.42,\n                \"open\": 18590.3\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18535.22,\n                \"low\": 18513.73,\n                \"ts\": \"2022-11-08 22:15:00\",\n                \"close\": 18530.94,\n                \"open\": 18535.22\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18697.59,\n                \"low\": 18646.61,\n                \"ts\": \"2022-11-08 22:00:00\",\n                \"close\": 18646.61,\n                \"open\": 18697.59\n            },\n            {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 18604.26,\n                \"low\": 18563.07,\n                \"ts\": \"2022-11-08 21:45:00\",\n                \"close\": 18587.74,\n                \"open\": 18563.07\n            }\n        ]\n    }\n}"}],"_postman_id":"2b4fc75b-890c-4b46-b24b-843701bd42c9"},{"name":"Get Historical Prices for All Instruments","id":"1789de62-506d-4eec-93c2-16bc3dc3c6ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"graphql","graphql":{"query":"query ($periodicity: InstrumentHistoryPeriodicity!, $limit: Int, $is_active: ToggleSwitch) {\n  instruments(is_active: $is_active) {\n    name\n    instrument_id\n    base_currency_id\n    quote_currency_id\n    price_decimals\n    min_quantity\n    max_quantity\n    min_quote_quantity\n    max_quote_quantity\n    quote_currency {\n      precision\n    }\n    base_currency {\n      precision\n    }\n    price {\n      instrument_id\n      ask\n      bid\n      price_24h_change\n      ts\n    }\n    price_bars(limit: $limit, periodicity: $periodicity) {\n      instrument_id\n      high\n      low\n      ts\n      close\n      open\n    }\n    trading_fees {\n      instrument_id\n      maker_progressive\n      taker_progressive\n      maker_flat\n      taker_flat\n    }\n    recent_price_bar(periodicity: $periodicity) {\n      instrument_id\n      high\n      low\n      ts\n      close\n      open\n    }\n  }\n}","variables":"{\n    \"periodicity\": \"hour\", \"limit\": 24\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"064f7eca-61d4-4abe-9cb6-543cdb98ce7b","name":"Get Historical Prices for All Instruments","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 00:36:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"e7b0-ZSfzTUsHmTJsy1syR+l2Fn1rFgM\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"instruments\": [\n            {\n                \"name\": \"ETHGBP\",\n                \"instrument_id\": \"ETHGBP\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"GBP\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.01,\n                \"max_quantity\": 500,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 9\n                },\n                \"price\": {\n                    \"instrument_id\": \"ETHGBP\",\n                    \"ask\": 1089.53,\n                    \"bid\": 1065.68,\n                    \"price_24h_change\": -2.46,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1089.7,\n                        \"low\": 1074.74,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 1077.61,\n                        \"open\": 1087.03\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1091.51,\n                        \"low\": 1071.92,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 1086.66,\n                        \"open\": 1079.93\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1083.51,\n                        \"low\": 1068.83,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 1079.64,\n                        \"open\": 1071.68\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1084.78,\n                        \"low\": 1049.3,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 1069.82,\n                        \"open\": 1049.3\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1074.43,\n                        \"low\": 1045.14,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 1048.77,\n                        \"open\": 1072.63\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1075.73,\n                        \"low\": 1053.68,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 1072.32,\n                        \"open\": 1065.53\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1087.02,\n                        \"low\": 1064.14,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 1065.2,\n                        \"open\": 1077.89\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1080.86,\n                        \"low\": 1055.52,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 1078.03,\n                        \"open\": 1057.98\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1070,\n                        \"low\": 1047.31,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 1057.41,\n                        \"open\": 1067.75\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1085.3,\n                        \"low\": 1057.81,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 1067.26,\n                        \"open\": 1074.34\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1093.4,\n                        \"low\": 1023.25,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 1074.25,\n                        \"open\": 1087.22\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1107.03,\n                        \"low\": 1085.23,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 1087.45,\n                        \"open\": 1093.05\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1093.82,\n                        \"low\": 1076.14,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 1093.26,\n                        \"open\": 1082.75\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1097.89,\n                        \"low\": 1077.81,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 1082.63,\n                        \"open\": 1086.84\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1089.55,\n                        \"low\": 1073.34,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 1086.67,\n                        \"open\": 1085.79\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1096.38,\n                        \"low\": 1080.48,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 1085.73,\n                        \"open\": 1087.07\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1095.76,\n                        \"low\": 1079.05,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 1087.76,\n                        \"open\": 1085.89\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1092.84,\n                        \"low\": 1069.07,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 1085.72,\n                        \"open\": 1076.67\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1083.98,\n                        \"low\": 1065.48,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 1076.62,\n                        \"open\": 1077.56\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1082.67,\n                        \"low\": 1050.65,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 1078.12,\n                        \"open\": 1052.64\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1065.41,\n                        \"low\": 1049.04,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 1052.83,\n                        \"open\": 1056.89\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1070.62,\n                        \"low\": 1043.76,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 1057.46,\n                        \"open\": 1067.75\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1087.48,\n                        \"low\": 1064.64,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 1068.71,\n                        \"open\": 1079.78\n                    },\n                    {\n                        \"instrument_id\": \"ETHGBP\",\n                        \"high\": 1117.57,\n                        \"low\": 1073.34,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 1079.87,\n                        \"open\": 1108.32\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"ETHGBP\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"ETHGBP\",\n                    \"high\": 1089.7,\n                    \"low\": 1074.74,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 1077.61,\n                    \"open\": 1087.03\n                }\n            },\n            {\n                \"name\": \"BTCGBP\",\n                \"instrument_id\": \"BTCGBP\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"GBP\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 10,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BTCGBP\",\n                    \"ask\": 14466.44,\n                    \"bid\": 14152.23,\n                    \"price_24h_change\": -4.33,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14434.67,\n                        \"low\": 14271.24,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 14309.34,\n                        \"open\": 14386.65\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14438.05,\n                        \"low\": 14196.62,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 14380.33,\n                        \"open\": 14267.3\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14317.77,\n                        \"low\": 14161.33,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 14271.11,\n                        \"open\": 14185.01\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14223.69,\n                        \"low\": 13999.5,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 14160.93,\n                        \"open\": 13999.5\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14219.6,\n                        \"low\": 13974.46,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 13995.77,\n                        \"open\": 14185\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14220.05,\n                        \"low\": 14079.1,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 14180.38,\n                        \"open\": 14188.5\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14396.18,\n                        \"low\": 14181.96,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 14192.68,\n                        \"open\": 14294.75\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14335.86,\n                        \"low\": 14174.74,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 14306.53,\n                        \"open\": 14239.87\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14339.46,\n                        \"low\": 14065.14,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 14246.77,\n                        \"open\": 14297.53\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14458.78,\n                        \"low\": 14199.44,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 14290.88,\n                        \"open\": 14378.78\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14683.97,\n                        \"low\": 13950.47,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 14392.56,\n                        \"open\": 14661.22\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14843.14,\n                        \"low\": 14660.59,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 14672.28,\n                        \"open\": 14735.49\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14750.05,\n                        \"low\": 14632.94,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 14738.2,\n                        \"open\": 14725.8\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14822.71,\n                        \"low\": 14682.09,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 14721.82,\n                        \"open\": 14745.4\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14784.87,\n                        \"low\": 14623.16,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 14746.59,\n                        \"open\": 14760.04\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14846.7,\n                        \"low\": 14704.84,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 14759.9,\n                        \"open\": 14753.77\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14839.01,\n                        \"low\": 14699.31,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 14760.87,\n                        \"open\": 14782.37\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14870.71,\n                        \"low\": 14623.66,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 14783.45,\n                        \"open\": 14700.33\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14826.19,\n                        \"low\": 14617.68,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 14705.29,\n                        \"open\": 14774.83\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14807.16,\n                        \"low\": 14549.3,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 14780.47,\n                        \"open\": 14568.92\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14665.13,\n                        \"low\": 14517.78,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 14570.7,\n                        \"open\": 14556.95\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14680.59,\n                        \"low\": 14424.19,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 14560.4,\n                        \"open\": 14676.62\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 14838.07,\n                        \"low\": 14574.04,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 14680.06,\n                        \"open\": 14770.72\n                    },\n                    {\n                        \"instrument_id\": \"BTCGBP\",\n                        \"high\": 15113.86,\n                        \"low\": 14744.98,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 14778.99,\n                        \"open\": 15007.59\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BTCGBP\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BTCGBP\",\n                    \"high\": 14434.67,\n                    \"low\": 14271.24,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 14309.34,\n                    \"open\": 14386.65\n                }\n            },\n            {\n                \"name\": \"ETHEUR\",\n                \"instrument_id\": \"ETHEUR\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"EUR\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.01,\n                \"max_quantity\": 500,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 9\n                },\n                \"price\": {\n                    \"instrument_id\": \"ETHEUR\",\n                    \"ask\": 1422.26,\n                    \"bid\": 1382.85,\n                    \"price_24h_change\": -4.27,\n                    \"ts\": \"2022-11-12 00:36:50\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1375,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 1400.64,\n                        \"open\": 1477.62\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1340.08,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 1481.26,\n                        \"open\": 1347.64\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1342.3,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 1347.64,\n                        \"open\": 1389.75\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1330.36,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 1483.41,\n                        \"open\": 1365.29\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1314.32,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 1600,\n                        \"open\": 1369.31\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1345.12,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 1369.31,\n                        \"open\": 1355.01\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1355.01,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 1355.01,\n                        \"open\": 1378.55\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1362,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 1378.55,\n                        \"open\": 1375.82\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1372.54,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 1470.85,\n                        \"open\": 1401.98\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1353.27,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 1402.37,\n                        \"open\": 1436.49\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1164.57,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 1470.26,\n                        \"open\": 1259.78\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1246.36,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 1259.78,\n                        \"open\": 1337.7\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1264.39,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 1315.96,\n                        \"open\": 1423.32\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1261.66,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 1423.32,\n                        \"open\": 1460.42\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1294,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 1460.42,\n                        \"open\": 1351.85\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1297.16,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 1351.85,\n                        \"open\": 1365.39\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1342.74,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 1359.68,\n                        \"open\": 1383.59\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1378.15,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 1383.59,\n                        \"open\": 1462.37\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1398.34,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 1462.77,\n                        \"open\": 1468.93\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1454.55,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 1524.57,\n                        \"open\": 1554.64\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1372.51,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 1554.64,\n                        \"open\": 1474.76\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1311.24,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 1600,\n                        \"open\": 1353.25\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1343.1,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 1353.25,\n                        \"open\": 1356.79\n                    },\n                    {\n                        \"instrument_id\": \"ETHEUR\",\n                        \"high\": 1600,\n                        \"low\": 1309.57,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 1362.4,\n                        \"open\": 1355.24\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"ETHEUR\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"ETHEUR\",\n                    \"high\": 1600,\n                    \"low\": 1375,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 1400.64,\n                    \"open\": 1477.62\n                }\n            },\n            {\n                \"name\": \"BTCEUR\",\n                \"instrument_id\": \"BTCEUR\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"EUR\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 10,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BTCEUR\",\n                    \"ask\": 16542.96,\n                    \"bid\": 16186.49,\n                    \"price_24h_change\": -4.67,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16508.12,\n                        \"low\": 16322.27,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 16365.86,\n                        \"open\": 16451.69\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16511.8,\n                        \"low\": 16237.77,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 16443.76,\n                        \"open\": 16321.37\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16377.6,\n                        \"low\": 16195.01,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 16321.07,\n                        \"open\": 16220.05\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16259,\n                        \"low\": 16024.98,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 16183.74,\n                        \"open\": 16024.98\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16239.27,\n                        \"low\": 15978.79,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 16008.22,\n                        \"open\": 16225.37\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16262.41,\n                        \"low\": 16094.69,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 16223.96,\n                        \"open\": 16228.85\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16439.05,\n                        \"low\": 16211.09,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 16222.54,\n                        \"open\": 16314.88\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16350.2,\n                        \"low\": 16174.35,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 16322.6,\n                        \"open\": 16255.08\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16356.06,\n                        \"low\": 16033.32,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 16257.82,\n                        \"open\": 16301.87\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16509.71,\n                        \"low\": 16201.59,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 16305.26,\n                        \"open\": 16420.76\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16788.07,\n                        \"low\": 15926.53,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 16412.45,\n                        \"open\": 16749.11\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16954.84,\n                        \"low\": 16750.64,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 16762.75,\n                        \"open\": 16840.92\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16854.21,\n                        \"low\": 16722.89,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 16842.92,\n                        \"open\": 16824.98\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16931.32,\n                        \"low\": 16778.28,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 16822.56,\n                        \"open\": 16861.76\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16923.42,\n                        \"low\": 16739.09,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 16859.32,\n                        \"open\": 16895.74\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16975.16,\n                        \"low\": 16833.18,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 16895.82,\n                        \"open\": 16899.63\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16995.98,\n                        \"low\": 16825.48,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 16905.94,\n                        \"open\": 16948.41\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 17034.23,\n                        \"low\": 16751.71,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 16952.13,\n                        \"open\": 16846.48\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16989.86,\n                        \"low\": 16760.03,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 16852.94,\n                        \"open\": 16933.31\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16960.06,\n                        \"low\": 16673.08,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 16940.93,\n                        \"open\": 16693.75\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16807.35,\n                        \"low\": 16632.09,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 16697.27,\n                        \"open\": 16687.89\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16828.06,\n                        \"low\": 16526.8,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 16693.52,\n                        \"open\": 16825.8\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 16979.93,\n                        \"low\": 16694.54,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 16825.83,\n                        \"open\": 16933.14\n                    },\n                    {\n                        \"instrument_id\": \"BTCEUR\",\n                        \"high\": 17316.53,\n                        \"low\": 16897.8,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 16938.61,\n                        \"open\": 17190.92\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BTCEUR\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BTCEUR\",\n                    \"high\": 16508.12,\n                    \"low\": 16322.27,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 16365.86,\n                    \"open\": 16451.69\n                }\n            },\n            {\n                \"name\": \"ETHUSD\",\n                \"instrument_id\": \"ETHUSD\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"USD\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.001,\n                \"max_quantity\": 500,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 9\n                },\n                \"price\": {\n                    \"instrument_id\": \"ETHUSD\",\n                    \"ask\": 1288,\n                    \"bid\": 1262.11,\n                    \"price_24h_change\": -1.29,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1289.17,\n                        \"low\": 1271.67,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 1275.46,\n                        \"open\": 1286.28\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1291.67,\n                        \"low\": 1268.52,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 1285.65,\n                        \"open\": 1277.97\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1281.34,\n                        \"low\": 1264.76,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 1277.75,\n                        \"open\": 1266.86\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1271.93,\n                        \"low\": 1242.96,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 1266.22,\n                        \"open\": 1242.96\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1272.55,\n                        \"low\": 1235.19,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 1242.1,\n                        \"open\": 1271.62\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1274.24,\n                        \"low\": 1248.31,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 1271.17,\n                        \"open\": 1261.76\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1282.47,\n                        \"low\": 1258.95,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 1261.74,\n                        \"open\": 1271.76\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1275.4,\n                        \"low\": 1245.28,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 1272.26,\n                        \"open\": 1247.47\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1260.81,\n                        \"low\": 1233.62,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 1247.13,\n                        \"open\": 1258.12\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1276.9,\n                        \"low\": 1240.91,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 1256.46,\n                        \"open\": 1260.11\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1289.41,\n                        \"low\": 1201.32,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 1260.66,\n                        \"open\": 1280.9\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1304.96,\n                        \"low\": 1278.53,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 1281.82,\n                        \"open\": 1288.01\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1289.16,\n                        \"low\": 1266.01,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 1288.28,\n                        \"open\": 1273.07\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1289.05,\n                        \"low\": 1266.96,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 1273.25,\n                        \"open\": 1274.11\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1280.56,\n                        \"low\": 1262.32,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 1274.15,\n                        \"open\": 1276.38\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1284.48,\n                        \"low\": 1268.98,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 1276.39,\n                        \"open\": 1278.95\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1287.78,\n                        \"low\": 1266.17,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 1280.11,\n                        \"open\": 1275.34\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1282.66,\n                        \"low\": 1251.85,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 1275.8,\n                        \"open\": 1260.73\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1270.93,\n                        \"low\": 1247.77,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 1260.54,\n                        \"open\": 1261.32\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1280.77,\n                        \"low\": 1226.9,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 1262.5,\n                        \"open\": 1229.4\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1243.38,\n                        \"low\": 1224.18,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 1229.38,\n                        \"open\": 1234.45\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1250.67,\n                        \"low\": 1217.86,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 1235.05,\n                        \"open\": 1247.7\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1267.25,\n                        \"low\": 1241.26,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 1248.85,\n                        \"open\": 1258.64\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSD\",\n                        \"high\": 1303.89,\n                        \"low\": 1253.4,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 1258.67,\n                        \"open\": 1293.79\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"ETHUSD\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"ETHUSD\",\n                    \"high\": 1289.17,\n                    \"low\": 1271.67,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 1275.46,\n                    \"open\": 1286.28\n                }\n            },\n            {\n                \"name\": \"BTCUSD\",\n                \"instrument_id\": \"BTCUSD\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"USD\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 15,\n                \"min_quote_quantity\": 0,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BTCUSD\",\n                    \"ask\": 17100.26,\n                    \"bid\": 16761.46,\n                    \"price_24h_change\": -3.2,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17077.39,\n                        \"low\": 16886.4,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 16931.78,\n                        \"open\": 17021.73\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17084.68,\n                        \"low\": 16799.93,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 17018.18,\n                        \"open\": 16883.81\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16944.36,\n                        \"low\": 16752.11,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 16885.38,\n                        \"open\": 16760.05\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16854.55,\n                        \"low\": 16590.93,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 16756.23,\n                        \"open\": 16590.93\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 25000,\n                        \"low\": 16543.48,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 16578.89,\n                        \"open\": 16814.84\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16847.83,\n                        \"low\": 16662.3,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 16812.59,\n                        \"open\": 16803.18\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16996.92,\n                        \"low\": 16770.77,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 16799.33,\n                        \"open\": 16871.84\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16915.4,\n                        \"low\": 16725.55,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 16882,\n                        \"open\": 16802.02\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16887.51,\n                        \"low\": 16552.73,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 16795.93,\n                        \"open\": 16834.89\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 16984.11,\n                        \"low\": 16703.09,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 16830.94,\n                        \"open\": 16876.7\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 20657.77,\n                        \"low\": 16406.07,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 16894.42,\n                        \"open\": 17270.11\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17490.8,\n                        \"low\": 17260.33,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 17260.33,\n                        \"open\": 17358.36\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17372.37,\n                        \"low\": 17226.97,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 17363.31,\n                        \"open\": 17311.68\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17422.35,\n                        \"low\": 17259.21,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 17310.39,\n                        \"open\": 17287.99\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17380.54,\n                        \"low\": 17201.93,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 17288.35,\n                        \"open\": 17350.87\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17391.64,\n                        \"low\": 17268.14,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 17351.07,\n                        \"open\": 17361.9\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17452.97,\n                        \"low\": 17242.77,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 17367.11,\n                        \"open\": 17360.97\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17427.3,\n                        \"low\": 17114.71,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 17364.63,\n                        \"open\": 17214.18\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17376.47,\n                        \"low\": 17133.01,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 17219.26,\n                        \"open\": 17302.54\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17335.09,\n                        \"low\": 16993.04,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 17310.18,\n                        \"open\": 17014.63\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17108.1,\n                        \"low\": 16943.34,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 17015.29,\n                        \"open\": 16990.97\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17154.74,\n                        \"low\": 16834.75,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 16997.98,\n                        \"open\": 17154.74\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17298.97,\n                        \"low\": 16999.21,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 17149.29,\n                        \"open\": 17210.48\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSD\",\n                        \"high\": 17633.2,\n                        \"low\": 17168.97,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 17214.43,\n                        \"open\": 17508.15\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BTCUSD\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BTCUSD\",\n                    \"high\": 17077.39,\n                    \"low\": 16886.4,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 16931.78,\n                    \"open\": 17021.73\n                }\n            },\n            {\n                \"name\": \"BCHUSDT\",\n                \"instrument_id\": \"BCHUSDT\",\n                \"base_currency_id\": \"BCH\",\n                \"quote_currency_id\": \"USDT\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.001,\n                \"max_quantity\": 400,\n                \"min_quote_quantity\": 1,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 6\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BCHUSDT\",\n                    \"ask\": 103.37,\n                    \"bid\": 101.13,\n                    \"price_24h_change\": -0.44,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 103.25,\n                        \"low\": 101.85,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 102.25,\n                        \"open\": 103.05\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 103.35,\n                        \"low\": 101.35,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 103.05,\n                        \"open\": 102.25\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.56,\n                        \"low\": 101.65,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 102.25,\n                        \"open\": 102.1\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.41,\n                        \"low\": 101.15,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 102.05,\n                        \"open\": 101.25\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.15,\n                        \"low\": 100.46,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 101.15,\n                        \"open\": 102.05\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.15,\n                        \"low\": 100.85,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 102.05,\n                        \"open\": 101.46\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.7,\n                        \"low\": 101.35,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 101.46,\n                        \"open\": 102.05\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.46,\n                        \"low\": 101.15,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 102.2,\n                        \"open\": 102.05\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.65,\n                        \"low\": 100.7,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 102.05,\n                        \"open\": 102.46\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 103.56,\n                        \"low\": 101.56,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 102.51,\n                        \"open\": 102.4\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 104.56,\n                        \"low\": 99.25,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 102.46,\n                        \"open\": 104.56\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 106.35,\n                        \"low\": 104.46,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 104.56,\n                        \"open\": 106.05\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 106.85,\n                        \"low\": 104.35,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 106.05,\n                        \"open\": 104.35\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 105.61,\n                        \"low\": 103.9,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 104.35,\n                        \"open\": 104.8\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 105.95,\n                        \"low\": 103.95,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 104.75,\n                        \"open\": 104.25\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 104.95,\n                        \"low\": 103.56,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 104.25,\n                        \"open\": 104.35\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 104.56,\n                        \"low\": 103.56,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 104.35,\n                        \"open\": 103.75\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 104.35,\n                        \"low\": 102.65,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 103.75,\n                        \"open\": 102.95\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 103.15,\n                        \"low\": 101.95,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 103.05,\n                        \"open\": 102.75\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 103.05,\n                        \"low\": 101.15,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 102.75,\n                        \"open\": 101.25\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 102.77,\n                        \"low\": 100.51,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 101.25,\n                        \"open\": 101\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 101.65,\n                        \"low\": 99.65,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 101.1,\n                        \"open\": 101.65\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 101.85,\n                        \"low\": 100.1,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 101.75,\n                        \"open\": 101.46\n                    },\n                    {\n                        \"instrument_id\": \"BCHUSDT\",\n                        \"high\": 104.56,\n                        \"low\": 101.15,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 101.51,\n                        \"open\": 103.51\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BCHUSDT\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BCHUSDT\",\n                    \"high\": 103.25,\n                    \"low\": 101.85,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 102.25,\n                    \"open\": 103.05\n                }\n            },\n            {\n                \"name\": \"BCHBTC\",\n                \"instrument_id\": \"BCHBTC\",\n                \"base_currency_id\": \"BCH\",\n                \"quote_currency_id\": \"BTC\",\n                \"price_decimals\": 7,\n                \"min_quantity\": 0.001,\n                \"max_quantity\": 400,\n                \"min_quote_quantity\": 1e-8,\n                \"max_quote_quantity\": 10,\n                \"quote_currency\": {\n                    \"precision\": 8\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BCHBTC\",\n                    \"ask\": 0.0060954,\n                    \"bid\": 0.0059549,\n                    \"price_24h_change\": 2.77,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060452,\n                        \"low\": 0.0060102,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.0060252,\n                        \"open\": 0.0060401\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060603,\n                        \"low\": 0.0060052,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.0060452,\n                        \"open\": 0.0060452\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060853,\n                        \"low\": 0.0060102,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.0060452,\n                        \"open\": 0.0060752\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060952,\n                        \"low\": 0.0060502,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.0060752,\n                        \"open\": 0.0060851\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060851,\n                        \"low\": 0.0060351,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.0060851,\n                        \"open\": 0.0060552\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060801,\n                        \"low\": 0.0060202,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.0060552,\n                        \"open\": 0.0060202\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060502,\n                        \"low\": 0.0060152,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.0060252,\n                        \"open\": 0.0060452\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060652,\n                        \"low\": 0.0060202,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.0060401,\n                        \"open\": 0.0060601\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060752,\n                        \"low\": 0.0060351,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.0060651,\n                        \"open\": 0.0060702\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0061052,\n                        \"low\": 0.0060351,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.0060752,\n                        \"open\": 0.0060452\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060851,\n                        \"low\": 0.0060052,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.0060452,\n                        \"open\": 0.0060452\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060952,\n                        \"low\": 0.0060252,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.0060452,\n                        \"open\": 0.0060952\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0061651,\n                        \"low\": 0.0060152,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.0060952,\n                        \"open\": 0.0060202\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060651,\n                        \"low\": 0.0059952,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.0060152,\n                        \"open\": 0.0060452\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0061052,\n                        \"low\": 0.0059952,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.0060452,\n                        \"open\": 0.0059952\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060202,\n                        \"low\": 0.0059752,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.0059952,\n                        \"open\": 0.0059952\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0060102,\n                        \"low\": 0.0059602,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.0059952,\n                        \"open\": 0.0059652\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059852,\n                        \"low\": 0.0059402,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.0059652,\n                        \"open\": 0.0059652\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059652,\n                        \"low\": 0.0059052,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.0059652,\n                        \"open\": 0.0059252\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059602,\n                        \"low\": 0.0059151,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.0059252,\n                        \"open\": 0.0059302\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059452,\n                        \"low\": 0.0059002,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.0059252,\n                        \"open\": 0.0059151\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059253,\n                        \"low\": 0.005846,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.0059151,\n                        \"open\": 0.0059151\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059202,\n                        \"low\": 0.0058651,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.0059151,\n                        \"open\": 0.0058752\n                    },\n                    {\n                        \"instrument_id\": \"BCHBTC\",\n                        \"high\": 0.0059151,\n                        \"low\": 0.0058651,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.0058802,\n                        \"open\": 0.0058951\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BCHBTC\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BCHBTC\",\n                    \"high\": 0.0060452,\n                    \"low\": 0.0060102,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.0060252,\n                    \"open\": 0.0060401\n                }\n            },\n            {\n                \"name\": \"XRPUSDT\",\n                \"instrument_id\": \"XRPUSDT\",\n                \"base_currency_id\": \"XRP\",\n                \"quote_currency_id\": \"USDT\",\n                \"price_decimals\": 6,\n                \"min_quantity\": 1,\n                \"max_quantity\": 400000,\n                \"min_quote_quantity\": 1,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 6\n                },\n                \"base_currency\": {\n                    \"precision\": 6\n                },\n                \"price\": {\n                    \"instrument_id\": \"XRPUSDT\",\n                    \"ask\": 0.383679,\n                    \"bid\": 0.375824,\n                    \"price_24h_change\": -3.51,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.384452,\n                        \"low\": 0.377952,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.379752,\n                        \"open\": 0.384152\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.386401,\n                        \"low\": 0.377852,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.384251,\n                        \"open\": 0.382251\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.383152,\n                        \"low\": 0.376151,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.382352,\n                        \"open\": 0.376151\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.377552,\n                        \"low\": 0.371052,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.376052,\n                        \"open\": 0.371052\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.375652,\n                        \"low\": 0.367502,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.371352,\n                        \"open\": 0.375052\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.376351,\n                        \"low\": 0.372452,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.374952,\n                        \"open\": 0.375601\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.379652,\n                        \"low\": 0.373952,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.375701,\n                        \"open\": 0.376952\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.377652,\n                        \"low\": 0.372452,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.376652,\n                        \"open\": 0.374052\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.375352,\n                        \"low\": 0.367952,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.373752,\n                        \"open\": 0.375352\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.378553,\n                        \"low\": 0.370352,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.375452,\n                        \"open\": 0.37695\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.392152,\n                        \"low\": 0.366303,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.377052,\n                        \"open\": 0.392152\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.396552,\n                        \"low\": 0.391652,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.392052,\n                        \"open\": 0.392101\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.392252,\n                        \"low\": 0.386752,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.392152,\n                        \"open\": 0.389052\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.392351,\n                        \"low\": 0.387352,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.389152,\n                        \"open\": 0.387902\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.392852,\n                        \"low\": 0.387052,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.387952,\n                        \"open\": 0.391351\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.394752,\n                        \"low\": 0.389052,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.391351,\n                        \"open\": 0.394752\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.396152,\n                        \"low\": 0.389252,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.394952,\n                        \"open\": 0.390752\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.391152,\n                        \"low\": 0.383452,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.390752,\n                        \"open\": 0.386002\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.391052,\n                        \"low\": 0.383652,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.386052,\n                        \"open\": 0.388751\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.391101,\n                        \"low\": 0.381251,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.388852,\n                        \"open\": 0.382251\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.382902,\n                        \"low\": 0.376752,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.382251,\n                        \"open\": 0.378852\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.384152,\n                        \"low\": 0.375652,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.378952,\n                        \"open\": 0.383752\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.388152,\n                        \"low\": 0.378351,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.384052,\n                        \"open\": 0.386552\n                    },\n                    {\n                        \"instrument_id\": \"XRPUSDT\",\n                        \"high\": 0.401657,\n                        \"low\": 0.385901,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.386652,\n                        \"open\": 0.394252\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"XRPUSDT\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"XRPUSDT\",\n                    \"high\": 0.384452,\n                    \"low\": 0.377952,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.379752,\n                    \"open\": 0.384152\n                }\n            },\n            {\n                \"name\": \"XRPETH\",\n                \"instrument_id\": \"XRPETH\",\n                \"base_currency_id\": \"XRP\",\n                \"quote_currency_id\": \"ETH\",\n                \"price_decimals\": 9,\n                \"min_quantity\": 1,\n                \"max_quantity\": 400000,\n                \"min_quote_quantity\": 0.0001,\n                \"max_quote_quantity\": 100,\n                \"quote_currency\": {\n                    \"precision\": 9\n                },\n                \"base_currency\": {\n                    \"precision\": 6\n                },\n                \"price\": {\n                    \"instrument_id\": \"XRPETH\",\n                    \"ask\": 0.000300223,\n                    \"bid\": 0.000293783,\n                    \"price_24h_change\": -2.1,\n                    \"ts\": \"2022-11-12 00:36:48\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000298254,\n                        \"low\": 0.000296154,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.000297003,\n                        \"open\": 0.000298053\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000300503,\n                        \"low\": 0.000296753,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.000298303,\n                        \"open\": 0.000298454\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000298753,\n                        \"low\": 0.000295803,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.000298604,\n                        \"open\": 0.000296303\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000298904,\n                        \"low\": 0.000295303,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.000296303,\n                        \"open\": 0.000298054\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000298403,\n                        \"low\": 0.000293553,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.000298003,\n                        \"open\": 0.000294254\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000298154,\n                        \"low\": 0.000293954,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.000294303,\n                        \"open\": 0.000297104\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000297153,\n                        \"low\": 0.000294803,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.000297153,\n                        \"open\": 0.000295853\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000299203,\n                        \"low\": 0.000294653,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.000295503,\n                        \"open\": 0.000299203\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000299503,\n                        \"low\": 0.000296603,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.000299203,\n                        \"open\": 0.000298153\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000299803,\n                        \"low\": 0.000294104,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.000298154,\n                        \"open\": 0.000298654\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000307556,\n                        \"low\": 0.000295353,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.000298404,\n                        \"open\": 0.000305503\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000305903,\n                        \"low\": 0.000302153,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.000305453,\n                        \"open\": 0.000303754\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000305903,\n                        \"low\": 0.000303403,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.000303654,\n                        \"open\": 0.000304853\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000305353,\n                        \"low\": 0.000303503,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.000305003,\n                        \"open\": 0.000303702\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000307403,\n                        \"low\": 0.000303503,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.000303804,\n                        \"open\": 0.000305854\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000308153,\n                        \"low\": 0.000305003,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.000305953,\n                        \"open\": 0.000307952\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000309103,\n                        \"low\": 0.000305103,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.000307703,\n                        \"open\": 0.000305754\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000306004,\n                        \"low\": 0.000302904,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.000305453,\n                        \"open\": 0.000305353\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000307653,\n                        \"low\": 0.000303804,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.000305403,\n                        \"open\": 0.000307203\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000311654,\n                        \"low\": 0.000306854,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.000307154,\n                        \"open\": 0.000309554\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000309954,\n                        \"low\": 0.000304753,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.000309653,\n                        \"open\": 0.000305803\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000309653,\n                        \"low\": 0.000304704,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.000305703,\n                        \"open\": 0.000306454\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000306553,\n                        \"low\": 0.000303204,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.000306454,\n                        \"open\": 0.000306055\n                    },\n                    {\n                        \"instrument_id\": \"XRPETH\",\n                        \"high\": 0.000308354,\n                        \"low\": 0.000303653,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.000306205,\n                        \"open\": 0.000303803\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"XRPETH\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"XRPETH\",\n                    \"high\": 0.000298254,\n                    \"low\": 0.000296154,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.000297003,\n                    \"open\": 0.000298053\n                }\n            },\n            {\n                \"name\": \"XRPBTC\",\n                \"instrument_id\": \"XRPBTC\",\n                \"base_currency_id\": \"XRP\",\n                \"quote_currency_id\": \"BTC\",\n                \"price_decimals\": 8,\n                \"min_quantity\": 1,\n                \"max_quantity\": 400000,\n                \"min_quote_quantity\": 1e-8,\n                \"max_quote_quantity\": 100,\n                \"quote_currency\": {\n                    \"precision\": 8\n                },\n                \"base_currency\": {\n                    \"precision\": 6\n                },\n                \"price\": {\n                    \"instrument_id\": \"XRPBTC\",\n                    \"ask\": 0.00002262,\n                    \"bid\": 0.00002213,\n                    \"price_24h_change\": -0.22,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002253,\n                        \"low\": 0.0000223,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.00002238,\n                        \"open\": 0.00002253\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002271,\n                        \"low\": 0.00002243,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.00002254,\n                        \"open\": 0.00002259\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000226,\n                        \"low\": 0.00002234,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.00002259,\n                        \"open\": 0.00002239\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002244,\n                        \"low\": 0.00002228,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.00002239,\n                        \"open\": 0.00002233\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002234,\n                        \"low\": 0.00002216,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.00002232,\n                        \"open\": 0.00002226\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002236,\n                        \"low\": 0.00002225,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.00002226,\n                        \"open\": 0.00002232\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002236,\n                        \"low\": 0.00002219,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.00002232,\n                        \"open\": 0.00002229\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002229,\n                        \"low\": 0.00002213,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.00002227,\n                        \"open\": 0.00002222\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000223,\n                        \"low\": 0.00002209,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.00002222,\n                        \"open\": 0.00002226\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002229,\n                        \"low\": 0.00002204,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.00002226,\n                        \"open\": 0.00002229\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002267,\n                        \"low\": 0.00002213,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.00002227,\n                        \"open\": 0.00002267\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002272,\n                        \"low\": 0.00002251,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.00002266,\n                        \"open\": 0.00002254\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002255,\n                        \"low\": 0.00002238,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.00002254,\n                        \"open\": 0.00002242\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002254,\n                        \"low\": 0.00002239,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.00002244,\n                        \"open\": 0.00002239\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002259,\n                        \"low\": 0.00002236,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.00002239,\n                        \"open\": 0.00002251\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000227,\n                        \"low\": 0.00002246,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.00002251,\n                        \"open\": 0.00002268\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000227,\n                        \"low\": 0.00002239,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.00002268,\n                        \"open\": 0.00002245\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002245,\n                        \"low\": 0.00002222,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.00002245,\n                        \"open\": 0.00002236\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002246,\n                        \"low\": 0.00002226,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.00002236,\n                        \"open\": 0.0000224\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002264,\n                        \"low\": 0.00002233,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.0000224,\n                        \"open\": 0.00002237\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000224,\n                        \"low\": 0.00002213,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.00002237,\n                        \"open\": 0.00002221\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002244,\n                        \"low\": 0.00002196,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.00002221,\n                        \"open\": 0.00002231\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.00002244,\n                        \"low\": 0.00002218,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.00002232,\n                        \"open\": 0.0000224\n                    },\n                    {\n                        \"instrument_id\": \"XRPBTC\",\n                        \"high\": 0.0000226,\n                        \"low\": 0.00002238,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.0000224,\n                        \"open\": 0.00002245\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"XRPBTC\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"XRPBTC\",\n                    \"high\": 0.00002253,\n                    \"low\": 0.0000223,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.00002238,\n                    \"open\": 0.00002253\n                }\n            },\n            {\n                \"name\": \"ETHBTC\",\n                \"instrument_id\": \"ETHBTC\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"BTC\",\n                \"price_decimals\": 6,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 500,\n                \"min_quote_quantity\": 1e-8,\n                \"max_quote_quantity\": 10,\n                \"quote_currency\": {\n                    \"precision\": 8\n                },\n                \"base_currency\": {\n                    \"precision\": 9\n                },\n                \"price\": {\n                    \"instrument_id\": \"ETHBTC\",\n                    \"ask\": 0.076114,\n                    \"bid\": 0.07453,\n                    \"price_24h_change\": 2.11,\n                    \"ts\": \"2022-11-12 00:36:50\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075569,\n                        \"low\": 0.075276,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.075325,\n                        \"open\": 0.075569\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.076111,\n                        \"low\": 0.07543,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.075557,\n                        \"open\": 0.075657\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075691,\n                        \"low\": 0.075215,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.075664,\n                        \"open\": 0.075568\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075626,\n                        \"low\": 0.074886,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.075562,\n                        \"open\": 0.074958\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075729,\n                        \"low\": 0.074815,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.074916,\n                        \"open\": 0.075664\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075704,\n                        \"low\": 0.074819,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.075643,\n                        \"open\": 0.075099\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075576,\n                        \"low\": 0.075007,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.0751,\n                        \"open\": 0.075373\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075433,\n                        \"low\": 0.074264,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.075378,\n                        \"open\": 0.074264\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.074716,\n                        \"low\": 0.074117,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.074265,\n                        \"open\": 0.074694\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.07532,\n                        \"low\": 0.074209,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.074652,\n                        \"open\": 0.074614\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.075181,\n                        \"low\": 0.073019,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.074642,\n                        \"open\": 0.074155\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.074635,\n                        \"low\": 0.074016,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.074185,\n                        \"open\": 0.074178\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.074205,\n                        \"low\": 0.073391,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.074194,\n                        \"open\": 0.07354\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.074062,\n                        \"low\": 0.073403,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.073547,\n                        \"open\": 0.073706\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073734,\n                        \"low\": 0.073358,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.073688,\n                        \"open\": 0.07357\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073849,\n                        \"low\": 0.073377,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.07357,\n                        \"open\": 0.073655\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073751,\n                        \"low\": 0.073211,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.073675,\n                        \"open\": 0.073463\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073687,\n                        \"low\": 0.072965,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.073445,\n                        \"open\": 0.073231\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073463,\n                        \"low\": 0.072792,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.073223,\n                        \"open\": 0.07293\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.073268,\n                        \"low\": 0.07219,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.072937,\n                        \"open\": 0.072261\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.072735,\n                        \"low\": 0.072238,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.072271,\n                        \"open\": 0.0726\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.072927,\n                        \"low\": 0.07222,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.072638,\n                        \"open\": 0.072774\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.07351,\n                        \"low\": 0.072675,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.072809,\n                        \"open\": 0.073119\n                    },\n                    {\n                        \"instrument_id\": \"ETHBTC\",\n                        \"high\": 0.074093,\n                        \"low\": 0.072992,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.07313,\n                        \"open\": 0.073883\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"ETHBTC\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"ETHBTC\",\n                    \"high\": 0.075569,\n                    \"low\": 0.075276,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.075325,\n                    \"open\": 0.075569\n                }\n            },\n            {\n                \"name\": \"LTCETH\",\n                \"instrument_id\": \"LTCETH\",\n                \"base_currency_id\": \"LTC\",\n                \"quote_currency_id\": \"ETH\",\n                \"price_decimals\": 6,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 2000,\n                \"min_quote_quantity\": 0.00001,\n                \"max_quote_quantity\": 100,\n                \"quote_currency\": {\n                    \"precision\": 9\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"LTCETH\",\n                    \"ask\": 0.048452,\n                    \"bid\": 0.047429,\n                    \"price_24h_change\": 1.29,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.04805,\n                        \"low\": 0.047681,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.047941,\n                        \"open\": 0.047681\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.047846,\n                        \"low\": 0.0472,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.047695,\n                        \"open\": 0.047711\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.04781,\n                        \"low\": 0.047425,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.047711,\n                        \"open\": 0.047491\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.047995,\n                        \"low\": 0.047195,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.04751,\n                        \"open\": 0.047995\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048211,\n                        \"low\": 0.047541,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.048001,\n                        \"open\": 0.047541\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048046,\n                        \"low\": 0.047425,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.047566,\n                        \"open\": 0.04769\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048321,\n                        \"low\": 0.0477,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.04771,\n                        \"open\": 0.048105\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049136,\n                        \"low\": 0.04792,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.04809,\n                        \"open\": 0.04873\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049026,\n                        \"low\": 0.04738,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.04877,\n                        \"open\": 0.047736\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048361,\n                        \"low\": 0.047476,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.047761,\n                        \"open\": 0.048146\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049221,\n                        \"low\": 0.047611,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.048171,\n                        \"open\": 0.048021\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049076,\n                        \"low\": 0.047986,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.047986,\n                        \"open\": 0.048831\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049371,\n                        \"low\": 0.048795,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.048795,\n                        \"open\": 0.048846\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049061,\n                        \"low\": 0.048631,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.048836,\n                        \"open\": 0.048881\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049246,\n                        \"low\": 0.048855,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.04891,\n                        \"open\": 0.049205\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049935,\n                        \"low\": 0.048936,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.049236,\n                        \"open\": 0.049716\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.050391,\n                        \"low\": 0.04855,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.049541,\n                        \"open\": 0.048751\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.04941,\n                        \"low\": 0.04859,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.048766,\n                        \"open\": 0.04859\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049276,\n                        \"low\": 0.048535,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.048611,\n                        \"open\": 0.049081\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.050031,\n                        \"low\": 0.048906,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.049041,\n                        \"open\": 0.049641\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049971,\n                        \"low\": 0.04855,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.049626,\n                        \"open\": 0.048685\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.049081,\n                        \"low\": 0.048276,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.048676,\n                        \"open\": 0.048471\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048946,\n                        \"low\": 0.047946,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.048466,\n                        \"open\": 0.048281\n                    },\n                    {\n                        \"instrument_id\": \"LTCETH\",\n                        \"high\": 0.048926,\n                        \"low\": 0.048071,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.048281,\n                        \"open\": 0.048336\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"LTCETH\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"LTCETH\",\n                    \"high\": 0.04805,\n                    \"low\": 0.047681,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.047941,\n                    \"open\": 0.047681\n                }\n            },\n            {\n                \"name\": \"LTCBTC\",\n                \"instrument_id\": \"LTCBTC\",\n                \"base_currency_id\": \"LTC\",\n                \"quote_currency_id\": \"BTC\",\n                \"price_decimals\": 6,\n                \"min_quantity\": 0.001,\n                \"max_quantity\": 2000,\n                \"min_quote_quantity\": 1e-8,\n                \"max_quote_quantity\": 10,\n                \"quote_currency\": {\n                    \"precision\": 8\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"LTCBTC\",\n                    \"ask\": 0.003648,\n                    \"bid\": 0.00357,\n                    \"price_24h_change\": 3.14,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.00362,\n                        \"low\": 0.003597,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 0.003608,\n                        \"open\": 0.003603\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003617,\n                        \"low\": 0.00359,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 0.003605,\n                        \"open\": 0.003611\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003611,\n                        \"low\": 0.003581,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 0.00361,\n                        \"open\": 0.003589\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003613,\n                        \"low\": 0.003563,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 0.00359,\n                        \"open\": 0.003597\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003651,\n                        \"low\": 0.003592,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 0.003597,\n                        \"open\": 0.003595\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003609,\n                        \"low\": 0.003581,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 0.003596,\n                        \"open\": 0.003581\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003645,\n                        \"low\": 0.003579,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 0.003582,\n                        \"open\": 0.003625\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003655,\n                        \"low\": 0.003599,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 0.003624,\n                        \"open\": 0.003617\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003643,\n                        \"low\": 0.003564,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 0.003617,\n                        \"open\": 0.003564\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003599,\n                        \"low\": 0.003554,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 0.003561,\n                        \"open\": 0.003592\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003618,\n                        \"low\": 0.003547,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 0.003592,\n                        \"open\": 0.003561\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003644,\n                        \"low\": 0.003559,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 0.00356,\n                        \"open\": 0.003621\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.00364,\n                        \"low\": 0.003592,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 0.003621,\n                        \"open\": 0.003592\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003624,\n                        \"low\": 0.003576,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 0.00359,\n                        \"open\": 0.003604\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003629,\n                        \"low\": 0.003594,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 0.003605,\n                        \"open\": 0.003621\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003672,\n                        \"low\": 0.003595,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 0.003622,\n                        \"open\": 0.003664\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003698,\n                        \"low\": 0.003557,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 0.00365,\n                        \"open\": 0.003581\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003619,\n                        \"low\": 0.003559,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 0.00358,\n                        \"open\": 0.003559\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.0036,\n                        \"low\": 0.003557,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 0.00356,\n                        \"open\": 0.003578\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003626,\n                        \"low\": 0.003569,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 0.003579,\n                        \"open\": 0.003585\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003614,\n                        \"low\": 0.003525,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 0.003586,\n                        \"open\": 0.003535\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.00356,\n                        \"low\": 0.003513,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 0.003536,\n                        \"open\": 0.003527\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003573,\n                        \"low\": 0.0035,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 0.003529,\n                        \"open\": 0.00353\n                    },\n                    {\n                        \"instrument_id\": \"LTCBTC\",\n                        \"high\": 0.003614,\n                        \"low\": 0.003524,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 0.003531,\n                        \"open\": 0.003574\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"LTCBTC\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"LTCBTC\",\n                    \"high\": 0.00362,\n                    \"low\": 0.003597,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 0.003608,\n                    \"open\": 0.003603\n                }\n            },\n            {\n                \"name\": \"LTCUSDT\",\n                \"instrument_id\": \"LTCUSDT\",\n                \"base_currency_id\": \"LTC\",\n                \"quote_currency_id\": \"USDT\",\n                \"price_decimals\": 6,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 2000,\n                \"min_quote_quantity\": 1,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 6\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"LTCUSDT\",\n                    \"ask\": 61.924363,\n                    \"bid\": 60.566972,\n                    \"price_24h_change\": -0.49,\n                    \"ts\": \"2022-11-12 00:36:50\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.705782,\n                        \"low\": 60.975665,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 61.245667,\n                        \"open\": 61.460725\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.580836,\n                        \"low\": 60.685662,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 61.45567,\n                        \"open\": 61.100831\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.155777,\n                        \"low\": 60.220712,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 61.075776,\n                        \"open\": 60.305658\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 60.915664,\n                        \"low\": 59.760708,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 60.305658,\n                        \"open\": 59.860819\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 60.760718,\n                        \"low\": 59.770598,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 59.770598,\n                        \"open\": 60.585771\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 60.845664,\n                        \"low\": 59.965655,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 60.580716,\n                        \"open\": 60.305658\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.975785,\n                        \"low\": 60.270713,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 60.319558,\n                        \"open\": 61.230722\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.725672,\n                        \"low\": 60.50566,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 61.285668,\n                        \"open\": 60.875664\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.345669,\n                        \"low\": 58.800698,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 60.909868,\n                        \"open\": 60.160712\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.155777,\n                        \"low\": 59.645652,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 60.165657,\n                        \"open\": 60.670717\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 62.125237,\n                        \"low\": 58.580806,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 60.855664,\n                        \"open\": 61.605451\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.705692,\n                        \"low\": 61.420724,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 61.615671,\n                        \"open\": 63.025685\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.360744,\n                        \"low\": 62.270733,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 63.025685,\n                        \"open\": 62.295678\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.115796,\n                        \"low\": 61.885674,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 62.275678,\n                        \"open\": 62.44568\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.225687,\n                        \"low\": 62.165677,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 62.47568,\n                        \"open\": 62.98063\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.785693,\n                        \"low\": 62.395789,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 63.005685,\n                        \"open\": 63.770748\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 64.280753,\n                        \"low\": 61.760728,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 63.755693,\n                        \"open\": 62.325678\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.165797,\n                        \"low\": 61.365669,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 62.320733,\n                        \"open\": 61.460725\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 62.410734,\n                        \"low\": 61.440725,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 61.48567,\n                        \"open\": 62.075676\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 62.530735,\n                        \"low\": 61.115776,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 62.100621,\n                        \"open\": 61.275448\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.685672,\n                        \"low\": 60.005655,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 61.255668,\n                        \"open\": 60.325658\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 60.925664,\n                        \"low\": 59.399735,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 60.355659,\n                        \"open\": 60.690497\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 61.665452,\n                        \"low\": 59.754663,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 60.690717,\n                        \"open\": 60.955775\n                    },\n                    {\n                        \"instrument_id\": \"LTCUSDT\",\n                        \"high\": 63.790748,\n                        \"low\": 60.825663,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 60.985665,\n                        \"open\": 62.680847\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"LTCUSDT\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"LTCUSDT\",\n                    \"high\": 61.705782,\n                    \"low\": 60.975665,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 61.245667,\n                    \"open\": 61.460725\n                }\n            },\n            {\n                \"name\": \"BTCUSDT\",\n                \"instrument_id\": \"BTCUSDT\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"USDT\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 1e-8,\n                \"max_quantity\": 10,\n                \"min_quote_quantity\": 1,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 6\n                },\n                \"base_currency\": {\n                    \"precision\": 8\n                },\n                \"price\": {\n                    \"instrument_id\": \"BTCUSDT\",\n                    \"ask\": 17138.84,\n                    \"bid\": 16795.77,\n                    \"price_24h_change\": -3.27,\n                    \"ts\": \"2022-11-12 00:36:50\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17114.73,\n                        \"low\": 16924.22,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 16971.26,\n                        \"open\": 17058.91\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17139.18,\n                        \"low\": 16838.54,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 17051.26,\n                        \"open\": 16927.33\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 16977.04,\n                        \"low\": 16793.93,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 16921,\n                        \"open\": 16803.61\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 18960.74,\n                        \"low\": 16642.25,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 16798.25,\n                        \"open\": 16642.25\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 21210,\n                        \"low\": 16577.17,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 16621.45,\n                        \"open\": 16854.53\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 16882.98,\n                        \"low\": 16699.65,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 16850.06,\n                        \"open\": 16838.2\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17037.38,\n                        \"low\": 16815,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 16843.11,\n                        \"open\": 16901.12\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 21210,\n                        \"low\": 16760.47,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 16908.27,\n                        \"open\": 16832.51\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 16928.68,\n                        \"low\": 16559.24,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 16834.86,\n                        \"open\": 16871.86\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17031.36,\n                        \"low\": 16704.33,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 16872.89,\n                        \"open\": 16913.8\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 19086.7,\n                        \"low\": 16429.67,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 16930.19,\n                        \"open\": 17303.14\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17540.22,\n                        \"low\": 17302.36,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 17320.53,\n                        \"open\": 17401.29\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17410.22,\n                        \"low\": 17262.18,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 17403.59,\n                        \"open\": 17343.91\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17460.5,\n                        \"low\": 17297.2,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 17344.2,\n                        \"open\": 17327.18\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17416.76,\n                        \"low\": 17234.4,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 17333.59,\n                        \"open\": 17391.51\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17436.27,\n                        \"low\": 17310.2,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 17394.23,\n                        \"open\": 17406.3\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17505.88,\n                        \"low\": 17285.95,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 17417.88,\n                        \"open\": 17403.19\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17469.22,\n                        \"low\": 17163.42,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 17406.68,\n                        \"open\": 17268.5\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17424.31,\n                        \"low\": 17169.67,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 17268.4,\n                        \"open\": 17355.05\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17389.84,\n                        \"low\": 17061.16,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 17359.63,\n                        \"open\": 17083\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17175.35,\n                        \"low\": 17011.66,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 17079.94,\n                        \"open\": 17062.4\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17200.9,\n                        \"low\": 16897.45,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 17065.63,\n                        \"open\": 17185.85\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17347.37,\n                        \"low\": 17054.28,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 17207.5,\n                        \"open\": 17264.46\n                    },\n                    {\n                        \"instrument_id\": \"BTCUSDT\",\n                        \"high\": 17683.97,\n                        \"low\": 17240.77,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 17268.7,\n                        \"open\": 17556.84\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"BTCUSDT\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"BTCUSDT\",\n                    \"high\": 17114.73,\n                    \"low\": 16924.22,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 16971.26,\n                    \"open\": 17058.91\n                }\n            },\n            {\n                \"name\": \"ETHUSDT\",\n                \"instrument_id\": \"ETHUSDT\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"USDT\",\n                \"price_decimals\": 2,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 500,\n                \"min_quote_quantity\": 1,\n                \"max_quote_quantity\": 10000,\n                \"quote_currency\": {\n                    \"precision\": 6\n                },\n                \"base_currency\": {\n                    \"precision\": 9\n                },\n                \"price\": {\n                    \"instrument_id\": \"ETHUSDT\",\n                    \"ask\": 1290.86,\n                    \"bid\": 1265.03,\n                    \"price_24h_change\": -1.35,\n                    \"ts\": \"2022-11-12 00:36:49\"\n                },\n                \"price_bars\": [\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1291.92,\n                        \"low\": 1274.37,\n                        \"ts\": \"2022-11-12 00:00:00\",\n                        \"close\": 1278.5,\n                        \"open\": 1289.2\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1294,\n                        \"low\": 1262.66,\n                        \"ts\": \"2022-11-11 23:00:00\",\n                        \"close\": 1288.63,\n                        \"open\": 1280\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1285.11,\n                        \"low\": 1267.47,\n                        \"ts\": \"2022-11-11 22:00:00\",\n                        \"close\": 1280.42,\n                        \"open\": 1269.69\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1275.82,\n                        \"low\": 1247.28,\n                        \"ts\": \"2022-11-11 21:00:00\",\n                        \"close\": 1269.19,\n                        \"open\": 1247.57\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1275.41,\n                        \"low\": 1236.88,\n                        \"ts\": \"2022-11-11 20:00:00\",\n                        \"close\": 1245.32,\n                        \"open\": 1274.42\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1277.83,\n                        \"low\": 1250.68,\n                        \"ts\": \"2022-11-11 19:00:00\",\n                        \"close\": 1274.26,\n                        \"open\": 1264.89\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1285.6,\n                        \"low\": 1261.99,\n                        \"ts\": \"2022-11-11 18:00:00\",\n                        \"close\": 1264.63,\n                        \"open\": 1274.37\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1278.16,\n                        \"low\": 1247.99,\n                        \"ts\": \"2022-11-11 17:00:00\",\n                        \"close\": 1275.57,\n                        \"open\": 1250.17\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1262.93,\n                        \"low\": 1235.47,\n                        \"ts\": \"2022-11-11 16:00:00\",\n                        \"close\": 1250.35,\n                        \"open\": 1259.94\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1283.61,\n                        \"low\": 1242.89,\n                        \"ts\": \"2022-11-11 15:00:00\",\n                        \"close\": 1260,\n                        \"open\": 1261.4\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1296.02,\n                        \"low\": 1197.93,\n                        \"ts\": \"2022-11-11 14:00:00\",\n                        \"close\": 1263.34,\n                        \"open\": 1283.29\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1306.57,\n                        \"low\": 1279.93,\n                        \"ts\": \"2022-11-11 13:00:00\",\n                        \"close\": 1283.4,\n                        \"open\": 1291.01\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1302.08,\n                        \"low\": 1268.42,\n                        \"ts\": \"2022-11-11 12:00:00\",\n                        \"close\": 1291.53,\n                        \"open\": 1275.57\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1292.19,\n                        \"low\": 1269.95,\n                        \"ts\": \"2022-11-11 11:00:00\",\n                        \"close\": 1275.66,\n                        \"open\": 1277.33\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1283.57,\n                        \"low\": 1264.92,\n                        \"ts\": \"2022-11-11 10:00:00\",\n                        \"close\": 1277.24,\n                        \"open\": 1279.4\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1287.72,\n                        \"low\": 1272.28,\n                        \"ts\": \"2022-11-11 09:00:00\",\n                        \"close\": 1279.51,\n                        \"open\": 1281.89\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1291.97,\n                        \"low\": 1268.64,\n                        \"ts\": \"2022-11-11 08:00:00\",\n                        \"close\": 1282.3,\n                        \"open\": 1278\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1296.7,\n                        \"low\": 1255.72,\n                        \"ts\": \"2022-11-11 07:00:00\",\n                        \"close\": 1278.4,\n                        \"open\": 1264.22\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1274.5,\n                        \"low\": 1249.89,\n                        \"ts\": \"2022-11-11 06:00:00\",\n                        \"close\": 1264.5,\n                        \"open\": 1264.77\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1273.13,\n                        \"low\": 1231.6,\n                        \"ts\": \"2022-11-11 05:00:00\",\n                        \"close\": 1265.6,\n                        \"open\": 1234.42\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1248.26,\n                        \"low\": 1229.44,\n                        \"ts\": \"2022-11-11 04:00:00\",\n                        \"close\": 1234.75,\n                        \"open\": 1238.55\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1254.5,\n                        \"low\": 1218.75,\n                        \"ts\": \"2022-11-11 03:00:00\",\n                        \"close\": 1239.67,\n                        \"open\": 1251.66\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1269.45,\n                        \"low\": 1234.61,\n                        \"ts\": \"2022-11-11 02:00:00\",\n                        \"close\": 1252.7,\n                        \"open\": 1262.19\n                    },\n                    {\n                        \"instrument_id\": \"ETHUSDT\",\n                        \"high\": 1308.11,\n                        \"low\": 1255.07,\n                        \"ts\": \"2022-11-11 01:00:00\",\n                        \"close\": 1262.72,\n                        \"open\": 1297.39\n                    }\n                ],\n                \"trading_fees\": {\n                    \"instrument_id\": \"ETHUSDT\",\n                    \"maker_progressive\": 0.01,\n                    \"taker_progressive\": 0.01,\n                    \"maker_flat\": 0,\n                    \"taker_flat\": 0\n                },\n                \"recent_price_bar\": {\n                    \"instrument_id\": \"ETHUSDT\",\n                    \"high\": 1291.92,\n                    \"low\": 1274.37,\n                    \"ts\": \"2022-11-12 00:00:00\",\n                    \"close\": 1278.5,\n                    \"open\": 1289.2\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"1789de62-506d-4eec-93c2-16bc3dc3c6ca"}],"id":"bc2890e0-2f2c-46ea-b56e-8e70422d0ea5","description":"<p>This folder contains endpoints providing access to essential market data for the crypto exchange. These endpoints enable users to retrieve detailed information about available trading instruments, historical price data, and current market conditions. Developers can use this data to build trading algorithms, display market insights, or power analytical tools.</p>\n","_postman_id":"bc2890e0-2f2c-46ea-b56e-8e70422d0ea5"},{"name":"Accounts / Wallets","item":[{"name":"Deposit","item":[{"name":"Get Deposit Address","id":"e21dd637-39a7-4f9e-be8a-b6720e2921b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($network: String, $currency_id: String!, $reference: String) {\n  deposit_address_crypto(network: $network, currency_id: $currency_id, reference: $reference) {\n    deposit_address_crypto_id\n    currency_id\n    address\n    address_tag_type\n    address_tag_value\n    network\n    created_at\n    updated_at\n  }\n}","variables":"{\n    \"currency_id\":\"ETH\",\n    \"network\":\"Ethereum\",\n    \"reference\":\"abc1234\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>When requesting a crypto deposit address for a particular currency, an optional <code>reference</code> field can be included. When a <code>reference</code> is provided, the system will generate a unique address for that reference value. This allows for the on-demand generation of unique deposit addresses as well as the ability to look-up previously assigned addresses by their reference code.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"4395207a-6dba-46d5-bb2d-4fc8aad7fd00","name":"Get Deposit Address","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 01:08:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"309"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"135-izPJAcnR/R0jZ7mA8CsN7ZEmXJY\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deposit_address_crypto\": {\n            \"deposit_address_crypto_id\": \"1478a545-7b48-4521-b8b3-be7c54bc561f\",\n            \"currency_id\": \"ETH\",\n            \"address\": \"8wOYdVwuLCGjasXmlPl2qfau002tmWrPFN\",\n            \"address_tag_type\": null,\n            \"address_tag_value\": \"\",\n            \"network\": \"default\",\n            \"created_at\": \"2022-11-12 01:08:26\",\n            \"updated_at\": \"2022-11-12 01:08:26\"\n        }\n    }\n}"}],"_postman_id":"e21dd637-39a7-4f9e-be8a-b6720e2921b4"},{"name":"Get Fiat Bank Details","id":"f5d6c61a-16ba-4350-9afc-fd52f77aa976","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query payments_routes($payment_route_id: String) {\n    payments_routes(payment_route_id: $payment_route_id) {\n        fiat_deposit_properties {\n            name\n            value\n        }\n    }\n}\n","variables":"{\n    \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Get fiat bank details.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment_route_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Find Bank Details by ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"5478de6e-76a8-4135-aa26-a03d748c1bc0","name":"Get Fiat Bank Details","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Dec 2024 14:21:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"204"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"cc-P9SiQ6l3wp2kT+OzSnFCWXZ+rB8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payments_routes\": [\n            {\n                \"fiat_deposit_properties\": [\n                    {\n                        \"name\": \"Bank Name\",\n                        \"value\": \"Bank information\"\n                    },\n                    {\n                        \"name\": \"Bank Address\",\n                        \"value\": \"Bank information\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"f5d6c61a-16ba-4350-9afc-fd52f77aa976"}],"id":"ad4566c9-1e70-4338-bf88-3966d810c773","_postman_id":"ad4566c9-1e70-4338-bf88-3966d810c773","description":""},{"name":"Withdrawal","item":[{"name":"Create Crypto Withdrawal","id":"09dcb3ff-64cb-438d-88b6-0c1f3430eb9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($currency_id: String!, $crypto_address: String!, $amount: Float!, $crypto_address_tag_type: CryptoAddressTagType, $crypto_network_fee_preference: CryptoNetworkFeePreference, $crypto_address_tag_value: String, $crypto_network: String, $mfa_token: String) {\n  create_withdrawal_crypto(currency_id: $currency_id, crypto_address: $crypto_address, amount: $amount, crypto_address_tag_type: $crypto_address_tag_type, crypto_network_fee_preference: $crypto_network_fee_preference, crypto_address_tag_value: $crypto_address_tag_value, crypto_network: $crypto_network, mfa_token: $mfa_token) {\n    payment_id\n    currency_id\n    amount\n    type\n    crypto_transaction_id\n    crypto_address\n    crypto_address_tag_type\n    crypto_address_tag_value\n    crypto_network\n    approval_status\n    fiat_bank_name\n    fiat_bank_address\n    fiat_bank_bic\n    fiat_routing_number\n    fiat_reference\n    fiat_notes\n    fiat_beneficiary_name\n    fiat_beneficiary_account_number\n    fiat_beneficiary_address_line_1\n    fiat_beneficiary_address_line_2\n    fee_amount\n    status\n    message\n    error_message\n    created_at\n    updated_at\n  }\n}","variables":"{\"currency_id\":\"BTC\", \"amount\":0.0001, \"crypto_address\":\"1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2\"}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"931118b3-fe4d-4866-b761-dd6b278e533d","name":"Create Withdrawal Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 May 2023 20:52:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"769"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"301-beq7sdxJE1hlmpD/XvczADL9560\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_withdrawal_crypto\": {\n            \"payment_id\": \"8d497469-1e08-48f5-9395-24f67ad7a24d\",\n            \"currency_id\": \"BTC\",\n            \"amount\": 0.0001,\n            \"type\": \"withdrawal\",\n            \"crypto_transaction_id\": null,\n            \"crypto_address\": \"1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2\",\n            \"crypto_address_tag_type\": null,\n            \"crypto_address_tag_value\": null,\n            \"crypto_network\": \"default\",\n            \"approval_status\": \"pending\",\n            \"fiat_bank_name\": null,\n            \"fiat_bank_address\": null,\n            \"fiat_bank_bic\": null,\n            \"fiat_routing_number\": null,\n            \"fiat_reference\": null,\n            \"fiat_notes\": null,\n            \"fiat_beneficiary_name\": null,\n            \"fiat_beneficiary_account_number\": null,\n            \"fiat_beneficiary_address_line_1\": null,\n            \"fiat_beneficiary_address_line_2\": null,\n            \"fee_amount\": null,\n            \"status\": \"new\",\n            \"message\": null,\n            \"error_message\": null,\n            \"created_at\": \"2023-05-23 20:52:03\",\n            \"updated_at\": \"2023-05-23 20:52:03\"\n        }\n    }\n}"}],"_postman_id":"09dcb3ff-64cb-438d-88b6-0c1f3430eb9a"},{"name":"Create Fiat Withdrawal","id":"20d72909-90b0-4ee7-8b6d-639488e4c98f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation create_withdrawal_fiat ($quote_currency_id: String!, $amount: Float!, $payment_route_id: String, $currency_id: String, $mfa_token: String, $properties: [FiatDepositPropertyInput!]!) {\n    create_withdrawal_fiat (amount: $amount, payment_route_id: $payment_route_id, currency_id: $currency_id, mfa_token: $mfa_token, properties: $properties) {\n        payment_route_id\n        currency_id\n        amount\n        type\n        body_amount\n        fee_amount\n        message\n        error_message\n        created_at\n        updated_at\n        amount_quoted (quote_currency_id: $quote_currency_id)\n        fee_quoted (quote_currency_id: $quote_currency_id)\n        properties {\n            value\n            name\n        }\n    }\n}","variables":"{\n  \"quote_currency_id\": \"BTC\",\n  \"amount\": 100,\n  \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\",\n  \"currency_id\": \"USD\",\n  \"mfa_token\": \"123456\",\n  \"properties\": [\n    {\n        \"name\": \"fiat_transfer_type\",\n        \"value\": \"wire\"\n    }\n  ]\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"create-withdrawal-fiat\">Create Withdrawal Fiat</h3>\n<p>This endpoint allows users to initiate a fiat currency withdrawal from their account. It supports various payment methods and banking details through either direct fields or the newer properties array. The withdrawal can be customized with specific banking information, beneficiary details, and transfer preferences.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount to withdraw. Must be a positive number.</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The fiat currency code for the withdrawal (e.g., \"USD\")</td>\n</tr>\n<tr>\n<td>payment_route_id</td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Unique identifier for the selected payment route/method</td>\n</tr>\n<tr>\n<td>mfa_token</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Multi-factor authentication token for additional security</td>\n</tr>\n<tr>\n<td>properties</td>\n<td>Array of FiatDepositPropertyInput</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Refer to FiatDepositPropertyInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"6c1af6f5-e50d-4023-9de3-41f8e3056f4d","name":"Create Fiat Withdrawal","originalRequest":{"method":"POST","header":[],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Feb 2025 19:14:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"402"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"192-bKi/8La/CXqP8c0WzkUtV5NAnd4\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_withdrawal_fiat\": {\n            \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\",\n            \"currency_id\": \"USD\",\n            \"amount\": 100,\n            \"type\": \"withdrawal\",\n            \"body_amount\": 99.8,\n            \"fee_amount\": 0.2,\n            \"message\": null,\n            \"error_message\": null,\n            \"created_at\": \"2025-02-18 19:14:11\",\n            \"updated_at\": \"2025-02-18 19:14:11\",\n            \"amount_quoted\": 0.00103784,\n            \"fee_quoted\": 0.00000207,\n            \"properties\": [\n                {\n                    \"value\": \"wire\",\n                    \"name\": \"fiat_transfer_type\"\n                },\n                {\n                    \"value\": \"bank_name\",\n                    \"name\": \"Bank Name\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"20d72909-90b0-4ee7-8b6d-639488e4c98f"},{"name":"Create Fiat Withdrawal Wire Example","id":"ccce34d3-3688-4024-b0ae-1f58089c2c3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $amount: Float!\n  $mfa_token: String\n  $properties: [FiatDepositPropertyInput!]!\n  $payment_route_id: String!\n) {\n  create_withdrawal_fiat(\n    amount: $amount\n    mfa_token: $mfa_token\n    properties: $properties\n    payment_route_id: $payment_route_id\n  ) {\n    payment_id\n    currency_id\n    amount\n    type\n    crypto_transaction_id\n    crypto_address\n    crypto_address_tag_type\n    crypto_address_tag_value\n    crypto_network\n    approval_status\n    fiat_bank_bic\n    fiat_bank_name\n    fiat_beneficiary_account_number\n    fiat_beneficiary_name\n    fiat_transfer_type\n    fiat_bank_country\n    fiat_bank_region\n    fiat_bank_city\n    fiat_bank_postal_code\n    fiat_beneficiary_country\n    fiat_beneficiary_region\n    fiat_beneficiary_city\n    fiat_beneficiary_postal_code\n    fiat_beneficiary_address_line_1\n    psp_service_id\n    fiat_reference\n    fiat_bank_address\n    fiat_routing_number\n    fiat_notes\n    fiat_beneficiary_address_line_2\n    fee_amount\n    status\n    message\n    error_message\n    created_at\n    updated_at\n    manual_transaction_date_iso\n    fees_included\n    payment_route {\n      name\n      payment_route_id\n    }\n    account_transactions {\n      currency_id\n      transaction_class\n      post_balance\n      amount\n    }\n    properties {\n      name\n      value\n    }\n  }\n}","variables":"{\n  \"amount\": 10000,\n  \"properties\": [\n    {\n      \"name\": \"fiat_beneficiary_name\",\n      \"value\": \"We Sell Shoes Inc\"\n    },\n    {\n      \"name\": \"fiat_beneficiary_address_line_1\",\n      \"value\": \"123 Shoe Seller Ave\"\n    },\n    {\n      \"name\": \"fiat_beneficiary_city\",\n      \"value\": \"New York City\"\n    },\n    {\n      \"name\": \"fiat_beneficiary_country\",\n      \"value\": \"United States\"\n    },\n    {\n      \"name\": \"fiat_bank_name\",\n      \"value\": \"Chase\"\n    },\n    {\n      \"name\": \"fiat_beneficiary_account_number\",\n      \"value\": \"1234567890\"\n    },\n    {\n      \"name\": \"fiat_bank_bic\",\n      \"value\": \"CHASUS33XXX\"\n    },\n    {\n      \"name\": \"fiat_routing_number\",\n      \"value\": \"021000021\"\n    },\n    {\n      \"name\": \"fiat_bank_address\",\n      \"value\": \"123 Chase Ave\"\n    },\n    {\n      \"name\": \"fiat_bank_city\",\n      \"value\": \"New York City\"\n    },\n    {\n      \"name\": \"fiat_bank_country\",\n      \"value\": \"United States\"\n    },\n    {\n      \"name\": \"fiat_bank_postal_code\",\n      \"value\": \"10001\"\n    },\n    {\n      \"name\": \"fiat_reference\",\n      \"value\": \"202502241234567890\"\n    },\n    {\n      \"name\": \"fiat_transfer_type\",\n      \"value\": \"wire\"\n    }\n  ],\n  \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"create-withdrawal-fiat\">Create Withdrawal Fiat</h3>\n<p>This endpoint allows users to initiate a fiat currency withdrawal from their account. It supports various payment methods and banking details through either direct fields or the newer properties array. The withdrawal can be customized with specific banking information, beneficiary details, and transfer preferences.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>amount</td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount to withdraw. Must be a positive number.</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The fiat currency code for the withdrawal (e.g., \"USD\")</td>\n</tr>\n<tr>\n<td>payment_route_id</td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Unique identifier for the selected payment route/method</td>\n</tr>\n<tr>\n<td>mfa_token</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Multi-factor authentication token for additional security</td>\n</tr>\n<tr>\n<td>properties</td>\n<td>Array of FiatDepositPropertyInput</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Refer to FiatDepositPropertyInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"5656d845-8345-4b93-9fc0-3bc761a8b798","name":"Create Fiat Withdrawal Wire Example","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Feb 2025 19:44:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"970-dYJcDqVO4JH6RyHFsSMnOFlSW6I\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_withdrawal_fiat\": {\n            \"payment_id\": \"22708a26-3b22-4c62-b9b8-206719c7e908\",\n            \"currency_id\": \"USD\",\n            \"amount\": 1000,\n            \"type\": \"withdrawal\",\n            \"crypto_transaction_id\": null,\n            \"crypto_address\": null,\n            \"crypto_address_tag_type\": null,\n            \"crypto_address_tag_value\": null,\n            \"crypto_network\": null,\n            \"approval_status\": \"pending\",\n            \"fiat_bank_bic\": \"CHASUS33XXX\",\n            \"fiat_bank_name\": \"Chase\",\n            \"fiat_beneficiary_account_number\": \"1234567890\",\n            \"fiat_beneficiary_name\": \"We Sell Shoes Inc\",\n            \"fiat_transfer_type\": \"wire\",\n            \"fiat_bank_country\": \"United States\",\n            \"fiat_bank_region\": null,\n            \"fiat_bank_city\": \"New York City\",\n            \"fiat_bank_postal_code\": \"10001\",\n            \"fiat_beneficiary_country\": \"United States\",\n            \"fiat_beneficiary_region\": null,\n            \"fiat_beneficiary_city\": \"New York City\",\n            \"fiat_beneficiary_postal_code\": null,\n            \"fiat_beneficiary_address_line_1\": \"123 Shoe Seller Ave\",\n            \"psp_service_id\": \"MANUAL\",\n            \"fiat_reference\": \"2025022412345678901\",\n            \"fiat_bank_address\": \"123 Chase Ave\",\n            \"fiat_routing_number\": \"021000021\",\n            \"fiat_notes\": null,\n            \"fiat_beneficiary_address_line_2\": null,\n            \"fee_amount\": 0,\n            \"status\": \"new\",\n            \"message\": null,\n            \"error_message\": null,\n            \"created_at\": \"2025-02-24 19:44:38\",\n            \"updated_at\": \"2025-02-24 19:44:38\",\n            \"manual_transaction_date_iso\": null,\n            \"fees_included\": \"on\",\n            \"payment_route\": {\n                \"name\": \"WIRE\",\n                \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\"\n            },\n            \"account_transactions\": [\n                {\n                    \"currency_id\": \"USD\",\n                    \"transaction_class\": \"payment\",\n                    \"post_balance\": 4934.16,\n                    \"amount\": 1000\n                }\n            ],\n            \"properties\": [\n                {\n                    \"name\": \"address_cooldown_check\",\n                    \"value\": \"PASS\"\n                },\n                {\n                    \"name\": \"annual_limits_check\",\n                    \"value\": \"PASS\"\n                },\n                {\n                    \"name\": \"auto_aproval_amount_check\",\n                    \"value\": \"PASS\"\n                },\n                {\n                    \"name\": \"fiat_bank_address\",\n                    \"value\": \"123 Chase Ave\"\n                },\n                {\n                    \"name\": \"fiat_bank_bic\",\n                    \"value\": \"CHASUS33XXX\"\n                },\n                {\n                    \"name\": \"fiat_bank_city\",\n                    \"value\": \"New York City\"\n                },\n                {\n                    \"name\": \"fiat_bank_country\",\n                    \"value\": \"United States\"\n                },\n                {\n                    \"name\": \"fiat_bank_name\",\n                    \"value\": \"Chase\"\n                },\n                {\n                    \"name\": \"fiat_bank_postal_code\",\n                    \"value\": \"10001\"\n                },\n                {\n                    \"name\": \"fiat_beneficiary_account_number\",\n                    \"value\": \"1234567890\"\n                },\n                {\n                    \"name\": \"fiat_beneficiary_address_line_1\",\n                    \"value\": \"123 Shoe Seller Ave\"\n                },\n                {\n                    \"name\": \"fiat_beneficiary_city\",\n                    \"value\": \"New York City\"\n                },\n                {\n                    \"name\": \"fiat_beneficiary_country\",\n                    \"value\": \"United States\"\n                },\n                {\n                    \"name\": \"fiat_beneficiary_name\",\n                    \"value\": \"We Sell Shoes Inc\"\n                },\n                {\n                    \"name\": \"fiat_reference\",\n                    \"value\": \"2025022412345678901\"\n                },\n                {\n                    \"name\": \"fiat_routing_number\",\n                    \"value\": \"021000021\"\n                },\n                {\n                    \"name\": \"fiat_transfer_type\",\n                    \"value\": \"wire\"\n                },\n                {\n                    \"name\": \"min_amount_check\",\n                    \"value\": \"PASS\"\n                },\n                {\n                    \"name\": \"payments_enabled_check\",\n                    \"value\": \"PASS\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"ccce34d3-3688-4024-b0ae-1f58089c2c3b"},{"name":"Estimate Network Fee","id":"2b727501-0614-4574-a7d3-772b85c9e9e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($currency_id: String!, $amount: Float!) {\n  estimate_network_fee(currency_id: $currency_id, amount: $amount) {\n    high {\n      base_fee\n      fee_per_byte\n      gas_limit\n      gas_price\n      network_fee\n      priority_fee\n    }\n    low {\n      base_fee\n      fee_per_byte\n      gas_limit\n      gas_price\n      network_fee\n      priority_fee\n    }\n    medium {\n       base_fee\n      fee_per_byte\n      gas_limit\n      gas_price\n      network_fee\n      priority_fee\n    }\n  }\n}","variables":"{\n    \"currency_id\":\"BTC\",\n    \"amount\":0.0001\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows users to estimate the network fees for a given withdrawal amount in a specified currency. The estimated fees are categorized into three priority levels: low, medium, and high. Each priority level also impacts the execution time of the transaction, with higher priority levels generally leading to faster processing times.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>currency_id</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The crypto currency code for the withdrawal (e.g., <code>\"ETH\"</code>, <code>\"BTC\"</code>).</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount for which the network fee estimate is required. Must be a positive number.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"fc8cf782-a98a-428d-8f54-54df8febec8b","name":"Estimate Network Fee","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 19:33:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"400"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"190-YKtDZfWJPN8sWwEqMYuAS14V6+o\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"estimate_network_fee\": {\n            \"high\": {\n                \"base_fee\": 0,\n                \"fee_per_byte\": 90,\n                \"gas_limit\": 0,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0008748,\n                \"priority_fee\": 0\n            },\n            \"low\": {\n                \"base_fee\": 0,\n                \"fee_per_byte\": 40,\n                \"gas_limit\": 0,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0003888,\n                \"priority_fee\": 0\n            },\n            \"medium\": {\n                \"base_fee\": 0,\n                \"fee_per_byte\": 65,\n                \"gas_limit\": 0,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0006318,\n                \"priority_fee\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"2b727501-0614-4574-a7d3-772b85c9e9e6"},{"name":"Estimate Payment Fee","id":"2a8b8b1d-0dcf-48e3-92f8-73479a744717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation($currency_id: String!, $amount: Float) {\n  estimate_network_fee(currency_id: $currency_id, amount: $amount) {\n    high {\n      base_fee\n      fee_per_byte\n      gas_limit\n      gas_price\n      network_fee\n      priority_fee\n    }\n    low {\n      fee_per_byte\n      gas_price\n      network_fee\n      base_fee\n      priority_fee\n      gas_limit\n    }\n    medium {\n      fee_per_byte\n      gas_price\n      network_fee\n      base_fee\n      priority_fee\n      gas_limit\n    }\n  }\n}","variables":"{\n    \"currency_id\":\"BTC\",\n    \"amount\":0.0001\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows users to estimate the payment fees for a given withdrawal amount in a specified currency. The estimated fees are categorized into three priority levels: <strong>low</strong>, <strong>medium</strong>, and <strong>high</strong>. Each category includes detailed fee parameters such as <strong>base fee, fee per byte, gas limit, gas price, network fee,</strong> and <strong>priority fee</strong>.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>currency_id</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The crypto currency code for the withdrawal (e.g., <code>\"ETH\"</code>, <code>\"BTC\"</code>).</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount for which the network fee estimate is required. Must be a positive number.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"92fe4096-4b1f-441a-b583-f16932273b89","name":"Estimate Payment Fee","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 19:51:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"400"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"190-CY0A6vtTCOcyhnIPmazqFZoFDV8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"estimate_network_fee\": {\n            \"high\": {\n                \"base_fee\": 0,\n                \"fee_per_byte\": 90,\n                \"gas_limit\": 0,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0008748,\n                \"priority_fee\": 0\n            },\n            \"low\": {\n                \"fee_per_byte\": 40,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0003888,\n                \"base_fee\": 0,\n                \"priority_fee\": 0,\n                \"gas_limit\": 0\n            },\n            \"medium\": {\n                \"fee_per_byte\": 65,\n                \"gas_price\": 0,\n                \"network_fee\": 0.0006318,\n                \"base_fee\": 0,\n                \"priority_fee\": 0,\n                \"gas_limit\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"2a8b8b1d-0dcf-48e3-92f8-73479a744717"}],"id":"d0980f9d-b6f8-40ee-a5b0-6bff13e6bdc2","_postman_id":"d0980f9d-b6f8-40ee-a5b0-6bff13e6bdc2","description":""},{"name":"History","item":[{"name":"Get Transaction History","id":"66bd889e-0622-4885-b66f-1c4f088867c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query (\n    $type: PaymentType,\n    $currency_id: String,\n    $dateRange: DateRangeInput,\n    $pager: PagerInput,\n    $status: [PaymentStatus!]) {\n        payments (\n            type: $type,\n            currency_id: $currency_id,\n            dateRange: $dateRange,\n            pager: $pager,\n            status: $status\n        ) {\n            payment_id,\n            currency_id,\n            amount,\n            type,\n            crypto_transaction_id,\n            crypto_address,\n            crypto_address_tag_type,\n            crypto_address_tag_value,\n            crypto_network,\n            approval_status,\n            fiat_bank_name,\n            fiat_bank_address,\n            fiat_bank_bic,\n            fiat_routing_number,\n            fiat_reference,\n            fiat_notes,\n            fiat_beneficiary_name,\n            fiat_beneficiary_account_number,\n            fiat_beneficiary_address_line_1,\n            fiat_beneficiary_address_line_2,\n            status,\n            message,\n            error_message,\n            created_at,\n            updated_at \n        }\n    }","variables":"{\n    \"pager\":{\n        \"offset\":0,\n        \"limit\":7\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"4532323b-aaf8-4311-aaa3-ebefacd88ab1","name":"Get Transaction History","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 01:11:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"806"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"326-a4XHwiilbLwP6Idml6oR+QaUcJo\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payments\": [\n            {\n                \"payment_id\": \"82ad5d19-11c9-4d9c-bb93-736c62039563\",\n                \"currency_id\": \"ETH\",\n                \"amount\": 9162.06,\n                \"type\": \"deposit\",\n                \"crypto_transaction_id\": \"0pOohMjgu0HpHpZKVM9qhoFU8bH6FFKWiEIEqtHUIizTEu7EPqw6Ga1lvNY2GAsC7U\",\n                \"crypto_address\": \"8wOYdVwuLCGjasXmlPl2qfau002tmWrPFN\",\n                \"crypto_address_tag_type\": null,\n                \"crypto_address_tag_value\": null,\n                \"crypto_network\": \"default\",\n                \"approval_status\": \"approved\",\n                \"fiat_bank_name\": null,\n                \"fiat_bank_address\": null,\n                \"fiat_bank_bic\": null,\n                \"fiat_routing_number\": null,\n                \"fiat_reference\": null,\n                \"fiat_notes\": null,\n                \"fiat_beneficiary_name\": null,\n                \"fiat_beneficiary_account_number\": null,\n                \"fiat_beneficiary_address_line_1\": null,\n                \"fiat_beneficiary_address_line_2\": null,\n                \"status\": \"completed\",\n                \"message\": null,\n                \"error_message\": null,\n                \"created_at\": \"2022-11-12 01:08:37\",\n                \"updated_at\": \"2022-11-12 01:08:38\"\n            }\n        ]\n    }\n}"}],"_postman_id":"66bd889e-0622-4885-b66f-1c4f088867c4"},{"name":"Get All Account Transactions","id":"6858b108-8304-4159-8016-d8a18417fca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query account_transactions ($pager: PagerInput) {\n    account_transactions (pager: $pager) {\n        account_transaction_id\n        parent_transaction_id\n        client_transaction_id\n        user_id\n        account_id\n        payment_id\n        currency_id\n        transaction_class\n        type\n        order_id\n        trade_id\n        conversion_id\n        margin_trade_id\n        amount\n        post_balance\n        comment\n        created_at\n        created_by\n        created_at_iso\n    }\n}","variables":"{\n  \"pager\": {\n    \"limit\": 0,\n    \"offset\": 10\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Returns transaction history and balance updates for accounts. Each account represents a different currency or asset type (e.g., BTC, USD).</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions by some search value</td>\n</tr>\n<tr>\n<td>account_transaction_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all child transactions associated with a specific</td>\n</tr>\n<tr>\n<td>parent_transaction_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all child transactions associated with a specific parent transaction</td>\n</tr>\n<tr>\n<td>client_transaction_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Client Transaction ID</td>\n</tr>\n<tr>\n<td>account_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific account</td>\n</tr>\n<tr>\n<td>payment_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a payment</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a currency</td>\n</tr>\n<tr>\n<td>order_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Order</td>\n</tr>\n<tr>\n<td>trade_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Trade</td>\n</tr>\n<tr>\n<td>conversion_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Conversion</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Margin Trade</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific User</td>\n</tr>\n<tr>\n<td>instrument_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Instrument</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n<tr>\n<td>dateRange</td>\n<td>DateRangeInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to DateRangeInput for possible values</td>\n</tr>\n<tr>\n<td>created_by</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Identifier of the user or system that initiated the transaction</td>\n</tr>\n<tr>\n<td>comment</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Additional notes or remarks about the transaction</td>\n</tr>\n<tr>\n<td>transaction_class</td>\n<td>AccountTransactionClass</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to AccountTransactionClass for possible values</td>\n</tr>\n<tr>\n<td>type</td>\n<td>AccountTransactionType</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to AccountTransactionType for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"079cfdc6-75ec-40a5-a712-fb73d7b820e4","name":"account_transactions Copy","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"Bearer {{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 19:31:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"883-/aebF6d+7ZkRDbgvrdkrO7ba+9Y\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"account_transactions\": [\n            {\n                \"account_transaction_id\": \"982460eb-****-****-****-********\",\n                \"parent_transaction_id\": \"23895ccc-****-****-****-********\",\n                \"client_transaction_id\": null,\n                \"user_id\": \"57a11980-****-****-****-********\",\n                \"account_id\": \"5bbfa4d0-****-****-****-********\",\n                \"payment_id\": null,\n                \"currency_id\": \"USD\",\n                \"transaction_class\": \"fee\",\n                \"type\": \"debit\",\n                \"order_id\": \"52b7468e-****-****-****-********\",\n                \"trade_id\": \"90b3386e-****-****-****-********\",\n                \"conversion_id\": null,\n                \"margin_trade_id\": null,\n                \"amount\": 0.01000714,\n                \"post_balance\": 1900.99070686,\n                \"comment\": \"Taker fee 1% flat=0 BTCUSD sell QTY=0.00001000 PRC=100071.40\",\n                \"created_at\": \"2024-1-12 19:24:12\",\n                \"created_by\": \"OrderTradeQueueProcessor\",\n                \"created_at_iso\": \"2024-1-12T19:24:12+00:00\"\n            }\n        ]\n    }\n}"}],"_postman_id":"6858b108-8304-4159-8016-d8a18417fca2"}],"id":"3e03eeaf-d0c0-40a2-854b-ea3062cf1db3","_postman_id":"3e03eeaf-d0c0-40a2-854b-ea3062cf1db3","description":""},{"name":"Get Account Balances","id":"01b1e77b-537f-44f9-ad04-b45147a3f6ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"{\n  accounts_balances {\n    currency_id\n    total_balance\n    exposed_balance\n    currency {\n      type\n      precision\n      payment_routes {\n        crypto_network\n        crypto_address_tag_type\n      }\n    }\n    free_balance\n    free_balance_USD: free_balance_quoted(quote_currency_id: \"USD\")\n    free_balance_BTC: free_balance_quoted(quote_currency_id: \"BTC\")\n    free_balance_ETH: free_balance_quoted(quote_currency_id: \"ETH\")\n    free_balance_USDT: free_balance_quoted(quote_currency_id: \"USDT\")\n  }\n}","variables":""}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"9d39614c-7040-458a-a37c-125130ea9c74","name":"Get Account Balances","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 00:59:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"e94-TGYM1kxJBGsXpQWF0PtEybJeqKw\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accounts_balances\": [\n            {\n                \"currency_id\": \"BCH\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 8,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"Algorand\",\n                            \"crypto_address_tag_type\": \"\"\n                        },\n                        {\n                            \"crypto_network\": \"Ethereum\",\n                            \"crypto_address_tag_type\": \"\"\n                        },\n                        {\n                            \"crypto_network\": \"Stellar\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 6.1055,\n                \"free_balance_ETH\": null,\n                \"free_balance_USDT\": 102970\n            },\n            {\n                \"currency_id\": \"BTC\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 8,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": 17025360,\n                \"free_balance_BTC\": 1000,\n                \"free_balance_ETH\": 13110.283706539,\n                \"free_balance_USDT\": 17064710\n            },\n            {\n                \"currency_id\": \"CIRUS\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 8,\n                    \"payment_routes\": []\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": null,\n                \"free_balance_ETH\": null,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"ETH\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 9,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": 1285570,\n                \"free_balance_BTC\": 76.276,\n                \"free_balance_ETH\": 1000,\n                \"free_balance_USDT\": 1288290\n            },\n            {\n                \"currency_id\": \"EUR\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"fiat\",\n                    \"precision\": 2,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 0.06071664,\n                \"free_balance_ETH\": 0.718148326,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"GBP\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"fiat\",\n                    \"precision\": 2,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 0.06943253,\n                \"free_balance_ETH\": 0.919565597,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"JPY\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"fiat\",\n                    \"precision\": 2,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": null,\n                \"free_balance_ETH\": null,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"LTC\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 8,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 3.64,\n                \"free_balance_ETH\": 48.209,\n                \"free_balance_USDT\": 61519.959\n            },\n            {\n                \"currency_id\": \"test\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 2,\n                    \"payment_routes\": []\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": null,\n                \"free_balance_ETH\": null,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"USD\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"fiat\",\n                    \"precision\": 2,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": 1000,\n                \"free_balance_BTC\": 0.05873591,\n                \"free_balance_ETH\": 0.777865072,\n                \"free_balance_USDT\": null\n            },\n            {\n                \"currency_id\": \"USDT\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 6,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 0.05860047,\n                \"free_balance_ETH\": 0.776222745,\n                \"free_balance_USDT\": 1000\n            },\n            {\n                \"currency_id\": \"XRP\",\n                \"total_balance\": 1000,\n                \"exposed_balance\": 0,\n                \"currency\": {\n                    \"type\": \"crypto\",\n                    \"precision\": 6,\n                    \"payment_routes\": [\n                        {\n                            \"crypto_network\": \"default\",\n                            \"crypto_address_tag_type\": \"\"\n                        }\n                    ]\n                },\n                \"free_balance\": 1000,\n                \"free_balance_USD\": null,\n                \"free_balance_BTC\": 0.02255,\n                \"free_balance_ETH\": 0.298708,\n                \"free_balance_USDT\": 380.75\n            }\n        ]\n    }\n}"}],"_postman_id":"01b1e77b-537f-44f9-ad04-b45147a3f6ed"},{"name":"Get Payments Routes","id":"55eea978-259d-4900-b0a8-7c1f62c120f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query payments_routes {\n    payments_routes {\n        serial_id\n        payment_route_id\n        currency_id\n        psp_service_id\n        name\n        crypto_network\n        crypto_address_generate_new\n        crypto_address_tag_type\n        fiat_iframe_deposit_url\n        fiat_iframe_withdrawal_url\n        fiat_transfer_type\n        is_active\n        extend_network_fee\n        network_fee_currency_id\n        is_development\n        verification_type\n        deposit_enabled\n        withdrawal_enabled\n        is_crypto_to_fiat\n        notes\n    }\n}","variables":"{\n\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Get list of payment methods.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>payment_route_id</td>\n<td>String</td>\n<td>N/A</td>\n<td>Find payment method by ID</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>N/A</td>\n<td>Get all payment methods for one currency</td>\n</tr>\n<tr>\n<td>crypto_network</td>\n<td>String</td>\n<td>N/A</td>\n<td></td>\n</tr>\n<tr>\n<td>currency_type</td>\n<td>CurrencyType</td>\n<td>N/A</td>\n<td>Get all payment methods for fiat or crypto. Refer to CurrencyType for possible values</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"b40594f0-14f8-4f59-975b-be4355b28e61","name":"Get Payments Routes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 25 Nov 2024 21:09:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"3aca-Q1vXxvNHTF9zcB1o2trcN62sRX8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payments_routes\": [\n            {\n                \"serial_id\": 40,\n                \"payment_route_id\": \"43d842e7-1ff1-4e7a-9aad-95f959fff44e\",\n                \"currency_id\": \"USD\",\n                \"psp_service_id\": \"PAYMENT_PROVIDER_1\",\n                \"name\": \"ACH\",\n                \"crypto_network\": \"default\",\n                \"crypto_address_generate_new\": \"off\",\n                \"crypto_address_tag_type\": null,\n                \"fiat_iframe_deposit_url\": \"\",\n                \"fiat_iframe_withdrawal_url\": \"\",\n                \"fiat_transfer_type\": \"ach\",\n                \"is_active\": \"on\",\n                \"extend_network_fee\": \"off\",\n                \"network_fee_currency_id\": null,\n                \"is_development\": \"off\",\n                \"verification_type\": \"none\",\n                \"deposit_enabled\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"is_crypto_to_fiat\": \"off\",\n                \"notes\": null\n            },\n            {\n                \"serial_id\": 39,\n                \"payment_route_id\": \"cb6b3335-d74e-425a-a2b7-35a44e4cdca3\",\n                \"currency_id\": \"USD\",\n                \"psp_service_id\": \"PAYMENT_PROVIDER_1\",\n                \"name\": \"WIRE\",\n                \"crypto_network\": \"default\",\n                \"crypto_address_generate_new\": \"off\",\n                \"crypto_address_tag_type\": null,\n                \"fiat_iframe_deposit_url\": \"\",\n                \"fiat_iframe_withdrawal_url\": \"\",\n                \"fiat_transfer_type\": \"wire\",\n                \"is_active\": \"on\",\n                \"extend_network_fee\": \"off\",\n                \"network_fee_currency_id\": null,\n                \"is_development\": \"off\",\n                \"verification_type\": \"none\",\n                \"deposit_enabled\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"is_crypto_to_fiat\": \"off\",\n                \"notes\": null\n            },\n            {\n                \"serial_id\": 1,\n                \"payment_route_id\": \"b0b3267f-6b6a-4381-919c-f8fa81dfc077\",\n                \"currency_id\": \"BTC\",\n                \"psp_service_id\": \"PAYMENT_PROVIDER_2\",\n                \"name\": \"BTC\",\n                \"crypto_network\": \"bitcoin\",\n                \"crypto_address_generate_new\": \"off\",\n                \"crypto_address_tag_type\": null,\n                \"fiat_iframe_deposit_url\": \"\",\n                \"fiat_iframe_withdrawal_url\": \"\",\n                \"fiat_transfer_type\": \"default\",\n                \"is_active\": \"on\",\n                \"extend_network_fee\": \"off\",\n                \"network_fee_currency_id\": null,\n                \"is_development\": \"off\",\n                \"verification_type\": \"none\",\n                \"deposit_enabled\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"is_crypto_to_fiat\": \"off\",\n                \"notes\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"55eea978-259d-4900-b0a8-7c1f62c120f9"},{"name":"Get Payments Limits","id":"55501140-a139-413a-97f3-bbe0073fbdfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query payments_limits ($limit_group_id: String, $currency_id: String, $pager: PagerInput, $sort: SortInput) {\n    payments_limits (limit_group_id: $limit_group_id, currency_id: $currency_id, pager: $pager, sort: $sort) {\n        serial_id\n        limit_group_id\n        currency_id\n        deposit_enabled\n        deposit_min_amount\n        deposit_daily_limit\n        deposit_weekly_limit\n        deposit_monthly_limit\n        deposit_auto_approval_amount\n        withdrawal_enabled\n        withdrawal_min_amount\n        withdrawal_daily_limit\n        withdrawal_weekly_limit\n        withdrawal_monthly_limit\n        withdrawal_auto_approval_amount\n        notion_currency\n    }\n}","variables":"{\n  \"pager\": {\n    \"limit\": 0,\n    \"offset\": 0\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit_group_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Limit Group</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Currency</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"6a2ea7bb-2f04-4633-adde-027da6c60b43","name":"Get Payments Limits","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 20:08:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"33b3-76t85RYhP5E3MtAVUnvQpNMmNVs\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payments_limits\": [\n            {\n                \"serial_id\": 576,\n                \"limit_group_id\": \"7a986dcf-****-*****-****-********\",\n                \"currency_id\": \"BTC\",\n                \"deposit_enabled\": \"on\",\n                \"deposit_min_amount\": 0,\n                \"deposit_daily_limit\": 0,\n                \"deposit_weekly_limit\": 0,\n                \"deposit_monthly_limit\": 0,\n                \"deposit_auto_approval_amount\": 0,\n                \"withdrawal_enabled\": \"on\",\n                \"withdrawal_min_amount\": 0,\n                \"withdrawal_daily_limit\": 0,\n                \"withdrawal_weekly_limit\": 0,\n                \"withdrawal_monthly_limit\": 0,\n                \"withdrawal_auto_approval_amount\": 0,\n                \"notion_currency\": \"BTC\"\n            }\n        ]\n    }\n}"}],"_postman_id":"55501140-a139-413a-97f3-bbe0073fbdfc"},{"name":"Get Payments Fees","id":"4214f8fd-33e7-42eb-a376-4047c321a97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query payments_fees ($pager: PagerInput) {\n    payments_fees (pager: $pager) {\n        serial_id\n        payment_route_id\n        currency_id\n        fee_group_id\n        withdrawal_progressive_fee\n        withdrawal_flat_fee\n        deposit_progressive_fee\n        deposit_flat_fee\n        calculation_type\n    }\n}","variables":"{\n  \"pager\": {\n    \"limit\": 0,\n    \"offset\": 0\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fee_group_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Fee Group</td>\n</tr>\n<tr>\n<td>payment_route_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Payment Route</td>\n</tr>\n<tr>\n<td>currency_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Currency</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n<tr>\n<td>calculation_type</td>\n<td>FeeCalculationType</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to FeeCalculationType for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"09901e23-7c87-416b-8315-15405664d122","name":"payments_fees Copy","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 20:16:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"1bb9-Q+vP3B3GHtGiAGvjurWAuV/BAXc\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"payments_fees\": [\n            {\n                \"serial_id\": 1384,\n                \"payment_route_id\": \"06a573a9-****-*****-***-*********\",,\n                \"currency_id\": \"BTC\",\n                \"fee_group_id\": \"06a573a9-****-*****-***-*********\",\n                \"withdrawal_progressive_fee\": 0,\n                \"withdrawal_flat_fee\": 0,\n                \"deposit_progressive_fee\": 0,\n                \"deposit_flat_fee\": 0,\n                \"calculation_type\": \"sum\"\n            }\n        ]\n    }\n}"}],"_postman_id":"4214f8fd-33e7-42eb-a376-4047c321a97d"}],"id":"3ebc49e6-c81a-4ce6-b6c2-1782708bb3e1","_postman_id":"3ebc49e6-c81a-4ce6-b6c2-1782708bb3e1","description":""},{"name":"Orders","item":[{"name":"Limit / Market / Stop","item":[{"name":"Create Market Order","id":"8ed4eda8-1159-4d97-b88b-280c24cbfcbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($instrument_id: String!, $type: OrderType!, $price: Float, $side: OrderSide!, $time_in_force: OrderTimeInForce!, $quantity: Float!, $expires_at: String, $quantity_mode: OrderQuantityMode) {\n  create_order(instrument_id: $instrument_id, type: $type, price: $price, side: $side, time_in_force: $time_in_force, quantity: $quantity, expires_at: $expires_at, quantity_mode: $quantity_mode) {\n    order_id\n    type\n    side\n    status\n    price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n  }\n}","variables":"{\n  \"instrument_id\": \"BTCUSD\",\n  \"type\": \"market\",\n  \"price\": null,\n  \"side\": \"buy\",\n  \"time_in_force\": \"fok\",\n  \"quantity\": 0.01,\n  \"quantity_mode\": \"base\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"2a3d8b77-a4f2-42a4-9924-3903deeb961a","name":"Create Market Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 21:31:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"350"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"15e-XQpAd8e4Wden98qsVfk5jbMrwPA\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_order\": {\n            \"order_id\": \"88650652-04e5-40c6-87b8-661771f4f481\",\n            \"type\": \"market\",\n            \"side\": \"buy\",\n            \"status\": \"new\",\n            \"price\": null,\n            \"quantity\": 0.01,\n            \"executed_quantity\": 0,\n            \"remaining_quantity\": 0.01,\n            \"quantity_mode\": \"base\",\n            \"instrument_id\": \"BTCUSD\",\n            \"message\": null,\n            \"updated_at\": \"2023-04-28 21:31:16\",\n            \"created_at\": \"2023-04-28 21:31:16\",\n            \"expires_at\": null\n        }\n    }\n}"}],"_postman_id":"8ed4eda8-1159-4d97-b88b-280c24cbfcbc"},{"name":"Create Limit Order","id":"054fb9e6-a95c-4ee6-93e0-c714cff4e3a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($instrument_id: String!, $type: OrderType!, $price: Float, $side: OrderSide!, $time_in_force: OrderTimeInForce!, $quantity: Float!, $expires_at: String, $quantity_mode: OrderQuantityMode) {\n  create_order(instrument_id: $instrument_id, type: $type, price: $price, side: $side, time_in_force: $time_in_force, quantity: $quantity, expires_at: $expires_at, quantity_mode: $quantity_mode) {\n    order_id\n    type\n    side\n    status\n    price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n  }\n}","variables":"{\n  \"instrument_id\": \"BTCUSD\",\n  \"type\": \"limit\",\n  \"price\": 30000,\n  \"side\": \"sell\",\n  \"time_in_force\": \"gtc\",\n  \"quantity\": 0.0005,\n  \"quantity_mode\": \"base\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"b50dd6d9-a2ec-44a5-9a41-7d67d9086f5f","name":"Create Limit Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 21:30:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"355"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"163-pxsVFMDBGaALyIE5ZQzLTDf/0UY\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_order\": {\n            \"order_id\": \"0ea7d634-4c56-44eb-b5e9-340da7b4ecbf\",\n            \"type\": \"limit\",\n            \"side\": \"sell\",\n            \"status\": \"new\",\n            \"price\": 30000,\n            \"quantity\": 0.0005,\n            \"executed_quantity\": 0,\n            \"remaining_quantity\": 0.0005,\n            \"quantity_mode\": \"base\",\n            \"instrument_id\": \"BTCUSD\",\n            \"message\": null,\n            \"updated_at\": \"2023-04-28 21:30:58\",\n            \"created_at\": \"2023-04-28 21:30:58\",\n            \"expires_at\": null\n        }\n    }\n}"}],"_postman_id":"054fb9e6-a95c-4ee6-93e0-c714cff4e3a6"},{"name":"Create Stop Market Order","id":"38b8a0ad-8d9b-4641-b2d7-099e96fd0fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $instrument_id: String!\n  $type: OrderType!\n  $price: Float\n  $stop_price: Float\n  $side: OrderSide!\n  $time_in_force: OrderTimeInForce!\n  $quantity: Float!\n  $expires_at: String\n  $quantity_mode: OrderQuantityMode\n  $post_only: ToggleSwitch\n) {\n  create_order(\n    instrument_id: $instrument_id\n    type: $type\n    price: $price\n    stop_price: $stop_price\n    side: $side\n    time_in_force: $time_in_force\n    quantity: $quantity\n    expires_at: $expires_at\n    quantity_mode: $quantity_mode\n    post_only: $post_only\n  ) {\n    order_id\n    type\n    side\n    status\n    price\n    stop_price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n    time_in_force\n  }\n}","variables":"{\n  \"instrument_id\": \"BTCUSD\",\n  \"type\": \"stop_market\",\n  \"stop_price\": 80000,\n  \"side\": \"buy\",\n  \"time_in_force\": \"fok\",\n  \"quantity\": 0.01,\n  \"quantity_mode\": \"quote\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>A <strong>stop market order</strong> is an order that triggers a <strong>market order</strong> when the price reaches a specified <strong>stop price</strong>. This is useful for executing trades automatically when a certain price level is reached, often for <strong>risk management</strong> or <strong>breakout strategies</strong>.</p>\n<h3 id=\"how-it-works\">How it Works</h3>\n<ul>\n<li><p>If a <strong>buy stop market order</strong> is placed, it will <strong>execute a market buy</strong> once the price <strong>reaches or exceeds</strong> the stop price.</p>\n</li>\n<li><p>If a <strong>sell stop market order</strong> is placed, it will <strong>execute a market sell</strong> once the price <strong>reaches or drops below</strong> the stop price.</p>\n</li>\n</ul>\n<h3 id=\"quantity-mode\">Quantity Mode</h3>\n<ul>\n<li><p><strong>Quote Mode</strong>: The quantity refers to the <strong>quote currency</strong> (e.g., the USD value of BTC). This means the order size is defined in terms of how much of the quote currency is being spent or received.</p>\n</li>\n<li><p><strong>Base Mode</strong>: The quantity refers to the <strong>base currency</strong> (e.g., BTC in a BTC/USD pair). This means the order size is defined in terms of how much of the base currency is being bought or sold.</p>\n</li>\n</ul>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instrument_id</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The trading pair identifier, e.g., <code>\"BTCUSD\"</code>.</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Order type, must be <code>\"stop_market\"</code>.</td>\n</tr>\n<tr>\n<td><code>stop_price</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The price that triggers the market order execution.</td>\n</tr>\n<tr>\n<td><code>side</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Order direction, <code>\"buy\"</code> or <code>\"sell\"</code>.</td>\n</tr>\n<tr>\n<td><code>time_in_force</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Specifies how long the order remains valid. <code>\"fok\"</code> (Fill or Kill) means it must be executed immediately or canceled.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount of the asset to buy or sell once the order is triggered.</td>\n</tr>\n<tr>\n<td><code>quantity_mode</code></td>\n<td>String</td>\n<td>❌ No</td>\n<td>base</td>\n<td><code>\"quote\"</code>or <code>\"base\"</code> modes.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"7b306078-1bb3-438d-a757-55dd54e17d1f","name":"Create Stop Market Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 20:10:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"558"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"22e-B0L02nobhbIEYKw+mP5ba8WsRN4\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_order\": {\n            \"order_id\": \"f6a03b88-ea4f-41e7-a8f4-*********\",\n            \"type\": \"stop_market\",\n            \"side\": \"buy\",\n            \"status\": \"new\",\n            \"price\": null,\n            \"stop_price\": 80000,\n            \"quantity\": 0.01,\n            \"executed_quantity\": 0,\n            \"remaining_quantity\": 0.01,\n            \"quantity_mode\": \"quote\",\n            \"instrument_id\": \"BTCUSD\",\n            \"message\": null,\n            \"updated_at\": \"2025-03-03 20:10:09\",\n            \"created_at\": \"2025-03-03 20:10:09\",\n            \"expires_at\": null,\n            \"time_in_force\": \"fok\"\n        }\n    }\n}"}],"_postman_id":"38b8a0ad-8d9b-4641-b2d7-099e96fd0fc4"},{"name":"Create Stop Limit Order","id":"87301c0a-73eb-46e8-ae55-586a6e7070f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $instrument_id: String!\n  $type: OrderType!\n  $price: Float\n  $stop_price: Float\n  $side: OrderSide!\n  $time_in_force: OrderTimeInForce!\n  $quantity: Float!\n  $expires_at: String\n  $quantity_mode: OrderQuantityMode\n  $post_only: ToggleSwitch\n) {\n  create_order(\n    instrument_id: $instrument_id\n    type: $type\n    price: $price\n    stop_price: $stop_price\n    side: $side\n    time_in_force: $time_in_force\n    quantity: $quantity\n    expires_at: $expires_at\n    quantity_mode: $quantity_mode\n    post_only: $post_only\n  ) {\n    order_id\n    type\n    side\n    status\n    price\n    stop_price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n    time_in_force\n  }\n}","variables":"{\n  \"instrument_id\": \"BTCUSD\",\n  \"type\": \"stop_limit\",\n  \"price\": 100000,\n  \"stop_price\": 110000,\n  \"side\": \"sell\",\n  \"time_in_force\": \"gtc\",\n  \"quantity\": 0.001,\n  \"quantity_mode\": \"base\",\n  \"post_only\": \"off\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>A <strong>stop limit order</strong> is an order that triggers a <strong>limit order</strong> when the price reaches a specified <strong>stop price</strong>. This order type is useful for <strong>risk management</strong> and <strong>breakout strategies</strong>, as it allows traders to define both the trigger price (<strong>stop price</strong>) and the price at which the order should be executed (<strong>limit price</strong>).</p>\n<h3 id=\"how-it-works\">How it Works</h3>\n<ul>\n<li><p>If a <strong>buy stop limit order</strong> is placed, it will <strong>activate a buy limit order</strong> once the price <strong>reaches or exceeds</strong> the stop price. The order will only execute at the limit price or better.</p>\n</li>\n<li><p>If a <strong>sell stop limit order</strong> is placed, it will <strong>activate a sell limit order</strong> once the price <strong>reaches or drops below</strong> the stop price. The order will only execute at the limit price or better.</p>\n</li>\n</ul>\n<h3 id=\"quantity-mode\">Quantity Mode</h3>\n<ul>\n<li><p><strong>Quote Mode</strong>: The quantity refers to the <strong>quote currency</strong> (e.g., the USD value of BTC). This means the order size is defined in terms of how much of the quote currency is being spent or received.</p>\n</li>\n<li><p><strong>Base Mode</strong>: The quantity refers to the <strong>base currency</strong> (e.g., BTC in a BTC/USD pair). This means the order size is defined in terms of how much of the base currency is being bought or sold.</p>\n</li>\n</ul>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>instrument_id</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The trading pair for the order (e.g., <code>\"BTCUSD\"</code>).</td>\n</tr>\n<tr>\n<td><code>type</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The order type. Should be <code>\"stop_limit\"</code> for this order.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The <strong>limit price</strong> at which the order will execute once the stop price is triggered.</td>\n</tr>\n<tr>\n<td><code>stop_price</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The <strong>stop price</strong> that triggers the limit order.</td>\n</tr>\n<tr>\n<td><code>side</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The trade direction. <code>\"buy\"</code> for a buy order, <code>\"sell\"</code> for a sell order.</td>\n</tr>\n<tr>\n<td><code>time_in_force</code></td>\n<td>String</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Order execution policy. <code>\"gtc\"</code> (Good-Til-Canceled) means the order remains open until filled or manually canceled.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>Float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount of the asset being traded (e.g., <strong>0.001 BTC</strong> in this case).</td>\n</tr>\n<tr>\n<td><code>quantity_mode</code></td>\n<td>String</td>\n<td>❌ No</td>\n<td>base</td>\n<td>Defines how the quantity is interpreted: <code>\"quote\"</code> (amount in quote currency, e.g., USD) or <code>\"base\"</code> (amount in base currency, e.g., BTC).</td>\n</tr>\n<tr>\n<td><code>post_only</code></td>\n<td>String</td>\n<td>❌ No</td>\n<td>off</td>\n<td>Whether the order should only add liquidity. <code>\"on\"</code> means the order won’t execute immediately, <code>\"off\"</code> allows immediate execution if matched.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"73330df7-2aa7-4e85-843e-fd57167f93f0","name":"Create Stop Limit Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}0unImEZ6CAxWsELvvf7Km1slitgx6-5u8UqxsO0GPCmxa5LPAHubAGWmu85c8RphWdKhi_CyiZmzaFZ0RysbyYhCud_ASqTUw9A","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 20:24:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"401"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"191-4tILw4LGB2zJz9b9JNRvSNO8XrQ\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_order\": {\n            \"order_id\": \"9b575b48-7fee-4b1b-a24f-7594a64c2cb0\",\n            \"type\": \"stop_limit\",\n            \"side\": \"sell\",\n            \"status\": \"new\",\n            \"price\": 100000,\n            \"stop_price\": 110000,\n            \"quantity\": 0.001,\n            \"executed_quantity\": 0,\n            \"remaining_quantity\": 0.001,\n            \"quantity_mode\": \"base\",\n            \"instrument_id\": \"BTCUSD\",\n            \"message\": null,\n            \"updated_at\": \"2025-03-03 20:24:16\",\n            \"created_at\": \"2025-03-03 20:24:16\",\n            \"expires_at\": null,\n            \"time_in_force\": \"gtc\"\n        }\n    }\n}"}],"_postman_id":"87301c0a-73eb-46e8-ae55-586a6e7070f0"},{"name":"Cancel Open Order","id":"a4951e02-5f14-4832-aef9-c66aa10206d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($order_id: String!) {\n  cancel_order(order_id: $order_id)\n}","variables":"{\n  \"order_id\": \"0ea7d634-4c56-44eb-b5e9-340da7b4ecbf\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"0f706571-b56f-485d-ac36-63d13510d133","name":"Cancel Open Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 28 Apr 2023 21:31:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"1f-YtKbESCqHzNQTeA7XhCkAP2WzPM\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cancel_order\": true\n    }\n}"}],"_postman_id":"a4951e02-5f14-4832-aef9-c66aa10206d1"},{"name":"Cancel Multiple Open Orders","id":"7d5efe5f-9bbf-4277-9629-a0418091cb83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation cancel_multiple_orders ($order_ids: [String!]!, $message: String) {\n    cancel_multiple_orders (order_ids: $order_ids, message: $message)\n}","variables":"{\n  \"order_ids\": [\n    \"4b9d181e-f4ac-4ccc-aecc-60d154484a35\"\n  ],\n  \"message\": \"Cancel multiple orders\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>order_ids</td>\n<td>String[]</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Array of unique order identifiers to be cancelled</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Reason for canceling</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"026458c1-558f-4a6b-9828-67f976cebcb4","name":"Cancel Multiple Open Orders","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 18:08:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"29-beANo2qvsNpWShaJ+j2yOeI8Es8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cancel_multiple_orders\": true\n    }\n}"}],"_postman_id":"7d5efe5f-9bbf-4277-9629-a0418091cb83"},{"name":"Cancel All Open Orders","id":"04d74d1e-ae94-4be7-a5e5-ede1db75d04a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\n    cancel_all_orders {\n        serial_id\n        order_id\n        time_in_force\n        type\n        side\n        status\n        price\n        quantity\n        executed_quantity\n        remaining_quantity\n        quantity_mode\n        user_id\n        instrument_id\n        message\n        created_at\n        updated_at\n        expires_at\n        version\n        parent_order_id\n        stop_price\n        notes\n        total\n        created_at_iso\n        updated_at_iso\n        expires_at_iso\n    }\n}","variables":"{\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"1d404894-2875-447d-8675-1b6a4ec5fab6","name":"Cancel All Open Orders","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 18:00:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"685"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"2ad-QvJLmwPaACc49idYW043o2UeZX8\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cancel_all_orders\": [\n            {\n                \"serial_id\": 111111111111,\n                \"order_id\": \"14239e34-****-****-****-********\",\n                \"time_in_force\": \"gtc\",\n                \"type\": \"limit\",\n                \"side\": \"buy\",\n                \"status\": \"new\",\n                \"price\": 99000,\n                \"quantity\": 0.00001,\n                \"executed_quantity\": 0,\n                \"remaining_quantity\": 0.00001,\n                \"quantity_mode\": \"base\",\n                \"user_id\": \"abb8e45f-****-****-****-********\",\n                \"instrument_id\": \"BTCUSD\",\n                \"message\": null,\n                \"created_at\": \"1734026290000\",\n                \"updated_at\": \"1734026290000\",\n                \"expires_at\": null,\n                \"version\": 0,\n                \"parent_order_id\": null,\n                \"stop_price\": null,\n                \"notes\": null,\n                \"total\": 0,\n                \"created_at_iso\": \"2024-01-12T17:58:10+00:00\",\n                \"updated_at_iso\": \"2024-01-12T17:58:10+00:00\",\n                \"expires_at_iso\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"04d74d1e-ae94-4be7-a5e5-ede1db75d04a"}],"id":"fad1235e-4160-4ac0-8fe4-054a818368ca","_postman_id":"fad1235e-4160-4ac0-8fe4-054a818368ca","description":""},{"name":"Conversion","item":[{"name":"Get Conversion Quote","event":[{"listen":"test","script":{"exec":["pm.test(\"Quote Obtained\", function(){","    pm.response.to.have.status(200);","    pm.environment.set(\"activeQuoteId\", pm.response.json().data.create_conversion_quote.conversion_quote_id);    ","});"],"type":"text/javascript","id":"63358961-5747-4790-a2bc-c9bfbca0ce20"}}],"id":"72b929c6-73db-4d2b-9431-95745794aa07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($source_currency_id: String!, $target_currency_id: String!, $target_currency_amount: Float, $source_currency_amount: Float) {\n  create_conversion_quote(source_currency_id: $source_currency_id, target_currency_id: $target_currency_id, target_currency_amount: $target_currency_amount, source_currency_amount: $source_currency_amount) {\n    expires_at\n    expires_at_iso\n    fees {\n      currency_id\n      amount\n    }\n    price\n    fee_currency_id\n    fee_currency_amount\n    conversion_quote_id\n    source_currency_id\n    target_currency_id\n    target_currency_amount\n    source_currency_amount\n  }\n}","variables":"{\n  \"source_currency_id\": \"BTC\",\n  \"target_currency_id\": \"USD\",\n  \"source_currency_amount\": 0.001\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"e9f9b28e-d904-4ce3-b8fd-83aa6091e147","name":"Get Conversion Quote","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Jun 2023 02:41:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"402"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"192-9425prBJ6JTjMJduppEkUse22Z4\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_conversion_quote\": {\n            \"expires_at\": \"2023-06-14 02:42:15\",\n            \"expires_at_iso\": \"2023-06-14T02:42:15+00:00\",\n            \"fees\": [\n                {\n                    \"currency_id\": \"USD\",\n                    \"amount\": 0\n                }\n            ],\n            \"price\": 25769.2,\n            \"fee_currency_id\": \"USD\",\n            \"fee_currency_amount\": 0,\n            \"conversion_quote_id\": \"25acd909-8164-4d76-a1d8-1cea94c46990\",\n            \"source_currency_id\": \"BTC\",\n            \"target_currency_id\": \"USD\",\n            \"target_currency_amount\": 25.77,\n            \"source_currency_amount\": 0.001\n        }\n    }\n}"}],"_postman_id":"72b929c6-73db-4d2b-9431-95745794aa07"},{"name":"Execute Conversion on Quote","id":"cf6c7b67-9040-4ec3-a755-adbdd7c64217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($conversion_quote_id: String!) {\n  create_conversion_order(conversion_quote_id: $conversion_quote_id) {\n    status\n    message\n    created_at\n    updated_at\n    error_message\n    price\n    fee_currency_id\n    fee_currency_amount\n    conversion_quote_id\n    source_currency_id\n    target_currency_id\n    target_currency_amount\n    source_currency_amount\n  }\n}","variables":"{\n  \"conversion_quote_id\": \"\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"17d24fd4-f0c5-4703-afd4-e752eea67f78","name":"Execute Conversion on Quote","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Jun 2023 03:00:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"408"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"198-GaajvB+IRJn65LXCb9ddKHBI/10\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_conversion_order\": {\n            \"status\": \"completed\",\n            \"message\": null,\n            \"created_at\": \"2023-06-14 03:00:59\",\n            \"updated_at\": \"2023-06-14 03:00:59\",\n            \"error_message\": null,\n            \"price\": 25765.87,\n            \"fee_currency_id\": \"USD\",\n            \"fee_currency_amount\": 0,\n            \"conversion_quote_id\": \"01dd3373-c5cc-496b-8996-334d7173ef00\",\n            \"source_currency_id\": \"BTC\",\n            \"target_currency_id\": \"USD\",\n            \"target_currency_amount\": 25.77,\n            \"source_currency_amount\": 0.001\n        }\n    }\n}"}],"_postman_id":"cf6c7b67-9040-4ec3-a755-adbdd7c64217"}],"id":"6e7c7017-b072-44c0-a664-6fc3d25510a9","_postman_id":"6e7c7017-b072-44c0-a664-6fc3d25510a9","description":""},{"name":"History","item":[{"name":"Get Closed Orders","id":"26992233-d4da-4670-bb64-0bb2e6277abb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($instrument_id: String, $status: [OrderStatus!], $side: OrderSide, $pager: PagerInput, $dateRange: DateRangeInput) {\n  closed_orders(instrument_id: $instrument_id, status: $status, side: $side, pager: $pager, dateRange: $dateRange) {\n    order_id\n    type\n    side\n    status\n    price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n  }\n}","variables":"{\n    \"pager\":{\n        \"offset\":0,\n        \"limit\":8\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"9f5ad8a3-9c55-4584-9724-a781f5befe33","name":"Get Closed Orders","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 13 Dec 2024 12:49:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"720"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"2d0-2HDC8GjwosRf8uFkExOKVZ997fU\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"closed_orders\": [\n            {\n                \"order_id\": \"14239e34-****-*****-*****-*********\",\n                \"type\": \"limit\",\n                \"side\": \"buy\",\n                \"status\": \"completed\",\n                \"price\": 80000,\n                \"quantity\": 0.00001,\n                \"executed_quantity\": 0,\n                \"remaining_quantity\": 0.00001,\n                \"quantity_mode\": \"base\",\n                \"instrument_id\": \"BTCUSD\",\n                \"message\": \"\",\n                \"updated_at\": \"1734026440000\",\n                \"created_at\": \"1734026290000\",\n                \"expires_at\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"26992233-d4da-4670-bb64-0bb2e6277abb"},{"name":"Get Open Orders","id":"83b11c1d-a0e9-4f97-b905-3e11bff8969b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($instrument_id: String, $status: [OrderStatus!], $side: OrderSide, $pager: PagerInput, $dateRange: DateRangeInput) {\n  open_orders(instrument_id: $instrument_id, status: $status, side: $side, pager: $pager, dateRange: $dateRange) {\n    order_id\n    type\n    side\n    status\n    price\n    quantity\n    executed_quantity\n    remaining_quantity\n    quantity_mode\n    instrument_id\n    message\n    updated_at\n    created_at\n    expires_at\n  }\n}","variables":"{\n    \"pager\":{\n        \"offset\":0,\n        \"limit\":7\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"13f023f0-7822-4d49-b85e-389feb2b129a","name":"Get Open Orders","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 12 Nov 2022 01:01:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"28"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"1c-dZJUtVoUzUTdwZnHSyblGp5ANiU\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"open_orders\": []\n    }\n}"}],"_postman_id":"83b11c1d-a0e9-4f97-b905-3e11bff8969b"},{"name":"Get Conversions","id":"c6b086cc-a652-460e-af54-978c0a19b857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($search: String, $pager: PagerInput, $dateRange: DateRangeInput) {\n  conversions(\n    search: $search\n    pager: $pager\n    dateRange: $dateRange\n  ) {\n    conversion_id\n    conversion_quote_id\n    reference\n    source_currency_id\n    source_currency_amount\n    target_currency_id\n    target_currency_amount\n    instrument_id\n    fee_currency_id\n    fee_currency_amount\n    price\n    status\n    message\n    error_message\n    created_at_iso\n    updated_at_iso\n    instrument {\n      name\n    }\n  }\n}","variables":"{\n  \"search\": \"\",\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 10\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This request retrieves a list of currency conversions, optionally filtered by a search term. It supports pagination to limit the number of results per request.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>search</code></td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>A search keyword to filter conversions. If empty (<code>\"\"</code>), all conversions will be retrieved.</td>\n</tr>\n<tr>\n<td><code>pager</code></td>\n<td>Object</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"ed820520-602a-45e0-b992-b293243f111b","name":"Get Conversions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 20:33:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"558"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"22e-ceLCnWpmNqLCyV1nPNiwSPNuWZg\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"conversions\": [\n            {\n                \"conversion_id\": \"cac4556c-a0e3-4608-8d55-22fb074060f8\",\n                \"conversion_quote_id\": \"e8738244-db53-48af-8dc8-3621430f6f07\",\n                \"reference\": null,\n                \"source_currency_id\": \"USD\",\n                \"source_currency_amount\": 100,\n                \"target_currency_id\": \"BTC\",\n                \"target_currency_amount\": 0.00105464,\n                \"instrument_id\": \"BTCUSD\",\n                \"fee_currency_id\": \"BTC\",\n                \"fee_currency_amount\": 0,\n                \"price\": 94818.8,\n                \"status\": \"completed\",\n                \"message\": null,\n                \"error_message\": null,\n                \"created_at_iso\": \"2025-03-03T20:32:06+00:00\",\n                \"updated_at_iso\": \"2025-03-03T20:32:06+00:00\",\n                \"instrument\": {\n                    \"name\": \"BTCUSD\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"c6b086cc-a652-460e-af54-978c0a19b857"}],"id":"6550bd4e-2bfc-41df-987a-ee1795f1c37f","_postman_id":"6550bd4e-2bfc-41df-987a-ee1795f1c37f","description":""},{"name":"Get Trading Fees","id":"8b262a8d-07c2-47ad-8a60-136265f87cf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query trading_fees ($instrument_id: String, $fee_group_id: String, $pager: PagerInput, $sort: SortInput) {\n    trading_fees (instrument_id: $instrument_id, fee_group_id: $fee_group_id, pager: $pager, sort: $sort) {\n        instrument_id\n        fee_group_id\n        maker_progressive\n        taker_progressive\n        maker_flat\n        taker_flat\n    }\n}","variables":"{\n  \"pager\": {\n    \"limit\": 0,\n    \"offset\": 0\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fee_group_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Fee Group</td>\n</tr>\n<tr>\n<td>instrument_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Instrument</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"1fb80a46-0045-4165-8fc7-af50884ab0ee","name":"Get Trading Fees","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 20:31:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"10d6-LQcZDqdBxcIeZdNI2BJzVJapiL8\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"trading_fees\": [\n            {\n                \"instrument_id\": \"BTCUSDT\",\n                \"fee_group_id\": \"06a573a9-****-*****-****-**********\",\n                \"maker_progressive\": 0.1,\n                \"taker_progressive\": 0.1,\n                \"maker_flat\": 1,\n                \"taker_flat\": 1\n            }\n        ]\n    }\n}"}],"_postman_id":"8b262a8d-07c2-47ad-8a60-136265f87cf1"},{"name":"Get Trading Limits","id":"d616a28c-6241-4da3-97d2-cecbe4b4c793","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query trading_limits ($limit_group_id: String, $instrument_id: String, $pager: PagerInput, $sort: SortInput) {\n    trading_limits (limit_group_id: $limit_group_id, instrument_id: $instrument_id, pager: $pager, sort: $sort) {\n        limit_group_id\n        instrument_id\n        daily_limit\n        weekly_limit\n        monthly_limit\n        notion_currency\n    }\n}","variables":"{\n  \"pager\": {\n    \"limit\": 0,\n    \"offset\": 0\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th>Required</th>\n<th><strong>Default Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit_group_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all limits associated with a specific Limit Group</td>\n</tr>\n<tr>\n<td>instrument_id</td>\n<td>String</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Filter to retrieve all transactions associated with a specific Instrument</td>\n</tr>\n<tr>\n<td>pager</td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>SortInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to SortInput for possible values</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"0fe1042b-0155-4a4b-8e55-7096248542b6","name":"Get Trading Limits","originalRequest":{"method":"POST","header":[{"key":"authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 12 Dec 2024 20:38:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"499"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Security-Policy","value":"default-src 'self';connect-src 'self' https://live-api.ouinex.com wss://live-api.ouinex.com;base-uri 'self';font-src 'self' https: data:;form-action 'self' https://live-api.ouinex.com;img-src * data:;object-src *;script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"1f3-Zif/A01/QOKLKnOfOPl8y1JJlUw\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"trading_limits\": [\n            {\n                \"limit_group_id\": \"default\",\n                \"instrument_id\": \"BTCUSDT\",\n                \"daily_limit\": 0,\n                \"weekly_limit\": 0,\n                \"monthly_limit\": 0,\n                \"notion_currency\": \"USDT\"\n            }\n        ]\n    }\n}"}],"_postman_id":"d616a28c-6241-4da3-97d2-cecbe4b4c793"},{"name":"Subscribe to Chart Price Bars","id":"13d9b7b2-b8d4-4d9f-83fe-2dba71b695be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"195d63a0-5dd7-4e64-8714-30b884cd01de\",\n    \"type\": \"subscribe\",\n    \"payload\": {\n        \"query\": \"subscription ($instrument_id: String!, $periodicity: InstrumentHistoryPeriodicity!) {instrument_price_bar (instrument_id: $instrument_id, periodicity: $periodicity) {instrument_id, high, low, ts, close, open  }}\",\n        \"variables\": {\n            \"instrument_id\": \"BTCUSD\",\n            \"periodicity\": \"minute15\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"17b43c5d-6a64-475a-a31d-ecd920081099","name":"Subscribe to Chart Price Bars","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"bdd411c4-5a3b-4bea-93b5-6472d1e219b8\",\n    \"type\": \"next\",\n    \"payload\": {\n        \"data\": {\n            \"instrument_price_bar\": {\n                \"instrument_id\": \"BTCUSD\",\n                \"high\": 29342.49,\n                \"low\": 29333.4,\n                \"ts\": \"2023-04-28 20:49:00\",\n                \"close\": 29337.46,\n                \"open\": 29340.14\n            }\n        }\n    }\n}"}],"_postman_id":"13d9b7b2-b8d4-4d9f-83fe-2dba71b695be"},{"name":"Subscribe to Order Book","id":"4955442c-44bb-4c04-9060-ab2d81f75f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"b32c14d7-0aab-429b-a99b-9bb626f36db0\",\n    \"type\": \"subscribe\",\n    \"payload\": {\n        \"query\": \"subscription ($instrument_id: String!) { orderbook (instrument_id: $instrument_id) {instrument_id, buy { quantity, price }, sell { quantity, price }}}\",\n        \"variables\": {\n            \"instrument_id\": \"BTCUSD\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"33db092d-1c08-49ee-b3aa-286fae4174b8","name":"Subscribe to Order Book","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b32c14d7-0aab-429b-a99b-9bb626f36db0\",\n    \"type\": \"next\",\n    \"payload\": {\n        \"data\": {\n            \"orderbook\": {\n                \"instrument_id\": \"BTCUSD\",\n                \"buy\": [\n                    {\n                        \"quantity\": 0.0068025,\n                        \"price\": 29341.83\n                    },\n                    {\n                        \"quantity\": 0.01266,\n                        \"price\": 29338.88\n                    },\n                    {\n                        \"quantity\": 0.01401,\n                        \"price\": 29338.85\n                    },\n                    {\n                        \"quantity\": 0.012855,\n                        \"price\": 29334.44\n                    },\n                    {\n                        \"quantity\": 0.0014775,\n                        \"price\": 29330.02\n                    },\n                    {\n                        \"quantity\": 0.0025275,\n                        \"price\": 29330\n                    },\n                    {\n                        \"quantity\": 0.00207,\n                        \"price\": 29327.05\n                    },\n                    {\n                        \"quantity\": 0.00627,\n                        \"price\": 29321.16\n                    },\n                    {\n                        \"quantity\": 0.009075,\n                        \"price\": 29321.14\n                    },\n                    {\n                        \"quantity\": 0.004635,\n                        \"price\": 29318.18\n                    },\n                    {\n                        \"quantity\": 0.0001,\n                        \"price\": 24\n                    },\n                    {\n                        \"quantity\": 0.4,\n                        \"price\": 1.1\n                    }\n                ],\n                \"sell\": [\n                    {\n                        \"quantity\": 0.00495,\n                        \"price\": 29344.21\n                    },\n                    {\n                        \"quantity\": 0.0203775,\n                        \"price\": 29346.81\n                    },\n                    {\n                        \"quantity\": 0.0217725,\n                        \"price\": 29346.83\n                    },\n                    {\n                        \"quantity\": 0.075,\n                        \"price\": 29351.57\n                    },\n                    {\n                        \"quantity\": 0.09354,\n                        \"price\": 29356.26\n                    },\n                    {\n                        \"quantity\": 0.04677,\n                        \"price\": 29359.2\n                    },\n                    {\n                        \"quantity\": 0.0383325,\n                        \"price\": 29365.08\n                    },\n                    {\n                        \"quantity\": 0.001275,\n                        \"price\": 29365.53\n                    },\n                    {\n                        \"quantity\": 0.001275,\n                        \"price\": 29368.46\n                    },\n                    {\n                        \"quantity\": 0.0181575,\n                        \"price\": 29368.65\n                    }\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"4955442c-44bb-4c04-9060-ab2d81f75f1a"}],"id":"e2fd48cc-d557-417d-a7f5-92b38da321bd","_postman_id":"e2fd48cc-d557-417d-a7f5-92b38da321bd","description":""},{"name":"Webhooks","item":[{"name":"Create Webhook","id":"fca0ac16-7f9e-40ad-bd0e-747fb852d4d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $name: String!\n  $is_active: ToggleSwitch!\n  $url: String!\n  $triggers: [NotificationTrigger!]!\n) {\n  create_webhook(\n    name: $name\n    is_active: $is_active\n    url: $url\n    triggers: $triggers\n  ) {\n    is_active\n    webhook_id\n    created_at\n    updated_at\n    name\n    url\n    triggers\n  }\n}","variables":"{\n  \"name\": \"Demo Webhook 1\",\n  \"is_active\": \"on\",\n  \"url\": \"https://webhook.site/7c4c9bb5-3f00-46aa-b03f-190f391904c7\",\n  \"triggers\": [\n    \"crypto_address_created\",\n    \"payment_new\",\n    \"payment_rejected\",\n    \"payment_completed\",\n    \"payment_unconfirmed\",\n    \"trade_completed\",\n    \"order_completed\",\n    \"order_rejected\",\n    \"order_cancelled\",\n    \"conversion_new\",\n    \"conversion_rejected\",\n    \"conversion_completed\",\n    \"order_new\",\n    \"manual_balance_update\",\n    \"crypto_address_added\",\n    \"mfa_enabled\",\n    \"kyc_approved\",\n    \"kyc_rejected\",\n    \"kyc_incomplete\"\n  ]\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>When creating a webhook, be sure to note the <code>webhook_id</code> in the response and treat this as a secure secret. This important value can be used to validate the signature of the messages that the exchange sends to the url you provide when creating the webhook.</p>\n<p>Each webhook message will include an <code>x-webhook-signature</code> header that is the result of running the following encryption function on the combination of the <code>webhood_id</code> and JSON stringified body of the webhook message. You can validate the signature by running the same function at your receiving service and comparing the signature outputs to ensure they match. This is a very important security process to implement as otherwise a malicious attacker may attempt to spoof webhooks to your receiving service.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-typescript\">/**\n   * https://www.sohamkamani.com/nodejs/rsa-encryption/\n   * @param payload\n   * @returns\n   */\n  private createSignature(webhookId: string, payload: any) {\n    return crypto\n      .createHash('sha256')\n      .update(webhookId + JSON.stringify(payload))\n      .digest('hex');\n  }\n\n<p></p></code></pre><p></p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"9f27975d-e43d-4de4-b7db-eec2a43b0f53","name":"Create Webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Dec 2023 04:09:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"625"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"271-v6w0dwXpcVXpojuJk7AuS8bUm0M\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_webhook\": {\n            \"is_active\": \"on\",\n            \"webhook_id\": \"588abb48-2b8b-46a4-857e-1d967529758f\",\n            \"created_at\": \"2023-12-12 04:09:02\",\n            \"updated_at\": \"2023-12-12 04:09:02\",\n            \"name\": \"Demo Webhook 1\",\n            \"url\": \"https://webhook.site/7c4c9bb5-3f00-46aa-b03f-190f391904c7\",\n            \"triggers\": [\n                \"crypto_address_created\",\n                \"payment_new\",\n                \"payment_rejected\",\n                \"payment_completed\",\n                \"payment_unconfirmed\",\n                \"trade_completed\",\n                \"order_completed\",\n                \"order_rejected\",\n                \"order_cancelled\",\n                \"conversion_new\",\n                \"conversion_rejected\",\n                \"conversion_completed\",\n                \"order_new\",\n                \"manual_balance_update\",\n                \"crypto_address_added\",\n                \"mfa_enabled\",\n                \"kyc_approved\",\n                \"kyc_rejected\",\n                \"kyc_incomplete\"\n            ]\n        }\n    }\n}"}],"_postman_id":"fca0ac16-7f9e-40ad-bd0e-747fb852d4d4"},{"name":"Delete Webhook","id":"552cbe98-fd47-4868-adf5-fcd1cf3f6af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($webhook_id: String!) {\n  delete_webhook(webhook_id: $webhook_id)\n}","variables":"{\n  \"webhook_id\": \"588abb48-2b8b-46a4-857e-1d967529758f\"\n}"}},"url":"https://live-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"530f0c6c-8502-43e3-a855-585c86781b84","name":"Delete Webhook","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Dec 2023 04:13:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"33"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"21-LaWiVE2kxFuNc/nxXNB6oI5RYIs\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"delete_webhook\": true\n    }\n}"}],"_postman_id":"552cbe98-fd47-4868-adf5-fcd1cf3f6af9"}],"id":"4fd747ca-4551-470c-ac71-883bf4ab27f6","description":"<p>Webhooks are automated messages sent from the exchange when something happens. They have a payload and are sent to a unique URL that you provide when creating your webhook. Webhooks are almost always faster than polling, and require less work on your end.</p>\n<img src=\"https://content.pstmn.io/21bdc1f8-e205-4fd6-a779-c82811c1998e/U2NyZWVuIFNob3QgMjAyMy0xMi0xMSBhdCAxMS41NS41MyBQTS5wbmc=\" alt />","_postman_id":"4fd747ca-4551-470c-ac71-883bf4ab27f6"},{"name":"Derivatives","item":[{"name":"Get Open Positions","id":"0a498aee-6b45-421f-8be8-2b7a85b98847","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($pager: PagerInput) {\n  open_margin_positions(pager: $pager) {\n    margin_position_id\n    instrument_id\n    user_id\n    side\n    leverage\n    amount\n    position_fee_amount\n    funding_fee_amount\n    entry_price\n    limit_price\n    active\n    start_ts\n    end_ts\n    start_price_ts\n    end_price_ts\n    start_ask_price\n    end_ask_price\n    pnl\n    max_profit\n    max_loss\n    stop_loss\n    take_profit\n    start_ts_timestamp\n    on_limit\n    close_reason\n    updated_at\n    start_bid_price\n    end_bid_price\n    margin_instrument {\n      base_currency_id\n      quote_currency_id\n      name\n      price_decimals\n      quantity_decimals\n      min_leverage\n      max_leverage\n      quote_currency {\n        precision\n      }\n      price {\n        ask\n        bid\n      }\n    }\n  }\n}","variables":"{\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 101\n  }\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"9073e019-2603-4625-a2cf-674aa8347301","name":"Get Open Positions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:28:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"945"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"3b1-MfFzWZJqk//ShVt3bmCnDNBqtYM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"open_margin_positions\": [\n            {\n                \"margin_position_id\": \"94ccc787-7bbd-43aa-91f7-2d9aa2e5831f\",\n                \"instrument_id\": \"BTCUSD\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"side\": \"buy\",\n                \"leverage\": 1,\n                \"amount\": 0.02,\n                \"position_fee_amount\": 3.12,\n                \"funding_fee_amount\": 0,\n                \"entry_price\": 60773.6,\n                \"limit_price\": null,\n                \"active\": \"on\",\n                \"start_ts\": \"2024-08-09 20:24:18\",\n                \"end_ts\": null,\n                \"start_price_ts\": \"2024-08-09 20:24:18\",\n                \"end_price_ts\": null,\n                \"start_ask_price\": 60773.6,\n                \"end_ask_price\": null,\n                \"pnl\": -1.4,\n                \"max_profit\": 0,\n                \"max_loss\": -2.21,\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"start_ts_timestamp\": \"1723235058000\",\n                \"on_limit\": \"close\",\n                \"close_reason\": null,\n                \"updated_at\": \"2024-08-09 20:28:49\",\n                \"start_bid_price\": 60614.7,\n                \"end_bid_price\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60837.7,\n                        \"bid\": 60703.5\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"0a498aee-6b45-421f-8be8-2b7a85b98847"},{"name":"Get Closed Positions","id":"9410645f-8fe4-49cd-8d73-dafeb4db7a9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($pager: PagerInput) {\n  closed_margin_positions(pager: $pager) {\n    margin_position_id\n    instrument_id\n    user_id\n    side\n    leverage\n    amount\n    position_fee_amount\n    funding_fee_amount\n    entry_price\n    limit_price\n    active\n    start_ts\n    end_ts\n    start_price_ts\n    end_price_ts\n    start_ask_price\n    end_ask_price\n    pnl\n    max_profit\n    max_loss\n    stop_loss\n    take_profit\n    start_ts_timestamp\n    on_limit\n    close_reason\n    updated_at\n    start_bid_price\n    end_bid_price\n    exit_price\n    margin_instrument {\n      base_currency_id\n      quote_currency_id\n      name\n      price_decimals\n      quantity_decimals\n      min_leverage\n      max_leverage\n      quote_currency {\n        precision\n      }\n      price {\n        ask\n        bid\n      }\n    }\n  }\n}","variables":"{\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 101\n  }\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"da9156b9-ca60-4830-96f0-9be728243059","name":"Get Closed Positions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 20 Aug 2024 19:25:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1040"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"410-InI7tia8SaoM3O9o9DTFm6FEP9I\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"closed_margin_positions\": [\n            {\n                \"margin_position_id\": \"cdae8c3b-bc4e-4163-9cba-252f40cc7363\",\n                \"instrument_id\": \"BTCUSD\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"side\": \"buy\",\n                \"leverage\": 10,\n                \"amount\": 1,\n                \"position_fee_amount\": 16.2,\n                \"funding_fee_amount\": 1809.75,\n                \"entry_price\": 63521.4,\n                \"limit_price\": null,\n                \"active\": \"on\",\n                \"start_ts\": \"2024-07-15 16:59:57\",\n                \"end_ts\": \"2024-07-27 13:10:15\",\n                \"start_price_ts\": \"2024-07-15 16:59:57\",\n                \"end_price_ts\": \"2024-07-27 13:10:15\",\n                \"start_ask_price\": 63521.4,\n                \"end_ask_price\": 68711.98,\n                \"pnl\": 5019.02,\n                \"max_profit\": 5020.7,\n                \"max_loss\": -1176.8,\n                \"stop_loss\": 60027.7,\n                \"take_profit\": 68539.5,\n                \"start_ts_timestamp\": \"1721062797000\",\n                \"on_limit\": \"close\",\n                \"close_reason\": \"Take Profit\",\n                \"updated_at\": \"2024-07-27 13:10:15\",\n                \"start_bid_price\": 63380.1,\n                \"end_bid_price\": 68540.42,\n                \"exit_price\": 68540.42,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 59427.1,\n                        \"bid\": 59293.3\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"9410645f-8fe4-49cd-8d73-dafeb4db7a9b"},{"name":"Get Open Orders","id":"f35a82d1-6d2f-4a75-b769-168871a3a7e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($pager: PagerInput) {\n  open_margin_orders(pager: $pager) {\n    margin_order_id\n    margin_position_id\n    user_id\n    instrument_id\n    side\n    type\n    status\n    leverage\n    quantity\n    price\n    message\n    created_at\n    updated_at\n    created_at_timestamp\n    stop_loss\n    take_profit\n    margin_instrument {\n      base_currency_id\n      quote_currency_id\n      name\n      price_decimals\n      quantity_decimals\n      min_leverage\n      max_leverage\n      quote_currency {\n        precision\n      }\n      price {\n        ask\n        bid\n      }\n    }\n  }\n}","variables":"{\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 101\n  }\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"d33085f1-2302-4dad-9631-d2866042e3df","name":"Get Open Orders","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:31:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1314"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"522-LQI4i23E53GQT0XvNkuX9OVkCYQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"open_margin_orders\": [\n            {\n                \"margin_order_id\": \"5ccbb1c0-1d32-4cf1-a179-b2d5db9e1c85\",\n                \"margin_position_id\": \"\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"buy\",\n                \"type\": \"limit\",\n                \"status\": \"open\",\n                \"leverage\": 1,\n                \"quantity\": 0.01,\n                \"price\": null,\n                \"message\": null,\n                \"created_at\": \"2024-08-09 20:31:19\",\n                \"updated_at\": \"2024-08-09 20:31:19\",\n                \"created_at_timestamp\": \"1723235479000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60894.9,\n                        \"bid\": 60760.6\n                    }\n                }\n            },\n            {\n                \"margin_order_id\": \"b5bd08da-1c76-40ba-b706-978976b3f32c\",\n                \"margin_position_id\": \"\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"buy\",\n                \"type\": \"limit\",\n                \"status\": \"open\",\n                \"leverage\": 1,\n                \"quantity\": 0.01,\n                \"price\": null,\n                \"message\": null,\n                \"created_at\": \"2024-08-09 20:29:57\",\n                \"updated_at\": \"2024-08-09 20:29:57\",\n                \"created_at_timestamp\": \"1723235397000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60894.9,\n                        \"bid\": 60760.6\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"f35a82d1-6d2f-4a75-b769-168871a3a7e4"},{"name":"Get Closed Orders","id":"38f35c40-a876-4740-8cfc-5cf8132529de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query ($pager: PagerInput) {\n  open_margin_orders(pager: $pager) {\n    margin_order_id\n    margin_position_id\n    user_id\n    instrument_id\n    side\n    type\n    status\n    leverage\n    quantity\n    price\n    message\n    created_at\n    updated_at\n    created_at_timestamp\n    stop_loss\n    take_profit\n    margin_instrument {\n      base_currency_id\n      quote_currency_id\n      name\n      price_decimals\n      quantity_decimals\n      min_leverage\n      max_leverage\n      quote_currency {\n        precision\n      }\n      price {\n        ask\n        bid\n      }\n    }\n  }\n}","variables":"{\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 101\n  }\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"84bdaedf-25eb-4b24-8087-d62b4cd64822","name":"Get Closed Orders","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:28:26 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2774"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"ad6-+mhPRSsE90JxLTp4+4Mu9iSJ9Ck\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"closed_margin_orders\": [\n            {\n                \"margin_order_id\": \"f3286ffb-e36d-47fe-a335-77af7eb22f7f\",\n                \"margin_position_id\": \"94ccc787-7bbd-43aa-91f7-2d9aa2e5831f\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"buy\",\n                \"type\": \"market\",\n                \"status\": \"completed\",\n                \"leverage\": 1,\n                \"quantity\": 0.01,\n                \"price\": 60798.9,\n                \"message\": null,\n                \"created_at\": \"2024-08-09 20:26:33\",\n                \"updated_at\": \"2024-08-09 20:26:33\",\n                \"created_at_timestamp\": \"1723235193000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60838.1,\n                        \"bid\": 60704.2\n                    }\n                }\n            },\n            {\n                \"margin_order_id\": \"b418ff87-b984-40b7-bb3d-ffe0e567521b\",\n                \"margin_position_id\": \"94ccc787-7bbd-43aa-91f7-2d9aa2e5831f\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"buy\",\n                \"type\": \"market\",\n                \"status\": \"completed\",\n                \"leverage\": 1,\n                \"quantity\": 0.01,\n                \"price\": 60748.4,\n                \"message\": null,\n                \"created_at\": \"2024-08-09 20:24:18\",\n                \"updated_at\": \"2024-08-09 20:24:18\",\n                \"created_at_timestamp\": \"1723235058000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60838.1,\n                        \"bid\": 60704.2\n                    }\n                }\n            },\n            {\n                \"margin_order_id\": \"f6de3a56-38d3-488e-abd0-26d957e68d08\",\n                \"margin_position_id\": \"cdae8c3b-bc4e-4163-9cba-252f40cc7363\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"sell\",\n                \"type\": \"market\",\n                \"status\": \"completed\",\n                \"leverage\": 10,\n                \"quantity\": 1,\n                \"price\": 68540.42,\n                \"message\": null,\n                \"created_at\": \"2024-07-27 13:10:15\",\n                \"updated_at\": \"2024-07-27 13:10:15\",\n                \"created_at_timestamp\": \"1722085815000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60838.1,\n                        \"bid\": 60704.2\n                    }\n                }\n            },\n            {\n                \"margin_order_id\": \"ae84db99-3c36-45e2-80aa-7bffa973f1a1\",\n                \"margin_position_id\": \"cdae8c3b-bc4e-4163-9cba-252f40cc7363\",\n                \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n                \"instrument_id\": \"BTCUSD\",\n                \"side\": \"buy\",\n                \"type\": \"market\",\n                \"status\": \"completed\",\n                \"leverage\": 10,\n                \"quantity\": 1,\n                \"price\": 63521.4,\n                \"message\": null,\n                \"created_at\": \"2024-07-15 16:59:57\",\n                \"updated_at\": \"2024-07-15 16:59:57\",\n                \"created_at_timestamp\": \"1721062797000\",\n                \"stop_loss\": null,\n                \"take_profit\": null,\n                \"margin_instrument\": {\n                    \"base_currency_id\": \"BTC\",\n                    \"quote_currency_id\": \"USD\",\n                    \"name\": \"BTC/USD\",\n                    \"price_decimals\": 1,\n                    \"quantity_decimals\": 4,\n                    \"min_leverage\": 1,\n                    \"max_leverage\": 10,\n                    \"quote_currency\": {\n                        \"precision\": 2\n                    },\n                    \"price\": {\n                        \"ask\": 60838.1,\n                        \"bid\": 60704.2\n                    }\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"38f35c40-a876-4740-8cfc-5cf8132529de"},{"name":"Get Derivatives Instruments","id":"d1910a56-43b9-4be2-9fa7-365eb6e785c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  margin_instruments {\n    margin_instrument_id\n    type\n    name\n    base_currency_id\n    quote_currency_id\n    min_leverage\n    max_leverage\n    min_quantity\n    max_quantity\n    long_funding_rate\n    short_funding_rate\n    price_24h_change\n    price_decimals\n    quantity_decimals\n    price_24h_low\n    price_24h_high\n    is_trading_on\n    base_currency {\n      currency_id\n      precision\n      is_active\n    }\n    quote_currency {\n      currency_id\n      precision\n      is_active\n    }\n    price {\n      margin_instrument_id\n      ask\n      bid\n      updated_at\n    }\n  }\n}","variables":"{\n  \n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"d3da4ff9-3685-46de-bc7c-a0c6fce3db34","name":"Get Derivatives Instruments","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:14:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3788"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"ecc-5Rk9A1msouhZ2hd3jE0HbCpW2r4\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"margin_instruments\": [\n            {\n                \"margin_instrument_id\": \"AVAXUSD\",\n                \"type\": \"quote\",\n                \"name\": \"AVAX/USD\",\n                \"base_currency_id\": \"AVAX\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 5,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0,\n                \"short_funding_rate\": 0,\n                \"price_24h_change\": -0.97,\n                \"price_decimals\": 3,\n                \"quantity_decimals\": 1,\n                \"price_24h_low\": 21.289,\n                \"price_24h_high\": 22.808,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"AVAX\",\n                    \"precision\": 3,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"AVAXUSD\",\n                    \"ask\": 21.566,\n                    \"bid\": 21.541,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            },\n            {\n                \"margin_instrument_id\": \"BTCUSD\",\n                \"type\": \"quote\",\n                \"name\": \"BTC/USD\",\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 10,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0.0001,\n                \"short_funding_rate\": -0.0001,\n                \"price_24h_change\": 2.32,\n                \"price_decimals\": 1,\n                \"quantity_decimals\": 4,\n                \"price_24h_low\": 59437,\n                \"price_24h_high\": 62768.4,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"BTC\",\n                    \"precision\": 8,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"BTCUSD\",\n                    \"ask\": 60907.9,\n                    \"bid\": 60771.3,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            },\n            {\n                \"margin_instrument_id\": \"DOTUSD\",\n                \"type\": \"quote\",\n                \"name\": \"DOT/USD\",\n                \"base_currency_id\": \"DOT\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 10,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0,\n                \"short_funding_rate\": 0,\n                \"price_24h_change\": 1.03,\n                \"price_decimals\": 4,\n                \"quantity_decimals\": 1,\n                \"price_24h_low\": 4.7288,\n                \"price_24h_high\": 4.9267,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"DOT\",\n                    \"precision\": 3,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"DOTUSD\",\n                    \"ask\": 4.8083,\n                    \"bid\": 4.7979,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            },\n            {\n                \"margin_instrument_id\": \"ETHUSD\",\n                \"type\": \"quote\",\n                \"name\": \"ETH/USD\",\n                \"base_currency_id\": \"ETH\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 10,\n                \"min_quantity\": 0.0001,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0.0001,\n                \"short_funding_rate\": -0.0001,\n                \"price_24h_change\": 0.93,\n                \"price_decimals\": 2,\n                \"quantity_decimals\": 4,\n                \"price_24h_low\": 2553.18,\n                \"price_24h_high\": 2725.15,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"ETH\",\n                    \"precision\": 8,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"ETHUSD\",\n                    \"ask\": 2596.57,\n                    \"bid\": 2595.52,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            },\n            {\n                \"margin_instrument_id\": \"EURUSD\",\n                \"type\": \"quote\",\n                \"name\": \"EUR/USD\",\n                \"base_currency_id\": \"EUR\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 20,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0.0001,\n                \"short_funding_rate\": -0.0001,\n                \"price_24h_change\": 0.07,\n                \"price_decimals\": 5,\n                \"quantity_decimals\": 1,\n                \"price_24h_low\": 1.08813,\n                \"price_24h_high\": 1.09227,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"EUR\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"EURUSD\",\n                    \"ask\": 1.0904,\n                    \"bid\": 1.0896,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            },\n            {\n                \"margin_instrument_id\": \"INJUSD\",\n                \"type\": \"quote\",\n                \"name\": \"INJ/USD\",\n                \"base_currency_id\": \"INJ\",\n                \"quote_currency_id\": \"USD\",\n                \"min_leverage\": 1,\n                \"max_leverage\": 5,\n                \"min_quantity\": 0.1,\n                \"max_quantity\": 1000000000,\n                \"long_funding_rate\": 0,\n                \"short_funding_rate\": 0,\n                \"price_24h_change\": 10.43,\n                \"price_decimals\": 3,\n                \"quantity_decimals\": 1,\n                \"price_24h_low\": 15.996,\n                \"price_24h_high\": 18.457,\n                \"is_trading_on\": true,\n                \"base_currency\": {\n                    \"currency_id\": \"INJ\",\n                    \"precision\": 3,\n                    \"is_active\": \"on\"\n                },\n                \"quote_currency\": {\n                    \"currency_id\": \"USD\",\n                    \"precision\": 2,\n                    \"is_active\": \"on\"\n                },\n                \"price\": {\n                    \"margin_instrument_id\": \"INJUSD\",\n                    \"ask\": 17.688,\n                    \"bid\": 17.641,\n                    \"updated_at\": \"2024-08-09 20:14:14\"\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"d1910a56-43b9-4be2-9fa7-365eb6e785c8"},{"name":"Estimate Margin Usage","id":"923dbe09-2cd5-4355-9db7-648e9e450922","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query (\n  $instrument_id: String!\n  $quantity: Float!\n  $leverage: Int!\n  $side: MarginPositionSide!\n) {\n  estimate_margin_user_position(\n    instrument_id: $instrument_id\n    quantity: $quantity\n    leverage: $leverage\n    side: $side\n  ) {\n    max_position_size\n    order_required_margin\n  }\n}\n","variables":"{\n  \"instrument_id\": \"BTCUSD\",\n  \"quantity\": 0.01,\n  \"leverage\": 1,\n  \"side\": \"buy\"\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"ca1086a1-feed-493b-90a2-427780a665c4","name":"Estimate Margin Usage","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:20:38 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"69-JcDm9paw7k3fV+lov2f3MB3z3Sw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"estimate_margin_user_position\": {\n            \"max_position_size\": 25270.78,\n            \"order_required_margin\": 608.69\n        }\n    }\n}"}],"_postman_id":"923dbe09-2cd5-4355-9db7-648e9e450922"},{"name":"Place Market Order","id":"5d01e1d8-ef4c-4ad2-850a-7c73fd6750d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $quantity: Float!\n  $instrument_id: String!\n  $leverage: Int!\n  $side: MarginPositionSide!\n  $type: MarginOrderType!\n  $price: Float\n  $stop_loss: Float\n  $take_profit: Float\n) {\n  create_margin_order(\n    quantity: $quantity\n    instrument_id: $instrument_id\n    leverage: $leverage\n    side: $side\n    type: $type\n    price: $price\n    stop_loss: $stop_loss\n    take_profit: $take_profit\n  ) {\n    margin_order_id\n  }\n}","variables":"{\"quantity\":0.01,\"instrument_id\":\"BTCUSD\",\"leverage\":1,\"side\":\"buy\",\"type\":\"market\"}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"c77a9608-781d-4ee9-a666-3a34fefae81d","name":"Place Market Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:26:33 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"5c-URozMI8mMPe9ac6PkIkN6eg1/Es\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_margin_order\": {\n            \"margin_order_id\": \"f3286ffb-e36d-47fe-a335-77af7eb22f7f\"\n        }\n    }\n}"}],"_postman_id":"5d01e1d8-ef4c-4ad2-850a-7c73fd6750d6"},{"name":"Place Limit Order","id":"31a2e85b-962b-4ba9-8afb-792691582a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $quantity: Float!\n  $instrument_id: String!\n  $leverage: Int!\n  $side: MarginPositionSide!\n  $type: MarginOrderType!\n  $price: Float\n  $stop_loss: Float\n  $take_profit: Float\n) {\n  create_margin_order(\n    quantity: $quantity\n    instrument_id: $instrument_id\n    leverage: $leverage\n    side: $side\n    type: $type\n    price: $price\n    stop_loss: $stop_loss\n    take_profit: $take_profit\n  ) {\n    margin_order_id\n  }\n}","variables":"{\"quantity\":0.01,\"instrument_id\":\"BTCUSD\",\"leverage\":1,\"side\":\"buy\",\"type\":\"market\"}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"de0fe330-7b97-4598-98a5-a231e83eb07e","name":"Place Limit Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 09 Aug 2024 20:31:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"5c-fmQ6emKaMSIsxCt6VIlHpMmTrfM\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_margin_order\": {\n            \"margin_order_id\": \"5ccbb1c0-1d32-4cf1-a179-b2d5db9e1c85\"\n        }\n    }\n}"}],"_postman_id":"31a2e85b-962b-4ba9-8afb-792691582a1c"},{"name":"Cancel Open Order","id":"fde79300-ba31-4837-95c5-793b0354a51f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($margin_order_id: String!) {\n  cancel_margin_order(margin_order_id: $margin_order_id)\n}","variables":"{\n  \"margin_order_id\": \"\"\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"1a6495e3-9074-4afa-8bf3-fbcd83cac2b2","name":"Cancel Open Order","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 Aug 2024 03:37:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"38"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"26-fchBYveTnxl3qzUdJY2F2lwxCLA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"cancel_margin_order\": true\n    }\n}"}],"_postman_id":"fde79300-ba31-4837-95c5-793b0354a51f"},{"name":"Edit Open Position","id":"34fc14c5-7a18-4cd7-84f6-20db73f4d13d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation (\n  $margin_position_id: String!\n  $leverage: Int!\n  $stop_loss: Float\n  $take_profit: Float\n) {\n  update_open_margin_position(\n    margin_position_id: $margin_position_id\n    leverage: $leverage\n    stop_loss: $stop_loss\n    take_profit: $take_profit\n  ) {\n    margin_position_id\n    instrument_id\n    user_id\n    side\n    leverage\n    amount\n    position_fee_amount\n    funding_fee_amount\n    entry_price\n    limit_price\n    active\n    start_ts\n    end_ts\n    start_price_ts\n    end_price_ts\n    start_ask_price\n    end_ask_price\n    pnl\n    max_profit\n    max_loss\n    stop_loss\n    take_profit\n    start_ts_timestamp\n    on_limit\n    close_reason\n    updated_at\n    start_bid_price\n    end_bid_price\n    margin_instrument {\n      base_currency_id\n      quote_currency_id\n      name\n      price_decimals\n      quantity_decimals\n      min_leverage\n      max_leverage\n      quote_currency {\n        precision\n      }\n      price {\n        ask\n        bid\n      }\n    }\n  }\n}","variables":"{\n  \"margin_position_id\": \"\",\n  \"leverage\": 3,\n  \"stop_loss\": 48619.8,\n  \"take_profit\": 76575.7\n}"}},"url":"https://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"https","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"e123130c-abcd-4613-ab36-f4d14cc65afc","name":"Edit Open Position","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-margin-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 12 Aug 2024 03:46:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"964"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"3c4-MAq7WoA++mxeN79vLVFtcwQZ+VU\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"update_open_margin_position\": {\n            \"margin_position_id\": \"94ccc787-7bbd-43aa-91f7-2d9aa2e5831f\",\n            \"instrument_id\": \"BTCUSD\",\n            \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n            \"side\": \"buy\",\n            \"leverage\": 3,\n            \"amount\": 0.02,\n            \"position_fee_amount\": 3.12,\n            \"funding_fee_amount\": 6.6,\n            \"entry_price\": 60773.6,\n            \"limit_price\": null,\n            \"active\": \"on\",\n            \"start_ts\": \"2024-08-09 20:24:18\",\n            \"end_ts\": null,\n            \"start_price_ts\": \"2024-08-09 20:24:18\",\n            \"end_price_ts\": null,\n            \"start_ask_price\": 60773.6,\n            \"end_ask_price\": null,\n            \"pnl\": -46.14,\n            \"max_profit\": 20.01,\n            \"max_loss\": -54.38,\n            \"stop_loss\": 48619.8,\n            \"take_profit\": 76575.7,\n            \"start_ts_timestamp\": \"1723235058000\",\n            \"on_limit\": \"close\",\n            \"close_reason\": null,\n            \"updated_at\": \"2024-08-12 03:46:00\",\n            \"start_bid_price\": 60614.7,\n            \"end_bid_price\": null,\n            \"margin_instrument\": {\n                \"base_currency_id\": \"BTC\",\n                \"quote_currency_id\": \"USD\",\n                \"name\": \"BTC/USD\",\n                \"price_decimals\": 1,\n                \"quantity_decimals\": 4,\n                \"min_leverage\": 1,\n                \"max_leverage\": 10,\n                \"quote_currency\": {\n                    \"precision\": 2\n                },\n                \"price\": {\n                    \"ask\": 58597.1,\n                    \"bid\": 58466.5\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"34fc14c5-7a18-4cd7-84f6-20db73f4d13d"},{"name":"Initiate Websocket Connection Copy","id":"7a0a36ef-518a-4abc-8aec-e55305626a84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"type\": \"connection_init\",\n    \"payload\": {\n        \"authorization\": \"{{vault:bearer-token}}\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a0a36ef-518a-4abc-8aec-e55305626a84"},{"name":"Subscribe to Chart Price Bars Copy","id":"49faadc1-47f1-4ccf-b6c3-325f736a1b32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"ba78b275-fe70-4493-8c3a-a7d9f5faaa1a\",\n  \"type\": \"subscribe\",\n  \"payload\": {\n    \"query\": \"subscription ($instrument_id: String!, $periodicity: MarginInstrumentHistoryPeriodicity!) { margin_instrument_price_bar (instrument_id: $instrument_id, periodicity: $periodicity) { margin_instrument_id, high, low, updated_at, updated_at_iso, close, open } }\",\n    \"variables\": {\n      \"instrument_id\": \"BTCUSD\",\n      \"periodicity\": \"minute15\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"5ab70f0c-906a-4966-bc91-037627a86c62","name":"Subscribe to Chart Price Bars","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"ba78b275-fe70-4493-8c3a-a7d9f5faaa1a\",\n  \"type\": \"next\",\n  \"payload\": {\n    \"data\": {\n      \"margin_instrument_price_bar\": {\n        \"margin_instrument_id\": \"BTCUSD\",\n        \"high\": 58430.7,\n        \"low\": 58399.6,\n        \"updated_at\": \"2024-08-16 16:42:00\",\n        \"updated_at_iso\": \"2024-08-16T16:42:00.000Z\",\n        \"close\": 58420.9,\n        \"open\": 58414.1\n      }\n    }\n  }\n}"}],"_postman_id":"49faadc1-47f1-4ccf-b6c3-325f736a1b32"},{"name":"Subscribe to Trader Position Updates","id":"2c56692a-cf3d-4093-8428-c4754e2a769e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"1efae039-3ef3-4594-ac7a-e133b9c9ee47\",\n  \"type\": \"subscribe\",\n  \"payload\": {\n    \"query\": \"subscription { user_balance_position  { free_balance, equity, margin_call_left_margin, currently_used_margin, pnl, margin_ratio_percentage, risk_level, liquidation_left_margin } }\",\n    \"variables\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"b4548073-853b-4172-8035-dbdf456f6871","name":"Subscribe to Chart Price Bars","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"1efae039-3ef3-4594-ac7a-e133b9c9ee47\",\n  \"type\": \"next\",\n  \"payload\": {\n    \"data\": {\n      \"user_balance_position\": {\n        \"free_balance\": 27602.27,\n        \"equity\": 28007.43,\n        \"margin_call_left_margin\": 24801.53,\n        \"currently_used_margin\": 405.16,\n        \"pnl\": -48.34,\n        \"margin_ratio_percentage\": 1.52,\n        \"risk_level\": \"Low Risk\",\n        \"liquidation_left_margin\": 26201.9\n      }\n    }\n  }\n}"}],"_postman_id":"2c56692a-cf3d-4093-8428-c4754e2a769e"},{"name":"Subscribe to Open Position Updates","id":"cd9f0bb3-8e9a-4695-9d77-de2182c07407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": \"949e2f78-df80-4f30-a3d8-40a4e8428d38\",\n    \"type\": \"subscribe\",\n    \"payload\": {\n        \"query\": \"subscription  { open_margin_position_update  { margin_position_id, instrument_id, user_id, side, leverage, amount, position_fee_amount, funding_fee_amount, entry_price, limit_price, active, start_ts, end_ts, start_price_ts, end_price_ts, start_ask_price, end_ask_price, pnl, max_profit, max_loss, stop_loss, take_profit, start_ts_timestamp, on_limit, close_reason, updated_at, start_bid_price, end_bid_price, margin_instrument { base_currency_id, quote_currency_id, name, price_decimals, quantity_decimals, min_leverage, max_leverage, quote_currency { precision }, price { ask, bid } } } }\",\n        \"variables\": {}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"530e215c-1d60-4d3a-92a5-e6ad8f079f6d","name":"Subscribe to Open Position Updates","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"949e2f78-df80-4f30-a3d8-40a4e8428d38\",\n  \"type\": \"next\",\n  \"payload\": {\n    \"data\": {\n      \"open_margin_position_update\": {\n        \"margin_position_id\": \"94ccc787-7bbd-43aa-91f7-2d9aa2e5831f\",\n        \"instrument_id\": \"BTCUSD\",\n        \"user_id\": \"1c8893eb-07a8-4444-b967-44e38ef880e6\",\n        \"side\": \"buy\",\n        \"leverage\": 3,\n        \"amount\": 0.02,\n        \"position_fee_amount\": 3.12,\n        \"funding_fee_amount\": 19.68,\n        \"entry_price\": 60773.6,\n        \"limit_price\": null,\n        \"active\": \"on\",\n        \"start_ts\": \"2024-08-09 20:24:18\",\n        \"end_ts\": null,\n        \"start_price_ts\": \"2024-08-09 20:24:18\",\n        \"end_price_ts\": null,\n        \"start_ask_price\": 60773.6,\n        \"end_ask_price\": null,\n        \"pnl\": -48.34,\n        \"max_profit\": 20.01,\n        \"max_loss\": -94.25,\n        \"stop_loss\": 48619.8,\n        \"take_profit\": 76575.7,\n        \"start_ts_timestamp\": \"1723235058000\",\n        \"on_limit\": \"close\",\n        \"close_reason\": null,\n        \"updated_at\": \"2024-08-16 16:42:33\",\n        \"start_bid_price\": 60614.7,\n        \"end_bid_price\": null,\n        \"margin_instrument\": {\n          \"base_currency_id\": \"BTC\",\n          \"quote_currency_id\": \"USD\",\n          \"name\": \"BTC/USD\",\n          \"price_decimals\": 1,\n          \"quantity_decimals\": 4,\n          \"min_leverage\": 1,\n          \"max_leverage\": 10,\n          \"quote_currency\": {\n            \"precision\": 2\n          },\n          \"price\": {\n            \"ask\": 58485.1,\n            \"bid\": 58356.6\n          }\n        }\n      }\n    }\n  }\n}"}],"_postman_id":"cd9f0bb3-8e9a-4695-9d77-de2182c07407"},{"name":"Subscribe to Order Book","id":"42f7eedc-8554-4417-83fd-b32ebdff69a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"9e38cd1d-8baa-46c9-be57-df8f402a40a4\",\n  \"type\": \"subscribe\",\n  \"payload\": {\n    \"query\": \"subscription ($instrument_id: String!) { margin_orderbook (instrument_id: $instrument_id) { instrument_id, buy { quantity, price }, sell { quantity, price } } }\",\n    \"variables\": {\n      \"instrument_id\": \"BTCUSD\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql","urlObject":{"protocol":"Websocket Only - wss","path":["graphql"],"host":["live-margin-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"f3e375c0-3c84-4d4d-85bc-3507093876f1","name":"Subscribe to Order Book","originalRequest":{"method":"GET","header":[],"url":"Websocket Only - wss://live-margin-api.ouinex.com/graphql"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"9e38cd1d-8baa-46c9-be57-df8f402a40a4\",\n  \"type\": \"next\",\n  \"payload\": {\n    \"data\": {\n      \"margin_orderbook\": {\n        \"instrument_id\": \"BTCUSD\",\n        \"buy\": [\n          {\n            \"quantity\": 0.682,\n            \"price\": 58356.6\n          },\n          {\n            \"quantity\": 0.395,\n            \"price\": 58356.3\n          },\n          {\n            \"quantity\": 0.31,\n            \"price\": 58355.8\n          },\n          {\n            \"quantity\": 0.19,\n            \"price\": 58353.4\n          },\n          {\n            \"quantity\": 0.01,\n            \"price\": 58350.4\n          },\n          {\n            \"quantity\": 0.0026,\n            \"price\": 58348.7\n          },\n          {\n            \"quantity\": 0.1031,\n            \"price\": 58344.4\n          },\n          {\n            \"quantity\": 0.1717,\n            \"price\": 58344.3\n          },\n          {\n            \"quantity\": 0.0513,\n            \"price\": 58344\n          },\n          {\n            \"quantity\": 0.0067,\n            \"price\": 58341.8\n          },\n          {\n            \"quantity\": 0.0042,\n            \"price\": 58340.8\n          },\n          {\n            \"quantity\": 0.1027,\n            \"price\": 58339.4\n          },\n          {\n            \"quantity\": 0.026,\n            \"price\": 58339.3\n          },\n          {\n            \"quantity\": 0.6168,\n            \"price\": 58338.9\n          },\n          {\n            \"quantity\": 0.0344,\n            \"price\": 58338.8\n          },\n          {\n            \"quantity\": 1.0272,\n            \"price\": 58338.7\n          },\n          {\n            \"quantity\": 0.1717,\n            \"price\": 58337.5\n          },\n          {\n            \"quantity\": 0.1027,\n            \"price\": 58336.9\n          },\n          {\n            \"quantity\": 0.026,\n            \"price\": 58336.8\n          },\n          {\n            \"quantity\": 0.026,\n            \"price\": 58336.5\n          }\n        ],\n        \"sell\": [\n          {\n            \"quantity\": 0.1167,\n            \"price\": 58485.1\n          },\n          {\n            \"quantity\": 0.08,\n            \"price\": 58486.3\n          },\n          {\n            \"quantity\": 0.1376,\n            \"price\": 58486.4\n          },\n          {\n            \"quantity\": 0.103,\n            \"price\": 58486.8\n          },\n          {\n            \"quantity\": 0.125,\n            \"price\": 58487.6\n          },\n          {\n            \"quantity\": 0.223,\n            \"price\": 58488.6\n          },\n          {\n            \"quantity\": 0.31,\n            \"price\": 58488.8\n          },\n          {\n            \"quantity\": 0.2355,\n            \"price\": 58490.3\n          },\n          {\n            \"quantity\": 0.366,\n            \"price\": 58490.4\n          },\n          {\n            \"quantity\": 0.27,\n            \"price\": 58490.5\n          },\n          {\n            \"quantity\": 0.144,\n            \"price\": 58493.3\n          },\n          {\n            \"quantity\": 0.19,\n            \"price\": 58493.4\n          },\n          {\n            \"quantity\": 0.5881,\n            \"price\": 58493.7\n          },\n          {\n            \"quantity\": 1.0272,\n            \"price\": 58493.8\n          },\n          {\n            \"quantity\": 0.0042,\n            \"price\": 58496.9\n          },\n          {\n            \"quantity\": 0.0534,\n            \"price\": 58497.1\n          },\n          {\n            \"quantity\": 0.1717,\n            \"price\": 58497.5\n          },\n          {\n            \"quantity\": 0.1032,\n            \"price\": 58503.1\n          },\n          {\n            \"quantity\": 0.026,\n            \"price\": 58503.2\n          },\n          {\n            \"quantity\": 0.0026,\n            \"price\": 58503.5\n          }\n        ]\n      }\n    }\n  }\n}"}],"_postman_id":"42f7eedc-8554-4417-83fd-b32ebdff69a6"}],"id":"715f4683-2d88-46ba-a8c9-b8e116fe155b","description":"<p>The Derivatives module of the exchange allows traders to open leveraged long and short positions on a selection of Crypto Perpetual Instruments.</p>\n<img src=\"https://content.pstmn.io/e83c532c-231d-4737-8bab-7e8e969cf09a/RGVyaXZhdGl2ZXMgVHJhZGluZyBVSS5wbmc=\" />\n\n<p>Although the derivatives module utilizes the same user accounts and transaction history as the core exchange, the derivatives API currently resides at a different root domain. For the demo exchange, this root url is <a href=\"https://live-margin-api.ouinex.com/graphql\">https://live-margin-api.ouinex.com/graphql</a>.</p>\n","_postman_id":"715f4683-2d88-46ba-a8c9-b8e116fe155b"},{"name":"Earn","item":[{"name":"Get Earn Currencies and Terms","id":"4328e9c0-1e22-4e1d-a7d2-a45e64e9ddc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query (\n  $vault_id: String\n  $currency_id: String\n  $is_active: ToggleSwitch\n  $withdrawal_enabled: ToggleSwitch\n  $deposit_enabled: ToggleSwitch\n  $search: String\n  $pager: PagerInput\n  $sort: SortInput\n) {\n  vaults(\n    vault_id: $vault_id\n    currency_id: $currency_id\n    is_active: $is_active\n    withdrawal_enabled: $withdrawal_enabled\n    deposit_enabled: $deposit_enabled\n    search: $search\n    pager: $pager\n    sort: $sort\n  ) {\n    serial_id\n    vault_id\n    currency_id\n    name\n    annual_rate_percent\n    max_withdrawal_amount\n    max_deposit_amount\n    min_withdrawal_amount\n    min_deposit_amount\n    cut_off_time_seconds\n    lock_in_period_seconds\n    effective_date_from\n    effective_date_to\n    rate_type\n    is_active\n    withdrawal_enabled\n    deposit_enabled\n    last_interest_at\n    created_at\n    updated_at\n    total_balance\n  }\n}","variables":"{\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Get All Active Earn Currencies and Terms.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"a035e22e-0f93-44a0-846f-7fadfcd6c567","name":"Get Earn Currencies and Terms","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 20:57:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"12b3-VDUGC7PatSoWXr4SRUh/Eew+iLE\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"vaults\": [\n            {\n                \"serial_id\": 6,\n                \"vault_id\": \"6550d0ca-6673-4e3f-b70b-e25d2086f5f7\",\n                \"currency_id\": \"BCH\",\n                \"name\": \"fixed /30day/2.5%\",\n                \"annual_rate_percent\": 2.5,\n                \"max_withdrawal_amount\": 10000,\n                \"max_deposit_amount\": 10000,\n                \"min_withdrawal_amount\": 0,\n                \"min_deposit_amount\": 0,\n                \"cut_off_time_seconds\": 0,\n                \"lock_in_period_seconds\": 2592000,\n                \"effective_date_from\": \"2026-07-30 22:00:00\",\n                \"effective_date_to\": \"2026-07-30 22:00:00\",\n                \"rate_type\": \"fixed\",\n                \"is_active\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"deposit_enabled\": \"on\",\n                \"last_interest_at\": null,\n                \"created_at\": \"2024-08-26 12:39:47\",\n                \"updated_at\": \"2024-08-26 12:39:47\",\n                \"total_balance\": 0.85974815\n            },\n            {\n                \"serial_id\": 4,\n                \"vault_id\": \"44a0fa20-edd6-4b38-95f6-589b06419438\",\n                \"currency_id\": \"ETH\",\n                \"name\": \"fixed /1 day/4%\",\n                \"annual_rate_percent\": 4,\n                \"max_withdrawal_amount\": 100,\n                \"max_deposit_amount\": 100,\n                \"min_withdrawal_amount\": 0,\n                \"min_deposit_amount\": 0,\n                \"cut_off_time_seconds\": 86400,\n                \"lock_in_period_seconds\": 86400,\n                \"effective_date_from\": \"2024-06-26 21:00:00\",\n                \"effective_date_to\": \"2025-06-30 20:59:59\",\n                \"rate_type\": \"fixed\",\n                \"is_active\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"deposit_enabled\": \"on\",\n                \"last_interest_at\": \"2025-03-03 00:00:00\",\n                \"created_at\": \"2024-06-27 09:11:52\",\n                \"updated_at\": \"2024-06-27 09:11:52\",\n                \"total_balance\": 0\n            },\n            {\n                \"serial_id\": 3,\n                \"vault_id\": \"d130a489-b0b4-4a68-8821-01ee95868832\",\n                \"currency_id\": \"ETH\",\n                \"name\": \"flexible /3%\",\n                \"annual_rate_percent\": 3,\n                \"max_withdrawal_amount\": 1,\n                \"max_deposit_amount\": 1,\n                \"min_withdrawal_amount\": 0.001,\n                \"min_deposit_amount\": 0.001,\n                \"cut_off_time_seconds\": 86400,\n                \"lock_in_period_seconds\": 0,\n                \"effective_date_from\": \"2024-06-26 21:00:00\",\n                \"effective_date_to\": \"2025-06-30 20:59:59\",\n                \"rate_type\": \"flexible\",\n                \"is_active\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"deposit_enabled\": \"on\",\n                \"last_interest_at\": \"2025-03-03 00:00:00\",\n                \"created_at\": \"2024-06-27 09:10:35\",\n                \"updated_at\": \"2024-06-27 14:03:32\",\n                \"total_balance\": 1.563453033482\n            },\n            {\n                \"serial_id\": 1,\n                \"vault_id\": \"e3ea32a1-5fff-4ee7-a45f-95085218b13e\",\n                \"currency_id\": \"BTC\",\n                \"name\": \"flexible /3%\",\n                \"annual_rate_percent\": 3,\n                \"max_withdrawal_amount\": 100,\n                \"max_deposit_amount\": 100,\n                \"min_withdrawal_amount\": 0,\n                \"min_deposit_amount\": 0,\n                \"cut_off_time_seconds\": 86400,\n                \"lock_in_period_seconds\": 0,\n                \"effective_date_from\": \"2024-06-26 21:00:00\",\n                \"effective_date_to\": \"2025-06-30 20:59:59\",\n                \"rate_type\": \"flexible\",\n                \"is_active\": \"on\",\n                \"withdrawal_enabled\": \"on\",\n                \"deposit_enabled\": \"on\",\n                \"last_interest_at\": \"2025-03-03 00:00:00\",\n                \"created_at\": \"2024-06-27 09:07:16\",\n                \"updated_at\": \"2024-06-27 09:08:36\",\n                \"total_balance\": 5.332942758707\n            }\n        ]\n    }\n}"}],"_postman_id":"4328e9c0-1e22-4e1d-a7d2-a45e64e9ddc6"},{"name":"Get Earn Balances","id":"f9d2e768-601c-41bb-a046-d0b4576323b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  accounts_balances {\n    currency_id\n    total_balance\n    exposed_balance\n    margin_exposure\n    free_balance\n  }\n}","variables":"{\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This request retrieves the balances of a user's earn accounts</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"3a257d4e-e583-4f34-bb86-fb69035cefd9","name":"Get Earn Balances","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 20:49:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"12ab-+b3Ajn7aBTsfG8JFEnaevKiFY8I\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accounts_balances\": [\n            {\n                \"currency_id\": \"AVAX\",\n                \"total_balance\": 0,\n                \"exposed_balance\": 0,\n                \"margin_exposure\": 0,\n                \"free_balance\": 0\n            },\n            {\n                \"currency_id\": \"BCH\",\n                \"total_balance\": 0,\n                \"exposed_balance\": 0,\n                \"margin_exposure\": 0,\n                \"free_balance\": 0\n            },\n            {\n                \"currency_id\": \"BNB\",\n                \"total_balance\": 0,\n                \"exposed_balance\": 0,\n                \"margin_exposure\": 0,\n                \"free_balance\": 0\n            },\n            {\n                \"currency_id\": \"BTC\",\n                \"total_balance\": 0.0026484,\n                \"exposed_balance\": 0.001,\n                \"margin_exposure\": 0,\n                \"free_balance\": 0.0016484\n            }\n        ]\n    }\n}"}],"_postman_id":"f9d2e768-601c-41bb-a046-d0b4576323b8"},{"name":"Create Earn Deposit","id":"611acf80-1799-44f6-b99d-da94f28fec4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($vault_id: String!, $amount: Float!, $user_id: String) {\n  create_vault_deposit(\n    vault_id: $vault_id\n    amount: $amount\n    user_id: $user_id\n  ) {\n    amount\n    balance_after\n    currency_id\n    transaction_type\n    transaction_class\n    comment\n    created_by\n    created_at\n  }\n}","variables":"{\n  \"vault_id\": \"d130a489-b0b4-4a68-8821-01ee95868832\",\n  \"amount\": 0.01\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This request initiates a deposit into an earn program, allocating a specified amount of funds to generate yield.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>vault_id</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The unique identifier of the earn vault where the deposit will be allocated.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount of funds to deposit into the earn program.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"d26c308e-64fd-4f28-8800-87b5ab1aa4c5","name":"Create Earn Deposit","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 21:05:45 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"43b-PI7762rucLb47BonEwfOKsGC+Os\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_vault_deposit\": {\n            \"amount\": 0.01,\n            \"balance_after\": 0.02,\n            \"currency_id\": \"ETH\",\n            \"transaction_type\": \"credit\",\n            \"transaction_class\": \"deposit\",\n            \"comment\": \"Vault deposit\",\n            \"created_by\": null,\n            \"created_at\": \"2025-03-03 21:05:45\",\n        }\n    }\n}"}],"_postman_id":"611acf80-1799-44f6-b99d-da94f28fec4f"},{"name":"Estimate Earn Interests","id":"e09a5546-71ba-4276-8d8e-bc72ef3a339e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Query($vault_id: String!, $amount: Float!, $durationSeconds: Int) {\n  estimate_vault_interests(vault_id: $vault_id, amount: $amount, duration_seconds: $durationSeconds)\n}","variables":"{\n  \"vault_id\": \"d130a489-b0b4-4a68-8821-01ee95868832\",\n  \"amount\": 0.01,\n  \"durationSeconds\": 199999\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This query estimates the interest that would be earned for a given deposit amount in a specified vault over a certain duration. It helps users understand potential earnings before making a deposit.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>vault_id</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The unique identifier of the earn vault for which the interest estimate is being requested.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount of funds for which interest estimation is needed.</td>\n</tr>\n<tr>\n<td><code>durationSeconds</code></td>\n<td>int</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The duration in seconds for which the interest should be estimated (optional).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"04c5a875-b797-46e3-b7d8-f148c21bf4f7","name":"Estimate Earn Interests","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 21:35:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"53"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"35-Hwelt2V9RkGrcMg7lNvqMjZVAHs\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"estimate_vault_interests\": 0.010001643903\n    }\n}"}],"_postman_id":"e09a5546-71ba-4276-8d8e-bc72ef3a339e"},{"name":"Create Earn Withdrawal","id":"dbe69d78-930d-49f0-81cc-a76e392f70a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($vault_id: String!, $amount: Float!) {\n  create_vault_withdrawal(\n    vault_id: $vault_id\n    amount: $amount\n  ) {\n    amount\n    balance_after\n    currency_id\n    transaction_type\n    transaction_class\n    comment\n    created_by\n    created_at\n  }\n}","variables":"{\n  \"vault_id\": \"d130a489-b0b4-4a68-8821-01ee95868832\",\n  \"amount\": 0.01\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This request initiates a withdrawal from an earn program, allocating a specified amount of funds to spot wallet.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>vault_id</code></td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The unique identifier of the earn vault from which the withdrawal will be made.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>float</td>\n<td>✅ Yes</td>\n<td>N/A</td>\n<td>The amount of funds to withdraw from the earn program.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"8ec09342-e611-4d38-8e81-7c65c9d1ab89","name":"Create Earn Withdrawal","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 21:27:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"233"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"e9-HRu1n9Et8jqqIuChJvcK0CIBHX4\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_vault_withdrawal\": {\n            \"amount\": 0.01,\n            \"balance_after\": 0,\n            \"currency_id\": \"ETH\",\n            \"transaction_type\": \"debit\",\n            \"transaction_class\": \"withdrawal\",\n            \"comment\": \"Vault withdrawal\",\n            \"created_by\": null,\n            \"created_at\": \"2025-03-03 21:27:03\"\n        }\n    }\n}"}],"_postman_id":"dbe69d78-930d-49f0-81cc-a76e392f70a6"},{"name":"Earn Transactions","id":"3c88c69f-ddb2-41f3-9f97-b768f3d25f24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query (\n  $pager: PagerInput\n) {\n  vaults_transactions(\n    pager: $pager\n  ) {\n    amount\n    balance_after\n    currency_id\n    transaction_class\n    comment\n    created_by\n    created_at\n  }\n}","variables":"{\n    \"pager\": {\n        \"limit\": 10,\n        \"offset\": 0\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This query retrieves a all earb transactions, including deposits, withdrawals, and interests.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pager</code></td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"5ef64cae-e3eb-4e7d-9f8d-9f199cbc1bd4","name":"Earn Transactions","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 03 Mar 2025 22:05:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"4fc-dbAGNCfNdrOg1SL0hQ92RMK68ds\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"vaults_transactions\": [\n            {\n                \"amount\": 0.01,\n                \"balance_after\": 0,\n                \"currency_id\": \"ETH\",\n                \"transaction_class\": \"withdrawal\",\n                \"comment\": \"Vault withdrawal\",\n                \"created_by\": null,\n                \"created_at\": \"2025-03-03 21:27:03\"\n            },\n            {\n                \"amount\": 0.01,\n                \"balance_after\": 0.01,\n                \"currency_id\": \"ETH\",\n                \"transaction_class\": \"withdrawal\",\n                \"comment\": \"Vault withdrawal\",\n                \"created_by\": null,\n                \"created_at\": \"2025-03-03 21:26:11\"\n            },\n            {\n                \"amount\": 0.01,\n                \"balance_after\": 0.02,\n                \"currency_id\": \"ETH\",\n                \"transaction_class\": \"deposit\",\n                \"comment\": \"Vault deposit\",\n                \"created_by\": null,\n                \"created_at\": \"2025-03-03 21:05:45\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3c88c69f-ddb2-41f3-9f97-b768f3d25f24"}],"id":"0d272791-6634-4686-81fc-e0bc0c65f3ee","_postman_id":"0d272791-6634-4686-81fc-e0bc0c65f3ee","description":""},{"name":"Referral","item":[{"name":"Get Referral Codes","id":"fb06958d-8550-49f9-9ebd-d4347ed7d7d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  referrals {\n    referral_id\n    created_at\n  }\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>Retrieves user's referral codes from the system.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"23e3a298-8045-444b-8dcd-e28272131af6","name":"Get Referral Codes","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 19:56:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"115"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"73-36kESiJxEzWMw9C+0oMnZXqAvMI\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"referrals\": [\n            {\n                \"referral_id\": \"7ced21d6-e45d-4712-ad66-*********\",\n                \"created_at\": \"2025-02-25 14:28:44\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fb06958d-8550-49f9-9ebd-d4347ed7d7d5"},{"name":"Generate Referral Code","id":"4f4aa68f-3afe-4547-98db-41aa54c66fb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation  {\n  create_referral {\n    referral_id\n    created_at\n  }\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows users to generate a referral code that can be shared with others.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"83ffa60d-146e-4b8b-84e1-4f58f077bd44","name":"Generate Referral Code","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 20:05:17 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"77-xrj1C839e5InqnEWxkJHHEvRiQE\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"create_referral\": {\n            \"referral_id\": \"ca93916f-70ed-4006-80a2-*********\",\n            \"created_at\": \"2025-03-04 20:05:17\"\n        }\n    }\n}"}],"_postman_id":"4f4aa68f-3afe-4547-98db-41aa54c66fb9"},{"name":"Number of Referred Users","id":"b400cdc4-333e-41c9-9b56-5153259eb029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query  {\n  referred_users_count\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint retrieves the total number of users who have signed up using a referral code with the requesting user.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"b058a3d0-e26b-4434-8239-e125a3d151a1","name":"Number of Referred Users","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 20:34:39 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"24-3Lg/2Vp8uYNsavoV9KcKQ1u11Aw\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"referred_users_count\": 193\n    }\n}"}],"_postman_id":"b400cdc4-333e-41c9-9b56-5153259eb029"},{"name":"Referrer Total Reward in Quoted Currency","id":"1463453b-bb58-47c0-91b8-5811fbd53d0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query Query($quoteCurrencyId: String!) {\n  referrer_total_reward_quoted(quote_currency_id: $quoteCurrencyId)\n}","variables":"{\n    \"quoteCurrencyId\": \"USD\"\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint retrieves the total number of users who have signed up using a referral code with the requesting user.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"c416ab7d-91f1-4c05-847a-f2479a8a5d9f","name":"Referrer Total Reward in Quoted Currency","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 20:49:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"2c-mt7fbMPPSytDKzfZCON+oRnW2J4\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"referrer_total_reward_quoted\": 2000\n    }\n}"}],"_postman_id":"1463453b-bb58-47c0-91b8-5811fbd53d0a"},{"name":"Get Referral Transactions","id":"7990edba-3c6d-4483-8516-c5c223e9decc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query (\n  $account_transaction_id: String\n  $pager: PagerInput\n  $date_range: DateRangeInput\n  $search: String\n  $referral_id: String\n  $reward_type: ReferralRewardType\n  $target_user_id: String\n) {\n  referrals_transactions_info(\n    account_transaction_id: $account_transaction_id\n    pager: $pager\n    date_range: $date_range\n    search: $search\n    referral_id: $referral_id\n    reward_type: $reward_type\n    target_user_id: $target_user_id\n  ) {\n    target_user_id\n    referral_id\n    reward_type\n    account_transaction_id\n    created_at\n    account_transaction {\n      currency_id\n      amount\n    }\n  }\n}","variables":"{\n  \"pager\": {\n    \"offset\": 0,\n    \"limit\": 10\n  }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint retrieves the full transaction history related to referral rewards.</p>\n<h3 id=\"variables\">Variables:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>pager</code></td>\n<td>PagerInput</td>\n<td>❌ No</td>\n<td>N/A</td>\n<td>Refer to PagerInput for possible values.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"5c879fd2-5561-4210-b6fd-5ff4578a037c","name":"Referrer Total Reward in Quoted Currency Copy","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Mar 2025 20:22:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"aac-2QB+AZIyVUH2Uztwof+vivG6vWo\""},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"referrals_transactions_info\": [\n            {\n                \"target_user_id\": \"56f539aa-66fc-41ec-b0d5-*********\",\n                \"referral_id\": \"145f5d3b-9a31-4792-a334-*********\",\n                \"reward_type\": \"fee_cashback\",\n                \"account_transaction_id\": \"d6883809-015f-4a5f-a209-********\",\n                \"created_at\": \"2025-01-13 11:41:05\",\n                \"account_transaction\": {\n                    \"currency_id\": \"BTC\",\n                    \"amount\": 0.000002\n                }\n            },\n            {\n                \"target_user_id\": \"56f539aa-66fc-41ec-b0d5-********\",\n                \"referral_id\": \"145f5d3b-9a31-4792-a334-********\",\n                \"reward_type\": \"one_time\",\n                \"account_transaction_id\": \"e5823884-32b2-4e44-bc3f-********\",\n                \"created_at\": \"2025-01-13 11:00:07\",\n                \"account_transaction\": {\n                    \"currency_id\": \"USDT\",\n                    \"amount\": 0.000001\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"7990edba-3c6d-4483-8516-c5c223e9decc"}],"id":"9301f2ab-576e-48dd-8768-66546971cb43","_postman_id":"9301f2ab-576e-48dd-8768-66546971cb43","description":""},{"name":"Notification Settings","item":[{"name":"Get List of All Notifications Preferences","id":"edf639a8-e7ae-46a5-b2ce-d18db44c75be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  notification_settings {\n    client\n    email\n    push\n    sms\n  }\n}","variables":"{}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint retrieves the user's notification preferences, detailing which event types trigger notifications across different communication channels. The response categorizes notifications into four channels:  </p>\n<p>- <strong>Client</strong>: In-app notifications for key events like order updates, payments, conversions, ect...<br />- <strong>Email</strong>: A broader set of notifications, including order status, payments, trades, KYC updates, security events (e.g., MFA enabled), and referral rewards.<br />- <strong>Push</strong>: Push notifications can be enabled for clients, allowing real-time updates on order statuses, payments, security events, and other platform activities.<br />- <strong>SMS</strong>: SMS notifications are available for clients who enable them, providing alerts on critical trading and order status updates.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"375817c5-daa5-4a70-ac29-f53d8acb0404","name":"Get List of All Notifications Preferences","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 21:08:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"712"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"2c8-T1iWAQRF9O8Nz7xujMonwbopKYs\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"notification_settings\": {\n            \"client\": [\n                \"order_new\",\n                \"order_completed\",\n                \"order_cancelled\",\n                \"order_rejected\",\n                \"payment_new\",\n                \"payment_completed\",\n                \"payment_rejected\",\n                \"conversion_completed\",\n                \"conversion_rejected\",\n                \"signin\",\n                \"crypto_address_created\"\n            ],\n            \"email\": [\n                \"order_new\",\n                \"order_completed\",\n                \"order_cancelled\",\n                \"order_rejected\",\n                \"trade_completed\",\n                \"payment_new\",\n                \"payment_completed\",\n                \"payment_rejected\",\n                \"manual_balance_update\",\n                \"conversion_completed\",\n                \"conversion_rejected\",\n                \"signin\",\n                \"kyc_approved\",\n                \"kyc_rejected\",\n                \"kyc_incomplete\",\n                \"crypto_address_created\",\n                \"mfa_enabled\",\n                \"vault_deactivated\",\n                \"vault_expired\",\n                \"referral_rewarded\"\n            ],\n            \"push\": [],\n            \"sms\": [\n                \"order_new\",\n                \"order_completed\",\n                \"order_cancelled\",\n                \"order_rejected\",\n                \"trade_completed\"\n            ]\n        }\n    }\n}"}],"_postman_id":"edf639a8-e7ae-46a5-b2ce-d18db44c75be"},{"name":"Update Notification Preferences","id":"cca9a5ae-920c-4fab-a188-7f0ecc1f855d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"\nmutation (\n  $notifications_options: NotificationOptionsArgs\n) {\n  update_user(\n    notifications_options: $notifications_options\n  ) {\n    notifications_options {\n      client\n      push\n      email\n      sms\n    }\n  }\n}","variables":"{\n    \"notifications_options\": {\n        \"client\": [\n            \"signin\",\n            \"user_created\",\n            \"user_updated\",\n            \"account_created\",\n            \"crypto_address_created\",\n            \"kyc_approved\",\n            \"kyc_rejected\",\n            \"kyc_incomplete\",\n            \"trade_completed\",\n            \"order_completed\",\n            \"order_rejected\",\n            \"conversion_completed\",\n            \"conversion_rejected\",\n            \"payment_rejected\",\n            \"payment_completed\"\n        ]\n    }\n}"}},"url":"https://live-api.ouinex.com/graphql","description":"<p>This endpoint allows users to customize their notification preferences by enabling or disabling specific event alerts across different communication channels.</p>\n","urlObject":{"protocol":"https","path":["graphql"],"host":["live-api","ouinex","com"],"query":[],"variable":[]}},"response":[{"id":"c4d3c446-7851-4c4c-b43c-398229b499b7","name":"Update Notification Preferences","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"graphql"},"url":"https://live-api.ouinex.com/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Mar 2025 21:21:48 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"360"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"cache-control","value":"no-store"},{"key":"ETag","value":"W/\"168-etk4jXD3mBtUrq5M7EvBsbhqqWE\""},{"key":"Vary","value":"Accept-Encoding"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"update_user\": {\n            \"notifications_options\": {\n                \"client\": [\n                    \"signin\",\n                    \"user_created\",\n                    \"user_updated\",\n                    \"account_created\",\n                    \"crypto_address_created\",\n                    \"kyc_approved\",\n                    \"kyc_rejected\",\n                    \"kyc_incomplete\",\n                    \"trade_completed\",\n                    \"order_completed\",\n                    \"order_rejected\",\n                    \"conversion_completed\",\n                    \"conversion_rejected\",\n                    \"payment_rejected\",\n                    \"payment_completed\"\n                ],\n                \"push\": [],\n                \"email\": [],\n                \"sms\": []\n            }\n        }\n    }\n}"}],"_postman_id":"cca9a5ae-920c-4fab-a188-7f0ecc1f855d"}],"id":"74796000-ba48-4a7c-822d-3f10dd5f4a3e","_postman_id":"74796000-ba48-4a7c-822d-3f10dd5f4a3e","description":""},{"name":"Type Definitions","item":[],"id":"db90fb0b-2f85-4476-8385-2f6a394cc1cb","description":"<h3 id=\"currencytype\">CurrencyType</h3>\n<p>An enum that defines the type of currency.</p>\n<p><strong>Values</strong>:<br />- `fiat`: Standard government-issued currency<br />- `crypto`: Cryptocurrency like Bitcoin or Ethereum</p>\n<h3 id=\"accounttransactionclass\">AccountTransactionClass</h3>\n<p>An enum that defines the classification of account transactions.<br /><strong>Values</strong>:</p>\n<ul>\n<li><p><code>trade</code>: Transactions related to trading activities</p>\n</li>\n<li><p><code>fee</code>: Service or transaction fee charges</p>\n</li>\n<li><p><code>payment</code>: Payment transactions (deposits/withdrawals)</p>\n</li>\n<li><p><code>reward</code>: Bonus or reward transactions</p>\n</li>\n<li><p><code>conversion</code>: Currency conversion transactions</p>\n</li>\n<li><p><code>manual</code>: Manually adjusted transactions</p>\n</li>\n<li><p><code>referral_reward</code>: Rewards from referral program</p>\n</li>\n</ul>\n<h3 id=\"accounttransactiontype\">AccountTransactionType</h3>\n<p>An enum that defines the direction of the transaction.<br /><strong>Values</strong>:</p>\n<ul>\n<li><p><code>debit</code>: Outgoing transaction (decrease in balance)</p>\n</li>\n<li><p><code>credit</code>: Incoming transaction (increase in balance)</p>\n</li>\n</ul>\n<h3 id=\"pagerinput\">PagerInput</h3>\n<p>An object that defines pagination parameters.<br /><strong>Properties</strong>:</p>\n<ul>\n<li><p><code>limit</code>: Maximum number of records to return (default: 30)</p>\n</li>\n<li><p><code>offset</code>: Number of records to skip (default: 0)</p>\n</li>\n</ul>\n<h3 id=\"sortinput\">SortInput</h3>\n<p>An object that defines sorting parameters.<br /><strong>Properties</strong>:</p>\n<ul>\n<li><p><code>direction</code>: Sort direction (\"ASC\" or \"DESC\", default: \"DESC\")</p>\n</li>\n<li><p><code>property</code>: Field name to sort by</p>\n</li>\n</ul>\n<h3 id=\"daterangeinput\">DateRangeInput</h3>\n<p>An object that defines a time period filter.<br /><strong>Properties</strong>:</p>\n<ul>\n<li><p><code>time_from</code>: Start date-time</p>\n</li>\n<li><p><code>time_to</code>: End date-time</p>\n</li>\n</ul>\n<h3 id=\"feecalculationtype\">FeeCalculationType</h3>\n<p>An enum that defines the method for calculating fees.<br /><strong>Values</strong>:</p>\n<ul>\n<li><p><code>sum</code>: Total sum of all applicable fees</p>\n</li>\n<li><p><code>max</code>: Maximum value among all applicable fees</p>\n</li>\n</ul>\n<h3 id=\"fiatdepositpropertyinput\">FiatDepositPropertyInput</h3>\n<p>A key-value pair structure for specifying withdrawal properties.</p>\n<p><strong>Values</strong>:</p>\n<ul>\n<li><p><code>name</code>: Property identifier (string). Possible values:</p>\n<ul>\n<li><p><code>fiat_transfer_type</code>: Type of bank transfer (e.g., \"wire\", \"sepa\", \"ach\")</p>\n</li>\n<li><p><code>fiat_bank_name</code>: Name of the receiving bank</p>\n</li>\n<li><p><code>fiat_bank_bic</code>: BIC/SWIFT code of the bank</p>\n</li>\n<li><p><code>fiat_bank_iban</code>: IBAN number of the bank account</p>\n</li>\n<li><p><code>fiat_beneficiary_name</code>: Full name of the beneficiary</p>\n</li>\n<li><p>etc...</p>\n</li>\n</ul>\n</li>\n<li><p><code>value</code>: The corresponding value for the selected property name (string)</p>\n</li>\n</ul>\n","_postman_id":"db90fb0b-2f85-4476-8385-2f6a394cc1cb"}]}