Interface MarketstackNodeParameters

Source
interface MarketstackNodeParameters {
    exchange?: string;
    filters?: {
        dateFrom?: string;
        dateTo?: string;
        exchange?: string;
        latest?: boolean;
        sort?: "ASC" | "DESC";
        specificDate?: string;
    };
    limit?: number;
    operation?: "get"
    | "getAll";
    resource?: "ticker" | "endOfDayData" | "exchange";
    returnAll?: boolean;
    symbol?: string;
    symbols?: string;
}

Properties§

§readonly exchange?: string

Stock exchange to retrieve, specified by Market Identifier Code, e.g. XNAS

§readonly filters?: { ... }

Default: {}

§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1}

§readonly operation?: "get" | "getAll"

Default: "getAll"

§readonly resource?: "ticker" | "endOfDayData" | "exchange"

Default: "endOfDayData"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly symbol?: string

Stock symbol (ticker) to retrieve, e.g. AAPL

§readonly symbols?: string

One or multiple comma-separated stock symbols (tickers) to retrieve, e.g. AAPL or AAPL,MSFT