public void converPosition(KiteConnect kiteConnect) throws KiteException, IOException {
        //Modify product can be used to change MIS to NRML(CNC) or NRML(CNC) to MIS.
        JSONObject jsonObject6 = kiteConnect.convertPosition("ASHOKLEY", Constants.EXCHANGE_NSE, Constants.TRANSACTION_TYPE_BUY, Constants.POSITION_DAY, Constants.PRODUCT_MIS, Constants.PRODUCT_CNC, 1);
        System.out.println(jsonObject6);
    }
public void converPosition ( KiteConnect kiteConnect ) throws KiteException , IOException { JSONObject jsonObject6 = kiteConnect . convertPosition ( "ASHOKLEY" , Constants . EXCHANGE_NSE , Constants . TRANSACTION_TYPE_BUY , Constants . POSITION_DAY , Constants . PRODUCT_MIS , Constants . PRODUCT_CNC , 1 ) ; System . out . println ( jsonObject6 ) ; }
Converts position