Response of websocket

Hi team,

I was working with the WebSocket and had a few queries. They are as below:

  1. The average trade price (ATP) does not have a decimal point. Does it always have 2 decimal values at the end? If that's the case, we can just divide the response ATP by 100 to get the actual ATP.
    • My suggestion is that 'avg_trade_price' can be replaced by 'atp'
    • My suggestion is that 'last_traded_time' can be replaced by 'ltt'
    • You can do this for all parameters where it can be done.
    • This way the response will be smaller and crisper.
  2. What are these parameters that start with 'min_'?
  3. In the 'market_pic', the 1st five correspond to buy and the next five to sell, right? Just for clarification.

Vikram Sri please shed some light on this.

9 replies