{"id":7944,"date":"2025-09-04T15:45:15","date_gmt":"2025-09-04T20:45:15","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=7944"},"modified":"2026-01-05T13:34:57","modified_gmt":"2026-01-05T19:34:57","slug":"ttbacktest-documentation","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/apis\/tt-rest-api-2-0\/api-reference-tt-rest-api-2-0\/ttbacktest-documentation\/","title":{"rendered":"ttbacktest Documentation"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"overview\">Overview<a href=\"\/tt-rest\/v2\/ttbacktest.html#overview\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The ttbacktest service of the TT REST API is used for starting and stopping backtests for ADL algos as well as retrieving their results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prior to using this service via the REST API, TT recommends reviewing the existing documentation on the GUI-based version located at:&nbsp;<a href=\"\/tt-backtesting\/\">https:\/\/library.tradingtechnologies.com\/tt-backtesting\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"environments\">Environments<a href=\"\/tt-rest\/v2\/ttbacktest.html#environments\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">TT Backtesting can only be accessed in the simulation environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, all requests to the ttbacktest service of the TT REST API use the following base URL:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>https:\/\/ttrestapi.trade.tt\/ttbacktest\/ext_prod_sim<\/code><\/p>\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>TTBACKTEST<\/strong>\/ext_prod_sim\/<\/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>ttbacktest<\/strong>\/ext_prod_sim\/<\/em>&nbsp;in order to properly reach the API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"access-parameters\">Access Parameters<a href=\"\/tt-rest\/v2\/ttbacktest.html#access-parameters\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Calls to the ttbacktest 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\/gs-before.html\">application key<\/a>\u00a0and\u00a0<a href=\"\/tt-rest\/v2\/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=\"28998\" class=\"insert-page insert-page-28998 \">\n<h2 class=\"wp-block-heading\">Test Calls<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The documentation uses only the User Acceptance Testing (UAT) environment to submit test calls. You cannot submit test calls from the documentation to the Prod SIM environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Due to this limitation, test calls from the documentation are not supported for ttbacktesting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"submitting\">Submitting a Backtest<a href=\"\/tt-rest\/v2\/ttbacktest.html#submitting\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use the \/algobacktest POST endpoint to submit a new backtest and populate the related backtest parameters.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"status\">Backtest Status<a href=\"\/tt-rest\/v2\/ttbacktest.html#status\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Prior to retrieving the backtest results, you must use the \/algobacktest\/{backtestId} GET endpoint to check the execution status of the backtest. This endpoint returns one of the following statuses:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PENDING = the backtest is connecting to the TT backend and preparing to launch.<\/li>\n\n\n\n<li>LAUNCHING = the backtest instance has spun up and is preparing to run.<\/li>\n\n\n\n<li>PRICE_DOWNLOAD = the backtest is downloading the market data playback files<\/li>\n\n\n\n<li>INITIALIZATION = starting the backtest components<\/li>\n\n\n\n<li>RUNNING = the backtest has launched and is processing the market data<\/li>\n\n\n\n<li>FINISHED = the backtest has completed. Users may now use the \/algobacktest\/{backtestId}\/result endpoint to obtain the URL to download the backtest file containing the results and\/or the \/algobacktest\/{backtestId}\/fillgraph endpoint to GET the fill data.<\/li>\n\n\n\n<li>SUCCESS = the backtest has completed processing and is now preparing the result file and the fill graph data.<\/li>\n\n\n\n<li>STOPPED = the backtest was manually stopped by user<\/li>\n\n\n\n<li>STOPPING = the user initiated a manual stop and we&#8217;re waiting for the image to stop<\/li>\n\n\n\n<li>FAIL = the backtest has failed<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: TT strongly recommends checking the backtest status no more than once a minute.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"results\">Retrieving Backtest Results<a href=\"\/tt-rest\/v2\/ttbacktest.html#results\"><\/a><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After running the backtest and receiving the status of&nbsp;<strong>FINISHED<\/strong>&nbsp;from the \/algobacktest\/{backtestId} GET endpoint, you may use the \/algobacktest\/{backtestId}\/results GET endpoint to receive the URL link to download the backtest file that contains the results of the backtest.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In addition, the \/algobacktest\/{backtestId}\/fillgraph GET endpoint provides the data needed to build the fill graph for the selected backtest.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rest api for ttbacktest<\/p>\n\n\n<div id=\"swagger-ui-17a8dfef-812b-499a-b0c5-c959ca35e3c2\" 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;ttbacktest&quot;,&quot;description&quot;:&quot;Rest api for ttbacktest&quot;,&quot;version&quot;:&quot;2018-10-11T15:26:08Z&quot;},&quot;servers&quot;:[{&quot;url&quot;:&quot;https:\\\/\\\/ttrestapi.trade.tt\\\/{basePath}&quot;,&quot;variables&quot;:{&quot;basePath&quot;:{&quot;default&quot;:&quot;ttbacktest\\\/ext_uat_cert\\\/&quot;}}}],&quot;paths&quot;:{&quot;\\\/algobacktest&quot;:{&quot;post&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\\\/algobacktest_POST_out&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;httpMethod&quot;:&quot;POST&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktesttranslator}\\\/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\\\/algobacktest_POST_in.json\\&quot;,\\n\\&quot;response_model\\&quot;: \\&quot;models\\\/algobacktest_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;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\\\/algobacktest_POST_in&quot;}}}},&quot;description&quot;:&quot;Posts information to begin a backtest including the algoId, replay speed, and additional information for a single backtest.&quot;,&quot;summary&quot;:&quot;Submits a backtest&quot;},&quot;get&quot;:{&quot;tags&quot;:[&quot;Algo backtests&quot;],&quot;summary&quot;:&quot;Returns a list of available backtests.&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\\\/algobacktest_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\\\/${ttbacktestalgobacktest}\\\/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\\\/algobacktest_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 a list of all available backtests and includes the algoId, status, replay settings, and additional information on each backtest.&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,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;\\\/algobacktest\\\/{backtestId}&quot;:{&quot;delete&quot;:{&quot;parameters&quot;:[{&quot;name&quot;:&quot;backtestId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request and identify a specific backtest. This hexadecimal value matches the format: &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;. &lt;p&gt;Use the &lt;strong&gt;\\\/algobacktest&lt;\\\/strong&gt; endpoint to retrieve a list of all available backtests and their associated &lt;strong&gt;backtestId&lt;\\\/strong&gt;.&lt;\\\/p&gt;&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;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\\\/algobacktest-backtestid_DELETE_out&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;202&quot;:{&quot;description&quot;:&quot;202 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&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;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;httpMethod&quot;:&quot;POST&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktesttranslator}\\\/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;.*.202.*&quot;:{&quot;statusCode&quot;:&quot;202&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;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;PUT\\&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;backtestId\\&quot;: \\&quot;$input.params(&#039;backtestId&#039;)\\&quot;},\\n\\&quot;request_model\\&quot;: \\&quot;models\\\/algobacktest-backtestid_DELETE_in.json\\&quot;,\\n\\&quot;response_model\\&quot;: \\&quot;models\\\/algobacktest-backtestid_DELETE_out.json\\&quot; ,\\n\\&quot;body\\&quot; :{\\&quot;is_deleted\\&quot;: true},\\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;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\\\/algobacktest-backtestid_DELETE_in&quot;}}}},&quot;description&quot;:&quot;Deletes the backtest matching the {&lt;strong&gt;backtestId&lt;\\\/strong&gt;}. Requires both the &lt;strong&gt;backtestID&lt;\\\/strong&gt; (hexadecimal value in the format &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;) and a &lt;strong&gt;requestId&lt;\\\/strong&gt;.&quot;,&quot;summary&quot;:&quot;Deletes the selected backtest.&quot;},&quot;get&quot;:{&quot;tags&quot;:[&quot;Backtest&quot;],&quot;summary&quot;:&quot;GETs a specific backtest&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;backtestId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request and identify a specific backtest. This hexadecimal value matches the format: &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;. &lt;p&gt;Use the &lt;strong&gt;\\\/algobacktest&lt;\\\/strong&gt; endpoint to retrieve a list of all available backtests and their associated &lt;strong&gt;backtestId&lt;\\\/strong&gt;.&lt;\\\/p&gt;&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;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws_proxy&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktesttranslatorproxy}\\\/invocations&quot;},&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;}},&quot;httpMethod&quot;:&quot;POST&quot;,&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/algobacktest-backtestid_GET&quot;}}}}},&quot;description&quot;:&quot;Provides the details of a specific backtest including the algoId, status, replay settings, and additional information. &lt;p&gt;You can use this endpoint to retrieve the status of a currently running backtest. Check the &#039;Backtest Status section above for more information.&lt;\\\/p&gt; &lt;p&gt;&lt;strong&gt;Note&lt;\\\/strong&gt;: TT strongly recommends checking the backtest status no more than once a minute.&lt;\\\/p&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,DELETE,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;\\\/algobacktest\\\/{backtestId}\\\/stop&quot;:{&quot;post&quot;:{&quot;parameters&quot;:[{&quot;name&quot;:&quot;backtestId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request and identify a specific backtest. This hexadecimal value matches the format: &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;. &lt;p&gt;Use the &lt;strong&gt;\\\/algobacktest&lt;\\\/strong&gt; endpoint to retrieve a list of all available backtests and their associated &lt;strong&gt;backtestId&lt;\\\/strong&gt;.&lt;\\\/p&gt;&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;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\\\/algobacktest-backtestid-stop_POST_out&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;202&quot;:{&quot;description&quot;:&quot;202 response&quot;,&quot;headers&quot;:{&quot;Access-Control-Allow-Origin&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;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;httpMethod&quot;:&quot;POST&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktesttranslator}\\\/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;202&quot;:{&quot;statusCode&quot;:&quot;202&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;DELETE\\&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;backtestId\\&quot;: \\&quot;$input.params(&#039;backtestId&#039;)\\&quot;},\\n\\&quot;request_model\\&quot;: \\&quot;models\\\/algobacktest-backtestid-stop_POST_in.json\\&quot;,\\n\\&quot;response_model\\&quot;: \\&quot;models\\\/algobacktest-backtestid-stop_POST_out.json\\&quot; ,\\n\\&quot;body\\&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;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;,&quot;type&quot;:&quot;mock&quot;},&quot;requestBody&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/algobacktest-backtestid-stop_POST_in&quot;}}}},&quot;description&quot;:&quot;Used to stop the selected backtest.&quot;,&quot;summary&quot;:&quot;Stop a currently running backtest.&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;\\\/algobacktest\\\/{backtestId}\\\/fillgraph&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets the fillgraph details for the given backtest Id.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;backtestId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request and identify a specific backtest. This hexadecimal value matches the format: &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;. &lt;p&gt;Use the &lt;strong&gt;\\\/algobacktest&lt;\\\/strong&gt; endpoint to retrieve a list of all available backtests and their associated &lt;strong&gt;backtestId&lt;\\\/strong&gt;.&lt;\\\/p&gt;&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;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;type&quot;:&quot;aws_proxy&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktestbacktestidfillgraphproxy}\\\/invocations&quot;},&quot;responses&quot;:{&quot;default&quot;:{&quot;statusCode&quot;:&quot;200&quot;}},&quot;httpMethod&quot;:&quot;POST&quot;,&quot;passthroughBehavior&quot;:&quot;when_no_match&quot;,&quot;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;},&quot;responses&quot;:{&quot;200&quot;:{&quot;content&quot;:{&quot;application\\\/json&quot;:{&quot;schema&quot;:{&quot;$ref&quot;:&quot;#\\\/components\\\/schemas\\\/algobacktest-backtestid-fillgraph_GET&quot;}}}}},&quot;description&quot;:&quot;Returns data related to the fill graph for the selected backtest.&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;\\\/algobacktest\\\/{backtestId}\\\/result&quot;:{&quot;get&quot;:{&quot;summary&quot;:&quot;Gets the URL to download the results for the given backtest Id.&quot;,&quot;parameters&quot;:[{&quot;name&quot;:&quot;backtestId&quot;,&quot;in&quot;:&quot;path&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Key used to request and identify a specific backtest. This hexadecimal value matches the format: &lt;strong&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;\\\/strong&gt;. &lt;p&gt;Use the &lt;strong&gt;\\\/algobacktest&lt;\\\/strong&gt; endpoint to retrieve a list of all available backtests and their associated &lt;strong&gt;backtestId&lt;\\\/strong&gt;.&lt;\\\/p&gt;&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\\\/algobacktest-backtestid-result_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\\\/${ttbacktestbacktestidresult}\\\/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;backtestId\\&quot;: \\&quot;$input.params(&#039;backtestId&#039;)\\&quot;},\\n\\&quot;model\\&quot;: \\&quot;models\\\/algobacktest-backtestid-result_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 URL for downloading a completed backtest.&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;\\\/marketdata&quot;:{&quot;get&quot;:{&quot;parameters&quot;:[{&quot;name&quot;:&quot;timestamp&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;The start time for receiving market data. Entered as epoch time in nanoseconds.&quot;,&quot;value&quot;:&quot;1659603712000&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;marketId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;The Id for the desired market. Can be retrieved by using the ttpds &lt;code&gt;\\\/markets&lt;\\\/code&gt; GET request.&quot;},{&quot;name&quot;:&quot;instrumentId&quot;,&quot;in&quot;:&quot;query&quot;,&quot;required&quot;:true,&quot;schema&quot;:{&quot;type&quot;:&quot;string&quot;},&quot;description&quot;:&quot;Instrument ID. Can be retrieved by the \\\/instruments GET request.&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\\\/marketdata_GET&quot;}}}}},&quot;security&quot;:[{&quot;api_key&quot;:[],&quot;Token&quot;:[]}],&quot;x-amazon-apigateway-integration&quot;:{&quot;httpMethod&quot;:&quot;POST&quot;,&quot;uri&quot;:{&quot;Fn::Sub&quot;:&quot;arn:aws:apigateway:${AWS::Region}:lambda:path\\\/2015-03-31\\\/functions\\\/${ttbacktesttranslator}\\\/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\\\/marketdata_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;contentHandling&quot;:&quot;CONVERT_TO_TEXT&quot;,&quot;type&quot;:&quot;mock&quot;},&quot;description&quot;:&quot;Confirms the availability of historical market data for time period set by the &lt;strong&gt;timestamp&lt;\\\/strong&gt; parameter and the specific instrument set by the &lt;strong&gt;marketId&lt;\\\/strong&gt; and &lt;strong&gt;instrumentId&lt;\\\/strong&gt; parameters.&quot;,&quot;summary&quot;:&quot;Confirms the availability of historical market data for the specified period.&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;algobacktest_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;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/algobacktests&quot;},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;backtests&quot;:{&quot;description&quot;:&quot;Backtests.&quot;,&quot;items&quot;:{&quot;properties&quot;:{&quot;algoId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;backtestStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateCreated&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateFinished&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:[&quot;string&quot;,&quot;null&quot;]},&quot;id&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;replayInstruments&quot;:{&quot;description&quot;:&quot;&quot;,&quot;isOutputList&quot;:&quot;True&quot;,&quot;type&quot;:&quot;array&quot;},&quot;replaySpeed&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;replayTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;properties&quot;:{&quot;startTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;stopTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;startedAt&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;userId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&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;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;algobacktest_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid-fillgraph_GET.json&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;metadata&quot;:{&quot;endpoint&quot;:{&quot;lambda&quot;:&quot;restapi_ttbacktest_backtestId_fillgraph_GET.py&quot;},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;fillgraph&quot;:{&quot;description&quot;:&quot;fillgraph details.&quot;,&quot;type&quot;:&quot;object&quot;},&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;algobacktest-backtestid-fillgraph_GET.json&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid_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;id&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;backtestId&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/algobacktests\\\/{id}&quot;},&quot;eventVars&quot;:{&quot;backtestId&quot;:[&quot;pathParameters&quot;,&quot;backtestId&quot;]},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;backtest&quot;:{&quot;description&quot;:&quot;&quot;,&quot;properties&quot;:{&quot;algoId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;algoType&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;backtestStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateCreated&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateFinished&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:[&quot;string&quot;,&quot;null&quot;]},&quot;id&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;marketId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;replayInstruments&quot;:{&quot;description&quot;:&quot;&quot;,&quot;isOutputList&quot;:&quot;True&quot;,&quot;type&quot;:&quot;array&quot;},&quot;replaySpeed&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;replayTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;properties&quot;:{&quot;startTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;stopTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;result&quot;:{&quot;description&quot;:&quot;Results of the algobacktest.&quot;,&quot;type&quot;:&quot;&quot;},&quot;startedAt&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;userId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;userParameters&quot;:{&quot;description&quot;:&quot; &quot;,&quot;items&quot;:{&quot;items&quot;:{&quot;properties&quot;:{&quot;boolValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;displayName&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;doubleValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;integerValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;name&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;stringValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;timestampValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;type&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;type&quot;:&quot;array&quot;}},&quot;type&quot;:&quot;object&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;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;algobacktest-backtestid_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid-result_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;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/download&quot;},&quot;eventVars&quot;:{&quot;backtestId&quot;:[&quot;pathParameters&quot;,&quot;backtestId&quot;]},&quot;queryParams&quot;:{&quot;file&quot;:{&quot;type&quot;:&quot;static&quot;,&quot;value&quot;:&quot;filldata&quot;},&quot;id&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;backtestId&quot;}}},&quot;properties&quot;:{&quot;status&quot;:{&quot;description&quot;:&quot;Response status.&quot;,&quot;type&quot;:&quot;string&quot;},&quot;url&quot;:{&quot;description&quot;:&quot;Fill data download URL.&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;title&quot;:&quot;algobacktest-backtestid-result_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest_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;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/algobacktests\\\/&quot;},&quot;queryParams&quot;:{}},&quot;properties&quot;:{&quot;accountId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;algoId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;,&quot;wrapper&quot;:&quot;algo&quot;},&quot;algoType&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;marketId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;replayInstruments&quot;:{&quot;description&quot;:&quot;&quot;,&quot;isInputList&quot;:&quot;True&quot;,&quot;type&quot;:&quot;array&quot;},&quot;replaySpeed&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;startTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;wrapper&quot;:&quot;replayTime&quot;},&quot;stopTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;,&quot;wrapper&quot;:&quot;replayTime&quot;},&quot;userParameters&quot;:{&quot;description&quot;:&quot; &quot;,&quot;items&quot;:{&quot;items&quot;:{&quot;properties&quot;:{&quot;boolValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;displayName&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;doubleValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;integerValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;name&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;stringValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;timestampValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;type&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;type&quot;:&quot;array&quot;,&quot;wrapper&quot;:&quot;algo&quot;}},&quot;required&quot;:[&quot;algoId&quot;,&quot;userParameters&quot;,&quot;replaySpeed&quot;,&quot;startTime&quot;,&quot;stopTime&quot;,&quot;marketId&quot;,&quot;replayInstruments&quot;],&quot;title&quot;:&quot;algobacktest_POST_in&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid-stop_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;id&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;backtestId&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/algobacktests\\\/{id}&quot;},&quot;eventVars&quot;:{&quot;backtestId&quot;:[&quot;pathParameters&quot;,&quot;backtestId&quot;]},&quot;queryParams&quot;:{}},&quot;title&quot;:&quot;algobacktest-backtestid-stop_POST_in&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid_DELETE_out&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;properties&quot;:{&quot;backtest&quot;:{&quot;description&quot;:&quot; &quot;,&quot;properties&quot;:{&quot;backtestStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;id&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;isDeleted&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;algobacktest-backtestid_DELETE_out&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest_POST_out&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;properties&quot;:{&quot;backtest&quot;:{&quot;properties&quot;:{&quot;algoId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;backtestStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateCreated&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;dateFinished&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:[&quot;string&quot;,&quot;null&quot;]},&quot;id&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;replayInstruments&quot;:{&quot;description&quot;:&quot;&quot;,&quot;isOutputList&quot;:&quot;True&quot;,&quot;type&quot;:&quot;array&quot;},&quot;replaySpeed&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;replayTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;properties&quot;:{&quot;startTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;stopTime&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;startedAt&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;userId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;userParameters&quot;:{&quot;description&quot;:&quot; &quot;,&quot;items&quot;:{&quot;items&quot;:{&quot;properties&quot;:{&quot;boolValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;displayName&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;doubleValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;number&quot;},&quot;integerValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;name&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;stringValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;timestampValue&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;},&quot;type&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;integer&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;type&quot;:&quot;array&quot;},&quot;type&quot;:&quot;array&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;algobacktest_POST_out&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid-stop_POST_out&quot;:{&quot;_generated_&quot;:&quot;* This file is auto generated - do not modify by hand. *&quot;,&quot;properties&quot;:{&quot;backtest&quot;:{&quot;description&quot;:&quot; &quot;,&quot;properties&quot;:{&quot;backtestStatus&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;id&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;instanceId&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;instanceState&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;},&quot;message&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&quot;},&quot;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;algobacktest-backtestid-stop_POST_out&quot;,&quot;type&quot;:&quot;object&quot;},&quot;marketdata_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;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/marketdata&quot;},&quot;eventVars&quot;:{&quot;instrumentId&quot;:[&quot;query&quot;,&quot;instrumentId&quot;],&quot;marketId&quot;:[&quot;query&quot;,&quot;marketId&quot;],&quot;timestamp&quot;:[&quot;query&quot;,&quot;timestamp&quot;]},&quot;queryParams&quot;:{&quot;instrumentId&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;instrumentId&quot;},&quot;marketId&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;marketId&quot;},&quot;timestamp&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;timestamp&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;marketData&quot;:{&quot;description&quot;:&quot;&quot;,&quot;properties&quot;:{&quot;isMarketDataAvailable&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;boolean&quot;},&quot;message&quot;:{&quot;description&quot;:&quot;&quot;,&quot;type&quot;:&quot;string&quot;}},&quot;type&quot;:&quot;object&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;requestVersion&quot;:{&quot;description&quot;:&quot;For TT internal use only.&quot;,&quot;type&quot;:&quot;integer&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;marketdata_GET&quot;,&quot;type&quot;:&quot;object&quot;},&quot;algobacktest-backtestid_DELETE_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;id&quot;:{&quot;type&quot;:&quot;key&quot;,&quot;value&quot;:&quot;backtestId&quot;}},&quot;url&quot;:&quot;https:\\\/\\\/algo-backtesting-{env}.trade.tt\\\/algobacktests\\\/{id}&quot;},&quot;eventVars&quot;:{&quot;backtestId&quot;:[&quot;pathParameters&quot;,&quot;backtestId&quot;]},&quot;queryParams&quot;:{}},&quot;title&quot;:&quot;algobacktest-backtestid_DELETE_in&quot;,&quot;type&quot;:&quot;object&quot;}}},&quot;x-amazon-apigateway-gateway-responses&quot;:{&quot;DEFAULT_4XX&quot;:{&quot;responseParameters&quot;:{&quot;gatewayresponse.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;gatewayresponse.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;gatewayresponse.header.method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;,&quot;gatewayresponse.header.method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;gatewayresponse.header.method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;message\\&quot;:$context.error.messageString}&quot;}},&quot;DEFAULT_5XX&quot;:{&quot;responseParameters&quot;:{&quot;gatewayresponse.header.Strict-Transport-Security&quot;:&quot;&#039;max-age=31536000&#039;&quot;,&quot;gatewayresponse.header.Content-Security-Policy&quot;:&quot;&#039;frame-ancestors &#039;none&#039;&#039;&quot;,&quot;gatewayresponse.header.method.response.header.Referrer-Policy&quot;:&quot;&#039;same-origin&#039;&quot;,&quot;gatewayresponse.header.method.response.header.X-Frame-Options&quot;:&quot;&#039;deny&#039;&quot;,&quot;gatewayresponse.header.method.response.header.X-Content-Type-Options&quot;:&quot;&#039;nosniff&#039;&quot;},&quot;responseTemplates&quot;:{&quot;application\\\/json&quot;:&quot;{\\&quot;message\\&quot;:$context.error.messageString}&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>Overview The ttbacktest service of the TT REST API is used for starting and stopping backtests for ADL algos a [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","meta":{"_acf_changed":false,"footnotes":""},"docs-category":[734],"class_list":["post-7944","doc","type-doc","status-publish","hentry","docs-category-api-reference-tt-rest-api-2-0"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/7944","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\/7944\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=7944"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=7944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}