TradingApi V4 CfdOrdersC F D Order Controller
هذه الصفحة غير متوفرة باللغة العربية. يتم عرض النسخة الإنجليزية.
Validate Order data
<p><b>Required operations:</b><br/>frontoffice-ui</p>
Header Parameters
accountId*string
Account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/frontoffice/api/cfd/v4/order-data" \ -H "accountId: string" \ -H "Content-Type: application/json" \ -d '{}'{ "order": { "requiredMarginInRAT": "0.002", "quoteAmount": "0.002", "commissionAmountInRAT": "0.002", "marginLevel": "0.002", "takeProfit": { "price": "0.002", "rate": "0.002", "points": 0, "pnl": "0.002" }, "stopLoss": { "price": "0.002", "rate": "0.002", "points": 0, "pnl": "0.002" } }}{ "code": "TR0110", "message": "Leverage is required"}{ "code": "TR0110", "message": "Leverage is required"}