QUIMERIA-HYPERION supports live market data from three exchange integrations: Bitget via REST polling (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/deskiziarecords/QUIMERIA-HYPERION/llms.txt
Use this file to discover all available pages before exploring further.
backend/realtime.py), Fyers for NSE equities (integrations/smk_fyers_integration.py), and Coinbase Advanced Trade (integrations/coinbase/). Each feed normalizes incoming ticks or candles into the same OHLCV format used by the SMK pipeline before broadcasting results over the WebSocket to connected dashboard clients.
API key configuration
Create a.env file in the project root and populate the credentials for the exchanges you intend to use. The launchers load this file automatically.
Public Bitget candle endpoints work without credentials. An API key is only required for authenticated endpoints or higher rate limits.
Bitget live feed
TheLiveFeed class in backend/realtime.py polls the Bitget v2 spot candle endpoint on a configurable interval. When a new closed candle is detected, it runs the full SMK pipeline step and broadcasts the result to every connected WebSocket client.
Supported granularities
| Interval | Bitget string | Poll period |
|---|---|---|
1m | 1min | 60 s |
3m | 3min | 180 s |
5m | 5min | 300 s |
15m | 15min | 900 s |
1h | 1H | 3600 s |
Starting the live feed
Send aPOST to /api/live/start with the symbol and granularity. The feed attaches to the existing SMK pipeline instance on the server.
- curl
- Python
Stopping the live feed
WebSocket live stream
The frontend connects tows://localhost:8000/ws/live to receive real-time bar payloads. Each message is the full step() result dict including sensor scores, veto decisions, and execution output.
Fyers (NSE) integration
integrations/smk_fyers_integration.py wraps the fyers-apiv3 SDK and connects the SMK lambda fusion engine to Fyers order execution. The integration supports fixed-percent, trailing, and lambda-adaptive profit targets.
Required credentials
| Variable | Description |
|---|---|
FYERS_APP_ID | Your Fyers API v3 App ID |
FYERS_SECRET | Your Fyers API v3 secret |
Features
TradePositiondataclass tracks entry price, peak/trough prices, stop loss, and take profit per positionProfitTargetmodes:FIXED_PERCENT(default 2%),TRAILING, andLAMBDA_ADAPTIVE- Integrates with
LambdaFusionEngineandLambda7MacroGatewhen SMK modules are available; falls back to standalone mode otherwise - Rate limiter (
core.rate_limiter) andretry_with_backoffguard all Fyers API calls
The Fyers integration loads SMK lambda sensors (
LambdaFusionEngine, Lambda7MacroGate, LightConeViolationDetector) on import. If these modules are unavailable, it runs in standalone mode and logs a warning.Order status lifecycle
Coinbase Advanced Trade integration
Theintegrations/coinbase/ package provides a modular client for the Coinbase Advanced Trade API, organized by resource type.
| Module | Purpose |
|---|---|
auth.py | Request signing and authentication |
coinbase_unified_client.py | High-level client combining all sub-APIs |
market_data_api.py | OHLCV candles and order book snapshots |
public_market_data.py | Unauthenticated market data endpoints |
order_api.py | Place, cancel, and list orders |
account_balance_api.py | Account and balance queries |
perpetuals_api.py | Perpetuals contract endpoints |
convert_api.py | Currency conversion |
transaction_api.py | Transaction history |
coinbase_unified_client.CoinbaseUnifiedClient as the entry point. It composes all sub-APIs under a single authenticated session.
Generic market integration
integrations/smk_market_integration.py provides EnhancedOrderBook, a general-purpose order book with profit tracking that works independently of any specific exchange.
type, price, side, and lambda_scores keys, which the dashboard uses to render trade markers on the TradingView chart.
Monitoring live feed health
PollGET /api/status to check whether the live feed task is running and how many WebSocket clients are connected: