Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.miramarket.org/llms.txt

Use this file to discover all available pages before exploring further.

Miramarket helps you build automated strategies for prediction markets. A strategy combines conditions, actions, allocations, and market targets into portable strategy JSON. These docs are written for humans and AI agents. You can read them as a product guide, or use the structured examples to generate valid strategy JSON.

What you can do

  • Build a strategy visually with the strategy builder.
  • Connect market conditions to trade and capital movement actions.
  • Split capital across multiple actions with explicit percentages.
  • Use recurring markets so a strategy can follow an auto-rolling market family.
  • Export strategy JSON for review, sharing, or future automation.
  • Validate strategy JSON before you run it.

Core concepts

ConceptMeaning
StrategyA complete automation plan.
ConditionDecision logic that watches a market, time, or performance signal.
ActionA capital movement or trade execution step.
Decision groupOne condition and the actions it can select.
Recurring marketAn auto-rolling family of markets, such as a repeated hourly or daily market.
Strategy JSONThe portable external representation of a strategy.

Start here

Use the quickstart if you want to build your first strategy. Use the strategy JSON reference if you are generating strategies programmatically. Use the validation guide if you need to explain or fix validation errors.