You could really do this with their Python native API, or even more easily with ib_insync [ https://github.com/erdewit/ib_insync ].
As @d08 mentioned, historical data request can be send to get opening price as you don't need streaming for it, then calculate your entry based on that.
It's really simple Python script if you want to just do it, without including anything else into logic. If you'll struggle writing it yourself, I'll see if I can put few lines over the weekend together and paste it here. Such basic automation should be open source anyways.
As @d08 mentioned, historical data request can be send to get opening price as you don't need streaming for it, then calculate your entry based on that.
It's really simple Python script if you want to just do it, without including anything else into logic. If you'll struggle writing it yourself, I'll see if I can put few lines over the weekend together and paste it here. Such basic automation should be open source anyways.