How Order Management Works in Trading Bots