RSI calculation with web socket

Snehan
Hello.
I have calculated RSI by using historical API the result was good but when i place order in for loop its taking lot of time and for each instrument..how to speedup. if i use web socket how to calculate RSI? as per my strategy i have to calculate last 10...5 minutes candles RSI could you lease suggest
  • sujith
    You need to separate the candle generation logic and strategy.
    You can know more about the candle generation logic here.
  • Snehan
    Thank you Sujith for our reply.
    Is it possible to create last 6 15 minutes candles? if yes
    How we can do?
    Please share me any code

    Thanks
  • rakeshr
    Is it possible to create last 6 15 minutes candles?
    You can create any required period candle data from Websocket data. As already stated by Sujith in the previous reply, you can go through this thread.
    Please share me any code
    We won't be able to help much with this, as it's outside the scope of the forum.
Sign In or Register to comment.