@Tradehull_Imran
As per my above 2 level pivot breakout , i am getting below error:
MAIN ERROR: unsupported operand type(s) for -: ‘NoneType’ and ‘float’
'Got exception in place_order as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Invalid IP’}, ‘data’: ‘’}
kindly suggest how to resolve it.
Regards
Hey @Krushna_Rout ,
We want to inform you that once a static IP is added, it can be modified or edited only after 7 working days. Additionally, if you have added the static IP in either the primary or secondary field, both will work and your orders should go through.
If you are still facing the error after adding the IP, we request you to kindly regenerate the access token and try placing the order again.
You may also drop us mail over apihelp@dhan.co for any further assistance needed.
HI@Shrutika_Poojari
I am gettiing below error while running my code: can you guide me
Getting Error at OTM strike Selection as Unable to find the OTM strike for the TORNTPHARMException for instrument name None as ‘NoneType’ object has no attribute ‘upper’Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: ‘’}Enter valid Script NameException in Getting OHLC data as Check the Tradingsymbol or ExchangeMAIN ERROR: ‘NoneType’ object is not subscriptable