Skip to main content
POST
/
strategies
/
{strategyId}
/
historical-data
Request historical data generation for a strategy
curl --request POST \
  --url https://api.noonum.ai/v1/strategies/{strategyId}/historical-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dates": [
    "2024-01-31"
  ],
  "priority": 5
}
'
{
  "success": true,
  "data": [
    "2024-01-31"
  ]
}

Authorizations

Authorization
string
header
required

Enter 'Bearer' followed by a space and then your JWT or API Key. Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... or Bearer YOUR_API_KEY_HERE

Path Parameters

strategyId
string
required

UUID of the user strategy

Body

application/json
dates
string<date>[]
required

A list of dates to generate historical data for.

priority
integer
Example:

5

Response

Request accepted for asynchronous processing.

success
boolean
Example:

true

data
string<date>[]

A list of dates for which the request was successfully accepted.