I am working on a bot that will swap tokens using python. Currently, my bot uses the dexscreener api to continuously retrieve the current price of the token to determine when to sell. However, this is very slow, and due to price volatility, the price changes by the time the transaction occurs.
Is there a way of supporting limit orders using the solana python API, where I can retrieve accurate price information and sell at that exact price?
From my understanding, most current telegram swap bots support limit orders, how do they do it?