def on_ticks(ws, ticks):
print(ticks)
gets me the depth data, but the same thing behaves differently when
def on_ticks(ws, ticks):
feed_data(ticks)
def feed_data(ticks):
print(ticks)
here it does not print the depth data, rest of the code remai…
My bad, that I have pasted a sensex data, but scrip data is also similar,
{'tradable': True, 'mode': 'quote', 'instrument_token': 9691394, 'last_price': 2.6, 'last_traded_quantity': 150, 'average_traded_price': 3.03, 'volume_traded': 11756650, 'tot…