bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
303 stars 222 forks source link

Wallets available balance returns 0 value for all pairs on v2 API #212

Closed abronan closed 1 year ago

abronan commented 4 years ago

The purpose of having available balances on v2 wallets endpoint is unclear. No response is returned as opposed to the v1 API which returns the value correctly.

Issue type

Brief description

When hitting v2 wallets endpoint, the values for available is always null.

Example of response:

[["exchange","BTC",0.00100884,0,null,null,null],["exchange","IOS",598.8,0,null,null,null],["exchange","IOT",19.96,0,null,null,null],["exchange","OMG",6.8e-7,0,null,null,null],["margin","BTC",0.00877305,0,null,null,null]]

Expected

Value is equal to total or less depending on the available amount.

Steps to reproduce

Additional Notes: