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.
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. | |
| 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. |