Python NSE Order Execution
Budget: ₹600 – ₹1,500 INR
I need a clean, well-commented Python script that can place Equity orders on the NSE through my broker’s REST API. The program must support three order types—Market, Limit, and Stop-loss—and switch between them with a simple function call or flag.
Key expectations
• Handle authentication, session renewal, and basic error catching so an interrupted connection will not leave an order half-sent.
• Clearly separate configuration (API keys, tokens, quantity, symbol) from the core logic so I can reuse the same code across multiple accounts.
• Return the order ID and status in real time, ideally as both terminal output and a lightweight log file for later reconciliation.
Deliverables
1. A single .py file (or small module set) ready to run.
2. A short README explaining setup, required libraries, and step-by-step usage.
3. Brief inline comments so I can tweak parameters without guessing.
I will supply my broker’s API documentation once we start. The code should run on Python 3.x and installable packages must be available via pip. If anything is unclear, feel free to propose what you think is the most robust approach before you begin coding.
Key expectations
• Handle authentication, session renewal, and basic error catching so an interrupted connection will not leave an order half-sent.
• Clearly separate configuration (API keys, tokens, quantity, symbol) from the core logic so I can reuse the same code across multiple accounts.
• Return the order ID and status in real time, ideally as both terminal output and a lightweight log file for later reconciliation.
Deliverables
1. A single .py file (or small module set) ready to run.
2. A short README explaining setup, required libraries, and step-by-step usage.
3. Brief inline comments so I can tweak parameters without guessing.
I will supply my broker’s API documentation once we start. The code should run on Python 3.x and installable packages must be available via pip. If anything is unclear, feel free to propose what you think is the most robust approach before you begin coding.
Related categories:
PHP
C Programming
Python
Software Architecture
Software Development
API
Software Engineering
REST API