curl --request PATCH \
--url https://api.example.com/api/graph/v1/action-cards/{card_id} \
--header 'Content-Type: application/json' \
--data '
{
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": 123,
"exit_price": 123,
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": 123,
"pnl_pct": 123,
"r_multiple": 123,
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": true,
"prior_vah_held": true
}
}
}
'import requests
url = "https://api.example.com/api/graph/v1/action-cards/{card_id}"
payload = {
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": 123,
"exit_price": 123,
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": 123,
"pnl_pct": 123,
"r_multiple": 123,
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": True,
"prior_vah_held": True
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
status_reason: '<string>',
outcome: {
executed_at: '2023-11-07T05:31:56Z',
fill_price: 123,
exit_price: 123,
exit_time: '2023-11-07T05:31:56Z',
pnl_dollars: 123,
pnl_pct: 123,
r_multiple: 123,
exit_reason: '<string>',
hold_days: 123,
institutional_validation: {ib_target_hit: '<string>', vwap_held: true, prior_vah_held: true}
}
})
};
fetch('https://api.example.com/api/graph/v1/action-cards/{card_id}', 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/action-cards/{card_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'status_reason' => '<string>',
'outcome' => [
'executed_at' => '2023-11-07T05:31:56Z',
'fill_price' => 123,
'exit_price' => 123,
'exit_time' => '2023-11-07T05:31:56Z',
'pnl_dollars' => 123,
'pnl_pct' => 123,
'r_multiple' => 123,
'exit_reason' => '<string>',
'hold_days' => 123,
'institutional_validation' => [
'ib_target_hit' => '<string>',
'vwap_held' => true,
'prior_vah_held' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/action-cards/{card_id}"
payload := strings.NewReader("{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/graph/v1/action-cards/{card_id}")
.header("Content-Type", "application/json")
.body("{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/action-cards/{card_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"direction_bias": "bull",
"run_meta": {
"date": "<string>",
"time": "<string>",
"account_value": "<string>",
"account_tier": "<string>",
"tz": "America/Chicago"
},
"regime": {
"classification": "<string>",
"confidence": "<string>",
"vix": "<string>",
"conditions_met": [
"<string>"
],
"conditions_failed": [
"<string>"
],
"vix_context": {
"current": "<string>",
"sma50": "<string>",
"percentile_252d": 123,
"term_structure": "<string>"
}
},
"day_type": {
"classification": "<string>",
"day_type_confidence": 50,
"trend_score": 50,
"rotation_score": 50,
"day_type_detail": "<string>",
"signals": [
"<string>"
],
"size_modifier": "1.0"
},
"institutional_levels": {
"vwap": "<string>",
"ib_high": "<string>",
"ib_low": "<string>",
"ib_range": "<string>",
"vwap_plus_1sd": "<string>",
"vwap_plus_2sd": "<string>",
"vwap_minus_1sd": "<string>",
"vwap_minus_2sd": "<string>",
"price_vs_vwap_sd": "<string>",
"ib_range_vs_atr": "<string>",
"ib_1_5x": "<string>",
"ib_2x": "<string>",
"prior_vah": "<string>",
"prior_val": "<string>",
"prior_poc": "<string>",
"dev_vah": "<string>",
"dev_val": "<string>",
"dev_poc": "<string>",
"pp": "<string>",
"r1": "<string>",
"r2": "<string>",
"r3": "<string>",
"s1": "<string>",
"s2": "<string>",
"s3": "<string>",
"pdh": "<string>",
"pdl": "<string>",
"pdc": "<string>",
"onh": "<string>",
"onl": "<string>"
},
"trend": {
"price": "<string>",
"ema20": "<string>",
"sma50": "<string>",
"stack_valid": true,
"sma200": "<string>",
"dist_to_ema20_atr": "<string>"
},
"volume": {
"rvol": "<string>",
"trend": "<string>",
"breakout_node": "<string>"
},
"confluence": {
"confluence_score": "<string>",
"tier": "<string>",
"recommendation": "<string>",
"weights_version": "3.0.0",
"components": {}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thesis": "<string>",
"pattern": {
"confidence": 50,
"detected": "<string>",
"institutional_bonus": 0,
"vcp_metrics": {
"atr_compression_ratio": "<string>",
"range_vs_atr_14": "<string>",
"range_compression_pct": "<string>"
}
},
"contract": {
"ticker": "<string>",
"strike": "<string>",
"expiration": "<string>",
"dte": 123,
"delta": "<string>",
"bid": "<string>",
"ask": "<string>",
"mid": "<string>",
"iv": "<string>",
"spread_pct": "<string>",
"oi": 123,
"gamma": "<string>",
"theta": "<string>",
"vega": "<string>",
"iv_percentile": 123,
"volume": 123
},
"position_sizing": {
"risk_per_trade_pct": "<string>",
"max_risk_dollars": "<string>",
"premium": "<string>",
"stop_loss_pct": "<string>",
"risk_per_contract": "<string>",
"max_contracts": "<string>",
"suggested_contracts": 123,
"allocation_pct": "<string>"
},
"entry": {
"trigger_type": "<string>",
"trigger_level": "<string>",
"trigger_name": "<string>",
"status": "pending",
"entry_window": "<string>",
"timing_modifier": "1.0",
"order_type": "limit",
"limit_price": "<string>",
"scale_plan": [
{
"contracts": 123,
"trigger": "<string>"
}
]
},
"exit_plan": {
"stop": {
"price": "<string>",
"basis": "<string>",
"premium": "<string>",
"premium_basis": "<string>"
},
"targets": [
{
"level": "<string>",
"basis": "<string>",
"pct": 123,
"action": "<string>",
"premium": "<string>"
}
],
"trail": {
"activation": "<string>",
"method": "<string>"
},
"time_stops": {
"no_progress_hours": 123,
"max_hold_days": 123,
"dte_floor": 123
},
"invalidations": [
{
"trigger": "<string>",
"level": "<string>"
}
]
},
"risk_status": {
"portfolio_heat_pct": "<string>",
"max_heat_pct": "<string>",
"open_positions": 123,
"available_slots": 123,
"daily_pnl_pct": "<string>",
"weekly_pnl_pct": "<string>",
"cleared_to_trade": true
},
"quality": {
"liquidity_grade": "<string>",
"spread_grade": "<string>",
"iv_grade": "<string>",
"composite": "<string>"
},
"status": "draft",
"completeness": "signal_only",
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": "<string>",
"exit_price": "<string>",
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": "<string>",
"pnl_pct": "<string>",
"r_multiple": "<string>",
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": true,
"prior_vah_held": true
}
},
"expires_at": "2023-11-07T05:31:56Z"
}Update action card status
curl --request PATCH \
--url https://api.example.com/api/graph/v1/action-cards/{card_id} \
--header 'Content-Type: application/json' \
--data '
{
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": 123,
"exit_price": 123,
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": 123,
"pnl_pct": 123,
"r_multiple": 123,
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": true,
"prior_vah_held": true
}
}
}
'import requests
url = "https://api.example.com/api/graph/v1/action-cards/{card_id}"
payload = {
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": 123,
"exit_price": 123,
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": 123,
"pnl_pct": 123,
"r_multiple": 123,
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": True,
"prior_vah_held": True
}
}
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
status_reason: '<string>',
outcome: {
executed_at: '2023-11-07T05:31:56Z',
fill_price: 123,
exit_price: 123,
exit_time: '2023-11-07T05:31:56Z',
pnl_dollars: 123,
pnl_pct: 123,
r_multiple: 123,
exit_reason: '<string>',
hold_days: 123,
institutional_validation: {ib_target_hit: '<string>', vwap_held: true, prior_vah_held: true}
}
})
};
fetch('https://api.example.com/api/graph/v1/action-cards/{card_id}', 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/action-cards/{card_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'status_reason' => '<string>',
'outcome' => [
'executed_at' => '2023-11-07T05:31:56Z',
'fill_price' => 123,
'exit_price' => 123,
'exit_time' => '2023-11-07T05:31:56Z',
'pnl_dollars' => 123,
'pnl_pct' => 123,
'r_multiple' => 123,
'exit_reason' => '<string>',
'hold_days' => 123,
'institutional_validation' => [
'ib_target_hit' => '<string>',
'vwap_held' => true,
'prior_vah_held' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/graph/v1/action-cards/{card_id}"
payload := strings.NewReader("{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/graph/v1/action-cards/{card_id}")
.header("Content-Type", "application/json")
.body("{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/action-cards/{card_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"status_reason\": \"<string>\",\n \"outcome\": {\n \"executed_at\": \"2023-11-07T05:31:56Z\",\n \"fill_price\": 123,\n \"exit_price\": 123,\n \"exit_time\": \"2023-11-07T05:31:56Z\",\n \"pnl_dollars\": 123,\n \"pnl_pct\": 123,\n \"r_multiple\": 123,\n \"exit_reason\": \"<string>\",\n \"hold_days\": 123,\n \"institutional_validation\": {\n \"ib_target_hit\": \"<string>\",\n \"vwap_held\": true,\n \"prior_vah_held\": true\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "<string>",
"direction_bias": "bull",
"run_meta": {
"date": "<string>",
"time": "<string>",
"account_value": "<string>",
"account_tier": "<string>",
"tz": "America/Chicago"
},
"regime": {
"classification": "<string>",
"confidence": "<string>",
"vix": "<string>",
"conditions_met": [
"<string>"
],
"conditions_failed": [
"<string>"
],
"vix_context": {
"current": "<string>",
"sma50": "<string>",
"percentile_252d": 123,
"term_structure": "<string>"
}
},
"day_type": {
"classification": "<string>",
"day_type_confidence": 50,
"trend_score": 50,
"rotation_score": 50,
"day_type_detail": "<string>",
"signals": [
"<string>"
],
"size_modifier": "1.0"
},
"institutional_levels": {
"vwap": "<string>",
"ib_high": "<string>",
"ib_low": "<string>",
"ib_range": "<string>",
"vwap_plus_1sd": "<string>",
"vwap_plus_2sd": "<string>",
"vwap_minus_1sd": "<string>",
"vwap_minus_2sd": "<string>",
"price_vs_vwap_sd": "<string>",
"ib_range_vs_atr": "<string>",
"ib_1_5x": "<string>",
"ib_2x": "<string>",
"prior_vah": "<string>",
"prior_val": "<string>",
"prior_poc": "<string>",
"dev_vah": "<string>",
"dev_val": "<string>",
"dev_poc": "<string>",
"pp": "<string>",
"r1": "<string>",
"r2": "<string>",
"r3": "<string>",
"s1": "<string>",
"s2": "<string>",
"s3": "<string>",
"pdh": "<string>",
"pdl": "<string>",
"pdc": "<string>",
"onh": "<string>",
"onl": "<string>"
},
"trend": {
"price": "<string>",
"ema20": "<string>",
"sma50": "<string>",
"stack_valid": true,
"sma200": "<string>",
"dist_to_ema20_atr": "<string>"
},
"volume": {
"rvol": "<string>",
"trend": "<string>",
"breakout_node": "<string>"
},
"confluence": {
"confluence_score": "<string>",
"tier": "<string>",
"recommendation": "<string>",
"weights_version": "3.0.0",
"components": {}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"thesis": "<string>",
"pattern": {
"confidence": 50,
"detected": "<string>",
"institutional_bonus": 0,
"vcp_metrics": {
"atr_compression_ratio": "<string>",
"range_vs_atr_14": "<string>",
"range_compression_pct": "<string>"
}
},
"contract": {
"ticker": "<string>",
"strike": "<string>",
"expiration": "<string>",
"dte": 123,
"delta": "<string>",
"bid": "<string>",
"ask": "<string>",
"mid": "<string>",
"iv": "<string>",
"spread_pct": "<string>",
"oi": 123,
"gamma": "<string>",
"theta": "<string>",
"vega": "<string>",
"iv_percentile": 123,
"volume": 123
},
"position_sizing": {
"risk_per_trade_pct": "<string>",
"max_risk_dollars": "<string>",
"premium": "<string>",
"stop_loss_pct": "<string>",
"risk_per_contract": "<string>",
"max_contracts": "<string>",
"suggested_contracts": 123,
"allocation_pct": "<string>"
},
"entry": {
"trigger_type": "<string>",
"trigger_level": "<string>",
"trigger_name": "<string>",
"status": "pending",
"entry_window": "<string>",
"timing_modifier": "1.0",
"order_type": "limit",
"limit_price": "<string>",
"scale_plan": [
{
"contracts": 123,
"trigger": "<string>"
}
]
},
"exit_plan": {
"stop": {
"price": "<string>",
"basis": "<string>",
"premium": "<string>",
"premium_basis": "<string>"
},
"targets": [
{
"level": "<string>",
"basis": "<string>",
"pct": 123,
"action": "<string>",
"premium": "<string>"
}
],
"trail": {
"activation": "<string>",
"method": "<string>"
},
"time_stops": {
"no_progress_hours": 123,
"max_hold_days": 123,
"dte_floor": 123
},
"invalidations": [
{
"trigger": "<string>",
"level": "<string>"
}
]
},
"risk_status": {
"portfolio_heat_pct": "<string>",
"max_heat_pct": "<string>",
"open_positions": 123,
"available_slots": 123,
"daily_pnl_pct": "<string>",
"weekly_pnl_pct": "<string>",
"cleared_to_trade": true
},
"quality": {
"liquidity_grade": "<string>",
"spread_grade": "<string>",
"iv_grade": "<string>",
"composite": "<string>"
},
"status": "draft",
"completeness": "signal_only",
"status_reason": "<string>",
"outcome": {
"executed_at": "2023-11-07T05:31:56Z",
"fill_price": "<string>",
"exit_price": "<string>",
"exit_time": "2023-11-07T05:31:56Z",
"pnl_dollars": "<string>",
"pnl_pct": "<string>",
"r_multiple": "<string>",
"exit_reason": "<string>",
"hold_days": 123,
"institutional_validation": {
"ib_target_hit": "<string>",
"vwap_held": true,
"prior_vah_held": true
}
},
"expires_at": "2023-11-07T05:31:56Z"
}Path Parameters
Body
Response
Action card updated
Complete action card aligned with v3 spec (lines 1625-1931).
Trade direction bias.
bull, bear v3: run_meta object - scan execution context.
Show child attributes
Show child attributes
v3: regime object - Module A market regime output.
Show child attributes
Show child attributes
v3: day_type object - Module A day classification.
Show child attributes
Show child attributes
v3: institutional_levels object - key price levels.
Show child attributes
Show child attributes
v3: trend object - MA stack and trend context.
Show child attributes
Show child attributes
v3: volume object - volume confirmation.
Show child attributes
Show child attributes
v3: confluence object - weighted scoring output.
Show child attributes
Show child attributes
v3: pattern object - detected chart pattern.
Show child attributes
Show child attributes
v3: contract object - Module B Stage B output.
Show child attributes
Show child attributes
v3: position_sizing object - Module E output.
Show child attributes
Show child attributes
v3: entry object - Module C output.
Show child attributes
Show child attributes
v3: exit_plan object - Module D output.
Show child attributes
Show child attributes
v3: risk_status object - Module E context at card creation.
Show child attributes
Show child attributes
v3: quality object - contract quality grades.
Show child attributes
Show child attributes
Action card lifecycle status.
draft, active, executed, expired, dismissed, invalidated Action card completeness level based on module outputs present.
signal_only, with_contract, actionable v3: outcome object - post-trade tracking.
Show child attributes
Show child attributes