Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need One More Function to Fetch Order Status is this possible? #6

Open
bhautikjethva opened this issue Sep 22, 2022 · 4 comments
Open

Comments

@bhautikjethva
Copy link

No description provided.

@Anirudh-12
Copy link

Anirudh-12 commented Sep 28, 2022

this package is based on kite publisher api you can develop your own methods by seeing the documentation of kite publisher api the commands are also in curl you can convert curl to python in this site

@bhautikjethva
Copy link
Author

Hi @Anirudh-12 ,

I don't want to use the paid version of the api.kite.trade. So as this package achieved most of the basic necessary functions. can't we find or create one more function to fetch order status only using enctype token from Website?

Thanks

@Anirudh-12
Copy link

Anirudh-12 commented Oct 23, 2022

kite.orders() retrieves all order data which includes transaction_type , order_id , trading_symbol , tag...etc maybe u can loop through all orders and get the required data
and the documentation of kite publisher api may help
and maybe this method can help
'''

  def get_order_data(self, order_id):
       data = self.session.get(f"{self.root_url}/orders/{order_id}",headers=self.headers).json()['data']
       return data

it returns some order data of the specific order

@bhautikjethva
Copy link
Author

bhautikjethva commented Mar 3, 2024

Hello @Anirudh-12, Thank you for the previous function. can you please help me with the multiple instrument ltp price fetch.

i've tried to ["NSE:XYZ","NSE:ZBC"] this inside ltp function getting [] always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants