Commit d1047a45 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

sft ticker See merge request !285
parents f2839ebc d33c84bd
...@@ -187,7 +187,7 @@ class ExchangeBusiness ...@@ -187,7 +187,7 @@ class ExchangeBusiness
if (in_array(strtoupper($tag), ['SFT'])) { if (in_array(strtoupper($tag), ['SFT'])) {
$exchange = ExchangeFactory::createExchange("Zhaobi"); $exchange = ExchangeFactory::createExchange("Zhaobi");
$quotation = $exchange->getTicker($tag, 'CNY'); $quotation = $exchange->getTicker($tag, 'USDT');
$quotation['low'] = (float)sprintf("%0.4f", $quotation['low']); $quotation['low'] = (float)sprintf("%0.4f", $quotation['low']);
$quotation['high'] = (float)sprintf("%0.4f", $quotation['high']); $quotation['high'] = (float)sprintf("%0.4f", $quotation['high']);
$quotation['last'] = (float)sprintf("%0.4f", $quotation['last']); $quotation['last'] = (float)sprintf("%0.4f", $quotation['last']);
......
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