That’s very interesting. Are there any books that go into detail about this?
Also, agriculture produce's price fluctuates a lot. Farming has a long feedback time, so by the time you harvest, the state of the market is no longer the same. Anything that can be stockpiled will be stockpiled to wait for the right time. This is not normally done by the farmer themselves, but the traders. Then it's just FIFO, the oldest grains at the bottom of the silos will be taken out first.