HyperCore · Stops & take-profits
Triggered stops
Stop-loss and take-profit orders that fired, newest first, with the fill they got.
GET https://api.femtos.xyz/v1/hypercore/stops/triggered
Parameters
| Param | In | Example or values |
|---|---|---|
coin | query | BTC |
since | query | (optional) |
until | query | (optional) |
limit | query | 100 |
cursor | query | (optional) |
Example
curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/stops/triggered?coin=BTC&limit=100"Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.
Response fields
| Field | Type | Meaning |
|---|---|---|
events | object[] | Newest first: {oid, user, coin, side, kind, exec, orderType, triggerPx, triggerCondition, limitPx, sz, origSz, …} |
events.triggeredAt | ms | When it fired (= statusTime) |
events.child | object | null | The order the trigger placed: its status in the trigger block (filled, open, canceled…), size, limit price: {status, sz, limitPx} |
events.fill | object | null | Fills of that order in the trigger block; null when none: {sz, avgPx, notional, fills} |
since | ms | Window start read |
until | ms | Window end |
next_cursor | string | null | Opaque cursor of the next page: pass it as `cursor`, unchanged. null on the last page |
Next page: cursor = the next_cursor of the previous answer, the same on every list (pagination).
Related: Stops & take-profits
- Stop map GET /v1/hypercore/stops
Open stop-loss and take-profit orders of one coin, bucketed by trigger price around the mark. - Wallet stops GET /v1/hypercore/wallet/{address}/stops
One wallet's open trigger orders, or with history=1 every status event of them. - Stops stream WS hc.stops
Every trigger order event: placed, triggered, canceled, and the order a trigger placed.