We don't have any get_positions method in our python client. To fetch complete positions, you need to use positions() method, check the documentation here. Also, it's throwing None, not 429 as mentioned above. None might be because of no positions.
AttributeError: 'NoneType' object has no attribute 'positions'
You don't seem to be assigning kite variable before calling it for kite.positions(). You can check an basic python example here and also have look at FAQs.
Which API request is throwing 429(too many requests)? Complete Position fetch, others
Can you paste the complete stack trace here?
Also, it's throwing
None
, not 429 as mentioned above. None might be because of no positions.File "", line 1, in
print(kite.positions())
AttributeError: 'NoneType' object has no attribute 'positions'
kite
variable before calling it forkite.positions()
. You can check an basic python example here and also have look at FAQs.