{
"jsonrpc": "2.0",
"id": 1,
"result": "ok"
}{
"jsonrpc": "2.0",
"error": {
"code": 123,
"message": "<string>",
"data": "<unknown>"
},
"id": 123
}REST API
Lock Portfolio
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.
{
"jsonrpc": "2.0",
"id": 1,
"result": "ok"
}{
"jsonrpc": "2.0",
"error": {
"code": 123,
"message": "<string>",
"data": "<unknown>"
},
"id": 123
}Authorizations
Was this page helpful?