Working with the AI
How to ask for a strategy, a change, or an analysis, and what the AI does by itself.
The AI is the way you build and change a strategy. You write what you want in plain words, and it does the work.
What to ask
- Build: "Buy SPY when it closes above its 20-day high, sell after 5 days."
- Explain: "Explain this strategy."
- Change: "Add a stop at 2%." "Trade QQQ too."
- Analyse: "Why did the last backtest lose in March?" "Which exits cost the most?"
Say the instrument, when to enter, when to exit and how much to trade. What you leave out, the AI decides and tells you.
What it does by itself
- Writes and edits the code, and checks that it runs.
- Checks that your data broker has the data the strategy needs.
- Starts backtests and walk-forward runs, and reads their results.
- Searches the web.
What it asks you first
- Before running a backtest, it asks whether to run it and over which dates. When the strategy has no walk-forward plan yet, it proposes the plan first: see What is a walk-forward.
- In a walk-forward, before testing a run on unseen data. You get one try per fold, so the choice is yours.
Going live is done by you, from the Go live button.
While work runs
A backtest can take a while. When the AI launches work in the background (a backtest, a walk-forward run, a task), it reads the result when the work ends and goes on by itself, until what you asked is done: that is its agent. It does not ask first and has no limit; on EdgeFound credits it stops when the credits run out. Activity shows each agent: what it is for, what it runs, what it did, its question when it waits for you, and a Stop, which with work going asks whether to let it finish or stop it too. You can also tell the AI to stop.
One chat per strategy
A strategy has one chat of yours, and everything you ask about it goes there: what you write in it, and the questions sent from a notification, a report or For you. Your earlier chats of the strategy stay in the chat's menu, to read.
A long chat doesn't lose its beginning. When it grows, EdgeFound summarizes its older messages for the AI by itself, in the background; the latest messages stay as you wrote them. You keep seeing the whole chat. Each summary is in the chat's AI Log, with what it cost.
Models and credits
- EdgeFound AI models are paid with EdgeFound credits. The ring in the chat shows what is left; EdgeFound models pause at zero.
- Your own keys (Settings → AI Providers) are billed by the provider, not from your credits.
- Each model has a badge: Best, Good, Fast, Weak, Unreliable. For building a strategy, pick Best or Good.
When something is wrong with EdgeFound
The AI can send a report to the EdgeFound team for you. Ask it to. See Reporting a problem.