The SEC has unanimously ruled against Nasdaq and NYSE in a 12 year dispute over the exchanges' desire to raise prices when selling market data to Wall Street banks and traders. The ruling casts doubt on a source of revenue that has helped substitute for declining trading-fee income.