Changed API for user.margins in equity segment, bug or new feature change?

pybull
Hi,

my program just threw exceptions today after making calls to "https://api.kite.trade/user/margins/equity", because the response contained a list, rather than the usual dict. It specifically tried to find the key "error" in the response data, but the data contained a list as follows

[{u'mis_margin': 9.0, u'tradingsymbol': u'YESBANK', u'co_upper': 4.5, u'co_lower': 4.0, u'mis_multiplier': 11.0}, {u'mis_margin': 9.0, u'tradingsymbol': u'ZEEL', u'co_upper': 4.5, u'co_lower': 4.0, u'mis_multiplier': 11.0}]

instead of the dict specified in the official documentation. Has there been a change in the API? Or is it a bug introduced over the weekend?
Sign In or Register to comment.