Can anybody help to write condition based order placement using python code

suppose I want palce order when any stock from nifty 200 open above upper boilinger band in daily time frame for this i need sample python code, please helpme

You can utilize the following libraries for coding your technical indicators and then call the Upstox API for order placement:

For a sample on how to place orders, you can refer to the example code provided here:

Upstox API Documentation - Place Order

1 Like

Thank you for your response. Can provide sample code, so that I can try to build my own code

@P_V_Ramireddy,

We donā€™t have samples for your specific scenarios. However, you can explore the forums for the libraries shared by @Pradeep_Jaiswar in the earlier reply.

For Upstox order placement, you may find useful examples here: Place Order Samples.

Additionally, our Python SDK could simplify the technical aspects: Upstox Python SDK.

Happy coding!

1 Like