Total buy quantity and Total sell quantity Missing in websocket stream


  • Im using the same python websocket example as mentioned in the Github,

    i receive tickes like -

    Ticks: [{'bno': '4', 'bno1': '1', 'bno2': '1', 'bno3': '1', 'bno4': '2', 'bp': '1864.60', 'bp1': '1864.10', 'bp2': '1864.05', 'bp3': '1864.00', 'bp4': '1863.85', 'bq': '1586', 'bq1': '7', 'bq2': '10', 'bq3': '1', 'bq4': '17', 'bs': '202', 'bs1': '320', 'bs2': '70', 'bs3': '144', 'bs4': '417', 'e': 'nse_cm', 'name': 'dp', 'sno': '1', 'sno1': '2', 'sno2': '2', 'sno3': '2', 'sno4': '4', 'sp': '1864.65', 'sp1': '1864.80', 'sp2': '1864.85', 'sp3': '1864.90', 'sp4': '1864.95', 'tk': '1594'}, {'bno': '3', 'bno1': '10', 'bno2': '6', 'bno3': '6', 'bno4': '8', 'bp': '489.70', 'bp1': '489.65', 'bp2': '489.60', 'bp3': '489.55', 'bp4': '489.50', 'bq': '568', 'bq1': '1396', 'bq2': '1490', 'bq3': '1461', 'bq4': '2672', 'bs': '645', 'bs1': '667', 'bs2': '757', 'bs3': '828', 'bs4': '3904', 'e': 'nse_cm', 'name': 'dp', 'sno': '3', 'sno1': '5', 'sno2': '5', 'sno3': '8', 'sno4': '23', 'sp': '489.90', 'sp1': '489.95', 'sp2': '490.00', 'sp3': '490.05', 'sp4': '490.10', 'tk': '3045'}]
    

    this is using task="dp"

    why i dont see total buy quantity and total sell quantity in depth ? this is mentioned in the documentation.

    from doc - https://smartapi.angelbroking.com/docs/WebSocketStreaming
    32 tbq Total buy quantity
    33 tsq Total sell quantity

    how to get these info in websocket ?


  • @admin oops! this is very odd. I think every broker provides this including AngelOne in their web platform.

    is there any setting/command I use to get this info?


  • @keer2405 said in Total buy quantity and Total sell quantity Missing in websocket stream:

    why i dont see total buy quantity and total sell quantity in depth ? this is mentioned in the documentation.
    from doc - https://smartapi.angelbroking.com/docs/WebSocketStreaming
    32 tbq Total buy quantity
    33 tsq Total sell quantity
    how to get these info in websocket ?

    currently we dont return this in response.