Skip to main content
POST
portfolio_debenture_returns

Authorizations

apikey
string
header
required

The publishable key (sb_publishable_…), on every request. It is NOT a JWT — sending it as Authorization: Bearer is rejected as an invalid JWT. It identifies the project, not you, and maps to the Postgres anon role.

Body

application/json
p_tickers
(string | null)[] | null
required
p_end_month
string<date> | null
required
p_max_monthly_drop_pct
number | null

Defaults to NULL::numeric.

Response

The result set, oldest first. An unknown id is an empty array, not a 404 and never a guessed value.

line_no
integer<int32> | null
input_ticker
string | null
ticker
string | null
month
string<date> | null
n_fundos
integer<int32> | null
n_invalid_fundos
integer<int32> | null
median_pu
number | null
factor
number | null
month_flag
string | null
reason
string | null