Skip to content

Commit 66c5314

Browse files
committed
Added note about bug in PECL Trader.
1 parent 8a2b827 commit 66c5314

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,19 @@ This project is just an interface to that extension, and does not work without i
1212

1313
Variable types are set on all function parameters.
1414

15-
## Note About Misdocumented Functions
15+
## Note About Mis-documented Functions
1616

1717
The php.net documentation for trader_ht_phasor and trader_ht_sine are incorrect. This was discovered through unit testing of this interface. Both functions require a second parameter, a by reference array that extra data will be written into.
1818

1919
This interface has the correct version of those functions.
2020

21+
### Bug in Trader 0.4.0
22+
23+
The PECL Trader package version 0.4.0 has a bug regarding the two functions above. Though the output parameters are required for the function to execute, they are not used. The returned array is a 2-Dimensional array with the return value and the output parameter combined.
24+
2125
## How to use
2226

23-
Lets assume that you want to generate an Aroon indicator.
27+
Lets assume that you want to generate a correlation indicator.
2428
Instead of using
2529
`trader_correl($Open, $Close, 30)`
2630
You can now use the exact named

0 commit comments

Comments
 (0)