You can learn more about our Stocks WebSocket feed through our documentation.
If you wanted to create historical per second aggregates, you would need to use the raw trades from our Trades endpoint to create your own per second aggregates. You can use our Conditions endpoint to see which ‘Sale Conditions’ are used to update aggregate values.