Gap up strategy

hiii please help me on my own strategy
gap strategy

when opening price > yesterdays high price than its gap up so i short the stock at 9:25
please give me code how to implement on pi

i can’t give you code, but a suggestion
as we see many a times gap up gives free upside run
so combine something more in your system