Commit b163e863 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

fix See merge request !353
parents 199e70c8 578554d5
......@@ -360,7 +360,7 @@ class ExchangeBusiness
$quotation['low'] = (float)sprintf("%0.4f", $quotation['low']);
$quotation['high'] = (float)sprintf("%0.4f", $quotation['high']);
$quotation['last'] = (float)sprintf("%0.4f", $quotation['last']);
$quotation['open'] = (float)sprintf("%0.4f", $quotation['open']);
$quotation['open'] = isset($quotation['open']) ? (float)sprintf("%0.4f", $quotation['open']) : $quotation['last'];
} else if (in_array(strtoupper($tag), ['SUSD'])) {
$quotation['usd'] = (float)sprintf("%0.4f", 1);
} else {
......
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