For DAOs, functions such as the Milkman agreement bridge the gap in time in between a governance proposal and an on-chain swap by allowing the DAO to specify an on-chain rate feed from which to pull actual-time selling prices (in lieu of specifying a set cost) is constantly checking by http://cow-protocol.fi/