Price or cost determination based on market factors