Navigation

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

    How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????

    General Discussion
    5
    23
    463
    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.
    • S
      Surya 1 @ashmita_ last edited by

      @ashmita_

      IDE may not be showing all entries of the dataframe. If you are looking for RELAINCE-EQ then

      df.loc[df['symbol'] == "RELIANCE-EQ"] 
      
      
           token       symbol      name expiry  strike  lotsize instrumenttype exch_seg  tick_size
      3514  2885  RELIANCE-EQ  RELIANCE             -1        1                     NSE          5
      

      all entries which match RELIANCE

      df.loc[df['symbol'].str.contains("RELIANCE")]                                                                                                                               
      
              token                 symbol        name     expiry  strike  lotsize instrumenttype exch_seg  tick_size
      2513    18974          RELIANCEPP-E1  RELIANCEPP                 -1        1                     NSE          5
      2578    12713            RELIANCE-BL    RELIANCE                 -1        1                     NSE          5
      3280    22319          RELIANCEPP-BL  RELIANCEPP                 -1        1                     NSE          5
      3514     2885            RELIANCE-EQ    RELIANCE                 -1        1                     NSE          5
      11238  500325               RELIANCE    RELIANCE                 -1        1                     BSE          5
      ...       ...                    ...         ...        ...     ...      ...            ...      ...        ...
      71420  120461  RELIANCE27MAY212540CE    RELIANCE  27MAY2021  254000      250         OPTSTK      NFO          5
      71553  112789  RELIANCE29APR211960PE    RELIANCE  29APR2021  196000      250         OPTSTK      NFO          5
      71559  105028  RELIANCE25MAR211980PE    RELIANCE  25MAR2021  198000      250         OPTSTK      NFO          5
      71742  105005  RELIANCE25MAR211760CE    RELIANCE  25MAR2021  176000      250         OPTSTK      NFO          5
      71928  112813  RELIANCE29APR212200PE    RELIANCE  29APR2021  220000      250         OPTSTK      NFO          5
      
      [421 rows x 9 columns]
      
      R 1 Reply Last reply Reply Quote 0
      • R
        rjamitsharma01 @Surya 1 last edited by

        @admin is there any way to do this in java

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @rjamitsharma01 last edited by

          Hi @rjamitsharma01 You need to find a feasible way to do it in java its a one time process let me text you in pc.

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