{"id":7958,"date":"2025-09-04T16:37:34","date_gmt":"2025-09-04T21:37:34","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=7958"},"modified":"2026-01-05T13:24:38","modified_gmt":"2026-01-05T19:24:38","slug":"ttmonitor-documentation-2","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/apis\/tt-rest-api-2-0-uat\/api-reference-tt-rest-api-2-0-uat\/ttmonitor-documentation-2\/","title":{"rendered":"ttmonitor Documentation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The ttmonitor service of the TT REST API is used for requests pertaining to viewing positions and SOD records for a given account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:&nbsp;<\/strong>ttmonitor is not intended to be used as a real-time feed since there may be delays between the time at which order and fill events occur and the time when they are available via TT REST API. Applications requiring a real-time feed should use&nbsp;<a href=\"\/tt-net-sdk\/articles\/gs-getting-started.html\">TT .NET SDK<\/a>&nbsp;or&nbsp;<a href=\"\/tt-fix\/general\/System_Overview.html\">TT FIX<\/a>&nbsp;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Requests to the ttmonitor service of the TT REST API use the following base URL:&nbsp;<strong>ttrestapi.trade.tt\/ttmonitor\/&lt;environment&gt;<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/ttrestapi.trade.tt\/ttmonitor\/ext_uat_cert for application development and testing<\/li>\n\n\n\n<li>https:\/\/ttrestapi.trade.tt\/ttmonitor\/ext_prod_live for deploying an application to production<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: When submitting requests, all API urls are case sensitive and should include the endpoint name in lowercase. For example, using&nbsp;<em>https:\/\/ttrestapi.trade.tt\/<strong>TTMONITOR<\/strong>\/ext_uat_cert\/<\/em>&nbsp;results in a 403 server error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You must use&nbsp;<em>https:\/\/ttrestapi.trade.tt\/<strong>ttmonitor<\/strong>\/ext_uat_cert\/<\/em>&nbsp;in order to properly reach the API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"post-limits\">Limitations for POST requests<a href=\"\/tt-rest\/v2_uat\/ttmonitor.html#post-limits\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For POST endpoints which allow for the submission of a list of items, the number of list items must not exceed twenty. Furthermore, a one-second pause must be initiated after the acknowledgement from a prior POST submission has been received. Most daily maintenance and activity will not be affected by these limits and can be accomplished normally on weekdays.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Activities that involve uploading significant amounts of data, such adding large numbers of users or starting a migration, will require special scheduling. In such circumstances, please contact TT Onboarding with scheduling assistance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"access-parameters\">Access Parameters<a href=\"\/tt-rest\/v2_uat\/ttmonitor.html#access-parameters\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Calls to the ttmonitor services listed below require both of the following in your header:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Application Key<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>x-api-key=&lt;application key&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Token<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>Authorization=Bearer &lt;token&gt;<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For instructions on obtaining your\u00a0<a href=\"\/tt-rest\/v2_uat\/gs-before.html\">application key<\/a>\u00a0and\u00a0<a href=\"\/tt-rest\/v2_uat\/gs-token.html#token_requests\">token<\/a>, refer to the related sections in the TT REST Web Services documentation.<\/p>\n\n\n<div data-post-id=\"28989\" class=\"insert-page insert-page-28989 \">\n<h2 class=\"wp-block-heading\" id=\"test-calls\">Test calls<a href=\"\/tt-rest\/v2\/ttmonitor.html#test-calls\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To test the calls below, click the\u00a0<strong>Authorize<\/strong>\u00a0button and enter values for both access parameters into the &#8220;Available authorizations&#8221; dialog.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong>\u00a0When entering your\u00a0<strong>token<\/strong>,\u00a0you will need to manually concatenate &#8220;Bearer&#8221; and a single space in front of the token value sent by ttid.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All test calls sent through this help site use the following base URL:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>https:\/\/ttrestapi.trade.tt\/ttmonitor\/ext_uat_cert<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n\n<div id=\"swagger-ui-ef34d17e-2657-4873-bc6c-e85f287cfa1d\" class=\"swagger-ui-container-manual hide-options hide-topbar hide-info hide-server hide-default-tag\" data-swagger-config=\"{&quot;spec&quot;:{&quot;openapi&quot;:&quot;3.0.1&quot;,&quot;info&quot;:{&quot;title&quot;:&quot;ttmonitor&quot;,&quot;version&quot;:&quot;2018-06-11T16:51:55Z&quot;},&quot;servers&quot;:[{&quot;url&quot;:&quot;https:\\\/\\\/ttrestapi.trade.tt\\\/{basePath}&quot;,&quot;variables&quot;:{&quot;basePath&quot;:{&quot;default&quot;:&quot;ttmonitor\\\/ext_uat_cert\\\/&quot;}}}],&quot;paths&quot;:{&quot;\\\/adminfill&quot;:{&quot;post&quot;:{&quot;summary&quot;:&quot;Adds an administrative fill.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;}],&quot;requestBody&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/adminfill_POST_in&quot;}}}},&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/adminfill_POST_out&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;POST\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;request_model\\&quot;: \\&quot;models\\\/adminfill_POST_in.json\\&quot;,\\n\\&quot;response_model\\&quot;: \\&quot;models\\\/adminfill_POST_out.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;body\\&quot; :$inputJson,\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;,&quot;type&quot;:&quot;aws&quot;},&quot;description&quot;:&quot;To successfully post an administrative fill, you must ensure that the user owning the application key must be configured as an administrator.&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;POST,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/sod\\\/upload&quot;:{&quot;post&quot;:{&quot;summary&quot;:&quot;Requests a URL for uploading SODs&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/sod-upload_POST_out&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;POST\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;request_model\\&quot;: \\&quot;models\\\/sod-upload_POST_in.json\\&quot;,\\n\\&quot;response_model\\&quot;: \\&quot;models\\\/sod-upload_POST_out.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;body\\&quot; :$inputJson,\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;,&quot;type&quot;:&quot;aws&quot;},&quot;requestBody&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/sod-upload_POST_in&quot;}}}},&quot;description&quot;:&quot;Requests a URL to which CSV of SOD positions can be uploaded via subsequent PUT request. Returns:&lt;br&gt;&lt;br&gt;A `putUrl` to use for the PUT request with which a CSV of the SOD positions is uploaded.&lt;br&gt;A `batchId` which can be used to monitor the status of the upload.&lt;br&gt;&lt;br&gt;**Note**: The `putURL` is only active for 60 seconds after it is sent.&lt;br&gt;&lt;br&gt;The subsequent PUT request should sent with the CSV in the body of the message. The CSV should have headings defined as:&lt;br&gt;**Account** \\u2014 the account name in Setup or as found in the **Risk** service&#039;s `\\\/account\\\/{accountId}` GET request in the &#039;name&#039; value.&lt;br&gt;**Instrument** \\u2014 the instrument ID as found in the **PDS** service&#039;s `\\\/instruments` GET request.&lt;br&gt;**Quantity** \\u2014 The order quantity. A positive value indicates a buy order, and a negative value indicates a sell order.&lt;br&gt;**Price** \\u2014 the instrument price at which to buy or sell. If blank, the TT system uses the settlement price for the instrument.&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;POST,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/sod\\\/{accountId}&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets SODs for a given account ID.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;accountId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Account ID. &quot;},{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/sod-accountid_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;pathParameters\\&quot;: {\\&quot;accountId\\&quot;: \\&quot;$input.params(&#039;accountId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/sod-accountid_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;}},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/position&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets positions based on today&#039;s fills for all or selected accounts associated with the application key.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;accountIds&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Comma-separated list of Account IDs. &quot;},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;},{&quot;name&quot;:&quot;includeSpreadPositions&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive dictionary containing all spread positions. Not sent by default. (0 = spreadPositions not included. 1 = spreadPositions included)&quot;}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/position_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/position_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Gets positions based on today&#039;s fills for the  all accounts associated with the application key or for specific accounts. Included in the response are SODs.&lt;br&gt;&lt;br&gt;**Notes** &lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;TT recommends using the `accoundIds` parameter to filter positions if your company uses many accounts or layers of nested accounts to avoid response timeouts.&lt;\\\/li&gt;&lt;li&gt;P&amp;L is expressed in the instrument&#039;s currency.&lt;\\\/li&gt;&lt;\\\/ul&gt;&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/position\\\/{accountId}&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets positions for the provided `accountId` based on today&#039;s fills.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;accountId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Account ID. &quot;},{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;},{&quot;name&quot;:&quot;includeSpreadPositions&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive dictionary containing all spread positions. Not sent by default. (0 = spreadPositions not included. 1 = spreadPositions included)&quot;}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/position-accountid_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;pathParameters\\&quot;: {\\&quot;accountId\\&quot;: \\&quot;$input.params(&#039;accountId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/position-accountid_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Gets positions based on today&#039;s fills for the provided `accountId`. Included in the response are SODs.&lt;br&gt;&lt;br&gt;**Note** &lt;br&gt;&lt;br&gt;P&amp;L is expressed in the instrument&#039;s currency.&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/productposition&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets positions based on today&#039;s fills aggregated by specific a product.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;accountIds&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Comma-separated list of Account IDs. &quot;},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;}],&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/product-position_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/product-position_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Gets position quantities aggregated to the product level. Included in the response are SODs.&lt;br&gt;&lt;br&gt;**Notes** &lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;TT recommends using the `accoundIds` parameter to filter positions if your company uses many accounts or layers of nested accounts to avoid response timeouts.&lt;\\\/li&gt;&lt;li&gt;P&amp;L is expressed in the instrument&#039;s currency.&lt;\\\/li&gt;&lt;\\\/ul&gt;&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/productposition\\\/{accountId}&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets positions for the provided `accountId` based on today&#039;s fills.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;accountId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Account ID. &quot;},{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;}],&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/product-position-accountid_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;pathParameters\\&quot;: {\\&quot;accountId\\&quot;: \\&quot;$input.params(&#039;accountId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/product-position-accountid_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Gets position quantities aggregated to the product level for the povided `accountId`. Included in the response are SODs.&lt;br&gt;&lt;br&gt;**Notes** &lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;TT recommends using the `accoundId` parameter to filter positions if your company uses many accounts or layers of nested accounts to avoid response timeouts.&lt;\\\/li&gt;&lt;li&gt;P&amp;L is expressed in the instrument&#039;s currency.&lt;\\\/li&gt;&lt;\\\/ul&gt;&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/creditutilization&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets credit limit and credit utilization details for a given account.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;includeProductPos&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;accountId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Account ID. &quot;}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/creditutilization_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/creditutilization_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Gets credit limit and credit utilization details for a given account.\\n\\n For more information on the values returned in this request, consult the documentation on &lt;a href=&#039;https:\\\/\\\/library.tradingtechnologies.com\\\/user-setup\\\/rl-configuring-sod-settings-and-credit-limits.html&#039; target=&#039;_blank&#039;&gt;credit limit settings&lt;\\\/a&gt;.&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/sod\\\/upload\\\/{batchId}&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Provides the status of an SOD upload.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;batchId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;The Id of the SOD upload for which a status is being requested. A &lt;code&gt;batchId&lt;\\\/code&gt; is returned when SODs are uploaded using the &lt;code&gt;\\\/sod\\\/upload&lt;\\\/code&gt; POST request.&quot;},{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;}],&quot;responses&quot;:{&quot;400&quot;:{&quot;description&quot;:&quot;400 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;500&quot;:{&quot;description&quot;:&quot;500 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}},&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/sod-upload-batchid_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;pathParameters\\&quot;: {\\&quot;batchId\\&quot;: \\&quot;$input.params(&#039;batchId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/sod-upload-batchid_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;description&quot;:&quot;Provides the status of an SOD upload that corresponds to a specific `batchId`. A `batchId` is returned when SODs are uploaded using the `\\\/sod\\\/upload` POST request.&quot;},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/productfamilyposition&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;accountIds&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Comma-separated list of Account IDs. &quot;},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;}],&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/product-family-position_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/product-family-position_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;}},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}},&quot;\\\/productfamilyposition\\\/{accountId}&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;accountId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Account ID. &quot;},{&quot;name&quot;:&quot;requestId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:&quot;true&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;example&quot;:&quot;myApp-myCompany--4037847b-de40-46c8-b55e-66186d657614&quot;,&quot;description&quot;:&quot;Unique ID for this request. TT strongly recommends ensuring that you match the correct format for this value. For more information, refer to [Providing a Request ID](gs-token.html#requestId). You must include the &lt;code&gt;requestId&lt;\\\/code&gt; query parameter for all requests.&lt;br\\\/&gt; The TT REST API documentation pre-populates a sample &lt;code&gt;requestId&lt;\\\/code&gt; which can only be used when making test calls.&quot;},{&quot;name&quot;:&quot;nextPageKey&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request the next page of data following a prior request. Responses are limited to around 500 records. Included in the response is a field named &#039;lastPage&#039; which indicates if a response is the final page of the data requested. If a response is not the final page, the &#039;lastPage&#039; value will be &#039;false&#039; and the key needed to request the next page will be included as the &#039;nextPageKey&#039; value of the response.&quot;},{&quot;name&quot;:&quot;Accept-Encoding&quot;,&quot;in&quot;:&quot;header&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},{&quot;name&quot;:&quot;scaleQty&quot;,&quot;in&quot;:&quot;query&quot;,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Receive position quantities in flow or as a number of contracts. (0 = contracts, 1 = in flow).&lt;br\\\/&gt;Instruments whose position can be displayed in flow will default to flow. The &lt;code&gt;scaleQty&lt;\\\/code&gt; parameter provides the ability to specify how positions are displayed for these instruments.&quot;}],&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/product-family-position-accountid_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttmonitortranslator}\\\/invocations&quot;},&quot;responses&quot;:{&quot;.*.400.*&quot;:{&quot;statusCode&quot;:&quot;400&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:400\\n}\\n&quot;}},&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}},&quot;.*.500.*&quot;:{&quot;statusCode&quot;:&quot;500&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set ($errorMessageObj = $util.parseJson($input.path(&#039;$.errorMessage&#039;))){\\n    \\&quot;status\\&quot; : \\&quot;$errorMessageObj.status\\&quot;,\\n    \\&quot;status_message\\&quot; : \\&quot;$errorMessageObj.status_message\\&quot;,\\n    \\&quot;statusCode\\&quot;:500\\n}\\n&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;#set($inputJson = $input.json(&#039;$&#039;))\\n#set($environment = $input.path(&#039;$.environment&#039;))\\n{\\n\\&quot;httpMethod\\&quot;: \\&quot;GET\\&quot;,\\n\\&quot;stageVariables\\&quot;: {\\&quot;environment\\&quot;: \\&quot;$stageVariables.environment\\&quot; , \\n\\&quot;version\\&quot; : \\&quot;$stageVariables.version\\&quot;},\\n\\&quot;pathParameters\\&quot;: {\\&quot;accountId\\&quot;: \\&quot;$input.params(&#039;accountId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/product-family-position-accountid_GET.json\\&quot;,\\n\\&quot;query\\&quot;: {\\n    #foreach($queryParam in $input.params().querystring.keySet())\\n    \\&quot;$queryParam\\&quot;: \\&quot;$util.escapeJavaScript($input.params().querystring.get($queryParam))\\&quot; #if($foreach.hasNext),#end\\n    #end},\\n\\&quot;headers\\&quot;: {\\n        #foreach($param in $input.params().header.keySet())\\n            \\&quot;$param\\&quot;: \\&quot;$util.escapeJavaScript($input.params().header.get($param))\\&quot;\\n        #if($foreach.hasNext),#end\\n        #end\\n    }\\n}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_templates&quot;,&quot;httpMethod&quot;:&quot;POST&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;}},&quot;options&quot;:{&quot;responses&quot;:{&quot;200&quot;:{&quot;description&quot;:&quot;200 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Methods&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Access-Control-Allow-Headers&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Strict-Transport-Security&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Content-Security-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Content-Type-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;X-Frame-Options&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}},&quot;Referrer-Policy&quot;:{&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;}}},&quot;content&quot;:{}}},&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;mock&quot;,&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;,&quot;responseParameters&quot;:{&quot;method.response.header.Access-Control-Allow-Methods&quot;:&quot;&#039;GET,OPTIONS&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Headers&quot;:&quot;&#039;Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token&#039;&quot;,&quot;method.response.header.Access-Control-Allow-Origin&quot;:&quot;&#039;*&#039;&quot;,&quot;method.response.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;method.response.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;,&quot;method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;}}},&quot;requestTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;statusCode\\&quot;: 200}&quot;},&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;}}}},&quot;components&quot;:{&quot;securitySchemes&quot;:{&quot;api_key&quot;:{&quot;type&quot;:&quot;apiKey&quot;,&quot;name&quot;:&quot;x-api-key&quot;,&quot;in&quot;:&quot;header&quot;},&quot;Token&quot;:{&quot;type&quot;:&quot;apiKey&quot;,&quot;name&quot;:&quot;Authorization&quot;,&quot;in&quot;:&quot;header&quot;}},&quot;schemas&quot;:{&quot;sod-upload-batchid_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;batchId&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;batchId&quot;},&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/risk-{env}.trade.tt\\\/api\\\/{v}\\\/{env}\\\/batch\\\/{batchId}&quot;},&quot;eventVars&quot;:{&quot;batchId&quot;:[&quot;pathParameters&quot;,&quot;batchId&quot;]},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;completed&quot;:{&quot;description&quot;:&quot;Whether the batch upload has completed.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;id&quot;:{&quot;description&quot;:&quot;ID of the SOD Upload batch&quot;,&quot;type&quot;:&quot;string&quot;},&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;success&quot;:{&quot;description&quot;:&quot;Whether the batch upload was successful.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;sod-upload-batchid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;product-family-position-accountid_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountId&quot;:[&quot;pathParameters&quot;,&quot;accountId&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountId&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeProductFamilyPos&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;productFamilyPositions&quot;:{&quot;descriptions&quot;:&quot; Array of position by product family.&quot;,&quot;foreach&quot;:[&quot;product_family_positions&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productFamilyId&quot;:{&quot;description&quot;:&quot;Product Family Id&quot;,&quot;type&quot;:&quot;string&quot;},&quot;productPositions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;items&quot;:{&quot;properties&quot;:{&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentPositions&quot;:{&quot;description&quot;:&quot;&quot;,&quot;items&quot;:{&quot;properties&quot;:{&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productId&quot;:{&quot;description&quot;:&quot;Product ID&quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;product-family-position-accountid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;position_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountIds&quot;:[&quot;query&quot;,&quot;accountIds&quot;],&quot;includeSpreadPositions&quot;:[&quot;query&quot;,&quot;includeSpreadPositions&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountIds&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeSpreadPositions&quot;:{&quot;default&quot;:&quot;0&quot;,&quot;type&quot;:&quot;skipInQuery&quot;,&quot;value&quot;:&quot;includeSpreadPositions&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;positions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;foreach&quot;:[&quot;instrument_data&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;avgBuy&quot;:{&quot;description&quot;:&quot;Average Buy price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;avgSell&quot;:{&quot;description&quot;:&quot;Average Sell price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;openAvgPrice&quot;:{&quot;description&quot;:&quot;Average price of open positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPrice&quot;:{&quot;description&quot;:&quot;Actual price being compared in the P\\\/L calculation per contract.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPriceType&quot;:{&quot;description&quot;:&quot;Type of price being used to calculate P\\\/L for the contract row. &quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPriceType&quot;:{&quot;description&quot;:&quot;Type of price represented by the `sodPrice` property. &quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;spreadPositions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s spread position.&quot;,&quot;foreach&quot;:[&quot;spread_instrument_data&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;avgBuy&quot;:{&quot;description&quot;:&quot;Average Buy price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;avgSell&quot;:{&quot;description&quot;:&quot;Average Sell price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;openAvgPrice&quot;:{&quot;description&quot;:&quot;Average price of open positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPrice&quot;:{&quot;description&quot;:&quot;Actual price being compared in the P\\\/L calculation per contract.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPriceType&quot;:{&quot;description&quot;:&quot;Type of price being used to calculate P\\\/L for the contract row. &quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPriceType&quot;:{&quot;description&quot;:&quot;Type of price represented by the `sodPrice` property. &quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;skipBasedOnQueryParam&quot;:&quot;includeSpreadPositions&quot;,&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;position_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;product-position_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountIds&quot;:[&quot;query&quot;,&quot;accountIds&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountIds&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeProductPos&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;productPositions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;foreach&quot;:[&quot;product_positions&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentPositions&quot;:{&quot;description&quot;:&quot;&quot;,&quot;foreachreplaceparent&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productId&quot;:{&quot;description&quot;:&quot;Product ID&quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;product-position_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;adminfill_POST_out&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;properties&quot;:{&quot;fill&quot;:{&quot;description&quot;:&quot; &quot;,&quot;properties&quot;:{&quot;account&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;accountId&quot;:{&quot;description&quot;:&quot;The accountId for the requested account.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;algoId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;avgPx&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;brokerId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;clOrdId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;cumQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;execType&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;lastPx&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;lastQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;leavesQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;manualFill&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;marketId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;multiLegReportingType&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;ordStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;ordType&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;orderId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;orderQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;orderSequence&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;price&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;side&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;source&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;timeInForce&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;timeSent&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;transactTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;adminfill_POST_out&quot;,&quot;type&quot;:&quot;object&quot;},&quot;position-accountid_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountId&quot;:[&quot;pathParameters&quot;,&quot;accountId&quot;],&quot;includeSpreadPositions&quot;:[&quot;query&quot;,&quot;includeSpreadPositions&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountId&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeSpreadPositions&quot;:{&quot;default&quot;:&quot;0&quot;,&quot;type&quot;:&quot;skipInQuery&quot;,&quot;value&quot;:&quot;includeSpreadPositions&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;positions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;foreach&quot;:[&quot;instrument_data&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;avgBuy&quot;:{&quot;description&quot;:&quot;Average Buy price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;avgSell&quot;:{&quot;description&quot;:&quot;Average Sell price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;openAvgPrice&quot;:{&quot;description&quot;:&quot;Average price of open positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPrice&quot;:{&quot;description&quot;:&quot;Actual price being compared in the P\\\/L calculation per contract.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPriceType&quot;:{&quot;description&quot;:&quot;Type of price being used to calculate P\\\/L for the contract row. &quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPriceType&quot;:{&quot;description&quot;:&quot;Type of price represented by the `sodPrice` property. &quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;spreadPositions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s spread position.&quot;,&quot;foreach&quot;:[&quot;spread_instrument_data&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;avgBuy&quot;:{&quot;description&quot;:&quot;Average Buy price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;avgSell&quot;:{&quot;description&quot;:&quot;Average Sell price, excluding the SOD price and quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;openAvgPrice&quot;:{&quot;description&quot;:&quot;Average price of open positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPrice&quot;:{&quot;description&quot;:&quot;Actual price being compared in the P\\\/L calculation per contract.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnlPriceType&quot;:{&quot;description&quot;:&quot;Type of price being used to calculate P\\\/L for the contract row. &quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPriceType&quot;:{&quot;description&quot;:&quot;Type of price represented by the `sodPrice` property. &quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;skipBasedOnQueryParam&quot;:&quot;includeSpreadPositions&quot;,&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;position-accountid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;sod-accountid_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountId&quot;:[&quot;pathParameters&quot;,&quot;accountId&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountId&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;sod&quot;:{&quot;description&quot;:&quot;An array of SOD positions.&quot;,&quot;foreach&quot;:[&quot;instrument_data&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPriceType&quot;:{&quot;description&quot;:&quot;Type of price represented by the `sodPrice` property. &quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;sod-accountid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;product-family-position_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountIds&quot;:[&quot;query&quot;,&quot;accountIds&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountIds&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeProductFamilyPos&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;productFamilyPositions&quot;:{&quot;descriptions&quot;:&quot; Array of position by product family.&quot;,&quot;foreach&quot;:[&quot;product_family_positions&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productFamilyId&quot;:{&quot;description&quot;:&quot;Product Family Id&quot;,&quot;type&quot;:&quot;string&quot;},&quot;productPositions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;items&quot;:{&quot;properties&quot;:{&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentPositions&quot;:{&quot;description&quot;:&quot;&quot;,&quot;items&quot;:{&quot;properties&quot;:{&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productId&quot;:{&quot;description&quot;:&quot;Product ID&quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;product-family-position_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;creditutilization_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/credit_utilization&quot;},&quot;eventVars&quot;:{&quot;accountId&quot;:[&quot;query&quot;,&quot;accountId&quot;],&quot;includeProductPos&quot;:[&quot;query&quot;,&quot;includeProductPos&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountId&quot;},&quot;includeProductPos&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;includeProductPos&quot;}}},&quot;properties&quot;:{&quot;creditUtilization&quot;:{&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;The accountId for the requested account.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;balance&quot;:{&quot;description&quot;:&quot;The current credit balance.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;balanceToLiquidation&quot;:{&quot;description&quot;:&quot;Available credit balance before auto-liquidation rules are triggered.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;balanceUsedPercentage&quot;:{&quot;description&quot;:&quot;Percentage of the credit limit currently used.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;checkCredit&quot;:{&quot;description&quot;:&quot;Is credit check active on the requested account?&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;dailyCreditLimit&quot;:{&quot;description&quot;:&quot;The amount of the credit limit.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;dailyCreditLimitCurrency&quot;:{&quot;description&quot;:&quot;The currency in which the daily credit limit is set. The definition for the returned value can be found using the PDS service&#039;s `\\\/productdata` GET request.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;dailyCreditLimitRuleId&quot;:{&quot;description&quot;:&quot;The rule applied to determine how available credit for an account is calculated:\\n\\n1 - Apply P\\\/L: Adds\\\/Subtracts P\\\/L to dailt credit limit.\\n2 - Apply Margin Limit: Deducts product margin from the account&#039;s available credit based on the worst case net positions in various products.\\n3 - Apply P\\\/L &amp; Margin: Adds\\\/Subtracts P\\\/L and then subtracts product margin.\\nVAlues for these enums can also be found using the Risk service&#039;s `\\\/commondata` GET request.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;liquidationThreshold&quot;:{&quot;description&quot;:&quot;Percentage of the daily credit limit including P\\\/L, that triggers auto-liquidation actions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;positionTimestamp&quot;:{&quot;description&quot;:&quot;Date and time the position was last updated.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productData&quot;:{&quot;items&quot;:{&quot;properties&quot;:{&quot;margin&quot;:{&quot;description&quot;:&quot;Margin for the product identified in the `productId` value below.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productId&quot;:{&quot;description&quot;:&quot;Prodcut ID. The PDS service&#039;s `\\\/product\\\/{productId}` GET request returns information about the product.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;totalCost&quot;:{&quot;description&quot;:&quot;The total cost of open positions on the requested account.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;totalMargin&quot;:{&quot;description&quot;:&quot;Total margin on the requested account&quot;,&quot;type&quot;:&quot;number&quot;},&quot;totalPL&quot;:{&quot;description&quot;:&quot;Total P\\\/L on the requested account.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;creditutilization_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;adminfill_POST_in&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/roe-{env}.trade.tt\\\/roe\\\/{v}\\\/fill&quot;},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;marketId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;orderQty&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;price&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;side&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;userId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;required&quot;:[&quot;accountId&quot;,&quot;orderQty&quot;,&quot;price&quot;,&quot;instrumentId&quot;,&quot;side&quot;,&quot;marketId&quot;],&quot;title&quot;:&quot;adminfill_POST_in&quot;,&quot;type&quot;:&quot;object&quot;},&quot;product-position-accountid_GET&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/junoweb-{env}.trade.tt\\\/juno\\\/{v}\\\/positions&quot;},&quot;eventVars&quot;:{&quot;accountId&quot;:[&quot;pathParameters&quot;,&quot;accountId&quot;],&quot;scaleQty&quot;:[&quot;query&quot;,&quot;scaleQty&quot;]},&quot;queryParams&quot;:{&quot;accounts&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;accountId&quot;},&quot;aggregated&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;includeProductPos&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;pageSize&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;100&quot;},&quot;paged&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;scale_qty&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;scaleQty&quot;}}},&quot;properties&quot;:{&quot;lastPage&quot;:{&quot;description&quot;:&quot;Whether this is the last page of the response.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;nextPageKey&quot;:{&quot;description&quot;:&quot;Key to provide in the `nextPageKey` query parameter to get the next page of data.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;positions&quot;:{&quot;description&quot;:&quot; Array of the current day&#039;s position.&quot;,&quot;foreach&quot;:[&quot;product_positions&quot;],&quot;foreachreplace&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentPositions&quot;:{&quot;description&quot;:&quot;&quot;,&quot;foreachreplaceparent&quot;:[&quot;accountId&quot;],&quot;items&quot;:{&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;Account ID associated with the position.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;buyFillQty&quot;:{&quot;description&quot;:&quot;Total Buy quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;buyWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Buy orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;instrumentId&quot;:{&quot;description&quot;:&quot;Instrument ID. The PDS service&#039;s `\\\/instrument\\\/{instrumentId}` GET request returns information about the instrument.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;maxLongPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxLongPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPos&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;maxShortPosNet&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;netPosition&quot;:{&quot;description&quot;:&quot;Position at the start of the day plus the difference between what you bought and sold.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;pnl&quot;:{&quot;description&quot;:&quot;Total profit and loss: P\\\/L = open P\\\/L + realized P\\\/L. The P\\\/L displayed is based on the same method used for risk checking..&quot;,&quot;type&quot;:&quot;number&quot;},&quot;productId&quot;:{&quot;description&quot;:&quot;Product ID&quot;,&quot;type&quot;:&quot;string&quot;},&quot;realizedPnl&quot;:{&quot;description&quot;:&quot;Profit and loss from closed positions.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellFillQty&quot;:{&quot;description&quot;:&quot;Total Sell quantity.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sellWorkingQty&quot;:{&quot;description&quot;:&quot;Sum of the quantity of all the working Sell orders.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodNetPos&quot;:{&quot;description&quot;:&quot;Net position at the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;},&quot;sodPrice&quot;:{&quot;description&quot;:&quot;Settlement or manually entered contract price for the start of the trading session.&quot;,&quot;type&quot;:&quot;number&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;product-position-accountid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;sod-upload_POST_in&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;format&quot;:{&quot;env&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;environment&quot;},&quot;v&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;version&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/risk-{env}.trade.tt\\\/api\\\/{v}\\\/{env}\\\/batch\\\/sods&quot;},&quot;queryParams&quot;:{&quot;auditFields&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;true&quot;},&quot;continueOnError&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;0&quot;},&quot;fileFormat&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;1&quot;},&quot;requestedSettings&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;true&quot;},&quot;userEnvCheck&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;false&quot;}}},&quot;title&quot;:&quot;sod-upload_POST_in&quot;,&quot;type&quot;:&quot;object&quot;},&quot;sod-upload_POST_out&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;properties&quot;:{&quot;batchId&quot;:{&quot;description&quot;:&quot;The amount of the credit limit.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;putURL&quot;:{&quot;description&quot;:&quot;The amount of the credit limit.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;statusCode&quot;:{&quot;description&quot;:&quot;The returned status code.&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;status_message&quot;:{&quot;description&quot;:&quot;Populated when an error occurs to provide further details.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;sod-upload_POST_out&quot;,&quot;type&quot;:&quot;object&quot;}}}},&quot;docExpansion&quot;:&quot;list&quot;,&quot;defaultModelRendering&quot;:&quot;example&quot;,&quot;operationsSorter&quot;:&quot;alpha&quot;,&quot;deepLinking&quot;:true,&quot;displayOperationId&quot;:false,&quot;filter&quot;:false,&quot;tryItOutEnabled&quot;:false,&quot;defaultModelsExpandDepth&quot;:-1,&quot;validatorUrl&quot;:&quot;none&quot;}\"><\/div>","protected":false},"excerpt":{"rendered":"<p class=\"wp-block-paragraph\">The ttmonitor service of the TT REST API is used for requests pertaining to viewing positions and SOD records for a given account.<\/p>\n<p class=\"wp-block-paragraph\"><strong>Note:&nbsp;<\/strong>ttmonitor is not intended to be used as a real-time feed since there may be delays between the time at which order and fill events occur and the time when they are available via TT REST API. Applications requiring a real-time feed should use&nbsp;<a href=\"\/tt-net-sdk\/articles\/gs-getting-started.html\">TT .NET SDK<\/a>&nbsp;or&nbsp;<a href=\"\/tt-fix\/general\/System_Overview.html\">TT FIX<\/a>&nbsp;.<\/p>\n<p class=\"wp-block-paragraph\">Requests to the ttmonitor service of the TT REST API use the following base URL:&nbsp;<strong>ttrestapi.trade.tt\/ttmonitor\/&lt;environment&gt;<\/strong>:<\/p>\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: When submitting requests, all API urls are case sensitive and should include the endpoint name in lowercase. For example, using&nbsp;<em>https:\/\/ttrestapi.trade.tt\/<strong>TTMONITOR<\/strong>\/ext_uat_cert\/<\/em>&nbsp;results in a 403 server error.<\/p>\n<p class=\"wp-block-paragraph\">You must use&nbsp;<em>https:\/\/ttrestapi.trade.tt\/<strong>ttmonitor<\/strong>\/ext_uat_cert\/<\/em>&nbsp;in order to properly reach the API.<\/p>\n<h2 class=\"wp-block-heading\" id=\"post-limits\">Limitations for POST requests<a href=\"\/tt-rest\/v2_uat\/ttmonitor.html#post-limits\"><\/a><\/h2>\n<p class=\"wp-block-paragraph\">For POST endpoints which allow for the submission of a list of items, the number of list items must not exceed twenty. Furthermore, a one-second pause must be initiated after the acknowledgement from a prior POST submission has been received. Most daily maintenance and activity will not be affected by these limits and can be accomplished normally on weekdays.<\/p>\n<p class=\"wp-block-paragraph\">Activities that involve uploading significant amounts of data, such adding large numbers of users or starting a migration, will require special scheduling. In such circumstances, please contact TT Onboarding with scheduling assistance.<\/p>\n<h2 class=\"wp-block-heading\" id=\"access-parameters\">Access Parameters<a href=\"\/tt-rest\/v2_uat\/ttmonitor.html#access-parameters\"><\/a><\/h2>\n<p class=\"wp-block-paragraph\">Calls to the ttmonitor services listed below require both of the following in your header:<\/p>\n<p class=\"wp-block-paragraph\">For instructions on obtaining your\u00a0<a href=\"\/tt-rest\/v2_uat\/gs-before.html\">application key<\/a>\u00a0and\u00a0<a href=\"\/tt-rest\/v2_uat\/gs-token.html#token_requests\">token<\/a>, refer to the related sections in the TT REST Web Services documentation.<\/p>\n","protected":false},"author":2,"template":"single-item-doc-uat","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[1600],"class_list":["post-7958","doc","type-doc","status-publish","hentry","docs-category-api-reference-tt-rest-api-2-0-uat"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/7958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/7958\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=7958"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=7958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}