curl --request POST \
--url https://api.rekko.ai/v1/signals/portfolio \
--header 'Content-Type: application/json' \
--data '
{
"bankroll_usd": 10000,
"market_query": "Will the Fed cut rates at the March 2026 meeting?",
"max_position_pct": 0.05,
"portfolio": [
{
"entry_price": 0.55,
"market_id": "KXCPI-26MAR",
"platform": "kalshi",
"side": "yes",
"size_usd": 250
}
]
}
'import requests
url = "https://api.rekko.ai/v1/signals/portfolio"
payload = {
"bankroll_usd": 10000,
"market_query": "Will the Fed cut rates at the March 2026 meeting?",
"max_position_pct": 0.05,
"portfolio": [
{
"entry_price": 0.55,
"market_id": "KXCPI-26MAR",
"platform": "kalshi",
"side": "yes",
"size_usd": 250
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
bankroll_usd: 10000,
market_query: 'Will the Fed cut rates at the March 2026 meeting?',
max_position_pct: 0.05,
portfolio: [
{
entry_price: 0.55,
market_id: 'KXCPI-26MAR',
platform: 'kalshi',
side: 'yes',
size_usd: 250
}
]
})
};
fetch('https://api.rekko.ai/v1/signals/portfolio', 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.rekko.ai/v1/signals/portfolio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bankroll_usd' => 10000,
'market_query' => 'Will the Fed cut rates at the March 2026 meeting?',
'max_position_pct' => 0.05,
'portfolio' => [
[
'entry_price' => 0.55,
'market_id' => 'KXCPI-26MAR',
'platform' => 'kalshi',
'side' => 'yes',
'size_usd' => 250
]
]
]),
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.rekko.ai/v1/signals/portfolio"
payload := strings.NewReader("{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.rekko.ai/v1/signals/portfolio")
.header("Content-Type", "application/json")
.body("{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/signals/portfolio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"adjusted_size_pct": 0.025,
"adjusted_size_usd": 250,
"base_size_pct": 0.035,
"confidence": 0.82,
"edge": 0.09,
"expires_at": "2026-03-22T14:30:00Z",
"generated_at": "2026-03-21T14:30:00Z",
"hedge_recommendations": [
{
"market_id": "KXUNEMP-4.5",
"platform": "kalshi",
"rationale": "Negatively correlated — hedges against strong economy scenario",
"side": "no",
"suggested_size_usd": 100,
"title": "Will unemployment exceed 4.5%?"
}
],
"market_id": "KXFED-26MAR19",
"platform": "kalshi",
"portfolio_impact": {
"concentration_delta": 0.15,
"correlated_with": "KXCPI-26MAR",
"max_correlation": 0.73,
"net_exposure_change": 250,
"portfolio_risk_level": "medium"
},
"recommendation": "BUY_YES",
"risk_rating": "medium",
"target_price": 0.62,
"title": "Will the Fed cut rates at the March 2026 meeting?"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Portfolio Signal
Portfolio-aware strategy signal with correlation analysis and hedge recommendations.
curl --request POST \
--url https://api.rekko.ai/v1/signals/portfolio \
--header 'Content-Type: application/json' \
--data '
{
"bankroll_usd": 10000,
"market_query": "Will the Fed cut rates at the March 2026 meeting?",
"max_position_pct": 0.05,
"portfolio": [
{
"entry_price": 0.55,
"market_id": "KXCPI-26MAR",
"platform": "kalshi",
"side": "yes",
"size_usd": 250
}
]
}
'import requests
url = "https://api.rekko.ai/v1/signals/portfolio"
payload = {
"bankroll_usd": 10000,
"market_query": "Will the Fed cut rates at the March 2026 meeting?",
"max_position_pct": 0.05,
"portfolio": [
{
"entry_price": 0.55,
"market_id": "KXCPI-26MAR",
"platform": "kalshi",
"side": "yes",
"size_usd": 250
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
bankroll_usd: 10000,
market_query: 'Will the Fed cut rates at the March 2026 meeting?',
max_position_pct: 0.05,
portfolio: [
{
entry_price: 0.55,
market_id: 'KXCPI-26MAR',
platform: 'kalshi',
side: 'yes',
size_usd: 250
}
]
})
};
fetch('https://api.rekko.ai/v1/signals/portfolio', 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.rekko.ai/v1/signals/portfolio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bankroll_usd' => 10000,
'market_query' => 'Will the Fed cut rates at the March 2026 meeting?',
'max_position_pct' => 0.05,
'portfolio' => [
[
'entry_price' => 0.55,
'market_id' => 'KXCPI-26MAR',
'platform' => 'kalshi',
'side' => 'yes',
'size_usd' => 250
]
]
]),
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.rekko.ai/v1/signals/portfolio"
payload := strings.NewReader("{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.rekko.ai/v1/signals/portfolio")
.header("Content-Type", "application/json")
.body("{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rekko.ai/v1/signals/portfolio")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"bankroll_usd\": 10000,\n \"market_query\": \"Will the Fed cut rates at the March 2026 meeting?\",\n \"max_position_pct\": 0.05,\n \"portfolio\": [\n {\n \"entry_price\": 0.55,\n \"market_id\": \"KXCPI-26MAR\",\n \"platform\": \"kalshi\",\n \"side\": \"yes\",\n \"size_usd\": 250\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"adjusted_size_pct": 0.025,
"adjusted_size_usd": 250,
"base_size_pct": 0.035,
"confidence": 0.82,
"edge": 0.09,
"expires_at": "2026-03-22T14:30:00Z",
"generated_at": "2026-03-21T14:30:00Z",
"hedge_recommendations": [
{
"market_id": "KXUNEMP-4.5",
"platform": "kalshi",
"rationale": "Negatively correlated — hedges against strong economy scenario",
"side": "no",
"suggested_size_usd": 100,
"title": "Will unemployment exceed 4.5%?"
}
],
"market_id": "KXFED-26MAR19",
"platform": "kalshi",
"portfolio_impact": {
"concentration_delta": 0.15,
"correlated_with": "KXCPI-26MAR",
"max_correlation": 0.73,
"net_exposure_change": 250,
"portfolio_risk_level": "medium"
},
"recommendation": "BUY_YES",
"risk_rating": "medium",
"target_price": 0.62,
"title": "Will the Fed cut rates at the March 2026 meeting?"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Body
Request body for portfolio-aware strategy signal.
Market question to analyze
Current portfolio positions
Show child attributes
Show child attributes
Total bankroll in USD
x >= 0Max single position as fraction of bankroll
0.01 <= x <= 0.5Response
Successful Response
Strategy signal with portfolio context and adjusted sizing.
kalshi, polymarket, robinhood, or coinbase
Market identifier
Market question
BUY_YES, BUY_NO, NO_TRADE
Suggested entry price
0 <= x <= 1estimated_prob - market_price
Confidence in the signal
0 <= x <= 1low, medium, high
Kelly-derived size before portfolio adjustment
0 <= x <= 1Size after portfolio correlation adjustment
0 <= x <= 1Dollar amount based on adjusted_size_pct * bankroll
x >= 0How this trade affects portfolio risk
Show child attributes
Show child attributes
{
"concentration_delta": 0.15,
"correlated_with": "KXCPI-26MAR",
"max_correlation": 0.73,
"net_exposure_change": 350,
"portfolio_risk_level": "medium"
}
Signal staleness window
Suggested hedges to reduce portfolio risk
Show child attributes
Show child attributes
When this signal was produced