GetProducts
Category: User Permissions: Public Call Type: Synchronous
Returns an array of products and currencies available on the exchange. A product is an asset that is tradable or paid out.
Request
Key | Value |
---|---|
OMSId | integer. The ID of the Order Management System for which the array of available products and currencies will be returned. |
GetDisabled | boolean. A boolean flag indicating whether to include disabled products in the response. |
Response
The response returns an array of objects, one object for each product available on the Order Management System.
Key | Value |
---|---|
omsId | integer. The ID of the Order Management System that offers the product. |
productId | long integer. The ID of the product. |
product | string. “Nickname” or shortened name of the product. For example, NZD (New Zealand Dollar). |
productFullName | string. Full and official name of the product. For example, New Zealand Dollar. |
productType | integer. A number describing the nature of the product. One of: 0 Unknown (an error condition) 1 NationalCurrency 2 CryptoCurrency 3 Contract |
decimalPlaces | integer. The number of decimal places in which the product is divided. The maximum is 8. For example, US Dollars are divided into 100 units, or 2 decimal places. Other products may be different. Burundi Francs use 0 decimal places and the Rial Omani uses 3. |
tickSize | real. The smallest increment in which the product can trade. |
noFees | Boolean. Shows whether trading the product incurs transaction fees. The default is false; that is, if NoFees is false, transaction fees will be incurred. If NoFees is true, no fees are incurred. |
Last updated