How to get the realtime price value from specific dex using moralis

We are implementing the flashloan arbitrage bot and trying to fetch the real-time price.

Kindly guide which is the best way to fetch the price

There is getTokenPrice but it may not be real-time. For something like a bot, it may be better to query the DEX directly (via contract or API/SDK).