UNPKG

@airnub/unusualwhales-api-client

Version:

A client library for interacting with the UnusualWhales API, written in TypeScript

19 lines (18 loc) 818 B
import { AxiosInstance } from 'axios'; import { OptionsScreenerResponse, OptionsScreenerQueryParams, StockScreenerResponse, StockScreenerQueryParams } from './types'; export declare class ScreenerApi { private axiosInstance; constructor(axiosInstance: AxiosInstance); /** * Hottest Chains * A contract screener endpoint to screen the market for contracts by a variety of filter options. * @param params OptionContractsQueryParams */ getOptionContracts(params?: OptionsScreenerQueryParams): Promise<OptionsScreenerResponse>; /** * Stock Screener * A stock screener endpoint to screen the market for stocks by a variety of filter options. * @param params StocksQueryParams */ getStocks(params?: StockScreenerQueryParams): Promise<StockScreenerResponse>; }