Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. C#/.Net SDK
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • W

      Websockets for .net SDK
      • West2t14

      2
      0
      Votes
      2
      Posts
      46
      Views

      A

      Hi @West2t14 You can go through doc:
      https://github.com/angelbroking-github/smartapi-dotnet

    • W

      MessageReceived method/function not available in the smart-api.dll
      websocket • • West2t14

      8
      0
      Votes
      8
      Posts
      56
      Views

      W

      @admin said in MessageReceived method/function not available in the smart-api.dll:

      HI @West2t14
      The MessageReceived is not missing in the library, It's there. you has to create an instance of WebSocket class of AngelBroking library as follow then you can get access to this event handler

      AngelBroking.WebSocket _WS = new AngelBroking.WebSocket(); var exitEvent = new ManualResetEvent(false); _WS.ConnectforStockQuote(sagr.feedToken, Client_code); ​ if (_WS.IsConnected()) { string script = "nse_cm|2885&nse_cm|1594&nse_cm|11536&nse_cm|3045"; _WS.RunScript(sagr.feedToken, Client_code, script, "mw"); _WS.MessageReceived += WriteResult; //_WS.Close(true);// to stop and close socket connection }

      Thank you! Will check it out!

    • M

      How to get Symbol Token for options
      • mishipal

      8
      0
      Votes
      8
      Posts
      173
      Views

      A

      HI@mishipal said in How to get Symbol Token for options:

      guys i am having hard time getting token list. Can someone share some code. I am making a winforms application

      please go through below link
      https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

    • T

      Unable to fetch option data for Banknifty?
      • TradeMonk

      8
      0
      Votes
      8
      Posts
      150
      Views

      A

      HI @mishipal convert the json to csv.
      https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

    • A

      get Order Book, get Trade Book, get Holding, get Position, Convert Position, get RMS
      • ashishmavani

      10
      0
      Votes
      10
      Posts
      180
      Views

      A

      HI @ashishmavani As discussed above issue is resolved.

    • R

      connect.placeOrder returns error
      • redmouseindia

      8
      0
      Votes
      8
      Posts
      58
      Views

      A

      @redmouseindia
      Ok Thanks buddy