Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. taleevaalam1
    T
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    taleevaalam1

    @taleevaalam1

    0
    Reputation
    8
    Posts
    7
    Profile views
    1
    Followers
    1
    Following
    Joined Last Online

    taleevaalam1 Follow

    Best posts made by taleevaalam1

    This user hasn't posted anything yet.

    Latest posts made by taleevaalam1

    • RE: Probable inconsistency in the streaming data

      @rajanprabu I don't think we should have any kind of limitations due to the liquidity of the stocks, whatever the volatility of the stock it should be treated in a same manner.

      @rjbanna we should see the tick response for any non-volatile stock and then determine how the response should be

      Can you guys share any token id for some nonvolatile stock

      posted in General Discussion
      T
      taleevaalam1
    • RE: Probable inconsistency in the streaming data

      @dorje Will have to check that , you can run more than one program and divide the number of scrips among them

      i.e : Run 5 programs with 10 scrips each

      posted in General Discussion
      T
      taleevaalam1
    • RE: Probable inconsistency in the streaming data

      @rjbanna agreed with you we can use ltp of tvalue response to build the candle

      @admin @bhaveshjain Will it not be possible to just give us the following line as tick response continuously

      [{"to":"7128494980.08","lo":"1970.05","e":"nse_cm","sp":"1977.05","c":"1974.35","ltp":"1977.00","ltq":"47","tk":"2885","bs":"6","ltt":"16/12/2020 11:10:44","tsq":"955550","v":"3597688","bp":"1977.00","cng":"02.65","bq":"53","ap":"1981.41","nc":"00.13","name":"sf","tbq":"468907"}]
      

      and include the timeframe also in this response and get rid of the following data

      [{"tvalue":"16/12/2020 11:10:44","name":"tm"},{"e":"nse_cm","name":"sf","ltp":"1977.05","ltq":"40","tk":"2885","ltt":"NA"}]
      

      It would make us developers life easier

      If we want we can make do with the existing format as well but i don't want to work too hard on rearranging the data that i got from the API , the data should come in clean and consistent way

      posted in General Discussion
      T
      taleevaalam1
    • Probable inconsistency in the streaming data

      In order to to utilise streaming data for any kind of index algorithm the data should stream in a fixed fashion

      I have noticed some inconsistency in the streaming data which i am posting here

      [{"tvalue":"16/12/2020 11:22:25","name":"tm"},{"e":"nse_cm","name":"sf","ltp":"1977.00","ltq":"11","tk":"2885","ltt":"NA"}]
      [{"to":"7306167033.00","lo":"1970.05","e":"nse_cm","sp":"1977.10","c":"1974.35","ltp":"1977.00","ltq":"23","tk":"2885","bs":"7","ltt":"16/12/2020 11:22:25","tsq":"971806","v":"3687525","bp":"1977.00","cng":"02.65","bq":"787","ap":"1981.32","nc":"00.13","name":"sf","tbq":"495602"}]
      
      [{"tvalue":"16/12/2020 11:22:26","name":"tm"},{"e":"nse_cm","name":"sf","ltp":"1977.00","ltq":"25","tk":"2885","ltt":"NA"}]
      [{"to":"7306315632.00","lo":"1970.05","e":"nse_cm","sp":"1977.10","c":"1974.35","ltp":"1977.00","ltq":"32","tk":"2885","bs":"7","ltt":"16/12/2020 11:22:26","tsq":"972439","v":"3687600","bp":"1977.00","cng":"02.65","bq":"751","ap":"1981.32","nc":"00.13","name":"sf","tbq":"495582"}]
      

      I hope you have noticed the pattern of response first line of one stream always starts with tvalue and second line with to

      but after some time randomly here and there this is the response

      [{"tvalue":"16/12/2020 11:22:36","name":"tm"},{"e":"nse_cm","name":"sf","ltp":"1976.65","ltq":"1","tk":"2885","ltt":"NA"}]
      
      [{"tvalue":"16/12/2020 11:22:37","name":"tm"},{"to":"7316797530.79","lo":"1970.05","e":"nse_cm","sp":"1977.00","c":"1974.35","ltp":"1976.65","ltq":"1","tk":"2885","bs":"1019","ltt":"16/12/2020 11:22:36","tsq":"976276","v":"3692909","bp":"1976.65","cng":"02.30","bq":"32","ap":"1981.31","nc":"00.12","name":"sf","tbq":"492910"}]
      
      [{"e":"nse_cm","name":"sf","ltp":"1976.65","ltq":"1","tk":"2885","ltt":"NA"}]
      
      [{"to":"7316811399.96","lo":"1970.05","e":"nse_cm","sp":"1977.00","c":"1974.35","ltp":"1976.65","ltq":"5","tk":"2885","bs":"1190","ltt":"16/12/2020 11:22:37","tsq":"976505","v":"3692916","bp":"1976.65","cng":"02.30","bq":"25","ap":"1981.31","nc":"00.12","name":"sf","tbq":"493128"}]
      
      
      [{"to":"7316813381.27","lo":"1970.05","e":"nse_cm","sp":"1977.00","c":"1974.35","ltp":"1976.65","ltq":"1","tk":"2885","bs":"977","ltt":"16/12/2020 11:22:38","tsq":"976246","v":"3692917","bp":"1976.65","cng":"02.30","bq":"24","ap":"1981.31","nc":"00.12","name":"sf","tbq":"493058"}]
      
      

      Both the tValue and to lines get mixed up with each other

      P.S : This question seems confusing, will be happy to discuss this over a call

      posted in General Discussion
      T
      taleevaalam1
    • RE: Immediate Action Needed

      @mihirk Man i feel so stupid, i had saved the feed token in a variable and was passing "feeedToken" the string as feed Token, anyhow thanks getting the response now.

      posted in General Discussion
      T
      taleevaalam1
    • RE: Immediate Action Needed

      @mihirk So what are we suppose to do after we get this tick response, how do we get the actual market feed, are we suppose to wait and market feed response gonna come eventually after the tick responise?

      posted in General Discussion
      T
      taleevaalam1
    • RE: Immediate Action Needed

      @bhaveshjain I was able to successfully get the web socket response for script

      script: "nse_cm|2885
      
      feed_token - I am using what i have got as a response from generate session
      

      but the response is something like this

      Receive stock ticks:: [ { ak: 'nk', task: 'cn', msg: 'cn' } ]
      Receive stock ticks:: [ { ak: 'nk', task: 'mw', msg: 'mw' } ]
      

      I can not make much sense out of this data

      Can you please tell me what i might be doing wrong

      p.s : I ran the code on Working days only

      posted in General Discussion
      T
      taleevaalam1