create_market
Create prediction markets on Manifold Markets, specifying outcome types (binary, multiple choice, pseudo-numeric, poll, bountied question), questions, descriptions, and custom parameters for market behavior and visibility.
Instructions
Create a new prediction market
Input Schema
Name | Required | Description | Default |
---|---|---|---|
addAnswersMode | No | Optional for MULTIPLE_CHOICE markets. Controls who can add answers | |
answers | No | Required for MULTIPLE_CHOICE/POLL markets. Array of possible answers | |
closeTime | No | Optional. ISO timestamp when market will close. Defaults to 7 days. | |
description | No | Optional description for the market | |
initialProb | No | Required for BINARY markets. Initial probability (1-99) | |
initialValue | No | Required for PSEUDO_NUMERIC markets. Initial value between min and max | |
isLogScale | No | Optional for PSEUDO_NUMERIC markets. If true, increases exponentially | |
max | No | Required for PSEUDO_NUMERIC markets. Maximum resolvable value | |
min | No | Required for PSEUDO_NUMERIC markets. Minimum resolvable value | |
outcomeType | Yes | Type of market to create | |
question | Yes | The headline question for the market | |
shouldAnswersSumToOne | No | Optional for MULTIPLE_CHOICE markets. Makes probabilities sum to 100% | |
totalBounty | No | Required for BOUNTIED_QUESTION markets. Amount of mana for bounty | |
visibility | No | Optional. Market visibility. Defaults to public. |
Input Schema (JSON Schema)
{
"properties": {
"addAnswersMode": {
"description": "Optional for MULTIPLE_CHOICE markets. Controls who can add answers",
"enum": [
"DISABLED",
"ONLY_CREATOR",
"ANYONE"
],
"type": "string"
},
"answers": {
"description": "Required for MULTIPLE_CHOICE/POLL markets. Array of possible answers",
"items": {
"type": "string"
},
"type": "array"
},
"closeTime": {
"description": "Optional. ISO timestamp when market will close. Defaults to 7 days.",
"type": "string"
},
"description": {
"description": "Optional description for the market",
"type": "string"
},
"initialProb": {
"description": "Required for BINARY markets. Initial probability (1-99)",
"type": "number"
},
"initialValue": {
"description": "Required for PSEUDO_NUMERIC markets. Initial value between min and max",
"type": "number"
},
"isLogScale": {
"description": "Optional for PSEUDO_NUMERIC markets. If true, increases exponentially",
"type": "boolean"
},
"max": {
"description": "Required for PSEUDO_NUMERIC markets. Maximum resolvable value",
"type": "number"
},
"min": {
"description": "Required for PSEUDO_NUMERIC markets. Minimum resolvable value",
"type": "number"
},
"outcomeType": {
"description": "Type of market to create",
"enum": [
"BINARY",
"MULTIPLE_CHOICE",
"PSEUDO_NUMERIC",
"POLL",
"BOUNTIED_QUESTION"
],
"type": "string"
},
"question": {
"description": "The headline question for the market",
"type": "string"
},
"shouldAnswersSumToOne": {
"description": "Optional for MULTIPLE_CHOICE markets. Makes probabilities sum to 100%",
"type": "boolean"
},
"totalBounty": {
"description": "Required for BOUNTIED_QUESTION markets. Amount of mana for bounty",
"type": "number"
},
"visibility": {
"description": "Optional. Market visibility. Defaults to public.",
"enum": [
"public",
"unlisted"
],
"type": "string"
}
},
"required": [
"outcomeType",
"question"
],
"type": "object"
}