femtos

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

ParamInExample or values
coinqueryBTC
sincequery(optional)
untilquery(optional)
limitquery100
cursorquery(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

FieldTypeMeaning
eventsobject[]Newest first: {oid, user, coin, side, kind, exec, orderType, triggerPx, triggerCondition, limitPx, sz, origSz, …}
events.triggeredAtmsWhen it fired (= statusTime)
events.childobject | nullThe order the trigger placed: its status in the trigger block (filled, open, canceled…), size, limit price: {status, sz, limitPx}
events.fillobject | nullFills of that order in the trigger block; null when none: {sz, avgPx, notional, fills}
sincemsWindow start read
untilmsWindow end
next_cursorstring | nullOpaque 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.

More