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


  • @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]
    

  • @admin is there any way to do this in java


  • 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.