U.S. Department of Agriculture (USDA): The USDA's National Agricultural Statistics Service provides annual summaries and historical price data for various crops, including corn and soybeans. You can access this information on their Crop Values Annual Summary page and explore the datasets available there .
Federal Reserve Economic Data (FRED): The FRED database offers extensive data on economic indicators, including agricultural prices. You can find historical data for corn and soybean prices by visiting their FRED website and searching for relevant agricultural price data .
World Bank: The World Bank provides datasets that include agricultural commodity prices. Their DataBank allows you to filter by crop type and time period .
Alternative Fuels Data Center: This site has historical prices for U.S. corn and soybeans from 2002 to 2023, which can be helpful for your algorithms. You can check the data hereAlternative Fuels Data Center.