How to manage tick on python & getting ltp

Response for Rejection
Hi Team

could you please help me on this , i am getting frequenthly getting this error , even not ablet get ltp

db++) single_order
{‘name’: None, ‘date’: None, ‘entry_time’: None, ‘entry_price’: None, ‘buy_sell’: None, ‘qty’: None, ‘sl’: None, ‘exit_time’: None, ‘exit_price’: None, ‘pnl’: None, ‘remark’: None, ‘traded’: None} (Pdb++) watchlist = [‘BEL’, ‘BOSCHLTD’, ‘COLPAL’, ‘HCLTECH’, ‘HDFCBANK’, ‘HAVELLS’, ‘HAL’, ‘ITC’, ‘IRCTC’, ‘INFY’, ‘LTIM’, ‘MARICO’, ‘MARUTI’, ‘NESTLEIND’, ‘PIDILITIND’, ‘TCS’, ‘TECHM’, ‘WIPRO’]
(Pdb++) watchlist
[‘BEL’, ‘BOSCHLTD’, ‘COLPAL’, ‘HCLTECH’, ‘HDFCBANK’, ‘HAVELLS’, ‘HAL’, ‘ITC’, ‘IRCTC’, ‘INFY’, ‘LTIM’, ‘MARICO’, ‘MARUTI’, ‘NESTLEIND’, ‘PIDILITIND’, ‘TCS’, ‘TECHM’, ‘WIPRO’]
(Pdb++) all_ltp = tsl.get_ltp_data(names = watchlist) Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: {‘data’: {‘808’: ‘Authentication Failed - Client ID or Token invalid’}, ‘st
atus’: ‘failed’}}
(Pdb++) names *** NameError: name ‘names’ is not defined
(Pdb++) names = watchlist
(Pdb++) names
[‘BEL’, ‘BOSCHLTD’, ‘COLPAL’, ‘HCLTECH’, ‘HDFCBANK’, ‘HAVELLS’, ‘HAL’, ‘ITC’, ‘IRCTC’, ‘INFY’, ‘LTIM’, ‘MARICO’, ‘MARUTI’, ‘NESTLEIND’, ‘PIDILITIND’, ‘TCS’, ‘TECHM’, ‘WIPRO’]
(Pdb++) all_ltp = tsl.get_ltp_data(names)
Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: {‘data’: {‘808’: ‘Authentication Failed - Client ID or Token invalid’}, ‘st
atus’: ‘failed’}}
(Pdb++) market_data = Dhan.get_market_feed([security_id]) *** NameError: name ‘Dhan’ is not defined
(Pdb++) market_data = tls.get_market_feed([security_id])
*** NameError: name ‘tls’ is not defined
(Pdb++) ltp= tsl.get_ltp_data[SBIN] *** NameError: name ‘SBIN’ is not defined
(Pdb++) ltp= tsl.get_ltp_data[“SBIN”]
*** TypeError: ‘method’ object is not subscriptable
(Pdb++) data = tsl.get_ltp_data(names=[‘CRUDEOIL’, ‘NIFTY’])
Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: {‘data’: {‘808’: ‘Authentication Failed - Client ID or Token invalid’}, ‘st
atus’: ‘failed’}} (Pdb++)

INVALID PRICE - THE ENTERED PRICE : [5644.50000000] IS NOT AS PER TICKSIZE : [1.00000000]

Hi @Diptimayee_nayak ,

Thanks for bringing this up. @Tradehull_Imran may be able to assist here