| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | class Markets extends Api  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * Get the list of all exchanges and pairs that WebSocket-based market real-time market data API supports.  | 
            ||
| 17 | *  | 
            ||
| 18 | * @param array $params  | 
            ||
| 19 | * @return array  | 
            ||
| 20 | * @throws Exception  | 
            ||
| 21 | */  | 
            ||
| 22 | 2 | public function getAll($params = []): array  | 
            |
| 25 | }  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * Retrieve historical timeseries data for a market.  | 
            ||
| 29 | *  | 
            ||
| 30 | * @param string $assetKey This "key" can be the asset's ID (unique), slug (unique), or symbol (non-unique)  | 
            ||
| 31 | * @param string $metricId The metricID is a unique identifier which describes the type of data returned by  | 
            ||
| 32 | * time-series endpoints.  | 
            ||
| 33 | * @param array $params  | 
            ||
| 34 | * @return array  | 
            ||
| 35 | * @throws Exception  | 
            ||
| 36 | */  | 
            ||
| 37 | 2 | public function getTimeseries(string $assetKey, string $metricId, array $params = []): array  | 
            |
| 42 |