Flashloan, FlashSwaps and Arbitrage

How do find the price differences for assets in the pools and interact with the vault to take advantage for vault arbitrage opportunity’s aka an internal flashswap like mentioned in the docs?? and is it possible to find these opportunities in-between V1 and V2?? How do We find them and use them they say there is a function but I have never seen one . Please Help