PHP - Manual: trader_rocr100
2024-12-22
(PECL trader >= 0.2.0)
trader_rocr100 — Rate of change ratio 100 scale: (price/prevPrice)*100
$real
, int $timePeriod
= ?): array
real
浮点数数组。
timePeriod
Number of period. Valid range from 2 to 100000.
Returns an array with calculated data or false on failure.
官方地址:https://www.php.net/manual/en/function.trader-rocr100.php