Trading
Place Trade
Place a buy or sell order using a specific account and connector.
Args: trade_request: Trading request with account, connector, trading pair, type, amount, etc. accounts_service: Injected accounts service
Returns: TradeResponse with order ID and trading details
Raises: HTTPException: 400 for invalid parameters, 404 for account/connector not found, 500 for trade execution errors
post/trading/orders
Request body
Response
Successful Response