Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. mponshiva
    3. Posts
    • Profile
    • Following 1
    • Followers 2
    • Topics 7
    • Posts 21
    • Best 0
    • Groups 0

    Posts made by mponshiva

    • AG8004 Invalid API Key on getCandleData

      Title: AG8004 Invalid API Key on getCandleData

      Hi,
      I am getting AG8004 Invalid API Key error
      specifically on getCandleData and getLtpData
      endpoints.

      Login works fine and JWT token is received
      successfully. But historical data API returns
      Invalid API Key error.

      Client ID: P5358875
      App Name: DSR5M Bot

      Please help fix this from backend.
      Thank you.

      posted in Test
      mponshiva
      mponshiva
    • RE: Websocket Order status

      @admin P313965

      posted in Python SDK
      mponshiva
      mponshiva
    • RE: High price and Open price is not available in websocket datastream

      @rjbanna @dipeshbodas Were you able to get open price info ?
      Is it possible that price at 9:15AM is the same as open price ?

      High price is still not available

      posted in Test
      mponshiva
      mponshiva
    • RE: How to get open price of index

      Is open price the same as the ltp at 9:15AM ?

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: Websocket Order status

      @rajanprabu I havent tested yet in live market. But I am developing a strategy to trade in live market. I think your input is valuable in my implementation.
      Thanks for that !
      This means that websocket channel is not reliable for order status notification.
      We need to fallback to polling, until angel improves the situation.

      Today I tried some trading using angel web interface. The gui was not very responsive during live market. However I am not sure if it is because of the API issue or the web interface itself is lagging !

      I am planning to develop some tests to check the order status.

      Will keep posted here
      Thanks

      posted in Python SDK
      mponshiva
      mponshiva
    • RE: Websocket Order status

      @admin and ?

      posted in Python SDK
      mponshiva
      mponshiva
    • limit for websocket stream api

      There is rate limit for rest api
      I couldn't find documentation on rate limit for web socket streaming (e.h how many symbols can be subscribed for mw, marekt depth etc.)
      @admin Where can i get this info ?

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: WebSocket Not returning any Order status

      @itspocx works of me..Check here

      posted in C#/.Net SDK
      mponshiva
      mponshiva
    • RE: Websocket Order Status

      @anujsanklecha I have used this feature in python api api and its working for me
      Check here ..If you are still interested in it ;-)

      posted in Test
      mponshiva
      mponshiva
    • RE: Websocket Order status

      @Dhilip-Krishna I am working on building trading application over smart-api.
      I found that abstraction for getting order status over websocket is missing.
      I added an abstraction layer + example.
      You would need to adapt your local copy of smartapi-python package to use this example.
      I hope this helps!

      @admin I have created PR to merge this into main line
      Consider to merge it to mainline, this would be helpful for the community.

      Thanks
      Prasanna

      posted in Python SDK
      mponshiva
      mponshiva
    • RE: How to get open price of index

      @admin The thread discusses about OHLC values for candles.
      But I am looking for only day's open price.
      There is a filed as per documentation 20 op Open price
      However this is not present in the reponse

      posted in General Discussion
      mponshiva
      mponshiva
    • How to get open price of index

      There is confusion regarding how to get live data for indices.
      As per documentation , sfi is the websocket task for subscribing index.

      socket.subscribe("mw", "nse_cm|26000") //nifty
      

      However that wont work
      Response from websocket

      Ticks: [{'name': 'tm', 'tvalue': '02/12/2021 11:45:43'}]
      

      Using mw as websocket task works

      socket.subscribe("mw", "nse_cm|26000")
      

      Response from websocket

      Ticks: [{'name': 'tm', 'tvalue': '02/12/2021 11:48:18'}, {'c': '17166.90', 'cng': '135.10', 'e': 'nse_cm', 'ltp': '17302.00', 'ltt': 'NA', 'name': 'sf', 'nc': '00.787', 'tk': '26000'}]
      -----------------------------------------------------------------------------------------
      Ticks: [{'name': 'tm', 'tvalue': '02/12/2021 11:48:19'}, {'c': '17166.90', 'cng': '136.25', 'e': 'nse_cm', 'ltp': '17303.15', 'ltt': 'NA', 'name': 'sf', 'nc': '00.7937', 'tk': '26000'}]
      -----------------------------------------------------------------------------------------
      Ticks: [{'name': 'tm', 'tvalue': '02/12/2021 11:48:20'}, {'c': '17166.90', 'cng': '135.35', 'e': 'nse_cm', 'ltp': '17302.25', 'ltt': 'NA', 'name': 'sf', 'nc': '00.7884', 'tk': '26000'}]
      -----------------------------------------------------------------------------------------
      Ticks: [{'name': 'tm', 'tvalue': '02/12/2021 11:48:21'}, {'c': '17166.90', 'cng': '137.05', 'e': 'nse_cm', 'ltp': '17303.95', 'ltt': 'NA', 'name': 'sf', 'nc': '00.7983', 'tk': '26000'}]
      

      I dont see the open price (filed op)

      @admin : How can I get the open price ?

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: How to get required Margin for Future Instruments

      @admin Any plans to provide this API ?
      I think its quite important to have this feature for algo trading
      e.g. zerodha provides this API (https://kite.trade/docs/connect/v3/margins/)

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: How do I get historical Index Data for NIFTY/SENSEX?

      @admin It would be helpful to create a list of features that are coming soon (like this historical data for index)
      It can be easiy done by listing features with a separate label (as issues in github). This has to be done on a separate project maintained by angel, as public reporting of issues might thorw everything in the air !

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: index historical api

      @admin Currently historical data for index is not available .. How resampling will solve this problem ?

      posted in General Discussion
      mponshiva
      mponshiva
    • Historic data for commodities

      Hello Team,
      Do you have any plan for historic data for commodities ?

      posted in General Discussion
      mponshiva
      mponshiva
    • Historical data of indices

      Is there any roadmap to get historical price of indices ?

      I see the documentation that
      "Historical API only available for NSE Equity Segment"

      posted in General Discussion
      mponshiva
      mponshiva
    • Histocial data with a monthly interval

      @admin Do you have planes to offer historical data with a monthly candle ? This may not be popular with algo traders (whoh want always the fastest interval ;-)) , however useful for certain analysis for a longer time interval

      posted in General Discussion
      mponshiva
      mponshiva
    • RE: Historical Candles for NFO

      @admin Would be waiting for this feature !

      posted in General Discussion
      mponshiva
      mponshiva