Filter to stock on SET Index only

Filter to stock on SET Index only and change directory based on r
programming