forAccount method

TradesRequestBuilder forAccount (
  1. String accountId
)

Returns the trades for a given account by accountId. See: Trades for Account

Implementation

TradesRequestBuilder forAccount(String accountId) {
  accountId = checkNotNull(accountId, "accountId cannot be null");
  this.setSegments(["accounts", accountId, "trades"]);
  return this;
}