Script to buy right at the open

Hi. Can anyone please help me with the script to buy a pre selected stock right at the market open at 9.15 with a buy market order ? Thanks

Its possible to place orders via script exactly at 9.15. You can use python and Zerodha’s Kite api to do this.
It will work pretty well. you will get all your orders placed exactly in 0-2 seconds.

Thanks. But I was looking for a way to do it within Streak scripts only without the use of python. The way I’m doing it, my order executes after the close of the first 1 min candle. half the times it works in my favour and half the times against.