trickl/oanda-java-client

View on GitHub

Showing 6 of 12 total issues

Method find has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public Flux<Order> find(
      List<String> orderIds,
      OrderStateFilter orderStateFilter,
      CurrencyPair instrument,
      Integer limit,
Severity: Minor
Found in src/main/java/com/trickl/oanda/client/OrderRestClient.java - About 1 hr to fix

    Method find has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      public Flux<Trade> find(
          List<String> tradeIds,
          TradeStateFilter tradeStateFilter,
          CurrencyPair instrument,
          Integer limit,
    Severity: Minor
    Found in src/main/java/com/trickl/oanda/client/TradeRestClient.java - About 1 hr to fix

      Method get has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        public Flux<PriceStreamMessage> get(List<CurrencyPair> instruments) {
      
          String streamEndpoint =
              new MessageFormat("/v3/accounts/{0}/pricing/stream").format(new Object[] {accountId});
      
      
      Severity: Minor
      Found in src/main/java/com/trickl/oanda/client/PriceStreamClient.java - About 1 hr to fix

        Method find has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

              List<String> orderIds,
              OrderStateFilter orderStateFilter,
              CurrencyPair instrument,
              Integer limit,
              String endingOrderId) {
        Severity: Minor
        Found in src/main/java/com/trickl/oanda/client/OrderRestClient.java - About 35 mins to fix

          Method find has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                List<String> tradeIds,
                TradeStateFilter tradeStateFilter,
                CurrencyPair instrument,
                Integer limit,
                String endingTradeId) {
          Severity: Minor
          Found in src/main/java/com/trickl/oanda/client/TradeRestClient.java - About 35 mins to fix

            Method findByCreatedBetweenAndFilterIn has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                  Instant start,
                  Instant end,
                  List<TransactionFilter> transactionFilters,
                  int pageNumber,
                  int pageSize) {
            Severity: Minor
            Found in src/main/java/com/trickl/oanda/client/TransactionRestClient.java - About 35 mins to fix
              Severity
              Category
              Status
              Source
              Language