Skip to main content
Glama
Rekko-AI
by Rekko-AI

report_trade

Report prediction market trades to aggregate consensus probabilities for platforms like Kalshi and Polymarket, supporting informed trading decisions through market intelligence.

Instructions

Report a trade for consensus probability aggregation.

Args: market_id: Platform-specific market identifier. platform: Platform: "kalshi" or "polymarket". side: Trade direction: "yes" or "no". size_usd: Trade size in USD. price: Execution price (0.0-1.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYes
platformYes
sideYes
size_usdYes
priceYes

Implementation Reference

  • The handler function `report_trade` is registered as an MCP tool using `@mcp.tool()`. It takes trade parameters and sends a POST request to `/v1/trades/report` to record the trade.
    @mcp.tool()
    async def report_trade(
        market_id: str, platform: str, side: str, size_usd: float, price: float
    ) -> str:
        """Report a trade for consensus probability aggregation.
    
        Args:
            market_id: Platform-specific market identifier.
            platform: Platform: "kalshi" or "polymarket".
            side: Trade direction: "yes" or "no".
            size_usd: Trade size in USD.
            price: Execution price (0.0-1.0).
        """
        return await _request(
            "POST",
            "/v1/trades/report",
            json={
                "market_id": market_id,
                "platform": platform,
                "side": side,
                "size_usd": size_usd,
                "price": price,
            },
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Rekko-AI/rekko-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server