Publish a strategy to the public marketplace
publish_to_marketplacePublishes a strategy to the public marketplace where users can discover it. Marketplace listing status is the public contract; bot deployments remain private. Tags can be set for categorization (holdingPeriod, riskLevel, plan tier). Free and paid monthly listings are supported. Paid listings force code protection. If already published, updates and returns the existing listing. For private 1:1 sharing, use strategy_share_link(action="create") instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"strategyId": "<strategyId>"
},
"name": "publish_to_marketplace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Categorization tags for the listing | |
| accountId | No | Exact owned proof account; paper and real use separate listings. | |
| backtestId | No | Exact owned successful headline backtest. Reuse the current published ID to preserve its statistics; a different run must cover at least 180 days. | |
| strategyId | Yes | The Strategy entity ID (required) | |
| protectCode | No | Hide strategy code. Paid monthly listings always force this true. | |
| pricingModel | No | Marketplace pricing. Default free. | |
| priceCurrency | No | ISO currency code. Default usd. | |
| priceAmountCents | No | Monthly price in cents. Required for pricingModel=monthly. | |
| allowHoldingsView | No | Whether public listing viewers can see holdings. |