Commit 690ded30 authored by shajiaiming's avatar shajiaiming

fix

parent 09b312f5
......@@ -167,11 +167,15 @@ class HuobiBuilder extends FactoryService
$symbol = [
'btcusdt',
'ethusdt',
'eosusdt'
'btyusdt'
];
$ticker = [];
foreach ($symbol as $val) {
if ('btyusdt' == $val) {
list($low, $high, $close, $open, $vol) = $this->redis->hmget('quotation_zhaobi_' . strtolower($val), 'low', 'high', 'last', 'open', 'vol');
} else {
list($low, $high, $close, $open, $vol) = $this->redis->hmget($this->quotation_prefix . strtolower($val), 'low', 'high', 'last', 'open', 'vol');
}
$explode_arr = explode('usdt', $val);
$temp = [];
$temp['symbol'] = strtoupper($explode_arr[0]) . '/USDT';
......
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