Conditional and complex markets combine multiple predictions into one logical question. The market builder represents that question as a tree of contracts and operators.
A contract is a leaf in the tree. It holds the actual prediction and its settlement date.
A simple market contains one contract node. A complex market places contracts inside operator nodes. Operators can contain other operators, so conditions can be nested.
For example, a market can ask whether either:
That tree uses an OR operator with an AND group as one of its children.
The builder supports four operators:
In an IF group, the first child is the antecedent: the condition after "if." The second child is the consequent: the prediction that is evaluated when the antecedent succeeds.
If the antecedent resolves YES, the IF market follows the consequent. If the antecedent fails, holders are refunded instead of the market settling YES or NO. See Settlement & Payouts for how refunds return value.
Start with a single contract. Add another contract to create a group, then select AND, OR, or IF for that group. Use NOT when a contract or group should resolve as the opposite result.
Add contracts within a group or add sub-conditions to create nested logic. Each leaf still needs its own complete prediction and settlement details.
Before creating the market, read the tree from the outermost operator inward. Confirm that every condition is in the intended group and that an IF group places the antecedent before the consequent.
See Creating Markets for the rest of the market creation flow.