Commit 1342e47d authored by rlgy's avatar rlgy

sctc不要行情

parent 5af5a281
...@@ -49,7 +49,7 @@ class Bty extends Exchange implements ExchangeInterface ...@@ -49,7 +49,7 @@ class Bty extends Exchange implements ExchangeInterface
if (is_array($content) && isset($content['code']) && $content['code'] == 200) { if (is_array($content) && isset($content['code']) && $content['code'] == 200) {
$data = $content['data']['USDT']; $data = $content['data']['USDT'];
foreach ($data as $item) { foreach ($data as $item) {
if (in_array($item['symbol'], ['BTYUSDT', 'ITVBUSDT', 'SCTCUSDT'])) { if (in_array($item['symbol'], ['BTYUSDT', 'ITVBUSDT'])) {
$data = $item; $data = $item;
$key = $this->quotation_prefix . $item['symbol']; $key = $this->quotation_prefix . $item['symbol'];
$this->redis->hmset($key, 'low', $data['low'], 'high', $data['high'], 'last', $data['last'], 'rmb', $data['lastrmb']); $this->redis->hmset($key, 'low', $data['low'], 'high', $data['high'], 'last', $data['last'], 'rmb', $data['lastrmb']);
......
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