The company has announced a $42 million seed round to build a “decision layer” that helps companies act to protect margins in volatile markets.