Commit ccec790b authored by shajiaiming's avatar shajiaiming

lele ticker

parent 6f004ec5
...@@ -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