For DAOs, options much like the Milkman contract bridge the hole in time between a governance proposal and an on-chain swap by letting the DAO to specify an on-chain cost feed from which to drag true-time prices (as opposed to specifying a set selling price) is constantly checking by querying http://cow-protocol.fi/