In my mind, caravans should attempt to sell for the highest price they can find, and the sending lord should be able to set a minimum amount of profit or price per bushel or something.
That is how it works as far as my experience goes. I set the caravan to sell for ATLEAST x gold and load it with y bushels. It has never sold food under that X amount.