When the WebSocket Data is enabled and is streaming, how do we use the ticks passed to the on_ticks method to set the volume of a certain stock to come to a certain amount before selling/buying the stock, or to access and set order placements based on parameters in the tick structure?
Ticks is a list of dictionaries. You can use python methods and functions to get your required data from the ticks. You can see sample tick structure and all about KiteTicker here. https://kite.trade/docs/pykiteconnect/v3/ticker.m.html
@raptron In the tick, instruments are identified with instrument token rather than trading symbol. You can specify the instrument token of the instrument you want to extract its data from the ticks. Read here: https://kite.trade/docs/connect/v3/market-quotes/
https://kite.trade/docs/pykiteconnect/v3/ticker.m.html
https://kite.trade/docs/connect/v3/market-quotes/