OpenHedgeDocs
Menu

Part V · Agent Intelligence and Models

Section 053 In development

Create Your Own Model

Users will be able to define their own strategy logic, test it against history and run it in shadow before it can trade.

DefinePreset or codeBacktestReplay with costsShadowLive data, noordersReviewAutomated checksPublishNew strategy book
Figure 53Path from idea to a tradable model.

The landing invites users to "develop the research and logic behind your strategy." This feature is in development. Its design follows the same path OpenHedge uses for its own models, so a user model gets the same discipline as an internal one.

1. Define. A model is a configuration plus logic: which funds or markets it watches, how it turns their activity into target positions, and its own limits (maximum leverage, daily opens, per-market caps). Simple models are built from presets in the interface; advanced models are written as code against a documented interface that receives events and returns target positions.

2. Backtest. The model runs over historical data with the same event replay the live engine uses, including latency, fees, funding and the minimum order size. Results are reported out-of-sample only.

3. Shadow. The model runs live on real data without sending orders. Its simulated book is compared with what it would have done, catching differences between history and the live feed.

4. Review. Before a model can trade, it must pass automated checks: no look-ahead, bounded leverage, deterministic output for the same inputs, and a minimum shadow period.

5. Publish. An approved model becomes a strategy book in the unified executor, available to its author and, if the author chooses, listed for others (the model marketplace in the decentralization roadmap, section 91).

© 2026 HedgeFund DAO · OpenHedgeNot investment advice. Trading leveraged perpetuals can lose all deposited funds.