INNER CODE UNIT · Python

get_multiple_prices

Spoofkapoof/TradingViewMCPServer · tradingview_mcp/server.py:279

def get_multiple_prices(symbols: List[str]) -> list:
    """
    Get current prices for multiple symbols at once.

    Args:
        symbols: List of symbols (e.g., ['EURUSD', 'AAPL', 'BTC'])

    Returns:
        List of price quotes for each symbol
    """
    results = []
    for symbol in symbols:
        results.append(get_price(symbol))
    return results


@mcp.tool()
def list_available_pairs() -> dict:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…