---
title: "Binary Bias Measure"
method: POST
path: "/assets/indicators/binary-bias-measure"
tags: ["Assets / Indicators"]
---

# Binary Bias Measure

`POST /assets/indicators/binary-bias-measure`

## Request

- Base URL: `https://api.portfoliooptimizer.io/v1`
- URL: `https://api.portfoliooptimizer.io/v1/assets/indicators/binary-bias-measure`
- Auth: API key in header `X-API-Key`

Compute the binary bias measure of an asset.

References
* [Fattinger, Felix and Hanspal, Tobin and Koval, Borys and Steshkova, Alina, Binary Bias and Stock Returns](https://ssrn.com/abstract=7460480)

## Request body

- union
  - object
    - `assets` object[], required
      - `assetReturns` number[], required: assetReturns[t] is the logarithmic return of the asset at the time t
      - `assetBinaryBiasMeasureFormationPeriod` integer, required: The look back period over which to compute the asset binary bias measure
      - `assetBinaryBiasMeasureSkipPeriod` integer: The number of the most recent periods excluded from the asset binary bias measure computation; must be < assetBinaryBiasMeasureFormationPeriod
  - object
    - `assets` object[], required
      - `assetPrices` object[], required: assetPrices[t] contains price information for the asset at the date t
        - `date` string, required: The date corresponding to the date t in format YYYY-MM-DD; all dates must be distinct
        - `close` number, required: The close price of the asset at the date t
      - `assetBinaryBiasMeasureFormationPeriod` integer, required: The look back period over which to compute the asset binary bias measure
      - `assetBinaryBiasMeasureSkipPeriod` integer: The number of the most recent periods excluded from the asset binary bias measure computation; must be < assetBinaryBiasMeasureFormationPeriod

## Response `200`

OK

- object
  - `assets` object[], required
    - `assetBinaryBiasMeasure` number, required: The binary bias measure of the asset

## Changes

- **2026-10-13** `9fdda0e0f5b6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer/changes/assets/indicators/binary-bias-measure/post.md)

---

[API](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer.md) - [All operations](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer/llms.txt) - [OpenAPI document](https://skmtc.dev/portfoliooptimizer/apis/portfolio-optimizer/revisions/9d075aa717bf?raw)
