INNER CODE UNIT · Python

get_volume_profile

Spoofkapoof/TradingViewMCPServer · tradingview_mcp/server.py:861

def get_volume_profile(
    symbol: str, timeframe: str = "1h", num_levels: int = 20
) -> dict:
    """
    Get volume profile analysis.

    Args:
        symbol: Symbol (e.g., 'EURUSD', 'AAPL', 'BTC')
        timeframe: Time interval ('5m', '15m', '1h', '4h', '1d')
        num_levels: Number of price levels to analyze (default 20)

    Returns:
        Volume profile with POC, high/low volume nodes, and price levels
    """
    hist_data = get_historical_data(symbol, timeframe)

    if not hist_data.get("success"):
        return hist_data

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…