Commit fc19f0c7 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !251
parents b5b6252a 69c28a30
......@@ -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,
......
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