Commit 58d794f3 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

dusdt ticker See merge request !367
parents 28c387d3 4ebe64b9
...@@ -85,6 +85,17 @@ class ExchangeBusiness ...@@ -85,6 +85,17 @@ class ExchangeBusiness
$quotation['last'] = (float)sprintf("%0.4f", $quotation['rmb'] / $rate); $quotation['last'] = (float)sprintf("%0.4f", $quotation['rmb'] / $rate);
goto doEnd; goto doEnd;
} }
if (strtoupper($tag) == 'DUSDT') {
$quotation = [
'low' => 6.99,
'high' => 6.99,
'last' => 6.99,
'rmb' => 6.99,
];
goto doEnd;
}
if (strtoupper($tag) == 'YPLUS') { if (strtoupper($tag) == 'YPLUS') {
$quotation = [ $quotation = [
'low' => 10, 'low' => 10,
......
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