Portfolio Management

Locks the authenticated portfolio. All currently open DIRECT_ACCESS orders and quotes for this portfolio are cancelled immediately. New DIRECT_ACCESS orders and quotes are rejected until the portfolio is unlocked.

REST-submitted orders are not affected by the lock state.

get/api/v2/private/lock_portfolio

Request

  • Base URL
    http://195.138.37.5:4410
  • URL
    http://195.138.37.5:4410/api/v2/private/lock_portfolio
  • Auth
    HTTP bearer

Response

Portfolio locked successfully.

jsonrpc'2.0' required

The JSON-RPC version (2.0)

idinteger

The id that was sent in the request

result'ok' required

Result of method execution. ok in case of success

Changes