For strategry which one need to use ' Historical candle data or WebSocket streaming'

raula_kite127
I have a strategy to make auto trade for buy and sell shares.So calculate RSI,PSAR and ADX i will use the Historical candle data or WebSocket streaming .

How to get the Websocket Streaming of multiple shares of one user.
  • rakeshr
    @raula_kite127
    Go through this thread, regarding WebSocket connection.
    You can subscribe up to 1000 instruments/shares in a single WebSocket connection, and for one user you can have 3 WebSocket connection, so you can stream maximum of 3000 shares for one user.
  • raula_kite127
    Hey rakesh,

    Can you answer on this,

    I have a strategy to make auto trade for buy and sell shares.So calculate RSI,PSAR and ADX i will use the Historical candle data or WebSocket streaming ?
  • sujith
    For live strategies, we suggest generating candles using live market data provided via websockets.
    You can refer to this thread for more information.
  • rjv17
    @raula_kite127 :

    You can use historical api to initialise your indicators first and then continuously form candles from tick data using websocket
  • radharani1306
    @rjv17
    Could you plz provide me sample code to implement any strategy to automate
Sign In or Register to comment.