Skip to main content
POST
Quadratic Utility Function

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://api.fincept.in/auth/register

Body

application/json
a
number
required

Linear coefficient (a > 0)

Required range: x > 0
Example:

1

b
number
required

Quadratic coefficient (b > 0)

Required range: x > 0
Example:

0.0001

wealth
number
required

Current wealth level

Example:

1000

Response

Successful Response

success
boolean
Example:

true

data
object