Я хочу спросить, как вычислить текущую общую доходность при наличии акций? Например: BTC_USD или BTC_USDT; Я вычислил текущую рыночную стоимость: (exchange.GetAccount).Stocks+exchange.GetAccount (().FrozenStocks) * ((exchange.GetTicker))).Last
Но я всегда чувствую, что есть что-то не так с валютными фьючерсами. Ответы
ТраваЭто сообщение, которое вы получили прямо сейчас.
ТраваФьючерсы не могут рассматриваться как таковые, как правило, GetAccount (()) имеет общий правовой интерес к первоначальной информации.
Моно{"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"} {"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} Я просмотрел эту информацию с помощью реального диска, и я не очень хорошо понял, что означают эти поля.