femtos

HyperCore · Stops & take-profits

Wallet stops

One wallet's open trigger orders, or with history=1 every status event of them.

GET https://api.femtos.xyz/v1/hypercore/wallet/{address}/stops

Parameters

ParamInExample or values
addresspath<address>
historyquery(empty), 1
limitquery100
cursorquery(optional)

Example

curl -H "Authorization: Bearer $FEMTOS_KEY" "https://api.femtos.xyz/v1/hypercore/wallet/<address>/stops?limit=100"

Key: Authorization: Bearer $FEMTOS_KEY. Get a free key, or with no browser through agent onboarding.

Response fields

FieldTypeMeaning
orders[]objectOpen trigger orders, newest placed first: {oid, user, coin, side, kind, exec, orderType, triggerPx, triggerCondition, limitPx, sz, origSz, …}
countintOrders listed
truncatedbooleanMore than 1000 open trigger orders: the newest 1000 listed
events[]objectStatus events, newest first: {oid, user, coin, side, kind, exec, orderType, triggerPx, triggerCondition, limitPx, sz, origSz, …}
sincemsWindow start read
untilmsWindow end
entityobjectNamed wallet (labels), when known
next_cursorstring | nullOpaque cursor of the next page: pass it as `cursor`, unchanged. null on the last page
billingheavyheavy with history

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.
  • Triggered stops GET /v1/hypercore/stops/triggered
    Stop-loss and take-profit orders that fired, newest first, with the fill they got.
  • Stops stream WS hc.stops
    Every trigger order event: placed, triggered, canceled, and the order a trigger placed.

More