AI SystemsBuilt

Hermes AI

The AI research assistant inside Strategic Engine.

Turns a written trading rule into strategy code, sets up experiments, writes tests and summarises results. It drafts; the engine decides.

Inside Hermes AIExample

Rule, in plain EnglishGo long when the 20 EMA crosses above the 50 EMA and RSI(14) is below 70. Exit when the 20 EMA crosses back below. Act on the next bar.

class EmaRsiTrend(Strategy):
    params = {"fast": 20, "slow": 50, "rsi_max": 70}

    def signals(self, df):
        fast = df.close.ewm(span=self.p.fast).mean()
        slow = df.close.ewm(span=self.p.slow).mean()
        rsi = indicators.rsi(df.close, 14)
        entry = cross_above(fast, slow) & (rsi < self.p.rsi_max)
        exit_ = cross_below(fast, slow)
        return entry.shift(1), exit_.shift(1)  # next bar only

What it does

What it does

  • Converts plain-English strategy rules into code that fits the engine's strategy interface
  • Generates unit tests for every strategy it writes
  • Creates experiment configurations for parameter searches
  • Summarises backtest and validation reports in plain language

How it works

How it works

  1. DescribeYou write the rule in plain English: entries, exits, sizing, filters.
  2. DraftHermes writes the strategy class and a matching test file.
  3. VerifyTests run automatically. Failing code goes back for a fix, never forward.
  4. ExperimentHermes proposes a parameter grid and the engine runs it.
  5. SummariseResults come back as a short, readable research note.

Capabilities

Key capabilities

  • Rule-to-code generation in the engine's format
  • Automatic test generation
  • Experiment configuration
  • Research summaries from reports
  • No access to order placement by design

Stack

Built with

  • Python
  • LLM APIs
  • Structured outputs
  • pytest

Part of Strategic Engine

Hermes AI is one of the modules inside Strategic Engine. See how it fits the whole pipeline →

Want a system like this?

I can build it around your strategy, or teach you to build it yourself.