when to use ltp API and websocket in terms of efficiency.

2 out of 2