Account
Get account lockout status
Returns whether the specified account is currently locked out from trading, and if so, which mode is active (timed, session, trade_clock, hours, trading_day), when it started, when it ends, and how many minutes remain.
For trade_clock mode, also returns trade_clock_active which indicates whether the account currently has live exposure (open positions or working orders).
Use this to show lockout banners, countdown timers, or trade-clock indicators in the UI.
GET
/
trade
/
account
/
lockout
Get account lockout status
curl --request GET \
--url https://api.hyperprop.com/trade/account/lockout \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyperprop.com/trade/account/lockout"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyperprop.com/trade/account/lockout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/trade/account/lockout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/trade/account/lockout"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/trade/account/lockout")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/trade/account/lockout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": null,
"data": {
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"active": true,
"cause": "trader_self_lock",
"ends_at": "2026-03-12T14:30:00Z",
"locked_by": "user",
"mode": "timed",
"reason": "Initiated by user",
"remaining_minutes": 25,
"starts_at": "2026-03-12T14:00:00Z",
"trade_clock_active": null
},
"error": null,
"success": true
}{
"code": "UNAUTHORIZED",
"data": null,
"error": "Invalid or missing JWT token",
"success": false
}{
"code": "FORBIDDEN",
"data": null,
"error": "Account does not belong to you",
"success": false
}Authorizations
Response
Current lockout status
Lockout status response
⌘I
Get account lockout status
curl --request GET \
--url https://api.hyperprop.com/trade/account/lockout \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyperprop.com/trade/account/lockout"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyperprop.com/trade/account/lockout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/trade/account/lockout",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/trade/account/lockout"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/trade/account/lockout")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/trade/account/lockout")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"code": null,
"data": {
"account_id": "550e8400-e29b-41d4-a716-446655440000",
"active": true,
"cause": "trader_self_lock",
"ends_at": "2026-03-12T14:30:00Z",
"locked_by": "user",
"mode": "timed",
"reason": "Initiated by user",
"remaining_minutes": 25,
"starts_at": "2026-03-12T14:00:00Z",
"trade_clock_active": null
},
"error": null,
"success": true
}{
"code": "UNAUTHORIZED",
"data": null,
"error": "Invalid or missing JWT token",
"success": false
}{
"code": "FORBIDDEN",
"data": null,
"error": "Account does not belong to you",
"success": false
}