Trading API
Send an account order
Changed onPlaces an order and returns immediately. The endpoint does not wait for the trade to be executed and therefore does not confirm whether the execution was successful or not. To open positions, use the /positions endpoint.
post/rest/api/v1/accounts/{accountId}/orders
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScripthttps://skmtc.dev/metacopier/apis/metacopier-api/docs/rest/api/v1/accounts/:accountId/orders/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring uuid required
Request body
Response
No Content
Changes
- info
added the new optional request property
- info
the
request property's maxLength was increased from20to31
- info
- info
added the new optional request property
- info