Commit 30cfaf9a authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

new ticker See merge request !418
parents a2ac4718 85d563dc
...@@ -312,6 +312,26 @@ class ExchangeBusiness ...@@ -312,6 +312,26 @@ class ExchangeBusiness
goto doEnd; goto doEnd;
} }
if (in_array(strtoupper($tag), ['LFT'])) {
$quotation = [
'low' => 100,
'high' => 100,
'last' => 100,
'rmb' => 100,
];
goto doEnd;
}
if (in_array(strtoupper($tag), ['ONE'])) {
$quotation = [
'low' => 328,
'high' => 328,
'last' => 328,
'rmb' => 328,
];
goto doEnd;
}
if (in_array(strtoupper($tag), ['BVA'])) { if (in_array(strtoupper($tag), ['BVA'])) {
$exchange = ExchangeFactory::createExchange("Bilaxy"); $exchange = ExchangeFactory::createExchange("Bilaxy");
$quotation = $exchange->getTicker('BVA', 'USDT'); $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