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

get_performance

Retrieve aggregate trading performance statistics for paper or real trades to analyze strategy effectiveness and inform trading decisions.

Instructions

Get aggregate trading performance statistics.

Args: mode: Portfolio mode: "shadow" for paper trades, "live" for real trades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoshadow

Implementation Reference

  • The get_performance tool is registered via the @mcp.tool() decorator and implemented as an asynchronous function that sends a GET request to the /v1/performance endpoint.
    @mcp.tool()
    async def get_performance(mode: str = "shadow") -> str:
        """Get aggregate trading performance statistics.
    
        Args:
            mode: Portfolio mode: "shadow" for paper trades, "live" for real trades.
        """
        return await _request("GET", "/v1/performance", params={"mode": mode})

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