Current risk budget status
curl --request GET \
--url https://api.example.com/api/graph/v1/trade/risk-budgetimport requests
url = "https://api.example.com/api/graph/v1/trade/risk-budget"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/trade/risk-budget', 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.example.com/api/graph/v1/trade/risk-budget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/graph/v1/trade/risk-budget"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/graph/v1/trade/risk-budget")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/trade/risk-budget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"day_risk_dollars": 0,
"day_pnl": 0,
"realized_pnl": 0,
"unrealized_pnl": 0,
"global_round_trips": 0,
"strategy_round_trips": {},
"daily_dollars_at_risk_cap": 0,
"max_percent_equity_at_risk": 0,
"daily_loss_cap": 0,
"global_round_trip_cap": 0,
"blocks": [
{
"rule": "<string>",
"message": "<string>",
"current_value": 123,
"limit_value": 123
}
],
"is_blocked": false
}trade-cards
Current risk budget status
Return the current session’s risk budget state: exposure, caps, round-trip counts, and any active blocking rules.
This is a read-only status check (new_card_risk=0). The same logic runs on every arm action (queue → pending) to enforce blocking.
GET
/
api
/
graph
/
v1
/
trade
/
risk-budget
Current risk budget status
curl --request GET \
--url https://api.example.com/api/graph/v1/trade/risk-budgetimport requests
url = "https://api.example.com/api/graph/v1/trade/risk-budget"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/trade/risk-budget', 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.example.com/api/graph/v1/trade/risk-budget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/graph/v1/trade/risk-budget"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/graph/v1/trade/risk-budget")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/trade/risk-budget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"day_risk_dollars": 0,
"day_pnl": 0,
"realized_pnl": 0,
"unrealized_pnl": 0,
"global_round_trips": 0,
"strategy_round_trips": {},
"daily_dollars_at_risk_cap": 0,
"max_percent_equity_at_risk": 0,
"daily_loss_cap": 0,
"global_round_trip_cap": 0,
"blocks": [
{
"rule": "<string>",
"message": "<string>",
"current_value": 123,
"limit_value": 123
}
],
"is_blocked": false
}Response
200 - application/json
Successful Response
Current risk budget state for the session.
Show child attributes
Show child attributes
Show child attributes
Show child attributes