Add missing indexes.

This commit is contained in:
James Cole
2023-02-17 19:42:09 +01:00
parent 6b05c0fbd3
commit 2e5d5f5a36

View File

@@ -215,12 +215,15 @@ class IndexController extends Controller
// per period:
$division = [
'1Y' => '1',
'6M' => '2',
'3M' => '4',
'1M' => '12',
'1W' => '52.16',
'1D' => '365.24',
'1Y' => '1',
'6M' => '2',
'3M' => '4',
'1M' => '12',
'1W' => '52.16',
'1D' => '365.24',
'YTD' => '1',
'QTD' => '4',
'MTD' => '12',
];
$perPeriod = bcdiv($yearAmount, $division[$range]);