Commit 0d102990 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

remove symobl See merge request !336
parents c0727eec 1acda96d
......@@ -34,7 +34,7 @@ class BitnasdaqBuilder extends FactoryService
$keys = $this->redis->smembers($this->supported_symbol);
if (false == $this->redis->exists($this->supported_symbol_list)) {
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));
}
}
......
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