58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
Metadata-Version: 2.4
|
|
Name: aura-trade-sdk
|
|
Version: 1.0.0
|
|
Summary: Institutional Quantitative Trading & Market Analysis Python SDK for AuraTrade
|
|
Author: Aura Ajentic AI
|
|
Author-email: Aura Ajentic AI <ceo@auraajenticai.cloud>
|
|
Project-URL: Homepage, https://trade.auraajenticai.cloud
|
|
Project-URL: Repository, https://git.auraajenticai.cloud/khondokar/aura-quant-terminal
|
|
Requires-Python: >=3.9
|
|
Description-Content-Type: text/markdown
|
|
Requires-Dist: requests>=2.31.0
|
|
Requires-Dist: httpx>=0.27.0
|
|
Requires-Dist: pydantic>=2.6.0
|
|
Dynamic: author
|
|
|
|
# AuraTrade Python Agent SDK (`aura-trade-sdk`)
|
|
> **Official SDK for Autonomous Quant Agents & Hermes Integration**
|
|
> **Target Gateway**: `https://trade.auraajenticai.cloud`
|
|
|
|
## Installation
|
|
```bash
|
|
pip install -e /path/to/aura-trade-sdk
|
|
```
|
|
|
|
## Quickstart for Agents
|
|
```python
|
|
from aura_trade import AuraTrader
|
|
|
|
# Connect to cloud hub
|
|
trader = AuraTrader(
|
|
base_url="https://trade.auraajenticai.cloud",
|
|
api_key="AuraTrade-Master-Secret-2671$"
|
|
)
|
|
|
|
# 1. Check account telemetry
|
|
vitals = trader.get_telemetry()
|
|
print(f"Balance: ${vitals['balance']}, Equity: ${vitals['equity']}")
|
|
|
|
# 2. Run institutional SMC quantitative scan on Gold
|
|
setup = trader.scan_setup(symbol="XAUUSD")
|
|
print(f"Setup Confluence: {setup['total_score']}/100 | Direction: {setup['direction']}")
|
|
|
|
# 3. Dynamic 1% risk lot calculation
|
|
safe_lot = trader.calculate_safe_lot(entry=setup['entry'], sl=setup['sl'])
|
|
|
|
# 4. Execute live trade on Exness MT5
|
|
if setup['is_qualifying'] and setup['is_news_clear']:
|
|
receipt = trader.execute_order(
|
|
symbol="XAUUSD",
|
|
order_type=setup['direction'],
|
|
lot=safe_lot,
|
|
price=setup['entry'],
|
|
sl=setup['sl'],
|
|
tp=setup['tp']
|
|
)
|
|
print(f"Executed Order Ticket: #{receipt.get('ticket')}")
|
|
```
|