Get Trading Rules
Get trading rules for a connector, optionally filtered by trading pairs.
This endpoint uses the MarketDataService to access non-trading connector instances, which means no authentication or account setup is required.
Args: request: FastAPI request object connector_name: Name of the connector (e.g., 'binance', 'binance_perpetual') trading_pairs: Optional list of trading pairs to filter by (e.g., ['BTC-USDT', 'ETH-USDT'])
Returns: Dictionary mapping trading pairs to their trading rules
Raises: HTTPException: 404 if connector not found, 500 for other errors
Path parameters
Query parameters
Filter by specific trading pairs
Filter by specific trading pairs
Response
Successful Response
Changes
Changed in 4 of the 13 revisions of this API.23
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response's body type changed from
objectto no type for statusresponse-body-type-changed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○