Where language models fit in a trading stack

An honest reading of where AI language models genuinely help an open-source trading setup — and where the marketing runs ahead of what the code does.

The honest framing

Language models are text predictors with an enormous memory of what people wrote. Trading is the business of positioning capital against prices. The overlap between those two sentences is small, and most of the interesting work in this space lives exactly on that small overlap — summarizing, translating, drafting, explaining — not on the trading decision itself.

Where models fit today

JobWhy a model helpsMaturity
Explaining a strategy fileConverts code into prose for a first readWorks well today
Drafting indicator scaffoldingWrites the repetitive boilerplate of a strategy classWorks, with review
Summarizing news and filingsCompresses text that a human then readsWorks, with sources kept
Writing exchange-API glueAnswers in code for endpoints, signing, paginationWorks well, with tests
Making the trading decisionPrices, positions, risk — the hard partNot where the value is

Where they do not

Real examples in the wild

There are genuine, useful integrations in open source: bots that ask a model to annotate a backtest report in plain language; tools that turn a written plan into a first-draft strategy file for a human to fix; assistants that answer questions about a strategy's own code. These work because the model is doing what it is built for — reading, writing, explaining — while the strategy, the risk rules, and the final button stay in deterministic code.

A checklist for AI-flavoured bot claims

  1. Where exactly does the model sit in the pipeline? If the answer is "it decides", keep walking.
  2. What happens when the model is unavailable at candle close? Deterministic fallback or no trades?
  3. Can you reproduce the model's contribution with the model switched off? If not, it was load-bearing in a bad place.
  4. Who audits the prompts and the model version? A prompt change is a strategy change.
FreqDesk
An independent reference desk for open trading bots.
desk@freqdesk.pro
About this desk
Privacy notice
Terms of use

FreqDesk is an educational publication about open-source trading software. No software is hosted or distributed on this domain, and no trading advice is given.