API reference
POSThttps://ftl.fasttrack.net/v1/ref/staticmodel
Details - Static Model
This API endpoint allows the user to submit a portfolio of securities and corresponding weightings via a POST request. The API then calculates various weighted data points for the portfolio, including sector, category, asset class, and region breakdowns.
Additionally, it calculates the bond weighting, bond sector breakdown (if applicable), and weighted average expense ratio for the portfolio.
Legacy API: This read-only reference is preserved for existing v1 integrations. New integrations should use the current API documentation.
Parameters
| Name | In | Requirement | Type | Description |
|---|---|---|---|---|
appid | header | Required | string | 36 character GUID received from the welcome email. The header name must be sent exactly as lowercase appid. Sign up for a trial at http://apitrial.fasttrack.net |
token | header | Required | string | 36 character GUID returned by the auth/login endpoint. The header name must be sent exactly as lowercase token. |
Request body
Content type: application/json
{
"start": "string",
"rebalanceperiod": "week",
"marginrate": 0,
"seedvalue": 0,
"model": [
{
"ticker": "SPY",
"weight": "50"
}
],
"name": "string",
"waitForAllSecurities": "string"
}
Request example
curl --request POST \
--url 'https://ftl.fasttrack.net/v1/ref/staticmodel' \
--header 'appid: YOUR_APP_ID' \
--header 'token: YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"start":"string","rebalanceperiod":"week","marginrate":0,"seedvalue":0,"model":[{"ticker":"SPY","weight":"50"}],"name":"string","waitForAllSecurities":"string"}'
Responses
| Status | Description |
|---|---|
200 | OK |