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

    • K

      C# : How TO Subscribe Token In Angel One API ?
      • KamalChanchal  

      3
      0
      Votes
      3
      Posts
      28
      Views

      K

      @Moderator_2 You Mention C# as Open SDK. Can we build using C# [Is it Possible,]? . Do you System support C# Request and Response?
    • V

      Live Market Data API - /quote Endpoint: Enhanced with 50-Symbol Bulk Fetch
      • Vishal.naykawala  

      2
      0
      Votes
      2
      Posts
      49
      Views

      K

      @Vishal-naykawala , Can You Please assist us , How can we subscribe token to get Market feed in C# . I asked the Angle One Support Team , they lack to clear doubt.
    • B

      The remote server returned an error: (403) Forbidden
      • Bharath Ron  

      4
      0
      Votes
      4
      Posts
      33
      Views

      M

      Hi @Vishal-naykawala Please share us the client code and api details on this for us to analyze further. Regards, SmartAPI team
    • Mr Depp

      About TOTP
      • Mr Depp  

      4
      0
      Votes
      4
      Posts
      111
      Views

      V

      I have updated dll, I made changes to that.
    • V

      From when can get updated C#/.net SDK
      • Vishal.naykawala  

      2
      0
      Votes
      2
      Posts
      37
      Views

      V

      I think it is better to choose another API provider. There is no support for c#/.net SDK from the Angel broking support team. Thanks
    • B

      unable to generate session on .net console app
      • Bhagawansahay  

      3
      0
      Votes
      3
      Posts
      36
      Views

      R

      @Bhagawansahay @Bhagawansahay said in unable to generate session on .net console app: hi i am tryying to connect api through console app in .net when i build and run project it shows null pumpkin panic on console app windows have a look WhatsApp Image 2023-02-07 at 12.09.51 PM.jpeg WhatsApp Image 2023-02-07 at 12.10.14 PM.jpeg I also encountered the same situation. I updated but it didn't work.
    • V

      Concurrent Websocket 2.0 connection in not done
      • Vikas_shah1008  

      2
      0
      Votes
      2
      Posts
      36
      Views

      J

      @Vikas_shah1008 Can you post working code to connect to Websocket 2.0 & subscribe / unsubscribe feed ?
    • S

      wrong totp, error code = AB1050
      • samecomm6  

      7
      0
      Votes
      7
      Posts
      51
      Views

      S

      @samecomm6 Which DLL it causing error?
    • J

      c# TOTP Loging Error New DLL with updated Generate Session method
      • JarvisBull  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • V

      Totp generated in c# using Google authenticator but failed
      • venu  

      3
      0
      Votes
      3
      Posts
      25
      Views

      J

      @venu How to pass tOTP to Generatesession method ? I am unable to login
    • S

      errorcode: AB1004. Something Went Wrong, Please Try After Sometime
      • Swetha  

      2
      0
      Votes
      2
      Posts
      21
      Views

      J

      @Swetha Pass mPin insteed of password. Also please let me know how did you modify Generate session method ?
    • S

      Invalid clientcode parameter name
      • shastry_y  

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • V

      Able to connect Websocket but not receiving any data.
      • venu  

      1
      0
      Votes
      1
      Posts
      30
      Views

      No one has replied

    • R

      Margin Calculation
      • redmouseindia  

      3
      0
      Votes
      3
      Posts
      42
      Views

      L

      @redmouseindia did you find any solution?
    • R

      getting AB2001 internal error while placing NFO sell order for BANKNIFTY
      • ramanagajula1999  

      3
      0
      Votes
      3
      Posts
      30
      Views

      R

      Issue got resolved. I am passing "trailingstoploss" = 0 instead of null.. Then it started working..
    • S

      Web Socket: Is not returning anything
      • saleem  

      1
      0
      Votes
      1
      Posts
      39
      Views

      No one has replied

    • R

      getting Issue
      • RamanRajoriya  

      1
      0
      Votes
      1
      Posts
      21
      Views

      No one has replied

    • S

      GTT Triggered - SELL Order
      • saleem  

      1
      2
      Votes
      1
      Posts
      44
      Views

      No one has replied

    • S

      GTT support
      • saleem  

      2
      0
      Votes
      2
      Posts
      24
      Views

      S

      @saleem Got this working.
    • V

      Downloading All Instruments
      • vcb  

      3
      0
      Votes
      3
      Posts
      44
      Views

      S

      Write a class and code like this... public class NSEInstrument { [JsonProperty("token")] public string token { get; set; } [JsonProperty("symbol")] public string symbol { get; set; } [JsonProperty("name")] public string name { get; set; } } public List<NSEInstrument> GetNSEInstruments() { WebRequest webRequest = WebRequest.Create("https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json"); HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse(); if (response.StatusDescription == "OK") { Stream dataStream = response.GetResponseStream(); StreamReader reader = new StreamReader(dataStream); string responseFromServer = reader.ReadToEnd(); List<NSEInstrument> data = JsonConvert.DeserializeObject<List<NSEInstrument>>(responseFromServer); return data; } return null; }