Navigation

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

    Posts made by Ashok

    • RE: Exception while retriving IP Address

      @DIYD2322 Sometime this External API gets in to trouble. Better to hardcode the IP in the code. This is for analytical purpose, but querying every time is overkill. So better to hardcode.

      posted in Python SDK
      Ashok
      Ashok
    • RE: Position API returning AB2001

      @admin Yes. thanks for the quick resolution. Thanks.

      Regards
      Ashok

      posted in Python SDK
      Ashok
      Ashok
    • Position API returning AB2001

      Hi Admin,

      I am getting the below error in random for many accounts. Without the response of the position() API, it is very difficult to manage the postions throught API.

      Seems the accounts with many open and closed positions are impacting, but this is just a estimate.

      API: positions()
      Sample accounts: REHR1061, P185844, M79046
      Error:
      {'data': None,
      'errorcode': 'AB2001',
      'message': 'Internal Error',
      'status': False}

      I am aware of the rate limit and the api is executed only every 2 mins once.

      Regards,
      Ashok

      posted in Python SDK
      Ashok
      Ashok
    • RE: How to get current portfolio using api

      @vijayyande Indeed getHoldings API should give the portfolio. Is it missing something ? I get that it wont show EFT / Bonds

      posted in General Discussion
      Ashok
      Ashok
    • RE: Order Rejection while placing order in GOLDM

      @PareshBhatiya I afraid GOLM Lot size is 100.

      63105a12-d451-46bf-bc53-2c828e9b23b6-image.png

      posted in Bugs
      Ashok
      Ashok
    • RE: New Feature Announcement: Enhanced Real-Time Market Data with our Market Data API!

      @admin Will it support all exchange segments? NFO, MCX ?

      posted in General Discussion
      Ashok
      Ashok
    • RE: FINNIFTY token not available

      @pskdpi 99926037 is the Finnifty index token

      posted in Bugs
      Ashok
      Ashok
    • RE: WebSocket 2.0 Streaming is not Receiving the Live Price Feed

      @anil_patel @Vignesha PM me. WS 2.0 is indeed working fine. Let me know any help is required.

      posted in General Discussion
      Ashok
      Ashok
    • RE: Given API rate limits are - Per User or Per API ?

      @shivdasb1996 I believe that the rate limit is per API key. But haven't tested it directly.
      I am surprised where you will need 10 orders / second

      posted in General Discussion
      Ashok
      Ashok
    • RE: order not open status meaning.

      @PandaTrade Is the quantity 325 intended ?

      posted in General Discussion
      Ashok
      Ashok
    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @skulkarni Welcome.

      posted in General Discussion
      Ashok
      Ashok
    • RE: Getting "Something Went Wrong, Please Try After Sometime"

      @skulkarni , Did you changed your mpin for APP/Web application ?

      posted in General Discussion
      Ashok
      Ashok
    • RE: Need 'Best Five Data' example in WS v2

      Hi @GannuRamya You need to use
      mode = 3
      in your websocket connection to get the best 5 quote.

      posted in General Discussion
      Ashok
      Ashok
    • RE: Getting [{"msg":"cn","task":"cn","ak":"nk"}] from websocket

      @tkrevathi Looks like your are using old websocket? Did you migrate to the new one ?

      posted in General Discussion
      Ashok
      Ashok
    • RE: challenges using Smartapi

      @Mnagesh

      Hope you are doing good. From your handle I can understand that you are a full time trader, but still you are complaining about the nuances in the market.

      Patience is the key. big or small, one can easily carve out a space in any challenging environment. I am not saying i do not have the hurdles, i am exactly in same boat, but need to adopt. In my opinion, if we could manage the risks, we can still make 1.5 - 2% ROI every month.

      Trending or not, one trick Algo will always land you in red. a good cocktail of algo is the way to go.

      BR,
      Ashok.

      posted in General Discussion
      Ashok
      Ashok
    • RE: WebSocket V2 In on pong function==> b'\x00'

      @GannuRamya Can you PM me please.

      posted in Bugs
      Ashok
      Ashok
    • RE: WebSocket streaming did not work the whole day today. However, I'm able to fetch LTP data using ltpData method. Was something wrong with streaming today?

      @nbmaiti Yes correct. Only V2 works.

      posted in Python SDK
      Ashok
      Ashok
    • RE: WebSocket is not returning script values

      @GannuRamya, looks like you are using websocket V1. AB have migrated to websocketV2. Below is are the details.

      https://smartapi.angelbroking.com/topic/1861/user-feedback-websocket-2-0-beta-rollout-python-language

      posted in Bugs
      Ashok
      Ashok
    • RE: Websocket Call in Java

      @laskshmi I am not familiar with Java, but you need to parse the binary data. below is the reference function implemented by Zerodha. Should be similar.

      https://github.com/zerodha/javakiteconnect/blob/master/kiteconnect/src/com/zerodhatech/ticker/KiteTicker.java#L446

      Probably try base64 encoding ?

      posted in NodeJS SDK
      Ashok
      Ashok
    • RE: "Exception while retriving IP Address,using local host IP address" causing performance issues.

      @ravitandur You can comment the api call for the public IP. I have done it and have no impact on the functionality.

      DM me if you have any more questions.

      posted in Python SDK
      Ashok
      Ashok