Partially Filled Orders

GET /partially_filled_orders

Retrieve orders that have only been partially filled (filled at least once, but not filled entirely). Requires a valid API key sent with the x-api-key header.

Query parameters

  • pair string

    Filter by market (e.g. "USD_BTCCALL_PERP")

  • start integer

    Start of time period to get orders for (in milliseconds UNIX time)

  • end integer

    End of time period to get orders for (in milliseconds UNIX time)

  • limit integer

    Amount of orders to get (default is 100)

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code integer

      Response code

    • msg string

      Diagnostic message

    • result array[object]

      Order

      Hide result attributes Show result attributes object
  • 503 application/json

    Error

    Hide response attributes Show response attributes object
GET /partially_filled_orders
curl \
 -X GET https://api.testnet.everstrike.io/partially_filled_orders \
 -H "x-api-key: $API_KEY"
Response examples (200)
{
  "code": 200,
  "msg": "null",
  "result": [
    {
      "id": "781a8e80393f11e98e2643f8c5a993ce",
      "oco": null,
      "pair": "USD_BTCCALL_PERP",
      "side": "SELL",
      "time": 1551128037224,
      "type": "LIMIT",
      "fills": [],
      "price": 200,
      "hidden": false,
      "status": "ACTIVE",
      "icebergs": null,
      "qty_orig": 0.02225,
      "post_only": false,
      "price_orig": 200,
      "qty_filled": 0.01,
      "reduce_only": false,
      "qty_orig_usd": 3.09956993634425,
      "qty_remaining": 0.01225,
      "time_in_force": "GTC",
      "trigger_event": null,
      "trigger_price": null,
      "close_on_trigger": false
    }
  ]
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}