Type/to search
33
Follow
63
Followers
注文 ID に基づいて平均取引価格を取得するにはどうすればよいですか?
FAQ
Created 2016-05-07 22:45:13  
 2
 2134

json関数で3行しか使えないようですが,4行目の補足をしてください.
var id = exchange.Buy(3000,0.01);
var p =exchange.GetOrder(id);
var obj = JSON.parse(exchanges[0].GetRawJSON (()); // APIの最後の呼び出しの詳細について
var avprice 。。。。。。。

Related Recommendations
Comment
All comments (2)

    var t = obj.orders[0].avg_price;//现货
    var tt = obj.orders[0].price_avg; // 期货

    10 years ago

    var t = obj.results[0].payload[0].avg_price; 答案有了,谢谢我自己。

    10 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)