This is in the changelog for pecl trader extension version 0.4.1. Previous versions used 2 arguments, now only one (see https://pecl.php.net/package-changelog.php?package=trader&release=0.4.1)
(PECL trader >= 0.2.0)
trader_ht_sine — Transformación de Hilbert - Sinusoide
real
Array de valores reales.
Devuelve un array con los datos calculados o false en caso de error.
This is in the changelog for pecl trader extension version 0.4.1. Previous versions used 2 arguments, now only one (see https://pecl.php.net/package-changelog.php?package=trader&release=0.4.1)
Documentation is missing a value
$hts = trader_ht_sine($a['open'],$a['close']);