রিসোর্স লোড হচ্ছে... লোডিং...

মোট আয় গণনা

লেখক:ছোটো, তৈরিঃ 2021-07-28 14:19:52, আপডেটঃ

প্রশ্ন হল, যদি আপনি একটি স্টক আছে, কিভাবে বর্তমান মোট মুনাফা গণনা করা হয়? যেমনঃ BTC_USD বা BTC_USDT; আমার হিসাব এখনকার বাজারমূল্যঃ (exchange.GetAccount (().Stocks+exchange.GetAccount (().FrozenStocks) * ((exchange.GetTicker (().Last))

  • exchange.GetAccount (().Balance+exchange.GetAccount (().Frozen.Balance.

তবে আমি সবসময়ই মনে করি যে, ধাতব মুদ্রার ফিউচার নিয়ে কিছু ভুল আছে। জবাব চাই


আরো

ঘাসআপনি এই রিটার্ন বার্তা

ঘাসফিউচারগুলিকে এভাবে গণনা করা যায় না, সাধারণভাবে GetAccount () মূল তথ্যে সামগ্রিক অধিকার রয়েছে।

ছোটো{"Info":{"c2c": [{"free":"0.0","frozen":"0.0","currency":"BCH","fee":"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"}, {"ফ্রোজেন"ঃ ০.০","মুদ্রা":"ETH","ফি":"০.০","ফ্রি":"০.০"} {"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} আমি একটি বাস্তব ডিস্কের তথ্য ব্যবহার করে এই তথ্যটি দেখেছি, এবং আমি প্রতিটি ক্ষেত্রের অর্থ বুঝতে পারিনি।