Commit 9d8354d2 authored by shajiaiming's avatar shajiaiming

fix

parent bad3a2dd
......@@ -29,21 +29,20 @@ class ExchangeBusiness
0 => 'Bty',
1 => 'HuoBi',
2 => 'Hadax',
3 => 'Bitfinex',
4 => 'Bittrex',
5 => 'Zb',
6 => 'Zg',
7 => 'Go',
8 => 'Zhaobi',
9 => 'Binance',
10 => 'Bilaxy',
11 => 'Bitnasdaq',
12 => 'Isummit',
13 => 'Boc',
14 => 'Jinwang',
15 => 'Hd',
16 => 'Ztb',
17 => 'Wbf'
3 => 'Bittrex',
4 => 'Zb',
5 => 'Zg',
6 => 'Go',
7 => 'Zhaobi',
8 => 'Binance',
9 => 'Bilaxy',
10 => 'Bitnasdaq',
11 => 'Isummit',
12 => 'Boc',
13 => 'Jinwang',
14 => 'Hd',
15 => 'Ztb',
16 => 'Wbf'
//1 => 'Hadax', //不需要
//2 => 'Bitfinex', //不需要
......@@ -418,6 +417,7 @@ class ExchangeBusiness
*/
$exchange = ExchangeFactory::createExchange($exchange);
if ($exchange->symbolExists($tag)) {
var_dump($exchange);exit;
$quotation = $exchange->getTicker($tag);
$f = true;
break;
......
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