zerodha / pykiteconnect

The official Python client library for the Kite Connect trading APIs
MIT License
978 stars 467 forks source link

Support for Basket Margin #115

Closed anilsaxena closed 2 years ago

anilsaxena commented 3 years ago

Would be good to have support for Basket Margin like https://kite.trade/docs/connect/v3/margins/#basket-margins

ranjanrak commented 3 years ago

@anilsaxena Yeah, we will be adding this soon on all our official libs.

mgnanaprakash11 commented 3 years ago

Hello, When can we expect the addition? I too Need this Feature.

ranjanrak commented 3 years ago

@mgnanaprakash11 We have already released a new version with a basket order margin update. You can upgrade to the latest version using pip install kiteconnect --upgrade

mgnanaprakash11 commented 3 years ago

@ranjanrak When can we expect for node js library?

ranjanrak commented 3 years ago

We have added this here.

bibinvargheset commented 3 years ago

How can we Execute basket order after getting margins ?

ranjanrak commented 2 years ago

How can we Execute basket order after getting margins ?

You need to prepare a list of orders at your end(in same order as requested while fetching basket margin) and then loop in to place orders on them.