Add tick handling to websocket.