ComputePrice
Computes the Price based on a trading account and a commodity provided.
Input
Name | Type | Description |
TradingAccount | String | The UUID of the corresponding trading account. |
Commodity | String | The UUID of the commodity/ies participating in the transaction. In case multiple commodities are to be entered seperate by comma (,). |
Quantity | String | The UUID of the quantity/ies for each commodity in the transaction. In case multiple commodities, their corresponding quantities are to be entered seperate by comma (,). |
Result Set Columns
Name | Type | Description |
NetTotal | Double | The net total amount. |
ProfitTotal | Double | The profit total amount. |
GrossTotal | Double | The gross total amount. |
Success | Boolean | If the request is sucessful. |
TaxTotal | Double | The tax total amount. |
DiscountTotal | Double | The discount total amount. |