Skip to main content
GET
Detect self-hedging, hedging and copy trading

Authorizations

X-API-Key
string
header
required

Organization API key (hp_live_...), sent in the X-API-Key header. Create, rotate and restrict keys in the dashboard or with the API keys endpoints; an organization can have two active keys, so you can rotate without downtime. A full-access key can call every endpoint in this reference. A read-only key can call GET endpoints (and create a trading stream token); any other request returns 403 READ_ONLY_KEY. A key with an IP allowlist returns 403 IP_NOT_ALLOWED from any other address. Each endpoint lists which keys can call it under Access.

Headers

If-None-Match
string

Optional. The ETag of the answer you already have. When the answer would be the same, the response is 304 without a body.

Query Parameters

days
integer
default:7

Days of history to analyze, 1 to 30

Required range: 1 <= x <= 30
windowSeconds
integer
default:10

Most seconds between two traders' entries for them to count as together, 1 to 60

Required range: 1 <= x <= 60
minOccurrences
integer
default:3

Fewest matched entries for a pair of traders to be reported

Required range: 2 <= x <= 50

Response

Self-hedging, hedging pairs and copy trading among your traders

success
boolean
Example:

true

data
object