node-iex-cloud
node-iex-cloud copied to clipboard
Tops function returns all symbols even if symbols are specified.
When I use the tops function I get back all symbols no matter what format I send the data in to the tops call. In the example below I expect to get only 3 symbols back. But I get all symbols in the response object res
const { IEXCloudClient } = require("node-iex-cloud");
const fetch = require("node-fetch");
const iex = new IEXCloudClient(fetch,{publishable: "pk_xxxxx", version: "stable"});
iex.tops("AAPL","GOOGL","AMZN").then(res => console.log(res));