Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. C#/.Net SDK
    Log in to post

    C#/.Net SDK

    • S

      Login does not seem work
      • saleem  

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • V

      In **PlaceOrder** getting error - 404
      • Vishal.naykawala  

      1
      0
      Votes
      1
      Posts
      19
      Views

      No one has replied

    • R

      Error converting value {null} to type 'System.Int64'. Path 'data.orderid', line 1, position 134.
      • ramanagajula1999  

      3
      0
      Votes
      3
      Posts
      18
      Views

      K

      @ramanagajula1999 check the Quantity field. For me, it was quantity = 0 causing the issue. Replying now so that it can help others facing this issue.
    • G

      Banknity order placing issue
      • gaurav6110  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • S

      Websocket order status not working
      • sanjayb  

      1
      0
      Votes
      1
      Posts
      14
      Views

      No one has replied

    • Mr Depp

      About Index Future Historical Data
      • Mr Depp  

      2
      0
      Votes
      2
      Posts
      34
      Views

      A

      Index Historical Data Works for me Ref : https://smartapi.angelbroking.com/docs/Historical use Body as follows: for Nifty { "exchange":"NFO", "symboltoken":"NIFTY", "interval":"ONE_HOUR", "fromdate":"2023-01-01 09:00", "todate":"2023-03-31 15:31" } for BANKNIFTY { "exchange":"NFO", "symboltoken":"BANKNIFTY", "interval":"ONE_HOUR", "fromdate":"2023-01-01 09:00", "todate":"2023-03-31 15:31" }
    • R

      Websocket not sending ticks for the 2nd run in visual studio
      • ramanagajula1999  

      1
      0
      Votes
      1
      Posts
      60
      Views

      No one has replied

    • N

      how should I get the RSI during LIVE data feed.
      • Nichil72  

      3
      0
      Votes
      3
      Posts
      77
      Views

      A

      Try this library for indicators. You need to pass on the historic data. Can yo help me with the basic code to obtain the historic data ? I am struggling with the new TOTP ...unable to connect. hope you can help me.
    • K

      {"status":false,"message":"Invalid totp","errorcode":"AB1050","data":null}
      • kunaljvyas  

      1
      1
      Votes
      1
      Posts
      36
      Views

      No one has replied

    • V

      How to get multiple symbols price in single call
      • Vishal.naykawala  

      2
      0
      Votes
      2
      Posts
      53
      Views

      A

      Hi @Vishal-naykawala , Yes, you can explore using websockets as an alternative. Websockets can stream real-time data for 1000 symbols.
    • V

      The token is invalid
      • Vishal.naykawala  

      6
      0
      Votes
      6
      Posts
      88
      Views

      A

      @shivdasb1996 Can someone share the updated method to use TOtp? GetTotp(); //Login by client code and password obj = connect.GenerateSession(Client_code, Password, Totp); GenerateSession method accepts only 2 parameters. How to pass totp ?
    • N

      The token is invalid
      • Nichil72  

      4
      0
      Votes
      4
      Posts
      50
      Views

      A

      @Nichil72 hi, how are you managing to login with SDK not yet released for C#/Net. Are using an external library ? Can you share your method/code? GenerateSession accepts only 2 parameters. I see a third one in your code (GetTotp()) thanks for the help.
    • S

      Error while placing order- TPIN is not validated - AB4013
      • srikanth yarra  

      3
      0
      Votes
      3
      Posts
      37
      Views

      S

      @admin Thanks!!, i found this post !!
    • F

      TradingSymbol and Symbol token are null from getHolding() response.
      • firosh  

      4
      0
      Votes
      4
      Posts
      43
      Views

      A

      Hi @firosh We have deployed a fix on 19th November 2022, this will help you to fetch holdings correctly. We want to thank you again for the feedback and bug reports you've submitted. Through them, we are able to improve your API trading experience. We are happy to share with you this new release resolves all of the pending issues pertaining to getHolding API.
    • F

      GetHolding() GetHoldingResponse.data returns null
      • firosh  

      4
      0
      Votes
      4
      Posts
      20
      Views

      A

      Hi @firosh We have deployed a fix on 19th November 2022, this will help you to fetch holdings correctly. We want to thank you again for the feedback and bug reports you've submitted. Through them, we are able to improve your API trading experience. We are happy to share with you this new release resolves all of the pending issues pertaining to getHolding API.
    • F

      getHolding() returns wrong data.
      • firosh  

      5
      0
      Votes
      5
      Posts
      39
      Views

      A

      Hi @firosh We have deployed a fix on 19th November 2022, this will help you to fetch holdings correctly. We want to thank you again for the feedback and bug reports you've submitted. Through them, we are able to improve your API trading experience. We are happy to share with you this new release resolves all of the pending issues pertaining to getHolding API.
    • J

      Historical data not returning any data
      • J242638  

      2
      0
      Votes
      2
      Posts
      30
      Views

      V

      @J242638 Hey, were you able to solve this issue? I receive data but its of an arbitrary date range.
    • V

      How to use WebSocket 2 api
      • vijayyande  

      2
      0
      Votes
      2
      Posts
      183
      Views

      A

      Hi @vijayyande , You can read the websocket 2.0 documentation here - https://smartapi.angelbroking.com/docs/WebSocket2 We have released the sample code for Python language here - https://smartapi.angelbroking.com/topic/1861/user-feedback-websocket-2-0-beta-rollout-python-language I am sorry but launching Websocket 2.0 in C# library is not on our list. Our SDKs are all open source, and we encourage pull requests and other contributions from the community.
    • H

      Trailing stoploss in ROBO Order
      • harshJain  

      1
      1
      Votes
      1
      Posts
      36
      Views

      No one has replied

    • V

      Please give us tentative date to support C# for TOTP
      • vijayyande  

      5
      0
      Votes
      5
      Posts
      80
      Views

      J

      @vijayyande ENABLE totp in angel smart api then change generate sesson methods and third parms is totp and change to methods thats work perfect