Commit b184efa6 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !386
parents 0d8acaa5 6c4806e2
...@@ -124,7 +124,7 @@ class BitnasdaqBuilder extends FactoryService ...@@ -124,7 +124,7 @@ class BitnasdaqBuilder extends FactoryService
$temp['change'] = (float)sprintf("%0.2f", $change); $temp['change'] = (float)sprintf("%0.2f", $change);
array_push($ticker, $temp); array_push($ticker, $temp);
$key = $this->quotation_prefix . strtoupper($symbol); $key = $this->quotation_prefix . strtoupper($symbol);
$this->redis_ticker->hmset($key, 'low', $low, 'high', $high, 'last', $close, 'open', $open, 'vol', $vol); $this->redis_ticker->hmset($key, 'low', $low, 'high', $high, 'last', $close, 'open', $open, 'vol', $vol, 'change', $change);
} }
$ticker_sort_close = Tools::arraySort($ticker, 'close_rmb'); $ticker_sort_close = Tools::arraySort($ticker, 'close_rmb');
......
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