Close the deployment's open position at the market (scope: trading:write)

Risk-reducing only. Nothing on the trading surface can open a position, place a resting order, or move funds. Rate-limited to 30 live-account actions per minute per user.

post/v1/trading/deployments/{id}/close

Request

  • Base URL: https://app.texttoquant.com/api
  • URL: https://app.texttoquant.com/api/v1/trading/deployments/{id}/close
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring uuid required

Request body

fractionnumber

Portion to close. Omit = all of it.

Response

Success

successtrue required
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.