$response = [];
switch ($days) {
case '1':
$response = $currencyPrice->getPrices10() ?? $this->getDefaultArray();
break;
case '7':
$response = $currencyPrice->getPrices70() ?? $this->getDefaultArray();
break;
case '14':
$response = $currencyPrice->getPrices140() ?? $this->getDefaultArray();
break;
case '30':
$response = $currencyPrice->getPrices300() ?? $this->getDefaultArray();
break;
case '90':
$response = $currencyPrice->getPrices900() ?? $this->getDefaultArray();
break;
case '180':
$response = $currencyPrice->getPrices1800() ?? $this->getDefaultPriceArray();
break;
}