Queue seeded bootstrap or Gaussian Monte Carlo simulations with percentile paths and terminal-risk metrics.
/api/v2/quant/compute/simulationsSimulation seeds and hashes make results reproducible; simulated paths are not forecasts or guarantees.
quant:compute:runThe playground uses deterministic isolated sandbox fixtures. It never queries production workspace data and does not require you to paste an API secret into the browser.
Sign in to run{
"data": {
"job_uid": "00000000-0000-4000-8000-000000000022",
"job_type": "simulation",
"status": "queued"
}
}curl -X POST \
https://equitygpt.app/api/v2/quant/compute/simulations \
-H "Authorization: Bearer $FINANCEGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"returns":[0.01000000000000000020816681711721685132943093776702880859375,-0.0200000000000000004163336342344337026588618755340576171875,0.005000000000000000104083408558608425664715468883514404296875,0.0120000000000000002498001805406602215953171253204345703125,-0.0040000000000000000832667268468867405317723751068115234375,0.00899999999999999931998839741709161899052560329437255859375,0.003000000000000000062450045135165055398829281330108642578125,-0.008000000000000000166533453693773481063544750213623046875,0.0109999999999999993616217608405349892564117908477783203125,0.00600000000000000012490009027033011079765856266021728515625],"method":"bootstrap","paths":100,"horizon":20,"seed":42}}'import os, requests
url = "https://equitygpt.app/api/v2/quant/compute/simulations"
headers = {"Authorization": f"Bearer {os.environ['FINANCEGPT_API_KEY']}"}
payload = {
"input": {
"returns": [
0.01000000000000000020816681711721685132943093776702880859375,
-0.0200000000000000004163336342344337026588618755340576171875,
0.005000000000000000104083408558608425664715468883514404296875,
0.0120000000000000002498001805406602215953171253204345703125,
-0.0040000000000000000832667268468867405317723751068115234375,
0.00899999999999999931998839741709161899052560329437255859375,
0.003000000000000000062450045135165055398829281330108642578125,
-0.008000000000000000166533453693773481063544750213623046875,
0.0109999999999999993616217608405349892564117908477783203125,
0.00600000000000000012490009027033011079765856266021728515625
],
"method": "bootstrap",
"paths": 100,
"horizon": 20,
"seed": 42
}
}
response = requests.request("POST", url, headers=headers, json=payload)
response.raise_for_status()
print(response.json())const response = await fetch('https://equitygpt.app/api/v2/quant/compute/simulations', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.FINANCEGPT_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({"input":{"returns":[0.01000000000000000020816681711721685132943093776702880859375,-0.0200000000000000004163336342344337026588618755340576171875,0.005000000000000000104083408558608425664715468883514404296875,0.0120000000000000002498001805406602215953171253204345703125,-0.0040000000000000000832667268468867405317723751068115234375,0.00899999999999999931998839741709161899052560329437255859375,0.003000000000000000062450045135165055398829281330108642578125,-0.008000000000000000166533453693773481063544750213623046875,0.0109999999999999993616217608405349892564117908477783203125,0.00600000000000000012490009027033011079765856266021728515625],"method":"bootstrap","paths":100,"horizon":20,"seed":42}})
});
if (!response.ok) throw new Error(`FinanceGPT ${response.status}`);
console.log(await response.json());<?php
$ch = curl_init('https://equitygpt.app/api/v2/quant/compute/simulations');
curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_HTTPHEADER => ['Authorization: Bearer '.getenv('FINANCEGPT_API_KEY'), 'Content-Type: application/json'], CURLOPT_POSTFIELDS => '{\"input\":{\"returns\":[0.01000000000000000020816681711721685132943093776702880859375,-0.0200000000000000004163336342344337026588618755340576171875,0.005000000000000000104083408558608425664715468883514404296875,0.0120000000000000002498001805406602215953171253204345703125,-0.0040000000000000000832667268468867405317723751068115234375,0.00899999999999999931998839741709161899052560329437255859375,0.003000000000000000062450045135165055398829281330108642578125,-0.008000000000000000166533453693773481063544750213623046875,0.0109999999999999993616217608405349892564117908477783203125,0.00600000000000000012490009027033011079765856266021728515625],\"method\":\"bootstrap\",\"paths\":100,\"horizon\":20,\"seed\":42}}']);
$response = curl_exec($ch);
if (curl_getinfo($ch, CURLINFO_HTTP_CODE) >= 400) throw new RuntimeException($response);
echo $response;Explorer gives immediate isolated sandbox access. Production plans require a commercial entitlement.
Create account