This section describes the data types and formats used consistently in Absurdia's API.
The type of fields suffixed with _at, such as updated_at, and the field timestamp is a UNIX timestamp in microseconds. For example, this page was loaded at 1659974720992000 which is Mon Aug 08 2022 16:05:20 GMT+0000 (Coordinated Universal Time).
Fiat currency codes are as defined by ISO 4217. For example: GBP, EUR, USD.
Symbols identify a financial instrument. Absurdia's API use the following notation:
(base).(quote):(venue code)[.(contract)]
Where base is the asset of interest, priced in quote, at a specific venue (see venue codes) and, eventually of a particular contract. In the absence of a contract in the symbol, it is assumed the symbol identify a spot trading pair. For example, BTC.USDT:BIN would be the price of BTC in USDT on BIN, which is Binance, in the spot market.
let date = new Date(timestamp / 1000);
| BIN | Binance |
| FTX | FTX |
| BPD | Bitpanda |
| ABS | Absurdia |