code: public MFOrder placeMFOrder(String tradingsymbol, String transactionType, double amount, double quantity, String tag) throws KiteException, IOException, JSONException {
          Map<String, Object> params = new HashMap<String, Object>();
          params.put("tradingsymbol", tradingsymbol);
          params.put("transaction_type", transactionType);
          params.put("amount", amount);
          if(transactionType.equals(Constants.TRANSACTION_TYPE_SELL)) params.put("quantity", quantity);
          params.put("tag", tag);
  
          JSONObject response = new KiteRequestHandler(proxy).postRequest(routes.get("mutualfunds.orders.place"), params, apiKey, accessToken);
          MFOrder MFOrder = new MFOrder();
          MFOrder.orderId = response.getJSONObject("data").getString("order_id");
          return MFOrder;
      }
docs: Place a mutualfunds order.
  @return MFOrder object contains only orderId.
  @param tradingsymbol Tradingsymbol (ISIN) of the fund.
  @param transactionType BUY or SELL.
  @param amount Amount worth of units to purchase. Not applicable on SELLs.
  @param quantity Quantity to SELL. Not applicable on BUYs. If the holding is less than minimum_redemption_quantity, all the units have to be sold.
  @param tag An optional tag to apply to an order to identify it (alphanumeric, max 8 chars).
  @throws KiteException is thrown for all Kite trade related errors.
  @throws IOException is thrown when there is connection related error.