Commit a54df6a1 authored by shajiaiming's avatar shajiaiming

Merge branch 'master' into feature/optimize

parents d40b4c89 26b68b3f
......@@ -253,10 +253,10 @@ class ZhaobiBuilder extends FactoryService
$code = $this->code;
goto doEnd;
}
$low = number_format(1 / $low_currency * $low_base_currency, 6, '.', '');
$high = number_format(1 / $high_currency * $high_base_currency, 6, '.', '');
$close = number_format(1 / $close_currency * $close_base_currency, 6, '.', '');
$open = number_format(1 / $open_currency * $open_base_currency, 6, '.', '');
$low = number_format(1 / ($low_currency * $low_base_currency), 6, '.', '');
$high = number_format(1 / ($high_currency * $high_base_currency), 6, '.', '');
$close = number_format(1 / ($close_currency * $close_base_currency), 6, '.', '');
$open = number_format(1 / ($open_currency * $open_base_currency), 6, '.', '');
$ticker = [
'low' => $low,
'high' => $high,
......
......@@ -6,5 +6,6 @@
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
eval('?>' . \file_get_contents('php://stdin'));
* eval('?>' . \file_get_contents('php://stdin'));
*/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment