Skip to content

Commit 0c6ad6c

Browse files
committed
Corrected missing/incorrect function references.
1 parent 0995b7a commit 0c6ad6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/Trader.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public static function beta(array $real0, array $real1, integer $timePeriod = nu
290290
*/
291291
public static function bop(array $open, array $high, array $low, array $close): array
292292
{
293-
293+
return trader_bop($open, $high, $low, $close);
294294
}
295295

296296
/**
@@ -305,7 +305,7 @@ public static function bop(array $open, array $high, array $low, array $close):
305305
*/
306306
public static function cci(array $high, array $low, array $close, integer $timePeriod = null): array
307307
{
308-
308+
return trader_cci($high, $low, $close, $timePeriod);
309309
}
310310

311311
/**
@@ -1687,7 +1687,7 @@ public static function max(array $real, integer $timePeriod = null): array
16871687
*/
16881688
public static function maxindex(array $real, integer $timePeriod = null): array
16891689
{
1690-
return trader_max($real, $timePeriod);
1690+
return trader_maxindex($real, $timePeriod);
16911691
}
16921692

16931693
/**

0 commit comments

Comments
 (0)