• EXECUTION
  • RISK
  • STRATEGY
  • HUMAN

How to convert capital allocations to share counts with your agent

Connect the Kelly Criterion Strategy once. After that, your agent handles the math for each trade you plan.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I turn dollar amounts into share counts?

Your agent uses the Kelly Criterion Strategy to calculate precise position sizes based on your capital and stop-loss levels. You get the exact number of shares or units needed for your trade. Here is how the math works.

The results you get.

What your agent produces.

Your agent processes your risk data into these specific outputs.

EXECUTION

Exact share counts

Your agent calculates the specific number of units or shares to buy. You receive a number you can use for immediate order entry.

RISK

Stop-loss mapping

Your agent maps your stop-loss levels against your capital. This ensures your downside stays within your defined limits.

STRATEGY

Kelly-optimized sizing

Your position sizes are adjusted using mathematical probability. Your agent applies the Kelly Criterion to your specific win/loss data.

HUMAN

Final trade decision

Your agent provides the math, but you decide if the trade is right. You retain full control over the final execution.

The workflow

What your agent does when the parameters arrive.

Your agent takes your raw numbers and runs them through the sizing logic.

  1. Input parsing

    Your agent reads your intended dollar amount and your stop-loss price from your chat or spreadsheet.

    evaluate_trade_parameters
  2. Kelly math application

    Your agent applies the Kelly Criterion formula to determine the optimal percentage of your bankroll to risk.

    evaluate_trade_parameters
  3. Unit calculation

    Your agent divides your allocated capital by the price distance to your stop-loss to find the share count.

    evaluate_trade_parameters
  4. Parameter validation

    Your agent checks that your requested risk doesn't exceed your total available capital.

    evaluate_trade_parameters

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Kelly Criterion Strategy tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the sizing logic immediately.

Starting points

Swap the bracketed text with your actual trade data.

Kelly Criterion Strategy Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_LU5BD2xWR1PU4rujexShZdplr2HSrxdHAXGUY9H3/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Kelly Criterion Strategy capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "kelly-criterion-strategy-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_LU5BD2xWR1PU4rujexShZdplr2HSrxdHAXGUY9H3/mcp"
    }
  }
}
Copy into chat04
  • 01

    Calculate my share count for a $5,000 allocation with a stop-loss at $142.50.

  • 02

    Using the Kelly Criterion Strategy, how many units should I buy if I have $10,000 and my stop is 5% below entry?

  • 03

    Run the sizing math for my current sheet: $2,000 risk, 40% win rate, and a $50 stop-loss.

  • 04

    Based on my trade parameters in this chat, what is my optimal position size?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Kelly Criterion Strategy once, then ask.

Click the link to connect the MCP to your client. Your credentials stay encrypted and the math tools become available in your chat instantly.

Connect Kelly Criterion Strategy to your agent

FAQ

How this task behaves.

  • 01

    Can your agent place the trade for me?

    No. Your agent calculates the share counts and risk parameters, but you must manually execute the trade in your brokerage.

  • 02

    Does it use my actual bankroll automatically?

    No. You must tell your agent how much capital you want to allocate for the specific calculation.

  • 03

    Can it change my stop-loss levels?

    No. Your agent uses the stop-loss levels you provide to calculate the size. It does not modify your existing orders.

  • 04

    What happens if my math is wrong?

    Your agent calculates based on the numbers you provide. If your input data is incorrect, the share count will be incorrect.

  • 05

    Does it work with any trading platform?

    Yes, as long as you use an MCP-compatible client like Claude, Cursor, or Windsurf.

  • More questions about Kelly Criterion Strategy? See everything the Kelly Criterion Strategy Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Kelly Criterion Strategy to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Kelly Criterion Strategy plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Kelly Criterion Strategy to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.