Kotak-Neo / kotak-neo-api

108 stars 97 forks source link

websocket response details #18

Closed conquistadorjd closed 1 year ago

conquistadorjd commented 1 year ago

Could you please add response documentation in Docs for Web-socket ? currently response documentation is provided for quotes and it is very helpful but for websocket response has some wired fields and reference details would be very helpful. e.g. PFB today's response for 3 instruments.

[
  {
    'ftm0': '05/01/1970 08:12:33',
    'dtm1': '02/10/1971 06:21:02',
    'ltt': '03/08/2023 15:20:12',
    'v': '8528520',
    'ltp': '56.00',
    'ltq': '200',
    'tbq': '115120',
    'tsq': '72760',
    'bp': '55.90',
    'sp': '56.00',
    'bq': '1120',
    'bs': '400',
    'cng': '19.05',
    'nc': '51.56',
    'to': '658145888.40',
    'name': 'sf',
    'tk': '42149',
    'e': 'nse_fo'
  },
  {
    'ftm0': '05/01/1970 11:02:39',
    'dtm1': '02/10/1971 06:21:02',
    'ltt': '03/08/2023 15:20:12',
    'v': '11975720',
    'ltp': '42.70',
    'tbq': '205440',
    'tsq': '100040',
    'bp': '42.65',
    'sp': '42.75',
    'bq': '240',
    'bs': '40',
    'cng': '10.70',
    'nc': '33.44',
    'to': '749440557.60',
    'name': 'sf',
    'tk': '42146',
    'e': 'nse_fo'
  },
  {
    'ftm0': '06/01/1970 18:49:04',
    'dtm1': '02/10/1971 06:21:03',
    'v': '15006520',
    'ltq': '40',
    'tbq': '389480',
    'tsq': '29000',
    'bp': '172.40',
    'sp': '172.55',
    'to': '2172193770.00',
    'name': 'sf',
    'tk': '42187',
    'e': 'nse_fo'
  }
]
syedasif11 commented 1 year ago

I second this. We need this documented.

Kotak-Neo commented 1 year ago

We have added the mapping. Thanks for the feedback. :)