curl -X POST \
-H "x-api-key: {your-api-key-here}" \
-H "Content-Type: application/json" \
https://5uftseufe1.execute-api.us-east-2.amazonaws.com/prod/submit_job/monte-carlo/yaml \
-d '{
"numScenarios": 100000,
"timeHorizonDays": 10,
"confidenceLevels": [0.90, 0.95, 0.99],
"volatilityLookbackDays": 25,
"ewmaDecayFactor": 0.94,
"volatilityMultiplier": 1.0,
"settings": {
"distributionAssumption": "Log-Normal",
},
"portfolio": {
"equities": [
{
"ticker": "SPY",
"is_long": true,
"quantity": 1000
},
{
"ticker": "QQQ",
"is_long": true,
"quantity": 500
}
],
"options": [
{
"ticker": "SPY",
"is_long": true,
"style": "American",
"is_call": true,
"strike": 568,
"maturity": "2025-10-31",
"quantity": 2000
}
],
"futures": [
{
"ticker": "ESH25",
"is_long": true,
"size": 50,
"quantity": 100
},
{
"ticker": "YMH25",
"is_long": true,
"size": 5,
"quantity": 500
}
],
"bonds": [
{
"face_value": 10000,
"interest_rate": 0.03,
"issuance_date": "2023/01/01",
"maturity": "2024/01/01",
"quantity": 100
}
]
}
}'