--- id: smartapi-python version: "1.5.5" license: unclear license_treatment: unclear maintenance: dormant --- # smartapi-python — Angel Broking openApi integration License: unclear · Maintenance: dormant · Downloads: 103.8K/mo ## What it is and what it does smartapi-python is a client library for Angel Broking's trading platform REST API. It wraps HTTP endpoints to let you authenticate, place orders, manage GTT (Good-Till-Triggered) rules, fetch historical candle data, and stream live market ticks via WebSocket. The library handles session generation, token refresh, and order lifecycle management. The package is designed for developers building trading bots or investment platforms on Angel Broking. It depends on requests, six, and python-dateutil for HTTP calls and date handling. The description excerpt shows usage patterns for order placement, GTT rule creation, historical data queries, and WebSocket subscription for real-time market updates. Use it for: - Build a trading bot that places limit orders and monitors fills in real time. - Retrieve historical OHLC candle data for backtesting or technical analysis. - Set up Good-Till-Triggered rules to automate conditional buy/sell orders. - Integrate Angel Broking trading into a portfolio management dashboard. - Stream live market ticks and order updates for a custom trading interface. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for Angel Broking's REST API that enables real-time stock market order execution, session management, and market data retrieval through HTTP endpoints. Yes, if you are actively trading on Angel Broking and need programmatic order execution. The low install friction and absence of known vulnerabilities are positives. However, the dormant maintenance status (553 days since last release) and unclear license are significant concerns—verify that the library still works with Angel Broking's current API and that the license terms suit your use case before committing to production. ## Install pip install smartapi-python uv add smartapi-python poetry add smartapi-python ## Installing smartapi-python Before you install: Low install friction with three common runtime dependencies (requests, six, python-dateutil). Maintenance is dormant—last release was 553 days ago—so expect no active bug fixes or security updates. License in practice: License status is unclear; no SPDX identifier or raw license text is available. Verify the actual license terms before use in proprietary or commercial projects. Quickstart: pip install smartapi-python from SmartApi import SmartConnect api_key = 'Your Api Key' smartApi = SmartConnect(api_key) data = smartApi.generateSession(username, pwd, totp) Requires Angel Broking credentials (API key, client code, PIN, QR token) and active trading account. Verify before relying: - Whether the package actually supports Python 2.7 and 3.5–3.7 as classifiers claim. - Current state of Angel Broking's API endpoints and whether they remain stable. - Whether dormant status means the library is still compatible with Angel Broking's current platform. - Additional dependencies mentioned in description (pyotp, logzero, websocket-client, pycryptodome) and their role in runtime vs. optional setup. ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 103.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags angel broking api client, stock trading order execution python, real-time market data api, trading platform rest client, broker integration library, trading-api, broker-integration, websocket-streaming [View on SkillFed](https://skillfed.io/packages/smartapi-python) · [View on PyPI](https://pypi.org/project/smartapi-python/)