You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e63b215
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: backend_api_python/app/services/ai_generation_contracts.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
## Exchange-routed equity product contract
5
5
- Preserve the complete canonical instrument returned by product discovery, including leading zeros, quote or settlement currency, exchange, and market type. Examples are `Crypto:00700/HKD@gate:spot`, `Crypto:AAPL/USD@gate:spot`, and a catalog-confirmed Binance Hong Kong equity perpetual such as `Crypto:HK0700/USDT@binance:swap`.
6
6
- The `Crypto` prefix is the exchange-routing namespace; it does not assert that the underlying asset is cryptocurrency. The catalog distinguishes `direct_equity`, `tokenized_equity`, `stock_perpetual`, and ordinary `crypto` products and records an API family for execution.
7
-
- Current venue families are exact: Binance supports `stock_perpetual/swap/swap`; OKX and Bybit support `tokenized_equity/spot/spot` plus `stock_perpetual/swap/swap`; Bitget supports `tokenized_equity/spot/reality` plus `stock_perpetual/swap/swap`; Gate supports `direct_equity/spot/stock` plus `stock_perpetual/swap/swap`; HTX equity products remain disabled until authoritative product metadata and an execution contract are verified.
7
+
- Current venue families are exact: Binance, OKX, and Bybit support `tokenized_equity/spot/spot` plus `stock_perpetual/swap/swap`; Bitget supports `tokenized_equity/spot/reality` plus `stock_perpetual/swap/swap`; Gate supports `direct_equity/spot/stock` plus `stock_perpetual/swap/swap`; HTX equity products remain disabled until authoritative product metadata and an execution contract are verified.
8
8
- Product identity and execution eligibility come from the active exchange product catalog. Do not infer a direct equity, tokenized equity, stock perpetual, venue, region, currency, or native instrument ID from ticker spelling alone, and do not manufacture catalog metadata in strategy source. When a venue does not expose authoritative equity metadata, keep the product unsupported rather than guessing.
9
9
- Gate Tencent uses `Crypto:00700/HKD@gate:spot` with `direct_equity/spot/stock` and maps to `HKStock:00700`; Gate Apple uses `Crypto:AAPL/USD@gate:spot` and maps to `USStock:AAPL`. Find them with exchange Gate, market type Spot, and product type Direct Equity, then select the exact returned product.
10
10
- A catalog-confirmed Binance Hong Kong equity perpetual such as `Crypto:HK0700/USDT@binance:swap` uses `stock_perpetual/swap/swap` and may map to `HKStock:00700`. It is a derivative settled under the venue contract, not direct ownership of the Hong Kong share. Do not rewrite it as Gate spot, `HKStock:00700.HK`, or a differently named Binance contract.
0 commit comments