Announcement

Collapse
No announcement yet.

Help with IsValidSymbol( wSymbol );

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with IsValidSymbol( wSymbol );

    Using the IsValidSymbol() there are many international symbols that return zero meaning they are invalid even though they are valid eSignal symbols. For example $NIFTY and $CNXIT. How can I get the IsValidSymbol() function to recognize these as valid symbols?


    Here is a sample call to IsValidSymbol(). This will return zero.


    WideString wSymbol= "$NIFTY";

    SymStatus = Hooks1->IsValidSymbol( wSymbol ); //0=Not Valid

  • #2
    $NIFTY and $CNXIT are not valid eSignal symbols. Calling IsValidSymbol() on an international symbol like VOD-LON does return true however.

    Comment


    • #3
      OK, lets focus on the symbol $NIFTY. The eSignal symbol directory says this is the:

      NSE Futures Index (-NSE)
      Description Symbol
      "S&P CNX Nifty Index" "$NIFTY -NSE"

      How do I format this index symbol to get a valid result?

      ---------------------------------------------------

      Also, there is a, NSE Futures (-NSF)
      Description Symbol
      "S&P CNX Nifty Index Futures" "NIFTY"

      For March 2010 I should be able to enter "NIFTY H0" but this is also not a valid symbol. What is the valid symbol?

      Comment


      • #4
        patrick256
        The symbol for the index is $NIFTY-NSE
        The symbol for the future is NIFTY my-NSF (where m is the contract month and y is the last digit of the contract year eg NIFTY H9-NSF for the March 2009 contract)
        I don't think that March 2010 is listed yet. According to the contract spec page on the NSE - see enclosed screenshot - the trading cycle is "3 month trading cycle - the near month (one), the next month (two) and the far month (three)" hence the contracts currently listed would be G9, H9 and J9
        Alex




        Originally posted by patrick256
        OK, lets focus on the symbol $NIFTY. The eSignal symbol directory says this is the:

        NSE Futures Index (-NSE)
        Description Symbol
        "S&P CNX Nifty Index" "$NIFTY -NSE"

        How do I format this index symbol to get a valid result?

        ---------------------------------------------------

        Also, there is a, NSE Futures (-NSF)
        Description Symbol
        "S&P CNX Nifty Index Futures" "NIFTY"

        For March 2010 I should be able to enter "NIFTY H0" but this is also not a valid symbol. What is the valid symbol?

        Comment


        • #5
          Unfortunately The symbols you provided both return zero when used in the IsValidSymbol( ). Is there any other way for format these symbols?


          WideString wSymbol= "$NIFTY-NSE";

          Status = Hooks1->IsValidSymbol( wSymbol ); //0=Not Valid

          -----------------

          WideString wSymbol= "NIFTY H9-NSF";

          Status = Hooks1->IsValidSymbol( wSymbol ); //0=Not Valid

          Comment


          • #6
            IsValidSymbol only returns true for valid symbols which you are entitled for. It is likely that you are not entitled to receive data for these symbols. You can verify this by entering these symbols in your eSignal quote window.

            In the event that you are not entitled for the National Stock Exchange India, you will need to contact our customer service department to have the proper entitlement added.

            Comment

            Working...
            X