Commit b460b668 authored by shajiaiming's avatar shajiaiming

zyc ticker

parent 4745f6c7
......@@ -184,7 +184,7 @@ class ExchangeBusiness
goto doEnd;
}
if (in_array(strtoupper($tag), ['ZUE', 'ZYC'])) {
if (strtoupper($tag) == 'ZUE') {
$quotation = [
'low' => 0.1,
'high' => 0.1,
......@@ -389,6 +389,16 @@ class ExchangeBusiness
goto doEnd;
}
if (in_array(strtoupper($tag), ['ZYC'])) {
$quotation = [
'low' => 0.1,
'high' => 0.1,
'last' => 0.1,
'rmb' => 0.1,
];
goto doEnd;
}
if (in_array(strtoupper($tag), ['BVA'])) {
$exchange = ExchangeFactory::createExchange("Bilaxy");
$quotation = $exchange->getTicker('BVA', '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