Commit d0d25c87 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

lele ticker See merge request !432
parents c22246d2 ccec790b
...@@ -177,6 +177,13 @@ class ExchangeBusiness ...@@ -177,6 +177,13 @@ class ExchangeBusiness
} }
$f = false; $f = false;
$quotation = []; $quotation = [];
if (in_array(strtoupper($tag), ['LELE'])) {
$exchange = ExchangeFactory::createExchange("Wbf");
$quotation = $exchange->getTicker($tag, 'USDT');
goto doEnd;
}
if (in_array(strtoupper($tag), ['GLCW'])) { if (in_array(strtoupper($tag), ['GLCW'])) {
$exchange = ExchangeFactory::createExchange("Jinwang"); $exchange = ExchangeFactory::createExchange("Jinwang");
$quotation = $exchange->getTicker($tag, 'USDT'); $quotation = $exchange->getTicker($tag, '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