Reg. Address: #1108, Sector 21-B, Chandigarh – 160022
Head Office: Finvasia Tower, C-214, 4th Floor, Phase 8B, Sector 74, Industrial Focal Point, SAS Nagar (Mohali), Punjab – 160055
Corporate Office: Finvasia Securities Private Limited, 23rd Floor, Sunshine Tower, Plot No. 616, Senapati Bapat Marg, Dadar West, Parel, Mumbai, Maharashtra – 400013, India
NSE Clearing Member: M51912, NSE Member Code: 14846, BSE Member Code: 4043, MCX Member ID: 55135.
SEBI Reg: INZ000176037 (Cash, F&O, CDS, Commodity), AMFI ARN: 103331, CDSL DP ID: 12084300, SEBI Regn : IN-DP-317-2017
Research Analyst SEBI Regn. No. INH000011927
Smart Online Dispute Resolution | Grievances Redressal Mechanism
Overview
This walkthrough gets a single-user script talking to Shoonya end to end: log in via OAuth, fetch a quote, and place one order. It assumes you already have a Shoonya trading account and API access enabled — if not, see Prerequisites first.
1. Install the SDK
2. Install the Requirements
2. Authenticate
Shoonya currently supports OAuth-based login only — there's no TOTP auto-login flow. You'll need the
codereturned from the OAuth authorize redirect and a SHA256 checksum ofclient_id + secret_code + auth_codeto exchange for a session token. See Manual Authentication (OAuth) for the full authorize URL, redirect handling, and checksum reference.3. Fetch a quote
4. Place your first order
quantityto a size you're comfortable with, before executing.What's next