Related to rate limit

In our current system, when the per-hour rate limit for the non-trading API is exceeded, we propose to put this rate limit on hold if there is any open position. This means that the rate limit will not be enforced while there are open positions. However, once all positions are closed, the rate limit should be reinstated and enforced. This approach needs to be incorporated into our Dhan API using Python.

This method need for minimize losses.