Spot Price
Provides spot price movement over a defined interval, together with information on the products offered and system variables. When defining parameters, note that this works in the concept of querying for [Spot price of gold in {currency} for the last {qtyIntervals} x {intervalSize}{interval}]. Also note that the call here does not require "spotPriceType" as we are concerned only with the price of Gold for this app.
| Query Parameters |
|---|
interval int32Possible values: [ Time intervals, expressed in minutes. Integer value represents the member's equivalent number of minutes (except for Month (-1) and Year (-2) Accepts "Minute"/"Hour"/"Day"(-1) or the equivalent no. of minutes unless otherwise bracketed. Determines the interval between spots we are concerned with. |
qtyIntervals int32Number of most-recent Intervals that we will like to query on. |
currency stringThe fiat currency that we want to query for gold prices in (e.g. SGD). Defaults to system defined base currency if not provided. |
intervalSize int32The gap between each intervals. (e.g. X minutes, X hours, X days) |
| Responses | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Success
| |||||||||||||
400Invalid values exist (e.g. valid provided for [interval], or [six] for [qtyIntervals]), or the value provided for [qtyInterval] or [interval] is too high. |