AGENT LAB · INCLUDED WITH EVERY PAID PLAN

Give your trading idea
a place to prove itself.

An agent, a code editor, and the evidence from every run. Develop your strategy in the browser, one testable revision at a time.

Trader, Pro & Enterprise · Open your workspace and choose Agent Lab

STOQEY / AGENT LABEXPERIMENT
strategy.sjs SJS
// A strategy you can inspect and test
const app: SJSApp = async ({
  context, bar, log
}) => {
  // Your entry and exit logic lives here.
  log("Review bar", {
    close: bar.close
  });
};
Inspect → edit → test → backtest
Run results Illustrative
Chart regions · trades · run logsReview the evidence
Workflow illustration. Example code and chart; not trading results.
YOUR IDEASTRATEGY CODETESTS & BACKTESTSYOUR NEXT REVISION

01 / THE WORKBENCH

A conversation grounded
in what the strategy does.

Keep the code, context, and results together. Spend your next prompt on the behavior you want to improve.

Start with a trading idea.

Describe the behavior you want. Work with an agent on strategy code, ask questions, and refine the experiment in its own conversation.

Keep the revisions.

Explore a different entry, exit, or filter without losing the earlier version. Return to a revision and inspect the runs attached to it.

Point to the moment.

Save a chart region and add a note. Give the agent a specific part of a run to investigate instead of describing a candle from memory.

Test the behavior.

Attach tests to the experiment and ask the agent to execute them. Check the cases that matter before judging a strategy by its chart.

Read the run.

Inspect charts, trades, and logs. Compare revisions against historical data and use the results to decide what to change next.

Finish with an app.

Create or update an app from the revision you choose. Launch it yourself through the normal Stoqey app workflow when you are ready.

02 / THE ITERATION LOOP

Ask. Inspect.
Make the next change.

Run a revision yourself, or ask the agent to backtest while it works. Review the result before deciding where to go next.

Read the Agent Lab guide →
  1. 01

    Set the experiment

    Choose your strategy and historical window. Tell the agent what you want to explore.

  2. 02

    Check the evidence

    Run tests and backtests. Inspect a trade, annotate a region, or ask about a specific result.

  3. 03

    Keep the version you trust

    Continue iterating or turn the selected revision into an app. Deployment stays in your hands.

BEFORE YOU START

A few practical details.

Which plans include Agent Lab?

Every paid plan: Trader, Pro, and Enterprise. AI provider usage is billed separately by your provider; a Stoqey subscription does not include AI credits.

Does the agent change a running app?

The Lab works on its own experiments and revisions. You choose when to create or update an app from a revision, and launch it through the normal app workflow.

Can I use it for local development?

Agent Lab is the browser workspace. For a desktop IDE with local files, terminals, and local strategy execution, explore Stoqey Notebook for Enterprise.

Does a successful backtest guarantee live results?

No. Historical results and tests help you evaluate behavior. Live execution, market conditions, fees, and slippage can produce different outcomes.

YOUR NEXT EXPERIMENT

Move from “what if”
to something you can test.

Open your workspace