Navigation

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

    mponshiva

    @mponshiva

    2
    Reputation
    21
    Posts
    19
    Profile views
    2
    Followers
    1
    Following
    Joined Last Online

    mponshiva Follow

    Best posts made by mponshiva

    This user hasn't posted anything yet.

    Latest posts made by mponshiva

    • RE: Websocket Order status

      @admin P313965

      posted in Python SDK
      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 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