Websocket api to place trades on Futures

Good Day,

Please can someone post a sample working code of how to place a trade using the Websocket API for Futures testnet. For some reason I can only get it to work with REST API and not Websocket API.

Thank you