cURL
curl --request POST \ --url https://api.tilt.io/api/v1/custom/org/{organization_uuid}/clients/{uuid}/backtests/ \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "start_date": "2023-12-25", "end_date": "2023-12-25", "rebalance_period": "MONTHLY", "tax_gamma": 0.5, "tax_loss_threshold_bps": 2500, "starting_nav": 500000050 } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "PENDING", "params": { "start_date": "2023-12-25", "end_date": "2023-12-25", "rebalance_period": "MONTHLY", "tax_gamma": 0.5, "tax_loss_threshold_bps": 2500, "starting_nav": 500000050 }, "result": {}, "error_message": "<string>", "created_at": "2023-11-07T05:31:56Z", "started_at": "2023-11-07T05:31:56Z", "finished_at": "2023-11-07T05:31:56Z" }
Start a new backtest job for a client
MONTHLY
0 <= x <= 1
0 <= x <= 5000
100 <= x <= 1000000000
PENDING
RUNNING
SUCCESS
FAILURE
Show child attributes
Dictionary mapping case names to case results