Metadata-Version: 2.4
Name: oq-broker
Version: 0.1.0
Summary: Unified async broker abstraction, paper engine, and SEBI-2026 native compliance for OpenQuant India.
Project-URL: Homepage, https://github.com/revorhq/openquant
Project-URL: Repository, https://github.com/revorhq/openquant
Project-URL: Issues, https://github.com/revorhq/openquant/issues
Author: OpenQuant India Contributors
License: Apache-2.0
Keywords: broker,dhan,india,kite,nse,quant,sebi,trading
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: >=3.11
Requires-Dist: numpy>=1.24
Requires-Dist: oq-backtest
Requires-Dist: oq-core
Requires-Dist: pandas>=2.0
Description-Content-Type: text/markdown

# oq-broker

Unified async broker interface, realistic paper engine, and SEBI-2026 native
compliance for OpenQuant India.

One interface (`AsyncBroker`) for Zerodha Kite Connect, Dhan, Upstox, and
Fyers. Same strategy file runs paper or live — mode is config. Built-in
Algo-ID tracking, immutable audit log, mandatory kill switch, and max-loss
circuit breaker. Live mode is gated behind explicit opt-in.

```bash
pip install oq-broker
```

```python
from oq_broker import PaperBroker
broker = PaperBroker(initial_capital=1_000_000)
await broker.place_order(symbol="RELIANCE", qty=10, side="BUY")
```

Part of [OpenQuant India](https://github.com/revorhq/openquant) — honest, open
source quant infrastructure for Indian markets. Apache 2.0.
