Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for traders

Financing and Borrow Cost Review Agent

Every position's financing cost is known daily and checked against its expected edge

Financing and Borrow Cost Review Agent: what goes in, what the agent does and what you get

What it does

Holding leveraged positions costs margin interest, and shorting costs borrow fees that can reach 20% a year or more on hard-to-borrow names. These costs show up in a statement weeks later and are rarely compared with the expected gain. This agent reads every position each day with the current financing rate and borrow fee, computes the daily cost and the annualized drag, and compares it with the trade's expected edge. It flags positions where cost exceeds a set share of the edge, such as when the borrow fee eats most of the expected return. It proposes alternatives, such as closing, shifting to a cheaper instrument, using options or moving the position to a broker with lower rates, and checks each alternative for cost and risk. If the cheaper option changes the trade too much, it tries another. The trader approves any action. Edge case: a borrow fee jumps overnight and the agent catches it next scan.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN Market closes or a borrow fee changes 2 USES A TOOL Pull positions, financing rates and borrow fees 3 DOES Compute daily cost and annualized drag per position 4 DOES Compare the cost with the expected edge of eachtrade 5 CHECKS THE RESULT Is cost below 30% of the expected edge for eachposition? If not: mark the position for review and list the costdrivers. Back to step 3. 6 USES A TOOL Search for cheaper alternatives: instrument, brokeror size 7 DOES Test each alternative for cost and for change inexposure 8 CHECKS THE RESULT Does the alternative keep the exposure close to theoriginal? If not: try the next alternative or recommend closing.Back to step 6. 9 DOES Write the cost report and recommendations 10 YOU APPROVE Trader approves any change 11 RESULT Daily cost report filed
Read the steps as a list
  1. Market closes or a borrow fee changes
  2. Pull positions, financing rates and borrow fees
  3. Compute daily cost and annualized drag per position
  4. Compare the cost with the expected edge of each trade
  5. Is cost below 30% of the expected edge for each position?If not: mark the position for review and list the cost drivers. Back to step 3.
  6. Search for cheaper alternatives: instrument, broker or size
  7. Test each alternative for cost and for change in exposure
  8. Does the alternative keep the exposure close to the original?If not: try the next alternative or recommend closing. Back to step 6.
  9. Write the cost report and recommendations
  10. Trader approves any changeThe agent waits here for your OK.
  11. Daily cost report filed

How it decides

It flags a position when the annualized financing and borrow cost exceeds a set share of its expected return, and prefers alternatives that cut the cost without changing the trade's exposure much.

  • Flag cost above 30% of expected edge
  • Flag borrow fees above 10% a year
  • Prefer alternatives that keep delta within 10% of the original
  • Review any position whose fee rose more than 2 points

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Cost share that triggers a flag (default 30% of edge)
  • Borrow fee limit (default 10%)
  • Alternatives allowed
  • Scan time

What keeps you in control

It always asks you first

  • Any trade or change of broker

Hard limits

  • Never places trades
  • Does not guarantee borrow availability
  • Shows all inputs for each cost

It stops when

  • Done: positions reviewed and decisions recorded
  • Stop: rate data unavailable

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA short position of $200,000 had a borrow fee that rose from 6% to 24% a year, costing $131 a day against an expected edge of $3,000 over 30 days. Cost was 131 times 30 = $3,930, so the check failed. The agent tested put options as an alternative. They cost $2,100 and kept 85% of the exposure. The trader approved closing the short and buying puts.

More agents for traders