Saya ingin bertanya, bagaimana cara menghitung laba bersih saat ini jika Anda memiliki saham? Misalnya: BTC_USD atau BTC_USDT; Saya menghitung nilai pasar saat ini: (exchange.GetAccount().Stocks+exchange.GetAccount().FrozenStocks) * (exchange.GetTicker().Last
Tapi saya selalu merasa ada yang tidak benar dengan futures saham. Minta Jawab
RumputAnda adalah pesan yang kembali langsung
RumputFutur tidak bisa seperti itu, umumnya GetAccount memiliki kepentingan keseluruhan dalam informasi asli.
Aku tidak tahu.{"Info":{"c2c": [{"free":"0.0","frozen":"0.0","currency":"BCH","fee":"0.0"} {"frozen":"0.0","currency":"BTC","fee":"0.0","free":"0.0"} {"fee":"0.0","free":"0.0","frozen":"0.0","currency":"EOS"} {"fee":"0.0","free":"0.0","frozen":"0.0","currency":"ETH"} {"currency":"EVE","fee":"0.0","free":"0.0","frozen":"0.0"} {"currency":"LTC","fee":"0.0","free":"0.0","frozen":"0.0"} {"fee":"0.0","free":"0.0","frozen":"0.0","currency":"USDT"}, "exchange": [{"fee":"0.0","free":"0.0","frozen":"0.0","currency":"BCH"}, {"currency":"BTC","fee":"0.0","free":"3.4394","frozen":"0.0"} {"frozen":"0.0","currency":"EOS","fee":"0.0","free":"4983.0"} {"free":"102.8","frozen":"0.0","currency":"ETH","fee":"0.0"} {"currency":"EVE","fee":"0.0","free":"10000.0","frozen":"0.0"} {"currency":"LTC","fee":"0.0","free":"1589.2343","frozen":"0.0"} {"currency":"USDT","fee":"1444.32269553675","free":"431.15634146325","frozen:"0.0"}, "wallet": [{"currency":"BCH","fee":"0.0","free":"0.0","frozen":"0.0"}, {"fee":"0.0","free":"0.0","frozen":"0.0","currency":"BTC"} {"currency":"EOS","fee":"0.0","free":"0.0","frozen":"0.0"}, yang digunakan untuk memutar video dan video. {"frozen":"0.0","currency":"ETH","fee":"0.0","free":"0.0"} {"currency":"EVE","fee":"0.0","free":"0.0","frozen":"0.0"} {"currency":"LTC","fee":"0.0","free":"0.0","frozen":"0.0"} {"currency":"USDT","fee":"0.0","free":"111.0","frozen":"0.0"}}, "Stocks":3.4394, "FrozenStocks": 0, "Balance": 431.15634146325, "FrozenBalance": 0} Saya melihat informasi di bawah ini dengan menggunakan informasi yang ada di hard drive, dan saya tidak mengerti apa yang dimaksud dengan setiap bidang.