---
title: "Optimize arbitrary list of market opportunities using Fractional Kelly"
method: POST
path: "/portfolio/optimize"
tags: ["Trading"]
---

# Optimize arbitrary list of market opportunities using Fractional Kelly

`POST /portfolio/optimize`

## Request

- Base URL: `https://foresea.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://foresea.ink/portfolio/optimize`
- Auth: none declared

Optimize position sizing on supplied or live opportunities.

## Request body

- PortfolioOptimizeRequest
  - `bankroll_usd` number
  - `kelly_fraction` number
  - `min_edge` number
  - `min_credibility` number
  - `opportunities` object[], nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/foresea/apis/foresea-intelligence-api.md) · [All operations](https://skmtc.dev/foresea/apis/foresea-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foresea/apis/foresea-intelligence-api/revisions/b03e49f4385d?raw)
