if i understand correctly.
1) you currently have a queue for each stock
2) you want to change to have a socket connection for each stock
i would group the stocks into categories and broadcast those messages over either messaging layer or multicast. The consumers can grab what they want...