PATH:
opt
/
alt
/
tests
/
alt-php80-pecl-trader_0.5.1-1.el8
/
tests
--TEST-- trader_ht_phasor() basic test --SKIPIF-- <?php if (!extension_loaded("trader")) die("skip"); --INI-- trader.real_precision=3 --FILE-- <?php include "inc/data.php"; include "inc/func.php"; /* Lookback is 32. */ var_dump(trader_ht_phasor( array_slice(get_data("close", $data0), 0, 35) )); ?> --EXPECT-- array(2) { [0]=> array(3) { [32]=> float(2.805) [33]=> float(3.219) [34]=> float(1.613) } [1]=> array(3) { [32]=> float(4.668) [33]=> float(-0.935) [34]=> float(-3.103) } }
[-] trader_adosc_01.phpt
[edit]
[-] trader_apo_01.phpt
[edit]
[-] trader_macd.phpt
[edit]
[-] trader_atr_01.phpt
[edit]
[-] trader_atan_01.phpt
[edit]
[-] trader_ini_02.phpt
[edit]
[-] trader_obv_bug62712.phpt
[edit]
[-] trader_t3_01.phpt
[edit]
[-] trader_asin_01.phpt
[edit]
[-] trader_sma_bug62720.phpt
[edit]
[-] trader_ad_01.phpt
[edit]
[-] trader_aroon_01.phpt
[edit]
[-] trader_t3_bug62698.phpt
[edit]
[-] trader_adxr_01.phpt
[edit]
[-] trader_adx_01.phpt
[edit]
[-] trader_add_01.phpt
[edit]
[-] trader_beta_01.phpt
[edit]
[+]
..
[+]
inc
[-] trader_adosc_bug62728.phpt
[edit]
[-] trader_avgprice_01.phpt
[edit]
[-] trader_aroonosc_01.phpt
[edit]
[-] trader_ad_02.phpt
[edit]
[-] trader_ht_sine_01.phpt
[edit]
[-] trader_cci_01.phpt
[edit]
[-] trader_ht_phasor_01.phpt
[edit]
[-] trader_acos_01.phpt
[edit]
[-] trader_bop_01.phpt
[edit]