public CoinbaseAccount getCoinbaseAccount ( Currency currency ) throws IOException { String apiKey = exchange . getExchangeSpecification ( ) . getApiKey ( ) ; BigDecimal timestamp = coinbase . getTime ( Coinbase . CB_VERSION_VALUE ) . getData ( ) . getEpoch ( ) ; return coinbase . getAccount ( Coinbase . CB_VERSION_VALUE , apiKey , signatureCreator2 , timestamp , currency . getCurrencyCode ( ) ) . getData ( ) ; }
Authenticated resource that shows the current user account for the give currency .