Trading API
Modify an account position
Changed onFor partial close you can use this endpoint. Only volume, open price, take profit, and stop loss can be modified.
put/rest/api/v1/accounts/{accountId}/positions/{positionId}
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring uuid required
positionIdstring 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