Polyman Documentation - v2.2.2
    Preparing search index...

    Interface PolygonConfig

    Configuration options for initializing the Polygon SDK.

    PolygonConfig

    const config = {
    apiKey: process.env.POLYGON_API_KEY!,
    apiSecret: process.env.POLYGON_API_SECRET!
    };
    interface PolygonConfig {
        apiKey: string;
        apiSecret: string;
        baseUrl?: string;
    }
    Index

    Properties

    apiKey: string

    Your Polygon API key (from settings page)

    apiSecret: string

    Your Polygon API secret

    baseUrl?: string

    Optional custom API base URL (defaults to official Polygon API)