Skip to main content
POST
/
quantlib
/
ml
/
features
/
cross-sectional
Cross-Sectional Transformations
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/features/cross-sectional \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "data": [
    0.05,
    0.12,
    -0.03,
    0.08,
    0.15,
    -0.01
  ],
  "method": "rank"
}
'
{
  "success": true,
  "data": {
    "method": "rank",
    "values": [
      3,
      5,
      1,
      4,
      6,
      2
    ]
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
data
number[]
required

Cross-sectional data (e.g., stock returns, company metrics)

Example:
[0.05, 0.12, -0.03, 0.08, 0.15, -0.01]
method
enum<string>
default:zscore

Transformation method

Available options:
zscore,
rank,
percentile,
demean,
winsorized_zscore
Example:

"rank"

Response

Transformed cross-sectional data

success
boolean
Example:

true

data
object