place_oco_order
Place a combined take-profit and stop-loss order as a single OCO. When one side fills, the other is automatically cancelled, preventing order conflicts.
Instructions
Spot OCO emri: kâr hedefi (LIMIT) + stop (STOP_LOSS_LIMIT) TEK emir listesinde. Biri dolunca diğeri borsada otomatik iptal olur (true OCO). Aynı pozisyon için ayrı ayrı SL+TP emri bakiyeyi birbirinden çaldığı için imkânsızdır; bu tool ikisini tek orderList/oco çağrısında taşır. price=TP, stop_price=stop tetikleme, stop_limit_price=stop tetiklenince satılacak limit (stop_price'dan düşük olmalı).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| price | Yes | Kâr hedefi (limit) fiyatı | |
| symbol | Yes | Spot USDT çifti, örn. ALICEUSDT | |
| quantity | Yes | Base asset miktarı | |
| account_id | Yes | ||
| request_id | No | ||
| stop_price | Yes | Stop tetikleme seviyesi | |
| idempotency_key | Yes | ||
| stop_limit_price | Yes | Stop tetiklenince satılacak limit fiyatı (< stop_price) |