Stock exchange automated trading system