List all active monitor notifications
curl --request GET \
--url https://api.example.com/api/graph/v1/trade/notificationsimport requests
url = "https://api.example.com/api/graph/v1/trade/notifications"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/trade/notifications', 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/notifications",
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/notifications"
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/notifications")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/trade/notifications")
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{
"notifications": [
{
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_notification": false,
"notification": {
"strategy_name": "<string>",
"symbol": "<string>",
"trigger_rule": "<string>",
"current_price": "<string>",
"suggested_entry": "<string>",
"stop_price": "<string>",
"target_price": "<string>",
"expected_risk_dollars": "<string>",
"regime": "",
"fitness_score": 50,
"correlation_id": "<string>",
"market_snapshot": {
"ts": "2023-11-07T05:31:56Z",
"bar_symbol": "",
"bar_open": "<string>",
"bar_high": "<string>",
"bar_low": "<string>",
"bar_close": "<string>",
"bar_volume": 123,
"bar_vwap": "<string>",
"quote_bid": "<string>",
"quote_ask": "<string>",
"quote_bid_size": 123,
"quote_ask_size": 123,
"indicators": {},
"regime_dominant": "",
"regime_confidence": 123,
"signals": {},
"risk_day_dollars": "<string>",
"risk_pct_cap": 123,
"risk_loss_remaining": "<string>"
}
},
"notification_count": 0,
"last_notified_at": "2023-11-07T05:31:56Z",
"rate_limited": false
}
],
"total": 0
}trade-cards
List all active monitor notifications
Return all cards with active monitor notifications for the current session.
GET
/
api
/
graph
/
v1
/
trade
/
notifications
List all active monitor notifications
curl --request GET \
--url https://api.example.com/api/graph/v1/trade/notificationsimport requests
url = "https://api.example.com/api/graph/v1/trade/notifications"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/graph/v1/trade/notifications', 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/notifications",
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/notifications"
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/notifications")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/graph/v1/trade/notifications")
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{
"notifications": [
{
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_notification": false,
"notification": {
"strategy_name": "<string>",
"symbol": "<string>",
"trigger_rule": "<string>",
"current_price": "<string>",
"suggested_entry": "<string>",
"stop_price": "<string>",
"target_price": "<string>",
"expected_risk_dollars": "<string>",
"regime": "",
"fitness_score": 50,
"correlation_id": "<string>",
"market_snapshot": {
"ts": "2023-11-07T05:31:56Z",
"bar_symbol": "",
"bar_open": "<string>",
"bar_high": "<string>",
"bar_low": "<string>",
"bar_close": "<string>",
"bar_volume": 123,
"bar_vwap": "<string>",
"quote_bid": "<string>",
"quote_ask": "<string>",
"quote_bid_size": 123,
"quote_ask_size": 123,
"indicators": {},
"regime_dominant": "",
"regime_confidence": 123,
"signals": {},
"risk_day_dollars": "<string>",
"risk_pct_cap": 123,
"risk_loss_remaining": "<string>"
}
},
"notification_count": 0,
"last_notified_at": "2023-11-07T05:31:56Z",
"rate_limited": false
}
],
"total": 0
}