Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    _WS.RunScript(sagr.feedToken, Client_code, script, TASK);

    C#/.Net SDK
    0
    2
    23
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vcb last edited by

      On the GitHub page at https://github.com/angel-one/smartapi-dotnet, what is the meaning of mw, sfi and dp in TASK: mw|sfi|dp ?

      TASK: mw|sfi|dp appears under the section for ------Socket Sample Code to get stock quotes------ . This is the snippet in which TASK: mw|sfi|dp appears, in the inline conmment // :

      _WS.ConnectforStockQuote(sagr.feedToken, Client_code);
      if (_WS.IsConnected())
      {
         string script = "", TASK="";  // SCRIPT: nse_cm|2885, mcx_fo|222900  TASK: mw|sfi|dp
      
         _WS.RunScript(sagr.feedToken, Client_code, script, TASK);
         _WS.MessageReceived += WriteResult;
         
        _WS.Close(true); to stop and close socket connection
      }
      exitEvent.WaitOne();
      
      1 Reply Last reply Reply Quote 0
      • A
        Ad0rable last edited by

        mw: This stands for market watch, where you can monitor multiple stocks at once, receiving real-time quotes for your selected stocks.

        sfi: This refer to scrip feed information, which typically provides detailed stock-specific information such as the latest price, volume, and other metrics for individual instruments.

        dp: This stand for depth, which refers to market depth data showing the order book’s bid and ask levels, giving you insight into the buy and sell quantities at various price points for a stock.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post