AI agent for traders
Financing and Borrow Cost Review Agent
Every position's financing cost is known daily and checked against its expected edge
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.
Read the steps as a list
- Market closes or a borrow fee changes
- Pull positions, financing rates and borrow fees
- Compute daily cost and annualized drag per position
- Compare the cost with the expected edge of each trade
- 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.
- Search for cheaper alternatives: instrument, broker or size
- Test each alternative for cost and for change in exposure
- Does the alternative keep the exposure close to the original?If not: try the next alternative or recommend closing. Back to step 6.
- Write the cost report and recommendations
- Trader approves any changeThe agent waits here for your OK.
- 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.
- 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