Need Help From Experts

I Need to Create autotrade on below scenerio .

On intraday basic . Once Pre-market settled . Open price need to check BSE and NSE equity segment .which once Open price is high difference that stock need to select and Place order at 9.15. In case Bse Open price is 500 (that time need to place Sell) . In Nse Open price is 495 (that time need to place Buy). Once both price match then i need to exit . In Example today ESCORT stock

https://www.moneycontrol.com/india/stockpricequote/auto-tractors/escorts/E