I am trying to write a code to read real time ticks and compare it with a certain defined value. My question is
1) Do we need to parse real time ticks into a database to be able to read and compare? 2) What would be the code to read the OHLC of a tick and compare that to a defined value?
@avinashsringeri, You can just store the ticks in an array and compare it. Which Kite Connect client are you using? PS: The OHLC value in Kite Ticker is the day's value. All the values will be almost same unless high and low changes.
I am looking to use this data for intra day at intervals of 5 min and 10 min. So for each interval / candle, I want to read the OHLC and make decisions based on that for comparison with a pre-defined value and for trade action.
You can just store the ticks in an array and compare it.
Which Kite Connect client are you using?
PS: The OHLC value in Kite Ticker is the day's value. All the values will be almost same unless high and low changes.
You can check out this thread to get started.