code: public static FxQuote getFx(String symbol) throws IOException {
          if(YahooFinance.QUOTES_QUERY1V7_ENABLED.equalsIgnoreCase("true")) {
              FxQuotesQuery1V7Request request = new FxQuotesQuery1V7Request(symbol);
              return request.getSingleResult();
          } else {
              FxQuotesRequest request = new FxQuotesRequest(symbol);
              return request.getSingleResult();
          }
      }
docs: Sends a request for a single FX rate.
  Some common symbols can easily be found in the ENUM {@link yahoofinance.quotes.fx.FxSymbols}
  Some examples of accepted symbols:
  <ul>
  <li> EURUSD=X
  <li> USDEUR=X
  <li> USDGBP=X
  <li> AUDGBP=X
  <li> CADUSD=X
  </ul>
  
  @param symbol    symbol for the FX rate you want to request
  @return          a quote for the requested FX rate
  @throws java.io.IOException when there's a connection problem