Support Center

API Method: GET contractorders/contract_id

Last Updated: Aug 04, 2013 05:28PM IST
Overview
This method allows you to retrieve the order book for a contract.

Call: GET https://api.predictious.com/v1/contractorders/<contract_id> where <contract_id> is the id of the contract.

Return Value
{
     "Asks":
     [
          {
              "Price":420000,
              "Quantity":200
          },
          ...
     ],
     "Bids":
      [
          {
              "Price":380000,
              "Quantity":200
          },
          {
              "Price":360000,
              "Quantity":100
          },
          ...
      ]
}
Description of the fields:
  • Price: The price for the bid or the ask in this order, in Satoshi (the base unit of Bitcoin, 1 Satoshi = 0.00000001 BTC).
  • Quantity: The number of shares to sell or buy in this order.
support@predictious.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete