Skip to main content
POST
/
quantlib
/
ml
/
preprocessing
/
stationarity
Stationarity Transformations
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/preprocessing/stationarity \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "data": [
    100,
    102,
    101,
    105,
    107,
    106,
    110
  ],
  "transform": "log_returns"
}
'
{
  "success": true,
  "data": {
    "transformed": [
      0.0198,
      -0.0098,
      0.0385,
      0.0187,
      -0.0093,
      0.037
    ],
    "adf_statistic": -3.456,
    "transform": "log_returns"
  }
}

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

Time series data

Example:
[100, 102, 101, 105, 107, 106, 110]
transform
enum<string>
default:difference

Transformation method

Available options:
difference,
log_returns,
simple_returns
Example:

"log_returns"

Response

Transformed data with stationarity test

success
boolean
Example:

true

data
object