Commit 1acda96d authored by shajiaiming's avatar shajiaiming

remove symobl

parent c0727eec
...@@ -34,7 +34,7 @@ class BitnasdaqBuilder extends FactoryService ...@@ -34,7 +34,7 @@ class BitnasdaqBuilder extends FactoryService
$keys = $this->redis->smembers($this->supported_symbol); $keys = $this->redis->smembers($this->supported_symbol);
if (false == $this->redis->exists($this->supported_symbol_list)) { if (false == $this->redis->exists($this->supported_symbol_list)) {
foreach ($keys as $val) { foreach ($keys as $val) {
if (in_array(strtoupper($val), ['BNCUSDT', 'BTCUSDT', 'CNYTUSDT', 'ETCUSDT', 'ETHUSDT', 'GHPUSDT', 'LTCUSDT'])) { if (in_array(strtoupper($val), ['BNCUSDT', 'BTCUSDT', 'ETCUSDT', 'ETHUSDT', 'GHPUSDT', 'LTCUSDT'])) {
$this->redis->lpush($this->supported_symbol_list, strtoupper($val)); $this->redis->lpush($this->supported_symbol_list, strtoupper($val));
} }
} }
......
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