Semi-Automated Market Order Bot

Заказчик: AI | Опубликовано: 08.11.2025

I trade through Alice Blue and I’m ready to cut down the manual work that goes into firing off market orders. My goal is a lightweight script that connects to the official Alice Blue REST/Socket APIs and lets me trigger market orders programmatically while still keeping the rest of my workflow exactly as it is today. Here’s what I need built: • A clean, well-commented script (Python is ideal, but I’m open) that authenticates, selects the instrument, quantity and product type I pass in, and immediately places a market order. • A simple way for me to feed those parameters—CLI flags, a spreadsheet, or even a small GUI—so I can call the shot and watch the trade go through without logging into AB manually each time. • Basic error handling for common API hiccups (session expiry, connection drops) so the script can retry or alert me instead of silently failing. • A short read-me that shows setup, required libraries, and the exact steps to run the tool on Windows. Acceptance will be a live test during market hours: I provide symbol, qty, product, hit “go,” and the order must appear in my Alice Blue order book within a couple of seconds. I’m only automating market orders for now, but I’d like the code structured in a way that lets me bolt on limit or stop-loss logic later, so please keep the functions modular. If you’ve already wrangled the Alice Blue API before, that’s a plus—just point me to something you’ve shipped. Otherwise, show me how you plan to handle authentication flow upfront and we’re good to go.