Skip to content

Commit

Permalink
Corrected missing/incorrect function references.
Browse files Browse the repository at this point in the history
  • Loading branch information
jb-lopez committed Jul 25, 2016
1 parent 0995b7a commit 0c6ad6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/Trader.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public static function beta(array $real0, array $real1, integer $timePeriod = nu
*/
public static function bop(array $open, array $high, array $low, array $close): array
{

return trader_bop($open, $high, $low, $close);
}

/**
Expand All @@ -305,7 +305,7 @@ public static function bop(array $open, array $high, array $low, array $close):
*/
public static function cci(array $high, array $low, array $close, integer $timePeriod = null): array
{

return trader_cci($high, $low, $close, $timePeriod);
}

/**
Expand Down Expand Up @@ -1687,7 +1687,7 @@ public static function max(array $real, integer $timePeriod = null): array
*/
public static function maxindex(array $real, integer $timePeriod = null): array
{
return trader_max($real, $timePeriod);
return trader_maxindex($real, $timePeriod);
}

/**
Expand Down

0 comments on commit 0c6ad6c

Please sign in to comment.