Automation in india

is it legal to trade automatically

Yes perfectly legal @bshadkumar in any security that you can legally trade manually.