{"uid":"cap_6WJsObWvyZbh6bnLmKujt","slug":"mangrove-strategy-evaluation-05aed180","name":"Mangrove Strategy Evaluation","description":"Developer references for Mangrove Agent, API contracts, MCP and AI integrations.","url":"https://api.mangrovedeveloper.ai/api/v1/execution/evaluate/%7Bstrategy_id%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"persist":{"type":"boolean","default":true,"description":"Whether to persist orders, positions, and trades to database."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_biwDGh6GD4K2sweudy_wI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a trading strategy by executing it against current market conditions, optionally persisting the resulting orders, positions, and trades to the database.","exampleAgentPrompt":"Run an evaluation of my Mangrove trading strategy (ID: strat_abc123) and make sure to persist the resulting orders and positions to the database.","exampleUseCases":[{"title":"Dry-run strategy before going live","prompt":"Evaluate my Mangrove strategy strat_xyz789 but don't persist anything to the database — I just want to see what orders and positions it would generate right now without saving them."},{"title":"Live strategy execution with persistence","prompt":"Run strategy strat_prod001 on Mangrove and persist all the resulting trades and positions to the database so I can review them later."},{"title":"Validate a new strategy before deployment","prompt":"I just built a new trading strategy with ID strat_new42 on Mangrove — can you evaluate it without persisting results so I can check if the logic is working correctly before I go live?"}],"resultDescription":"Returns the evaluation output of the specified strategy, including generated orders, open positions, and executed trades. If persist is true, these are written to the database; otherwise the results are returned ephemerally for review.","failureModes":["Invalid or non-existent strategy_id returns a 404 or similar error","Payment not provided or insufficient USDC results in a 402 Payment Required","Strategy evaluation failure due to market data unavailability","Database write failure when persist=true is set","Malformed request body returns a 400 validation error"],"whenToPreferThis":"Use this endpoint when you need to evaluate or test a specific Mangrove trading strategy against live or current market conditions, especially when you want fine-grained control over whether the resulting orders and positions are persisted. Prefer this over manual backtesting tools when you need programmatic, agent-driven strategy execution with optional database storage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:35:04.632Z","isFirstParty":false,"canonicalSlug":"mangrove-strategy-evaluation-05aed180"}