Idirect-Tech / Breeze-Python-SDK

The official Python client library for the ICICI Securities trading APIs
MIT License
53 stars 28 forks source link

Invalid User Details when fetching history data #34

Open sagar-bhogayata opened 1 year ago

sagar-bhogayata commented 1 year ago

I am fetching history data using the below function, after successfully executing 3 to 4 times throwing {'Success': None, 'Status': 500, 'Error': 'Invalid User Details'} ERROR, I'm Using Loop to fetch upto 10 Script Data

breeze.get_historical_data(interval="1minute",
                            from_date= "2022-08-15T07:00:00.000Z",
                            to_date= "2022-08-17T07:00:00.000Z",
                            stock_code="ITC",
                            exchange_code="NSE",
                            product_type="cash")