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

get_portfolio

Retrieve current portfolio positions and performance summary for paper or live trading modes on prediction market platforms.

Instructions

Get current portfolio positions and performance summary.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoshadow

Implementation Reference

  • Handler for the "get_portfolio" tool which fetches portfolio positions from the Rekko API.
    async def get_portfolio(mode: str = "shadow") -> str:
        """Get current portfolio positions and performance summary.
    
        Args:
            mode: Portfolio mode: "shadow" for paper trades, "live" for real trades.
        """
        return await _request("GET", "/v1/portfolio", 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