Commit 8b85210b authored by shajiaiming's avatar shajiaiming

去年不避免的货币对

parent a373bf13
......@@ -42,6 +42,9 @@ class Bitnasdaq extends Exchange implements ExchangeInterface
if (is_array($res) && isset($res['obj'])) {
$data = $res['obj'];
foreach ($data as $key => $item) {
if(strpos(strtoupper($key),'_CNYT') !== false){
continue;
}
$low = isset($item['minPrice']) ? $item['minPrice'] : 0;
$high = isset($item['maxPrice']) ? $item['maxPrice'] : 0;
$last = isset($item['currentExchangPrice']) ? $item['currentExchangPrice'] : 0;
......
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