Navigation

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

    Topics created by West2t14

    • W

      Websockets for .net SDK
      C#/.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
      C#/.Net SDK • 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!
    • W

      triggerprice
      General Discussion • • West2t14  

      10
      0
      Votes
      10
      Posts
      24
      Views

      W

      @admin said in triggerprice: Hi @West2t14 This is fixed and deployed. Thanks again! Checked and it is fixed! Cheers!