exchange/bitfinexv2.js
/**
     * return the available funds for the symbol
     * @param symbol
     * @returns {number}
     */
return the available funds for the symbol
@param symbol
@returns {number}
return the available funds for the symbol @param symbol @returns { number }
fundsAvailable(symbol) {
        const funds = this.state.wallet.filter(item => item.currency === symbol);
        if (funds.length === 0) {
            return 0;
        }
        return funds[0].balanceAvailable;
    }
fundsAvailable ( symbol ) { const funds = this . state . wallet . filter ( item => item . currency === symbol ) ; if ( funds . length === 0 ) { return 0 ; } return funds [ 0 ] . balanceAvailable ; }
return the available funds for the symbol
 @param symbol
 @returns {number}
return the available funds for the symbol @param symbol @returns { number }