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§

Source§

readonly exchange?: string

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

Source§

readonly filters?: {
    dateFrom?: string;
    dateTo?: string;
    exchange?: string;
    latest?: boolean;
    sort?: "ASC" | "DESC";
    specificDate?: string;
}

Default: {}

Source§

readonly limit?: number

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

Source§

readonly operation?: "get" | "getAll"

Default: "getAll"

Source§

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

Default: "endOfDayData"

Source§

readonly returnAll?: boolean

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

Source§

readonly symbol?: string

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

Source§

readonly symbols?: string

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