@keystrokehq/polygon 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-aggregates.cjs +53 -0
- package/dist/actions/get-aggregates.cjs.map +1 -0
- package/dist/actions/get-aggregates.d.cts +9 -0
- package/dist/actions/get-aggregates.d.cts.map +1 -0
- package/dist/actions/get-aggregates.d.mts +9 -0
- package/dist/actions/get-aggregates.d.mts.map +1 -0
- package/dist/actions/get-aggregates.mjs +52 -0
- package/dist/actions/get-aggregates.mjs.map +1 -0
- package/dist/actions/get-all-tickers.cjs +46 -0
- package/dist/actions/get-all-tickers.cjs.map +1 -0
- package/dist/actions/get-all-tickers.d.cts +9 -0
- package/dist/actions/get-all-tickers.d.cts.map +1 -0
- package/dist/actions/get-all-tickers.d.mts +9 -0
- package/dist/actions/get-all-tickers.d.mts.map +1 -0
- package/dist/actions/get-all-tickers.mjs +45 -0
- package/dist/actions/get-all-tickers.mjs.map +1 -0
- package/dist/actions/get-condition-codes.cjs +41 -0
- package/dist/actions/get-condition-codes.cjs.map +1 -0
- package/dist/actions/get-condition-codes.d.cts +9 -0
- package/dist/actions/get-condition-codes.d.cts.map +1 -0
- package/dist/actions/get-condition-codes.d.mts +9 -0
- package/dist/actions/get-condition-codes.d.mts.map +1 -0
- package/dist/actions/get-condition-codes.mjs +40 -0
- package/dist/actions/get-condition-codes.mjs.map +1 -0
- package/dist/actions/get-crypto-aggregates.cjs +52 -0
- package/dist/actions/get-crypto-aggregates.cjs.map +1 -0
- package/dist/actions/get-crypto-aggregates.d.cts +9 -0
- package/dist/actions/get-crypto-aggregates.d.cts.map +1 -0
- package/dist/actions/get-crypto-aggregates.d.mts +9 -0
- package/dist/actions/get-crypto-aggregates.d.mts.map +1 -0
- package/dist/actions/get-crypto-aggregates.mjs +51 -0
- package/dist/actions/get-crypto-aggregates.mjs.map +1 -0
- package/dist/actions/get-crypto-all-tickers.cjs +48 -0
- package/dist/actions/get-crypto-all-tickers.cjs.map +1 -0
- package/dist/actions/get-crypto-all-tickers.d.cts +9 -0
- package/dist/actions/get-crypto-all-tickers.d.cts.map +1 -0
- package/dist/actions/get-crypto-all-tickers.d.mts +9 -0
- package/dist/actions/get-crypto-all-tickers.d.mts.map +1 -0
- package/dist/actions/get-crypto-all-tickers.mjs +47 -0
- package/dist/actions/get-crypto-all-tickers.mjs.map +1 -0
- package/dist/actions/get-crypto-ema.cjs +70 -0
- package/dist/actions/get-crypto-ema.cjs.map +1 -0
- package/dist/actions/get-crypto-ema.d.cts +9 -0
- package/dist/actions/get-crypto-ema.d.cts.map +1 -0
- package/dist/actions/get-crypto-ema.d.mts +9 -0
- package/dist/actions/get-crypto-ema.d.mts.map +1 -0
- package/dist/actions/get-crypto-ema.mjs +69 -0
- package/dist/actions/get-crypto-ema.mjs.map +1 -0
- package/dist/actions/get-crypto-grouped-daily.cjs +37 -0
- package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -0
- package/dist/actions/get-crypto-grouped-daily.d.cts +9 -0
- package/dist/actions/get-crypto-grouped-daily.d.cts.map +1 -0
- package/dist/actions/get-crypto-grouped-daily.d.mts +9 -0
- package/dist/actions/get-crypto-grouped-daily.d.mts.map +1 -0
- package/dist/actions/get-crypto-grouped-daily.mjs +36 -0
- package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -0
- package/dist/actions/get-crypto-last-trade.cjs +31 -0
- package/dist/actions/get-crypto-last-trade.cjs.map +1 -0
- package/dist/actions/get-crypto-last-trade.d.cts +9 -0
- package/dist/actions/get-crypto-last-trade.d.cts.map +1 -0
- package/dist/actions/get-crypto-last-trade.d.mts +9 -0
- package/dist/actions/get-crypto-last-trade.d.mts.map +1 -0
- package/dist/actions/get-crypto-last-trade.mjs +30 -0
- package/dist/actions/get-crypto-last-trade.mjs.map +1 -0
- package/dist/actions/get-crypto-macd.cjs +49 -0
- package/dist/actions/get-crypto-macd.cjs.map +1 -0
- package/dist/actions/get-crypto-macd.d.cts +9 -0
- package/dist/actions/get-crypto-macd.d.cts.map +1 -0
- package/dist/actions/get-crypto-macd.d.mts +9 -0
- package/dist/actions/get-crypto-macd.d.mts.map +1 -0
- package/dist/actions/get-crypto-macd.mjs +48 -0
- package/dist/actions/get-crypto-macd.mjs.map +1 -0
- package/dist/actions/get-crypto-open-close.cjs +33 -0
- package/dist/actions/get-crypto-open-close.cjs.map +1 -0
- package/dist/actions/get-crypto-open-close.d.cts +9 -0
- package/dist/actions/get-crypto-open-close.d.cts.map +1 -0
- package/dist/actions/get-crypto-open-close.d.mts +9 -0
- package/dist/actions/get-crypto-open-close.d.mts.map +1 -0
- package/dist/actions/get-crypto-open-close.mjs +30 -0
- package/dist/actions/get-crypto-open-close.mjs.map +1 -0
- package/dist/actions/get-crypto-prev-close.cjs +37 -0
- package/dist/actions/get-crypto-prev-close.cjs.map +1 -0
- package/dist/actions/get-crypto-prev-close.d.cts +9 -0
- package/dist/actions/get-crypto-prev-close.d.cts.map +1 -0
- package/dist/actions/get-crypto-prev-close.d.mts +9 -0
- package/dist/actions/get-crypto-prev-close.d.mts.map +1 -0
- package/dist/actions/get-crypto-prev-close.mjs +36 -0
- package/dist/actions/get-crypto-prev-close.mjs.map +1 -0
- package/dist/actions/get-crypto-rsi.cjs +57 -0
- package/dist/actions/get-crypto-rsi.cjs.map +1 -0
- package/dist/actions/get-crypto-rsi.d.cts +9 -0
- package/dist/actions/get-crypto-rsi.d.cts.map +1 -0
- package/dist/actions/get-crypto-rsi.d.mts +9 -0
- package/dist/actions/get-crypto-rsi.d.mts.map +1 -0
- package/dist/actions/get-crypto-rsi.mjs +56 -0
- package/dist/actions/get-crypto-rsi.mjs.map +1 -0
- package/dist/actions/get-crypto-sma.cjs +57 -0
- package/dist/actions/get-crypto-sma.cjs.map +1 -0
- package/dist/actions/get-crypto-sma.d.cts +9 -0
- package/dist/actions/get-crypto-sma.d.cts.map +1 -0
- package/dist/actions/get-crypto-sma.d.mts +9 -0
- package/dist/actions/get-crypto-sma.d.mts.map +1 -0
- package/dist/actions/get-crypto-sma.mjs +56 -0
- package/dist/actions/get-crypto-sma.mjs.map +1 -0
- package/dist/actions/get-crypto-ticker-book.cjs +32 -0
- package/dist/actions/get-crypto-ticker-book.cjs.map +1 -0
- package/dist/actions/get-crypto-ticker-book.d.cts +9 -0
- package/dist/actions/get-crypto-ticker-book.d.cts.map +1 -0
- package/dist/actions/get-crypto-ticker-book.d.mts +9 -0
- package/dist/actions/get-crypto-ticker-book.d.mts.map +1 -0
- package/dist/actions/get-crypto-ticker-book.mjs +31 -0
- package/dist/actions/get-crypto-ticker-book.mjs.map +1 -0
- package/dist/actions/get-crypto-trades.cjs +39 -0
- package/dist/actions/get-crypto-trades.cjs.map +1 -0
- package/dist/actions/get-crypto-trades.d.cts +9 -0
- package/dist/actions/get-crypto-trades.d.cts.map +1 -0
- package/dist/actions/get-crypto-trades.d.mts +9 -0
- package/dist/actions/get-crypto-trades.d.mts.map +1 -0
- package/dist/actions/get-crypto-trades.mjs +38 -0
- package/dist/actions/get-crypto-trades.mjs.map +1 -0
- package/dist/actions/get-dividends.cjs +51 -0
- package/dist/actions/get-dividends.cjs.map +1 -0
- package/dist/actions/get-dividends.d.cts +9 -0
- package/dist/actions/get-dividends.d.cts.map +1 -0
- package/dist/actions/get-dividends.d.mts +9 -0
- package/dist/actions/get-dividends.d.mts.map +1 -0
- package/dist/actions/get-dividends.mjs +50 -0
- package/dist/actions/get-dividends.mjs.map +1 -0
- package/dist/actions/get-economy-inflation.cjs +34 -0
- package/dist/actions/get-economy-inflation.cjs.map +1 -0
- package/dist/actions/get-economy-inflation.d.cts +9 -0
- package/dist/actions/get-economy-inflation.d.cts.map +1 -0
- package/dist/actions/get-economy-inflation.d.mts +9 -0
- package/dist/actions/get-economy-inflation.d.mts.map +1 -0
- package/dist/actions/get-economy-inflation.mjs +33 -0
- package/dist/actions/get-economy-inflation.mjs.map +1 -0
- package/dist/actions/get-ema.cjs +58 -0
- package/dist/actions/get-ema.cjs.map +1 -0
- package/dist/actions/get-ema.d.cts +9 -0
- package/dist/actions/get-ema.d.cts.map +1 -0
- package/dist/actions/get-ema.d.mts +9 -0
- package/dist/actions/get-ema.d.mts.map +1 -0
- package/dist/actions/get-ema.mjs +57 -0
- package/dist/actions/get-ema.mjs.map +1 -0
- package/dist/actions/get-filing-file.cjs +27 -0
- package/dist/actions/get-filing-file.cjs.map +1 -0
- package/dist/actions/get-filing-file.d.cts +9 -0
- package/dist/actions/get-filing-file.d.cts.map +1 -0
- package/dist/actions/get-filing-file.d.mts +9 -0
- package/dist/actions/get-filing-file.d.mts.map +1 -0
- package/dist/actions/get-filing-file.mjs +24 -0
- package/dist/actions/get-filing-file.mjs.map +1 -0
- package/dist/actions/get-filing.cjs +36 -0
- package/dist/actions/get-filing.cjs.map +1 -0
- package/dist/actions/get-filing.d.cts +9 -0
- package/dist/actions/get-filing.d.cts.map +1 -0
- package/dist/actions/get-filing.d.mts +9 -0
- package/dist/actions/get-filing.d.mts.map +1 -0
- package/dist/actions/get-filing.mjs +35 -0
- package/dist/actions/get-filing.mjs.map +1 -0
- package/dist/actions/get-forex-aggregates.cjs +52 -0
- package/dist/actions/get-forex-aggregates.cjs.map +1 -0
- package/dist/actions/get-forex-aggregates.d.cts +9 -0
- package/dist/actions/get-forex-aggregates.d.cts.map +1 -0
- package/dist/actions/get-forex-aggregates.d.mts +9 -0
- package/dist/actions/get-forex-aggregates.d.mts.map +1 -0
- package/dist/actions/get-forex-aggregates.mjs +51 -0
- package/dist/actions/get-forex-aggregates.mjs.map +1 -0
- package/dist/actions/get-forex-ema.cjs +63 -0
- package/dist/actions/get-forex-ema.cjs.map +1 -0
- package/dist/actions/get-forex-ema.d.cts +9 -0
- package/dist/actions/get-forex-ema.d.cts.map +1 -0
- package/dist/actions/get-forex-ema.d.mts +9 -0
- package/dist/actions/get-forex-ema.d.mts.map +1 -0
- package/dist/actions/get-forex-ema.mjs +62 -0
- package/dist/actions/get-forex-ema.mjs.map +1 -0
- package/dist/actions/get-forex-grouped-daily.cjs +37 -0
- package/dist/actions/get-forex-grouped-daily.cjs.map +1 -0
- package/dist/actions/get-forex-grouped-daily.d.cts +9 -0
- package/dist/actions/get-forex-grouped-daily.d.cts.map +1 -0
- package/dist/actions/get-forex-grouped-daily.d.mts +9 -0
- package/dist/actions/get-forex-grouped-daily.d.mts.map +1 -0
- package/dist/actions/get-forex-grouped-daily.mjs +36 -0
- package/dist/actions/get-forex-grouped-daily.mjs.map +1 -0
- package/dist/actions/get-forex-historical-quotes.cjs +38 -0
- package/dist/actions/get-forex-historical-quotes.cjs.map +1 -0
- package/dist/actions/get-forex-historical-quotes.d.cts +9 -0
- package/dist/actions/get-forex-historical-quotes.d.cts.map +1 -0
- package/dist/actions/get-forex-historical-quotes.d.mts +9 -0
- package/dist/actions/get-forex-historical-quotes.d.mts.map +1 -0
- package/dist/actions/get-forex-historical-quotes.mjs +37 -0
- package/dist/actions/get-forex-historical-quotes.mjs.map +1 -0
- package/dist/actions/get-forex-locales.cjs +25 -0
- package/dist/actions/get-forex-locales.cjs.map +1 -0
- package/dist/actions/get-forex-locales.d.cts +9 -0
- package/dist/actions/get-forex-locales.d.cts.map +1 -0
- package/dist/actions/get-forex-locales.d.mts +9 -0
- package/dist/actions/get-forex-locales.d.mts.map +1 -0
- package/dist/actions/get-forex-locales.mjs +24 -0
- package/dist/actions/get-forex-locales.mjs.map +1 -0
- package/dist/actions/get-forex-macd.cjs +53 -0
- package/dist/actions/get-forex-macd.cjs.map +1 -0
- package/dist/actions/get-forex-macd.d.cts +9 -0
- package/dist/actions/get-forex-macd.d.cts.map +1 -0
- package/dist/actions/get-forex-macd.d.mts +9 -0
- package/dist/actions/get-forex-macd.d.mts.map +1 -0
- package/dist/actions/get-forex-macd.mjs +52 -0
- package/dist/actions/get-forex-macd.mjs.map +1 -0
- package/dist/actions/get-forex-prev-close.cjs +37 -0
- package/dist/actions/get-forex-prev-close.cjs.map +1 -0
- package/dist/actions/get-forex-prev-close.d.cts +9 -0
- package/dist/actions/get-forex-prev-close.d.cts.map +1 -0
- package/dist/actions/get-forex-prev-close.d.mts +9 -0
- package/dist/actions/get-forex-prev-close.d.mts.map +1 -0
- package/dist/actions/get-forex-prev-close.mjs +36 -0
- package/dist/actions/get-forex-prev-close.mjs.map +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +36 -0
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +9 -0
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +9 -0
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +35 -0
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -0
- package/dist/actions/get-forex-rsi.cjs +57 -0
- package/dist/actions/get-forex-rsi.cjs.map +1 -0
- package/dist/actions/get-forex-rsi.d.cts +9 -0
- package/dist/actions/get-forex-rsi.d.cts.map +1 -0
- package/dist/actions/get-forex-rsi.d.mts +9 -0
- package/dist/actions/get-forex-rsi.d.mts.map +1 -0
- package/dist/actions/get-forex-rsi.mjs +56 -0
- package/dist/actions/get-forex-rsi.mjs.map +1 -0
- package/dist/actions/get-forex-sma.cjs +70 -0
- package/dist/actions/get-forex-sma.cjs.map +1 -0
- package/dist/actions/get-forex-sma.d.cts +9 -0
- package/dist/actions/get-forex-sma.d.cts.map +1 -0
- package/dist/actions/get-forex-sma.d.mts +9 -0
- package/dist/actions/get-forex-sma.d.mts.map +1 -0
- package/dist/actions/get-forex-sma.mjs +69 -0
- package/dist/actions/get-forex-sma.mjs.map +1 -0
- package/dist/actions/get-forex-snapshot-losers.cjs +46 -0
- package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -0
- package/dist/actions/get-forex-snapshot-losers.d.cts +9 -0
- package/dist/actions/get-forex-snapshot-losers.d.cts.map +1 -0
- package/dist/actions/get-forex-snapshot-losers.d.mts +9 -0
- package/dist/actions/get-forex-snapshot-losers.d.mts.map +1 -0
- package/dist/actions/get-forex-snapshot-losers.mjs +45 -0
- package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -0
- package/dist/actions/get-futures-aggregates.cjs +40 -0
- package/dist/actions/get-futures-aggregates.cjs.map +1 -0
- package/dist/actions/get-futures-aggregates.d.cts +9 -0
- package/dist/actions/get-futures-aggregates.d.cts.map +1 -0
- package/dist/actions/get-futures-aggregates.d.mts +9 -0
- package/dist/actions/get-futures-aggregates.d.mts.map +1 -0
- package/dist/actions/get-futures-aggregates.mjs +39 -0
- package/dist/actions/get-futures-aggregates.mjs.map +1 -0
- package/dist/actions/get-futures-product-schedules.cjs +38 -0
- package/dist/actions/get-futures-product-schedules.cjs.map +1 -0
- package/dist/actions/get-futures-product-schedules.d.cts +9 -0
- package/dist/actions/get-futures-product-schedules.d.cts.map +1 -0
- package/dist/actions/get-futures-product-schedules.d.mts +9 -0
- package/dist/actions/get-futures-product-schedules.d.mts.map +1 -0
- package/dist/actions/get-futures-product-schedules.mjs +37 -0
- package/dist/actions/get-futures-product-schedules.mjs.map +1 -0
- package/dist/actions/get-futures-products.cjs +59 -0
- package/dist/actions/get-futures-products.cjs.map +1 -0
- package/dist/actions/get-futures-products.d.cts +9 -0
- package/dist/actions/get-futures-products.d.cts.map +1 -0
- package/dist/actions/get-futures-products.d.mts +9 -0
- package/dist/actions/get-futures-products.d.mts.map +1 -0
- package/dist/actions/get-futures-products.mjs +58 -0
- package/dist/actions/get-futures-products.mjs.map +1 -0
- package/dist/actions/get-futures-quotes.cjs +40 -0
- package/dist/actions/get-futures-quotes.cjs.map +1 -0
- package/dist/actions/get-futures-quotes.d.cts +9 -0
- package/dist/actions/get-futures-quotes.d.cts.map +1 -0
- package/dist/actions/get-futures-quotes.d.mts +9 -0
- package/dist/actions/get-futures-quotes.d.mts.map +1 -0
- package/dist/actions/get-futures-quotes.mjs +39 -0
- package/dist/actions/get-futures-quotes.mjs.map +1 -0
- package/dist/actions/get-futures-schedules.cjs +37 -0
- package/dist/actions/get-futures-schedules.cjs.map +1 -0
- package/dist/actions/get-futures-schedules.d.cts +9 -0
- package/dist/actions/get-futures-schedules.d.cts.map +1 -0
- package/dist/actions/get-futures-schedules.d.mts +9 -0
- package/dist/actions/get-futures-schedules.d.mts.map +1 -0
- package/dist/actions/get-futures-schedules.mjs +36 -0
- package/dist/actions/get-futures-schedules.mjs.map +1 -0
- package/dist/actions/get-futures-trades.cjs +44 -0
- package/dist/actions/get-futures-trades.cjs.map +1 -0
- package/dist/actions/get-futures-trades.d.cts +9 -0
- package/dist/actions/get-futures-trades.d.cts.map +1 -0
- package/dist/actions/get-futures-trades.d.mts +9 -0
- package/dist/actions/get-futures-trades.d.mts.map +1 -0
- package/dist/actions/get-futures-trades.mjs +43 -0
- package/dist/actions/get-futures-trades.mjs.map +1 -0
- package/dist/actions/get-historic-forex-ticks.cjs +33 -0
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -0
- package/dist/actions/get-historic-forex-ticks.d.cts +9 -0
- package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -0
- package/dist/actions/get-historic-forex-ticks.d.mts +9 -0
- package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -0
- package/dist/actions/get-historic-forex-ticks.mjs +32 -0
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -0
- package/dist/actions/get-inflation-expectations.cjs +41 -0
- package/dist/actions/get-inflation-expectations.cjs.map +1 -0
- package/dist/actions/get-inflation-expectations.d.cts +9 -0
- package/dist/actions/get-inflation-expectations.d.cts.map +1 -0
- package/dist/actions/get-inflation-expectations.d.mts +9 -0
- package/dist/actions/get-inflation-expectations.d.mts.map +1 -0
- package/dist/actions/get-inflation-expectations.mjs +40 -0
- package/dist/actions/get-inflation-expectations.mjs.map +1 -0
- package/dist/actions/get-ipo-data.cjs +40 -0
- package/dist/actions/get-ipo-data.cjs.map +1 -0
- package/dist/actions/get-ipo-data.d.cts +9 -0
- package/dist/actions/get-ipo-data.d.cts.map +1 -0
- package/dist/actions/get-ipo-data.d.mts +9 -0
- package/dist/actions/get-ipo-data.d.mts.map +1 -0
- package/dist/actions/get-ipo-data.mjs +39 -0
- package/dist/actions/get-ipo-data.mjs.map +1 -0
- package/dist/actions/get-macd.cjs +49 -0
- package/dist/actions/get-macd.cjs.map +1 -0
- package/dist/actions/get-macd.d.cts +9 -0
- package/dist/actions/get-macd.d.cts.map +1 -0
- package/dist/actions/get-macd.d.mts +9 -0
- package/dist/actions/get-macd.d.mts.map +1 -0
- package/dist/actions/get-macd.mjs +48 -0
- package/dist/actions/get-macd.mjs.map +1 -0
- package/dist/actions/get-market-holidays.cjs +16 -0
- package/dist/actions/get-market-holidays.cjs.map +1 -0
- package/dist/actions/get-market-holidays.d.cts +9 -0
- package/dist/actions/get-market-holidays.d.cts.map +1 -0
- package/dist/actions/get-market-holidays.d.mts +9 -0
- package/dist/actions/get-market-holidays.d.mts.map +1 -0
- package/dist/actions/get-market-holidays.mjs +13 -0
- package/dist/actions/get-market-holidays.mjs.map +1 -0
- package/dist/actions/get-market-status.cjs +33 -0
- package/dist/actions/get-market-status.cjs.map +1 -0
- package/dist/actions/get-market-status.d.cts +9 -0
- package/dist/actions/get-market-status.d.cts.map +1 -0
- package/dist/actions/get-market-status.d.mts +9 -0
- package/dist/actions/get-market-status.d.mts.map +1 -0
- package/dist/actions/get-market-status.mjs +32 -0
- package/dist/actions/get-market-status.mjs.map +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.cjs +16 -0
- package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts +9 -0
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts.map +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts +9 -0
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts.map +1 -0
- package/dist/actions/get-meta-conditions-by-ticktype.mjs +13 -0
- package/dist/actions/get-meta-conditions-by-ticktype.mjs.map +1 -0
- package/dist/actions/get-news.cjs +49 -0
- package/dist/actions/get-news.cjs.map +1 -0
- package/dist/actions/get-news.d.cts +9 -0
- package/dist/actions/get-news.d.cts.map +1 -0
- package/dist/actions/get-news.d.mts +9 -0
- package/dist/actions/get-news.d.mts.map +1 -0
- package/dist/actions/get-news.mjs +48 -0
- package/dist/actions/get-news.mjs.map +1 -0
- package/dist/actions/get-open-close.cjs +32 -0
- package/dist/actions/get-open-close.cjs.map +1 -0
- package/dist/actions/get-open-close.d.cts +9 -0
- package/dist/actions/get-open-close.d.cts.map +1 -0
- package/dist/actions/get-open-close.d.mts +9 -0
- package/dist/actions/get-open-close.d.mts.map +1 -0
- package/dist/actions/get-open-close.mjs +29 -0
- package/dist/actions/get-open-close.mjs.map +1 -0
- package/dist/actions/get-option-chain-snapshot.cjs +82 -0
- package/dist/actions/get-option-chain-snapshot.cjs.map +1 -0
- package/dist/actions/get-option-chain-snapshot.d.cts +9 -0
- package/dist/actions/get-option-chain-snapshot.d.cts.map +1 -0
- package/dist/actions/get-option-chain-snapshot.d.mts +9 -0
- package/dist/actions/get-option-chain-snapshot.d.mts.map +1 -0
- package/dist/actions/get-option-chain-snapshot.mjs +81 -0
- package/dist/actions/get-option-chain-snapshot.mjs.map +1 -0
- package/dist/actions/get-option-snapshot.cjs +86 -0
- package/dist/actions/get-option-snapshot.cjs.map +1 -0
- package/dist/actions/get-option-snapshot.d.cts +9 -0
- package/dist/actions/get-option-snapshot.d.cts.map +1 -0
- package/dist/actions/get-option-snapshot.d.mts +9 -0
- package/dist/actions/get-option-snapshot.d.mts.map +1 -0
- package/dist/actions/get-option-snapshot.mjs +85 -0
- package/dist/actions/get-option-snapshot.mjs.map +1 -0
- package/dist/actions/get-options-contract-overview.cjs +41 -0
- package/dist/actions/get-options-contract-overview.cjs.map +1 -0
- package/dist/actions/get-options-contract-overview.d.cts +9 -0
- package/dist/actions/get-options-contract-overview.d.cts.map +1 -0
- package/dist/actions/get-options-contract-overview.d.mts +9 -0
- package/dist/actions/get-options-contract-overview.d.mts.map +1 -0
- package/dist/actions/get-options-contract-overview.mjs +40 -0
- package/dist/actions/get-options-contract-overview.mjs.map +1 -0
- package/dist/actions/get-options-custom-bars.cjs +54 -0
- package/dist/actions/get-options-custom-bars.cjs.map +1 -0
- package/dist/actions/get-options-custom-bars.d.cts +9 -0
- package/dist/actions/get-options-custom-bars.d.cts.map +1 -0
- package/dist/actions/get-options-custom-bars.d.mts +9 -0
- package/dist/actions/get-options-custom-bars.d.mts.map +1 -0
- package/dist/actions/get-options-custom-bars.mjs +53 -0
- package/dist/actions/get-options-custom-bars.mjs.map +1 -0
- package/dist/actions/get-options-ema.cjs +62 -0
- package/dist/actions/get-options-ema.cjs.map +1 -0
- package/dist/actions/get-options-ema.d.cts +9 -0
- package/dist/actions/get-options-ema.d.cts.map +1 -0
- package/dist/actions/get-options-ema.d.mts +9 -0
- package/dist/actions/get-options-ema.d.mts.map +1 -0
- package/dist/actions/get-options-ema.mjs +61 -0
- package/dist/actions/get-options-ema.mjs.map +1 -0
- package/dist/actions/get-options-macd.cjs +49 -0
- package/dist/actions/get-options-macd.cjs.map +1 -0
- package/dist/actions/get-options-macd.d.cts +9 -0
- package/dist/actions/get-options-macd.d.cts.map +1 -0
- package/dist/actions/get-options-macd.d.mts +9 -0
- package/dist/actions/get-options-macd.d.mts.map +1 -0
- package/dist/actions/get-options-macd.mjs +48 -0
- package/dist/actions/get-options-macd.mjs.map +1 -0
- package/dist/actions/get-options-rsi.cjs +57 -0
- package/dist/actions/get-options-rsi.cjs.map +1 -0
- package/dist/actions/get-options-rsi.d.cts +9 -0
- package/dist/actions/get-options-rsi.d.cts.map +1 -0
- package/dist/actions/get-options-rsi.d.mts +9 -0
- package/dist/actions/get-options-rsi.d.mts.map +1 -0
- package/dist/actions/get-options-rsi.mjs +56 -0
- package/dist/actions/get-options-rsi.mjs.map +1 -0
- package/dist/actions/get-options-sma.cjs +71 -0
- package/dist/actions/get-options-sma.cjs.map +1 -0
- package/dist/actions/get-options-sma.d.cts +9 -0
- package/dist/actions/get-options-sma.d.cts.map +1 -0
- package/dist/actions/get-options-sma.d.mts +9 -0
- package/dist/actions/get-options-sma.d.mts.map +1 -0
- package/dist/actions/get-options-sma.mjs +70 -0
- package/dist/actions/get-options-sma.mjs.map +1 -0
- package/dist/actions/get-previous-close.cjs +37 -0
- package/dist/actions/get-previous-close.cjs.map +1 -0
- package/dist/actions/get-previous-close.d.cts +9 -0
- package/dist/actions/get-previous-close.d.cts.map +1 -0
- package/dist/actions/get-previous-close.d.mts +9 -0
- package/dist/actions/get-previous-close.d.mts.map +1 -0
- package/dist/actions/get-previous-close.mjs +36 -0
- package/dist/actions/get-previous-close.mjs.map +1 -0
- package/dist/actions/get-reference-exchanges.cjs +40 -0
- package/dist/actions/get-reference-exchanges.cjs.map +1 -0
- package/dist/actions/get-reference-exchanges.d.cts +9 -0
- package/dist/actions/get-reference-exchanges.d.cts.map +1 -0
- package/dist/actions/get-reference-exchanges.d.mts +9 -0
- package/dist/actions/get-reference-exchanges.d.mts.map +1 -0
- package/dist/actions/get-reference-exchanges.mjs +39 -0
- package/dist/actions/get-reference-exchanges.mjs.map +1 -0
- package/dist/actions/get-reference-markets.cjs +23 -0
- package/dist/actions/get-reference-markets.cjs.map +1 -0
- package/dist/actions/get-reference-markets.d.cts +9 -0
- package/dist/actions/get-reference-markets.d.cts.map +1 -0
- package/dist/actions/get-reference-markets.d.mts +9 -0
- package/dist/actions/get-reference-markets.d.mts.map +1 -0
- package/dist/actions/get-reference-markets.mjs +22 -0
- package/dist/actions/get-reference-markets.mjs.map +1 -0
- package/dist/actions/get-reference-types.cjs +21 -0
- package/dist/actions/get-reference-types.cjs.map +1 -0
- package/dist/actions/get-reference-types.d.cts +9 -0
- package/dist/actions/get-reference-types.d.cts.map +1 -0
- package/dist/actions/get-reference-types.d.mts +9 -0
- package/dist/actions/get-reference-types.d.mts.map +1 -0
- package/dist/actions/get-reference-types.mjs +18 -0
- package/dist/actions/get-reference-types.mjs.map +1 -0
- package/dist/actions/get-related-companies.cjs +22 -0
- package/dist/actions/get-related-companies.cjs.map +1 -0
- package/dist/actions/get-related-companies.d.cts +9 -0
- package/dist/actions/get-related-companies.d.cts.map +1 -0
- package/dist/actions/get-related-companies.d.mts +9 -0
- package/dist/actions/get-related-companies.d.mts.map +1 -0
- package/dist/actions/get-related-companies.mjs +21 -0
- package/dist/actions/get-related-companies.mjs.map +1 -0
- package/dist/actions/get-risk-categories.cjs +54 -0
- package/dist/actions/get-risk-categories.cjs.map +1 -0
- package/dist/actions/get-risk-categories.d.cts +9 -0
- package/dist/actions/get-risk-categories.d.cts.map +1 -0
- package/dist/actions/get-risk-categories.d.mts +9 -0
- package/dist/actions/get-risk-categories.d.mts.map +1 -0
- package/dist/actions/get-risk-categories.mjs +53 -0
- package/dist/actions/get-risk-categories.mjs.map +1 -0
- package/dist/actions/get-rsi.cjs +45 -0
- package/dist/actions/get-rsi.cjs.map +1 -0
- package/dist/actions/get-rsi.d.cts +9 -0
- package/dist/actions/get-rsi.d.cts.map +1 -0
- package/dist/actions/get-rsi.d.mts +9 -0
- package/dist/actions/get-rsi.d.mts.map +1 -0
- package/dist/actions/get-rsi.mjs +44 -0
- package/dist/actions/get-rsi.mjs.map +1 -0
- package/dist/actions/get-short-interest.cjs +36 -0
- package/dist/actions/get-short-interest.cjs.map +1 -0
- package/dist/actions/get-short-interest.d.cts +9 -0
- package/dist/actions/get-short-interest.d.cts.map +1 -0
- package/dist/actions/get-short-interest.d.mts +9 -0
- package/dist/actions/get-short-interest.d.mts.map +1 -0
- package/dist/actions/get-short-interest.mjs +35 -0
- package/dist/actions/get-short-interest.mjs.map +1 -0
- package/dist/actions/get-short-volume.cjs +46 -0
- package/dist/actions/get-short-volume.cjs.map +1 -0
- package/dist/actions/get-short-volume.d.cts +9 -0
- package/dist/actions/get-short-volume.d.cts.map +1 -0
- package/dist/actions/get-short-volume.d.mts +9 -0
- package/dist/actions/get-short-volume.d.mts.map +1 -0
- package/dist/actions/get-short-volume.mjs +45 -0
- package/dist/actions/get-short-volume.mjs.map +1 -0
- package/dist/actions/get-sma.cjs +45 -0
- package/dist/actions/get-sma.cjs.map +1 -0
- package/dist/actions/get-sma.d.cts +9 -0
- package/dist/actions/get-sma.d.cts.map +1 -0
- package/dist/actions/get-sma.d.mts +9 -0
- package/dist/actions/get-sma.d.mts.map +1 -0
- package/dist/actions/get-sma.mjs +44 -0
- package/dist/actions/get-sma.mjs.map +1 -0
- package/dist/actions/get-snapshot-all-tickers.cjs +70 -0
- package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -0
- package/dist/actions/get-snapshot-all-tickers.d.cts +9 -0
- package/dist/actions/get-snapshot-all-tickers.d.cts.map +1 -0
- package/dist/actions/get-snapshot-all-tickers.d.mts +9 -0
- package/dist/actions/get-snapshot-all-tickers.d.mts.map +1 -0
- package/dist/actions/get-snapshot-all-tickers.mjs +69 -0
- package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -0
- package/dist/actions/get-snapshot-losers.cjs +48 -0
- package/dist/actions/get-snapshot-losers.cjs.map +1 -0
- package/dist/actions/get-snapshot-losers.d.cts +9 -0
- package/dist/actions/get-snapshot-losers.d.cts.map +1 -0
- package/dist/actions/get-snapshot-losers.d.mts +9 -0
- package/dist/actions/get-snapshot-losers.d.mts.map +1 -0
- package/dist/actions/get-snapshot-losers.mjs +47 -0
- package/dist/actions/get-snapshot-losers.mjs.map +1 -0
- package/dist/actions/get-snapshot-single-ticker.cjs +73 -0
- package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -0
- package/dist/actions/get-snapshot-single-ticker.d.cts +9 -0
- package/dist/actions/get-snapshot-single-ticker.d.cts.map +1 -0
- package/dist/actions/get-snapshot-single-ticker.d.mts +9 -0
- package/dist/actions/get-snapshot-single-ticker.d.mts.map +1 -0
- package/dist/actions/get-snapshot-single-ticker.mjs +72 -0
- package/dist/actions/get-snapshot-single-ticker.mjs.map +1 -0
- package/dist/actions/get-splits.cjs +38 -0
- package/dist/actions/get-splits.cjs.map +1 -0
- package/dist/actions/get-splits.d.cts +9 -0
- package/dist/actions/get-splits.d.cts.map +1 -0
- package/dist/actions/get-splits.d.mts +9 -0
- package/dist/actions/get-splits.d.mts.map +1 -0
- package/dist/actions/get-splits.mjs +37 -0
- package/dist/actions/get-splits.mjs.map +1 -0
- package/dist/actions/get-stock-financials.cjs +150 -0
- package/dist/actions/get-stock-financials.cjs.map +1 -0
- package/dist/actions/get-stock-financials.d.cts +9 -0
- package/dist/actions/get-stock-financials.d.cts.map +1 -0
- package/dist/actions/get-stock-financials.d.mts +9 -0
- package/dist/actions/get-stock-financials.d.mts.map +1 -0
- package/dist/actions/get-stock-financials.mjs +149 -0
- package/dist/actions/get-stock-financials.mjs.map +1 -0
- package/dist/actions/get-stock-float.cjs +41 -0
- package/dist/actions/get-stock-float.cjs.map +1 -0
- package/dist/actions/get-stock-float.d.cts +9 -0
- package/dist/actions/get-stock-float.d.cts.map +1 -0
- package/dist/actions/get-stock-float.d.mts +9 -0
- package/dist/actions/get-stock-float.d.mts.map +1 -0
- package/dist/actions/get-stock-float.mjs +40 -0
- package/dist/actions/get-stock-float.mjs.map +1 -0
- package/dist/actions/get-stock-splits-by-ticker.cjs +29 -0
- package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -0
- package/dist/actions/get-stock-splits-by-ticker.d.cts +9 -0
- package/dist/actions/get-stock-splits-by-ticker.d.cts.map +1 -0
- package/dist/actions/get-stock-splits-by-ticker.d.mts +9 -0
- package/dist/actions/get-stock-splits-by-ticker.d.mts.map +1 -0
- package/dist/actions/get-stock-splits-by-ticker.mjs +28 -0
- package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -0
- package/dist/actions/get-stocks-balance-sheets.cjs +98 -0
- package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -0
- package/dist/actions/get-stocks-balance-sheets.d.cts +9 -0
- package/dist/actions/get-stocks-balance-sheets.d.cts.map +1 -0
- package/dist/actions/get-stocks-balance-sheets.d.mts +9 -0
- package/dist/actions/get-stocks-balance-sheets.d.mts.map +1 -0
- package/dist/actions/get-stocks-balance-sheets.mjs +97 -0
- package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.cjs +81 -0
- package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.d.cts +9 -0
- package/dist/actions/get-stocks-cash-flow-statements.d.cts.map +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.d.mts +9 -0
- package/dist/actions/get-stocks-cash-flow-statements.d.mts.map +1 -0
- package/dist/actions/get-stocks-cash-flow-statements.mjs +80 -0
- package/dist/actions/get-stocks-cash-flow-statements.mjs.map +1 -0
- package/dist/actions/get-stocks-custom-bars.cjs +50 -0
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -0
- package/dist/actions/get-stocks-custom-bars.d.cts +9 -0
- package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -0
- package/dist/actions/get-stocks-custom-bars.d.mts +9 -0
- package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -0
- package/dist/actions/get-stocks-custom-bars.mjs +49 -0
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -0
- package/dist/actions/get-stocks-daily-market-summary.cjs +39 -0
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -0
- package/dist/actions/get-stocks-daily-market-summary.d.cts +9 -0
- package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -0
- package/dist/actions/get-stocks-daily-market-summary.d.mts +9 -0
- package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -0
- package/dist/actions/get-stocks-daily-market-summary.mjs +38 -0
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -0
- package/dist/actions/get-technical-indicator-sma.cjs +39 -0
- package/dist/actions/get-technical-indicator-sma.cjs.map +1 -0
- package/dist/actions/get-technical-indicator-sma.d.cts +9 -0
- package/dist/actions/get-technical-indicator-sma.d.cts.map +1 -0
- package/dist/actions/get-technical-indicator-sma.d.mts +9 -0
- package/dist/actions/get-technical-indicator-sma.d.mts.map +1 -0
- package/dist/actions/get-technical-indicator-sma.mjs +38 -0
- package/dist/actions/get-technical-indicator-sma.mjs.map +1 -0
- package/dist/actions/get-ticker-company-details.cjs +45 -0
- package/dist/actions/get-ticker-company-details.cjs.map +1 -0
- package/dist/actions/get-ticker-company-details.d.cts +9 -0
- package/dist/actions/get-ticker-company-details.d.cts.map +1 -0
- package/dist/actions/get-ticker-company-details.d.mts +9 -0
- package/dist/actions/get-ticker-company-details.d.mts.map +1 -0
- package/dist/actions/get-ticker-company-details.mjs +42 -0
- package/dist/actions/get-ticker-company-details.mjs.map +1 -0
- package/dist/actions/get-ticker-details-vx.cjs +62 -0
- package/dist/actions/get-ticker-details-vx.cjs.map +1 -0
- package/dist/actions/get-ticker-details-vx.d.cts +9 -0
- package/dist/actions/get-ticker-details-vx.d.cts.map +1 -0
- package/dist/actions/get-ticker-details-vx.d.mts +9 -0
- package/dist/actions/get-ticker-details-vx.d.mts.map +1 -0
- package/dist/actions/get-ticker-details-vx.mjs +61 -0
- package/dist/actions/get-ticker-details-vx.mjs.map +1 -0
- package/dist/actions/get-ticker-details.cjs +61 -0
- package/dist/actions/get-ticker-details.cjs.map +1 -0
- package/dist/actions/get-ticker-details.d.cts +9 -0
- package/dist/actions/get-ticker-details.d.cts.map +1 -0
- package/dist/actions/get-ticker-details.d.mts +9 -0
- package/dist/actions/get-ticker-details.d.mts.map +1 -0
- package/dist/actions/get-ticker-details.mjs +60 -0
- package/dist/actions/get-ticker-details.mjs.map +1 -0
- package/dist/actions/get-ticker-events.cjs +33 -0
- package/dist/actions/get-ticker-events.cjs.map +1 -0
- package/dist/actions/get-ticker-events.d.cts +9 -0
- package/dist/actions/get-ticker-events.d.cts.map +1 -0
- package/dist/actions/get-ticker-events.d.mts +9 -0
- package/dist/actions/get-ticker-events.d.mts.map +1 -0
- package/dist/actions/get-ticker-events.mjs +32 -0
- package/dist/actions/get-ticker-events.mjs.map +1 -0
- package/dist/actions/get-ticker-types.cjs +37 -0
- package/dist/actions/get-ticker-types.cjs.map +1 -0
- package/dist/actions/get-ticker-types.d.cts +9 -0
- package/dist/actions/get-ticker-types.d.cts.map +1 -0
- package/dist/actions/get-ticker-types.d.mts +9 -0
- package/dist/actions/get-ticker-types.d.mts.map +1 -0
- package/dist/actions/get-ticker-types.mjs +36 -0
- package/dist/actions/get-ticker-types.mjs.map +1 -0
- package/dist/actions/get-treasury-yields.cjs +45 -0
- package/dist/actions/get-treasury-yields.cjs.map +1 -0
- package/dist/actions/get-treasury-yields.d.cts +9 -0
- package/dist/actions/get-treasury-yields.d.cts.map +1 -0
- package/dist/actions/get-treasury-yields.d.mts +9 -0
- package/dist/actions/get-treasury-yields.d.mts.map +1 -0
- package/dist/actions/get-treasury-yields.mjs +44 -0
- package/dist/actions/get-treasury-yields.mjs.map +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs +25 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +9 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts.map +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +9 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts.map +1 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs +24 -0
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -0
- package/dist/actions/get10-k-sections.cjs +39 -0
- package/dist/actions/get10-k-sections.cjs.map +1 -0
- package/dist/actions/get10-k-sections.d.cts +9 -0
- package/dist/actions/get10-k-sections.d.cts.map +1 -0
- package/dist/actions/get10-k-sections.d.mts +9 -0
- package/dist/actions/get10-k-sections.d.mts.map +1 -0
- package/dist/actions/get10-k-sections.mjs +38 -0
- package/dist/actions/get10-k-sections.mjs.map +1 -0
- package/dist/actions/index.cjs +179 -0
- package/dist/actions/index.d.cts +90 -0
- package/dist/actions/index.d.mts +90 -0
- package/dist/actions/index.mjs +90 -0
- package/dist/actions/last-quote-for-a-symbol.cjs +30 -0
- package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -0
- package/dist/actions/last-quote-for-a-symbol.d.cts +9 -0
- package/dist/actions/last-quote-for-a-symbol.d.cts.map +1 -0
- package/dist/actions/last-quote-for-a-symbol.d.mts +9 -0
- package/dist/actions/last-quote-for-a-symbol.d.mts.map +1 -0
- package/dist/actions/last-quote-for-a-symbol.mjs +29 -0
- package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.cjs +30 -0
- package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.d.cts +9 -0
- package/dist/actions/last-trade-for-a-currency-pair.d.cts.map +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.d.mts +9 -0
- package/dist/actions/last-trade-for-a-currency-pair.d.mts.map +1 -0
- package/dist/actions/last-trade-for-a-currency-pair.mjs +29 -0
- package/dist/actions/last-trade-for-a-currency-pair.mjs.map +1 -0
- package/dist/actions/list-filing-files.cjs +46 -0
- package/dist/actions/list-filing-files.cjs.map +1 -0
- package/dist/actions/list-filing-files.d.cts +9 -0
- package/dist/actions/list-filing-files.d.cts.map +1 -0
- package/dist/actions/list-filing-files.d.mts +9 -0
- package/dist/actions/list-filing-files.d.mts.map +1 -0
- package/dist/actions/list-filing-files.mjs +45 -0
- package/dist/actions/list-filing-files.mjs.map +1 -0
- package/dist/actions/list-options-contracts.cjs +57 -0
- package/dist/actions/list-options-contracts.cjs.map +1 -0
- package/dist/actions/list-options-contracts.d.cts +9 -0
- package/dist/actions/list-options-contracts.d.cts.map +1 -0
- package/dist/actions/list-options-contracts.d.mts +9 -0
- package/dist/actions/list-options-contracts.d.mts.map +1 -0
- package/dist/actions/list-options-contracts.mjs +56 -0
- package/dist/actions/list-options-contracts.mjs.map +1 -0
- package/dist/actions/list-sec-filings.cjs +61 -0
- package/dist/actions/list-sec-filings.cjs.map +1 -0
- package/dist/actions/list-sec-filings.d.cts +9 -0
- package/dist/actions/list-sec-filings.d.cts.map +1 -0
- package/dist/actions/list-sec-filings.d.mts +9 -0
- package/dist/actions/list-sec-filings.d.mts.map +1 -0
- package/dist/actions/list-sec-filings.mjs +60 -0
- package/dist/actions/list-sec-filings.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +184 -0
- package/dist/index.d.cts +92 -0
- package/dist/index.d.mts +92 -0
- package/dist/index.mjs +93 -0
- package/package.json +49 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-options-sma.ts
|
|
4
|
+
const PolygonGetOptionsSmaInput = z.object({
|
|
5
|
+
limit: z.number().int().default(10).describe("Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.").optional(),
|
|
6
|
+
order: z.enum(["asc", "desc"]).default("asc").describe("The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.").optional(),
|
|
7
|
+
cursor: z.string().describe("Cursor value for pagination to fetch the next page of data.").optional(),
|
|
8
|
+
window: z.number().int().describe("The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter."),
|
|
9
|
+
adjusted: z.boolean().default(true).describe("Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.").optional(),
|
|
10
|
+
timespan: z.enum([
|
|
11
|
+
"minute",
|
|
12
|
+
"hour",
|
|
13
|
+
"day",
|
|
14
|
+
"week",
|
|
15
|
+
"month",
|
|
16
|
+
"quarter",
|
|
17
|
+
"year"
|
|
18
|
+
]).describe("The size of the aggregate time window. Required parameter to define the period for SMA calculation."),
|
|
19
|
+
timestamp: z.string().describe("Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.").optional(),
|
|
20
|
+
series_type: z.enum([
|
|
21
|
+
"open",
|
|
22
|
+
"high",
|
|
23
|
+
"low",
|
|
24
|
+
"close"
|
|
25
|
+
]).default("close").describe("The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.").optional(),
|
|
26
|
+
timestamp_gt: z.string().describe("Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
|
|
27
|
+
timestamp_lt: z.string().describe("Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
|
|
28
|
+
timestamp_gte: z.string().describe("Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
|
|
29
|
+
timestamp_lte: z.string().describe("Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
|
|
30
|
+
options_ticker: z.string().describe("The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts."),
|
|
31
|
+
expand_underlying: z.boolean().default(false).describe("Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.").optional()
|
|
32
|
+
}).describe("Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.");
|
|
33
|
+
const PolygonGetOptionsSma_SMAValueSchema = z.object({
|
|
34
|
+
value: z.number().describe("The simple moving average value for this period."),
|
|
35
|
+
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
|
|
36
|
+
});
|
|
37
|
+
const PolygonGetOptionsSma_AggregateBarSchema = z.object({
|
|
38
|
+
c: z.number().describe("The close price for the aggregate window.").nullable().optional(),
|
|
39
|
+
h: z.number().describe("The high price for the aggregate window.").nullable().optional(),
|
|
40
|
+
l: z.number().describe("The low price for the aggregate window.").nullable().optional(),
|
|
41
|
+
n: z.number().int().describe("The number of transactions in the aggregate window.").nullable().optional(),
|
|
42
|
+
o: z.number().describe("The open price for the aggregate window.").nullable().optional(),
|
|
43
|
+
t: z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
|
|
44
|
+
v: z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
|
|
45
|
+
vw: z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
|
|
46
|
+
});
|
|
47
|
+
const PolygonGetOptionsSma_UnderlyingDataSchema = z.object({
|
|
48
|
+
url: z.string().describe("The URL which can be used to request the underlying aggregates used in this calculation.").nullable().optional(),
|
|
49
|
+
aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe("Array of aggregate objects containing OHLCV price and volume data.").nullable().optional()
|
|
50
|
+
});
|
|
51
|
+
const PolygonGetOptionsSma_SMAResultsSchema = z.object({
|
|
52
|
+
values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe("Array of SMA indicator calculation results.").nullable().optional(),
|
|
53
|
+
underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional()
|
|
54
|
+
});
|
|
55
|
+
const polygonGetOptionsSma = action("POLYGON_GET_OPTIONS_SMA", {
|
|
56
|
+
slug: "polygon-get-options-sma",
|
|
57
|
+
name: "Get Options SMA",
|
|
58
|
+
description: "Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.",
|
|
59
|
+
input: PolygonGetOptionsSmaInput,
|
|
60
|
+
output: z.object({
|
|
61
|
+
status: z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
|
|
62
|
+
results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),
|
|
63
|
+
next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
64
|
+
request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
//#endregion
|
|
68
|
+
export { polygonGetOptionsSma };
|
|
69
|
+
|
|
70
|
+
//# sourceMappingURL=get-options-sma.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-options-sma.mjs","names":[],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetOptionsSmaInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"asc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'asc'.\").optional(),\n cursor: z.string().describe(\"Cursor value for pagination to fetch the next page of data.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the simple moving average (SMA). For example, a window of 10 with daily aggregates results in a 10-day moving average. Required parameter.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for SMA calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:SPY241220C00580000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for an options ticker.\");\nconst PolygonGetOptionsSma_SMAValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\"),\n});\nconst PolygonGetOptionsSma_AggregateBarSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n});\nconst PolygonGetOptionsSma_UnderlyingDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this calculation.\").nullable().optional(),\n aggregates: z.array(PolygonGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n});\nconst PolygonGetOptionsSma_SMAResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetOptionsSmaOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetOptionsSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonGetOptionsSma = action(\"POLYGON_GET_OPTIONS_SMA\", {\n slug: \"polygon-get-options-sma\",\n name: \"Get Options SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for an options ticker. Use when you need trend analysis or smoothed price data for options contracts.\",\n input: PolygonGetOptionsSmaInput,\n output: PolygonGetOptionsSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/M,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8KAA8K;CAChN,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAChJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAChK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CAC1L,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,sCAAoD,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;AACzH,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,YAAY,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClK,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC;AAQD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-previous-close.ts
|
|
4
|
+
const PolygonGetPreviousCloseInput = zod.z.object({
|
|
5
|
+
ticker: zod.z.string().describe("Case-sensitive stock ticker symbol to query, e.g., 'AAPL'"),
|
|
6
|
+
adjusted: zod.z.boolean().default(true).describe("Whether to return adjusted data for splits; default is True").optional()
|
|
7
|
+
}).describe("Request schema for GET /v2/aggs/ticker/{ticker}/prev");
|
|
8
|
+
const PolygonGetPreviousClose_PrevStockAggSchema = zod.z.object({
|
|
9
|
+
c: zod.z.number().describe("Close price for the period."),
|
|
10
|
+
h: zod.z.number().describe("Highest price for the period."),
|
|
11
|
+
l: zod.z.number().describe("Lowest price for the period."),
|
|
12
|
+
n: zod.z.number().int().describe("Number of transactions in the window.").nullable().optional(),
|
|
13
|
+
o: zod.z.number().describe("Open price for the period."),
|
|
14
|
+
t: zod.z.number().int().describe("Unix millisecond timestamp for start of window."),
|
|
15
|
+
v: zod.z.number().describe("Trading volume for the period."),
|
|
16
|
+
vw: zod.z.number().describe("Volume weighted average price.").nullable().optional()
|
|
17
|
+
}).describe("Single aggregate bar for a stock ticker previous close.");
|
|
18
|
+
const PolygonGetPreviousCloseOutput = zod.z.object({
|
|
19
|
+
status: zod.z.string().describe("API response status"),
|
|
20
|
+
ticker: zod.z.string().describe("Stock ticker symbol"),
|
|
21
|
+
results: zod.z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe("List of aggregate data for previous close (may be empty for some tickers)").nullable().optional(),
|
|
22
|
+
adjusted: zod.z.boolean().describe("Whether the results are adjusted for splits"),
|
|
23
|
+
queryCount: zod.z.number().int().describe("Number of aggregates used to generate the response"),
|
|
24
|
+
request_id: zod.z.string().describe("Unique request ID assigned by server"),
|
|
25
|
+
resultsCount: zod.z.number().int().describe("Total number of results returned")
|
|
26
|
+
});
|
|
27
|
+
const polygonGetPreviousClose = require_action.action("POLYGON_GET_PREVIOUS_CLOSE", {
|
|
28
|
+
slug: "polygon-get-previous-close",
|
|
29
|
+
name: "Get Previous Close",
|
|
30
|
+
description: "Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.",
|
|
31
|
+
input: PolygonGetPreviousCloseInput,
|
|
32
|
+
output: PolygonGetPreviousCloseOutput
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.polygonGetPreviousClose = polygonGetPreviousClose;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-previous-close.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-previous-close.cjs","names":["z","action"],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetPreviousCloseInput: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"Close price for the period.\"),\n h: z.number().describe(\"Highest price for the period.\"),\n l: z.number().describe(\"Lowest price for the period.\"),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\"),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\"),\n v: z.number().describe(\"Trading volume for the period.\"),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API response status\"),\n ticker: z.string().describe(\"Stock ticker symbol\"),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\"),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\"),\n request_id: z.string().describe(\"Unique request ID assigned by server\"),\n resultsCount: z.number().int().describe(\"Total number of results returned\"),\n});\n\nexport const polygonGetPreviousClose = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACpD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACrD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACnD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACjD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;AAC5E,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-previous-close.d.ts
|
|
4
|
+
declare const PolygonGetPreviousCloseInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetPreviousCloseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetPreviousClose: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetPreviousClose };
|
|
9
|
+
//# sourceMappingURL=get-previous-close.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-previous-close.d.cts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGsB;AAAA,cAWtD,6BAAA,EAA+B,CAAA,CAAE,UAQ5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-previous-close.d.ts
|
|
4
|
+
declare const PolygonGetPreviousCloseInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetPreviousCloseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetPreviousClose: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetPreviousClose };
|
|
9
|
+
//# sourceMappingURL=get-previous-close.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-previous-close.d.mts","names":[],"sources":["../../src/actions/get-previous-close.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGsB;AAAA,cAWtD,6BAAA,EAA+B,CAAA,CAAE,UAQ5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-previous-close.ts
|
|
4
|
+
const PolygonGetPreviousCloseInput = z.object({
|
|
5
|
+
ticker: z.string().describe("Case-sensitive stock ticker symbol to query, e.g., 'AAPL'"),
|
|
6
|
+
adjusted: z.boolean().default(true).describe("Whether to return adjusted data for splits; default is True").optional()
|
|
7
|
+
}).describe("Request schema for GET /v2/aggs/ticker/{ticker}/prev");
|
|
8
|
+
const PolygonGetPreviousClose_PrevStockAggSchema = z.object({
|
|
9
|
+
c: z.number().describe("Close price for the period."),
|
|
10
|
+
h: z.number().describe("Highest price for the period."),
|
|
11
|
+
l: z.number().describe("Lowest price for the period."),
|
|
12
|
+
n: z.number().int().describe("Number of transactions in the window.").nullable().optional(),
|
|
13
|
+
o: z.number().describe("Open price for the period."),
|
|
14
|
+
t: z.number().int().describe("Unix millisecond timestamp for start of window."),
|
|
15
|
+
v: z.number().describe("Trading volume for the period."),
|
|
16
|
+
vw: z.number().describe("Volume weighted average price.").nullable().optional()
|
|
17
|
+
}).describe("Single aggregate bar for a stock ticker previous close.");
|
|
18
|
+
const polygonGetPreviousClose = action("POLYGON_GET_PREVIOUS_CLOSE", {
|
|
19
|
+
slug: "polygon-get-previous-close",
|
|
20
|
+
name: "Get Previous Close",
|
|
21
|
+
description: "Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.",
|
|
22
|
+
input: PolygonGetPreviousCloseInput,
|
|
23
|
+
output: z.object({
|
|
24
|
+
status: z.string().describe("API response status"),
|
|
25
|
+
ticker: z.string().describe("Stock ticker symbol"),
|
|
26
|
+
results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe("List of aggregate data for previous close (may be empty for some tickers)").nullable().optional(),
|
|
27
|
+
adjusted: z.boolean().describe("Whether the results are adjusted for splits"),
|
|
28
|
+
queryCount: z.number().int().describe("Number of aggregates used to generate the response"),
|
|
29
|
+
request_id: z.string().describe("Unique request ID assigned by server"),
|
|
30
|
+
resultsCount: z.number().int().describe("Total number of results returned")
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { polygonGetPreviousClose };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-previous-close.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-previous-close.mjs","names":[],"sources":["../../src/actions/get-previous-close.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetPreviousCloseInput: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"Case-sensitive stock ticker symbol to query, e.g., 'AAPL'\"),\n adjusted: z.boolean().default(true).describe(\"Whether to return adjusted data for splits; default is True\").optional(),\n}).describe(\"Request schema for GET /v2/aggs/ticker/{ticker}/prev\");\nconst PolygonGetPreviousClose_PrevStockAggSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"Close price for the period.\"),\n h: z.number().describe(\"Highest price for the period.\"),\n l: z.number().describe(\"Lowest price for the period.\"),\n n: z.number().int().describe(\"Number of transactions in the window.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\"),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of window.\"),\n v: z.number().describe(\"Trading volume for the period.\"),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).describe(\"Single aggregate bar for a stock ticker previous close.\");\nexport const PolygonGetPreviousCloseOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API response status\"),\n ticker: z.string().describe(\"Stock ticker symbol\"),\n results: z.array(PolygonGetPreviousClose_PrevStockAggSchema).describe(\"List of aggregate data for previous close (may be empty for some tickers)\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the results are adjusted for splits\"),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\"),\n request_id: z.string().describe(\"Unique request ID assigned by server\"),\n resultsCount: z.number().int().describe(\"Total number of results returned\"),\n});\n\nexport const polygonGetPreviousClose = action(\"POLYGON_GET_PREVIOUS_CLOSE\", {\n slug: \"polygon-get-previous-close\",\n name: \"Get Previous Close\",\n description: \"Tool to get previous trading day’s OHLC and volume for a stock. Use when you need the last day’s open, high, low, close, and volume for a given ticker.\",\n input: PolygonGetPreviousCloseInput,\n output: PolygonGetPreviousCloseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA2D,EAAE,OAAO;CACxE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACpD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACrD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAWrE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACjD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAC5E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-reference-exchanges.ts
|
|
4
|
+
const PolygonGetReferenceExchangesInput = zod.z.object({
|
|
5
|
+
locale: zod.z.string().describe("Filter by locale (e.g., 'us').").optional(),
|
|
6
|
+
asset_class: zod.z.enum([
|
|
7
|
+
"stocks",
|
|
8
|
+
"options",
|
|
9
|
+
"crypto",
|
|
10
|
+
"fx"
|
|
11
|
+
]).describe("Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.").optional()
|
|
12
|
+
}).describe("Request parameters to filter supported exchanges.");
|
|
13
|
+
const PolygonGetReferenceExchanges_ExchangeSchema = zod.z.object({
|
|
14
|
+
id: zod.z.number().int().describe("Unique identifier for the exchange."),
|
|
15
|
+
mic: zod.z.string().describe("Market identifier code.").nullable().optional(),
|
|
16
|
+
url: zod.z.string().describe("URL of the exchange website.").nullable().optional(),
|
|
17
|
+
name: zod.z.string().describe("Exchange name."),
|
|
18
|
+
type: zod.z.string().describe("Exchange type (e.g., 'exchange', 'TRF', 'SIP')."),
|
|
19
|
+
locale: zod.z.string().describe("Region or locale of the exchange (e.g., 'us').").nullable().optional(),
|
|
20
|
+
acronym: zod.z.string().describe("Exchange acronym.").nullable().optional(),
|
|
21
|
+
asset_class: zod.z.string().describe("Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').").nullable().optional(),
|
|
22
|
+
operating_mic: zod.z.string().describe("Operating market identifier code.").nullable().optional(),
|
|
23
|
+
participant_id: zod.z.string().describe("Participant ID for tape reporting.").nullable().optional()
|
|
24
|
+
}).describe("A single exchange definition.");
|
|
25
|
+
const PolygonGetReferenceExchangesOutput = zod.z.object({
|
|
26
|
+
status: zod.z.string().describe("Request status."),
|
|
27
|
+
results: zod.z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe("List of supported exchanges."),
|
|
28
|
+
request_id: zod.z.string().describe("ID of the API request.")
|
|
29
|
+
}).describe("Response model for supported exchanges lookup.");
|
|
30
|
+
const polygonGetReferenceExchanges = require_action.action("POLYGON_GET_REFERENCE_EXCHANGES", {
|
|
31
|
+
slug: "polygon-get-reference-exchanges",
|
|
32
|
+
name: "Get reference exchanges",
|
|
33
|
+
description: "Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.",
|
|
34
|
+
input: PolygonGetReferenceExchangesInput,
|
|
35
|
+
output: PolygonGetReferenceExchangesOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.polygonGetReferenceExchanges = polygonGetReferenceExchanges;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=get-reference-exchanges.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceExchangesInput: z.ZodTypeAny = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\"),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\"),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\"),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Request status.\"),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\"),\n}).describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC7C,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8BAA8B;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-exchanges.d.ts
|
|
4
|
+
declare const PolygonGetReferenceExchangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceExchangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceExchanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceExchanges };
|
|
9
|
+
//# sourceMappingURL=get-reference-exchanges.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.d.cts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGc;AAAA,cAanD,kCAAA,EAAoC,CAAA,CAAE,UAIU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-exchanges.d.ts
|
|
4
|
+
declare const PolygonGetReferenceExchangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceExchangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceExchanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceExchanges };
|
|
9
|
+
//# sourceMappingURL=get-reference-exchanges.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.d.mts","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGc;AAAA,cAanD,kCAAA,EAAoC,CAAA,CAAE,UAIU;AAAA,cAEhD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-reference-exchanges.ts
|
|
4
|
+
const PolygonGetReferenceExchangesInput = z.object({
|
|
5
|
+
locale: z.string().describe("Filter by locale (e.g., 'us').").optional(),
|
|
6
|
+
asset_class: z.enum([
|
|
7
|
+
"stocks",
|
|
8
|
+
"options",
|
|
9
|
+
"crypto",
|
|
10
|
+
"fx"
|
|
11
|
+
]).describe("Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.").optional()
|
|
12
|
+
}).describe("Request parameters to filter supported exchanges.");
|
|
13
|
+
const PolygonGetReferenceExchanges_ExchangeSchema = z.object({
|
|
14
|
+
id: z.number().int().describe("Unique identifier for the exchange."),
|
|
15
|
+
mic: z.string().describe("Market identifier code.").nullable().optional(),
|
|
16
|
+
url: z.string().describe("URL of the exchange website.").nullable().optional(),
|
|
17
|
+
name: z.string().describe("Exchange name."),
|
|
18
|
+
type: z.string().describe("Exchange type (e.g., 'exchange', 'TRF', 'SIP')."),
|
|
19
|
+
locale: z.string().describe("Region or locale of the exchange (e.g., 'us').").nullable().optional(),
|
|
20
|
+
acronym: z.string().describe("Exchange acronym.").nullable().optional(),
|
|
21
|
+
asset_class: z.string().describe("Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').").nullable().optional(),
|
|
22
|
+
operating_mic: z.string().describe("Operating market identifier code.").nullable().optional(),
|
|
23
|
+
participant_id: z.string().describe("Participant ID for tape reporting.").nullable().optional()
|
|
24
|
+
}).describe("A single exchange definition.");
|
|
25
|
+
const polygonGetReferenceExchanges = action("POLYGON_GET_REFERENCE_EXCHANGES", {
|
|
26
|
+
slug: "polygon-get-reference-exchanges",
|
|
27
|
+
name: "Get reference exchanges",
|
|
28
|
+
description: "Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.",
|
|
29
|
+
input: PolygonGetReferenceExchangesInput,
|
|
30
|
+
output: z.object({
|
|
31
|
+
status: z.string().describe("Request status."),
|
|
32
|
+
results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe("List of supported exchanges."),
|
|
33
|
+
request_id: z.string().describe("ID of the API request.")
|
|
34
|
+
}).describe("Response model for supported exchanges lookup.")
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { polygonGetReferenceExchanges };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=get-reference-exchanges.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-exchanges.mjs","names":[],"sources":["../../src/actions/get-reference-exchanges.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceExchangesInput: z.ZodTypeAny = z.object({\n locale: z.string().describe(\"Filter by locale (e.g., 'us').\").optional(),\n asset_class: z.enum([\"stocks\", \"options\", \"crypto\", \"fx\"]).describe(\"Filter by asset class. One of 'stocks', 'options', 'crypto', 'fx'.\").optional(),\n}).describe(\"Request parameters to filter supported exchanges.\");\nconst PolygonGetReferenceExchanges_ExchangeSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the exchange.\"),\n mic: z.string().describe(\"Market identifier code.\").nullable().optional(),\n url: z.string().describe(\"URL of the exchange website.\").nullable().optional(),\n name: z.string().describe(\"Exchange name.\"),\n type: z.string().describe(\"Exchange type (e.g., 'exchange', 'TRF', 'SIP').\"),\n locale: z.string().describe(\"Region or locale of the exchange (e.g., 'us').\").nullable().optional(),\n acronym: z.string().describe(\"Exchange acronym.\").nullable().optional(),\n asset_class: z.string().describe(\"Asset class (e.g., 'stocks', 'options', 'crypto', 'fx').\").nullable().optional(),\n operating_mic: z.string().describe(\"Operating market identifier code.\").nullable().optional(),\n participant_id: z.string().describe(\"Participant ID for tape reporting.\").nullable().optional(),\n}).describe(\"A single exchange definition.\");\nexport const PolygonGetReferenceExchangesOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Request status.\"),\n results: z.array(PolygonGetReferenceExchanges_ExchangeSchema).describe(\"List of supported exchanges.\"),\n request_id: z.string().describe(\"ID of the API request.\"),\n}).describe(\"Response model for supported exchanges lookup.\");\n\nexport const polygonGetReferenceExchanges = action(\"POLYGON_GET_REFERENCE_EXCHANGES\", {\n slug: \"polygon-get-reference-exchanges\",\n name: \"Get reference exchanges\",\n description: \"Tool to retrieve supported exchanges and their details. Use when you need a list of exchanges filtered by asset class or locale.\",\n input: PolygonGetReferenceExchangesInput,\n output: PolygonGetReferenceExchangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,aAAa,EAAE,KAAK;EAAC;EAAU;EAAW;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAO3C,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC7C,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8BAA8B;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-reference-markets.ts
|
|
4
|
+
const PolygonGetReferenceMarketsInput = zod.z.object({}).describe("Request parameters for retrieving supported markets. No parameters required.");
|
|
5
|
+
const PolygonGetReferenceMarkets_MarketSchema = zod.z.object({
|
|
6
|
+
desc: zod.z.string().describe("Human-readable description of the market."),
|
|
7
|
+
market: zod.z.string().describe("Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').")
|
|
8
|
+
}).describe("A single market definition.");
|
|
9
|
+
const PolygonGetReferenceMarketsOutput = zod.z.object({
|
|
10
|
+
status: zod.z.string().describe("Request status."),
|
|
11
|
+
results: zod.z.array(PolygonGetReferenceMarkets_MarketSchema).describe("List of supported markets.")
|
|
12
|
+
}).describe("Response model for supported markets lookup.");
|
|
13
|
+
const polygonGetReferenceMarkets = require_action.action("POLYGON_GET_REFERENCE_MARKETS", {
|
|
14
|
+
slug: "polygon-get-reference-markets",
|
|
15
|
+
name: "Get reference markets",
|
|
16
|
+
description: "Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.",
|
|
17
|
+
input: PolygonGetReferenceMarketsInput,
|
|
18
|
+
output: PolygonGetReferenceMarketsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.polygonGetReferenceMarkets = polygonGetReferenceMarkets;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-reference-markets.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-markets.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceMarketsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\"),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\"),\n}).describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Request status.\"),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACjK,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC7C,SAASA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4BAA4B;AACjG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-markets.d.ts
|
|
4
|
+
declare const PolygonGetReferenceMarketsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceMarketsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceMarkets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceMarkets };
|
|
9
|
+
//# sourceMappingURL=get-reference-markets.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-markets.d.cts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkH;AAAA,cAKrJ,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-markets.d.ts
|
|
4
|
+
declare const PolygonGetReferenceMarketsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceMarketsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceMarkets: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceMarkets };
|
|
9
|
+
//# sourceMappingURL=get-reference-markets.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-markets.d.mts","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAAkH;AAAA,cAKrJ,gCAAA,EAAkC,CAAA,CAAE,UAGU;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-reference-markets.ts
|
|
4
|
+
const PolygonGetReferenceMarketsInput = z.object({}).describe("Request parameters for retrieving supported markets. No parameters required.");
|
|
5
|
+
const PolygonGetReferenceMarkets_MarketSchema = z.object({
|
|
6
|
+
desc: z.string().describe("Human-readable description of the market."),
|
|
7
|
+
market: z.string().describe("Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').")
|
|
8
|
+
}).describe("A single market definition.");
|
|
9
|
+
const polygonGetReferenceMarkets = action("POLYGON_GET_REFERENCE_MARKETS", {
|
|
10
|
+
slug: "polygon-get-reference-markets",
|
|
11
|
+
name: "Get reference markets",
|
|
12
|
+
description: "Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.",
|
|
13
|
+
input: PolygonGetReferenceMarketsInput,
|
|
14
|
+
output: z.object({
|
|
15
|
+
status: z.string().describe("Request status."),
|
|
16
|
+
results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe("List of supported markets.")
|
|
17
|
+
}).describe("Response model for supported markets lookup.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { polygonGetReferenceMarkets };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-reference-markets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-markets.mjs","names":[],"sources":["../../src/actions/get-reference-markets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceMarketsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving supported markets. No parameters required.\");\nconst PolygonGetReferenceMarkets_MarketSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Human-readable description of the market.\"),\n market: z.string().describe(\"Market identifier (e.g., 'stocks', 'crypto', 'fx', 'otc').\"),\n}).describe(\"A single market definition.\");\nexport const PolygonGetReferenceMarketsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Request status.\"),\n results: z.array(PolygonGetReferenceMarkets_MarketSchema).describe(\"List of supported markets.\"),\n}).describe(\"Response model for supported markets lookup.\");\n\nexport const polygonGetReferenceMarkets = action(\"POLYGON_GET_REFERENCE_MARKETS\", {\n slug: \"polygon-get-reference-markets\",\n name: \"Get reference markets\",\n description: \"Tool to retrieve all supported markets from Polygon.io. Use when you need a list of available market types.\",\n input: PolygonGetReferenceMarketsInput,\n output: PolygonGetReferenceMarketsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AACjK,MAAM,0CAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC1F,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;EAC7C,SAAS,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4BAA4B;CACjG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-reference-types.ts
|
|
4
|
+
const PolygonGetReferenceTypesInput = zod.z.object({}).describe("Request model for GET /v2/reference/types.\nThis endpoint requires no parameters.");
|
|
5
|
+
const PolygonGetReferenceTypesOutput = zod.z.object({
|
|
6
|
+
count: zod.z.number().int().describe("The total number of results for this request.").nullable().optional(),
|
|
7
|
+
status: zod.z.string().describe("The status of this request's response."),
|
|
8
|
+
results: zod.z.object({}).describe("Dictionary containing 'types' and 'indexTypes' mappings of ticker type codes to descriptions."),
|
|
9
|
+
request_id: zod.z.string().describe("A request ID assigned by the server.").nullable().optional()
|
|
10
|
+
}).describe("Response model for GET /v2/reference/types.");
|
|
11
|
+
const polygonGetReferenceTypes = require_action.action("POLYGON_GET_REFERENCE_TYPES", {
|
|
12
|
+
slug: "polygon-get-reference-types",
|
|
13
|
+
name: "Get Reference Ticker Types",
|
|
14
|
+
description: "Tool to retrieve all ticker types supported by Polygon. Use when you need to understand the different ticker classifications available across asset classes and markets.",
|
|
15
|
+
input: PolygonGetReferenceTypesInput,
|
|
16
|
+
output: PolygonGetReferenceTypesOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.polygonGetReferenceTypes = polygonGetReferenceTypes;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-reference-types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-types.cjs","names":["z","action"],"sources":["../../src/actions/get-reference-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceTypesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v2/reference/types.\\nThis endpoint requires no parameters.\");\nexport const PolygonGetReferenceTypesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"The total number of results for this request.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response.\"),\n results: z.object({}).describe(\"Dictionary containing 'types' and 'indexTypes' mappings of ticker type codes to descriptions.\"),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/reference/types.\");\n\nexport const polygonGetReferenceTypes = action(\"POLYGON_GET_REFERENCE_TYPES\", {\n slug: \"polygon-get-reference-types\",\n name: \"Get Reference Ticker Types\",\n description: \"Tool to retrieve all ticker types supported by Polygon. Use when you need to understand the different ticker classifications available across asset classes and markets.\",\n input: PolygonGetReferenceTypesInput,\n output: PolygonGetReferenceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AACpK,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-types.d.ts
|
|
4
|
+
declare const PolygonGetReferenceTypesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceTypesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceTypes };
|
|
9
|
+
//# sourceMappingURL=get-reference-types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-types.d.cts","names":[],"sources":["../../src/actions/get-reference-types.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAuH;AAAA,cACxJ,8BAAA,EAAgC,CAAA,CAAE,UAKW;AAAA,cAE7C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-reference-types.d.ts
|
|
4
|
+
declare const PolygonGetReferenceTypesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetReferenceTypesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetReferenceTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetReferenceTypes };
|
|
9
|
+
//# sourceMappingURL=get-reference-types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-types.d.mts","names":[],"sources":["../../src/actions/get-reference-types.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAuH;AAAA,cACxJ,8BAAA,EAAgC,CAAA,CAAE,UAKW;AAAA,cAE7C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const polygonGetReferenceTypes = action("POLYGON_GET_REFERENCE_TYPES", {
|
|
4
|
+
slug: "polygon-get-reference-types",
|
|
5
|
+
name: "Get Reference Ticker Types",
|
|
6
|
+
description: "Tool to retrieve all ticker types supported by Polygon. Use when you need to understand the different ticker classifications available across asset classes and markets.",
|
|
7
|
+
input: z.object({}).describe("Request model for GET /v2/reference/types.\nThis endpoint requires no parameters."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
count: z.number().int().describe("The total number of results for this request.").nullable().optional(),
|
|
10
|
+
status: z.string().describe("The status of this request's response."),
|
|
11
|
+
results: z.object({}).describe("Dictionary containing 'types' and 'indexTypes' mappings of ticker type codes to descriptions."),
|
|
12
|
+
request_id: z.string().describe("A request ID assigned by the server.").nullable().optional()
|
|
13
|
+
}).describe("Response model for GET /v2/reference/types.")
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { polygonGetReferenceTypes };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=get-reference-types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-reference-types.mjs","names":[],"sources":["../../src/actions/get-reference-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetReferenceTypesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v2/reference/types.\\nThis endpoint requires no parameters.\");\nexport const PolygonGetReferenceTypesOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"The total number of results for this request.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response.\"),\n results: z.object({}).describe(\"Dictionary containing 'types' and 'indexTypes' mappings of ticker type codes to descriptions.\"),\n request_id: z.string().describe(\"A request ID assigned by the server.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/reference/types.\");\n\nexport const polygonGetReferenceTypes = action(\"POLYGON_GET_REFERENCE_TYPES\", {\n slug: \"polygon-get-reference-types\",\n name: \"Get Reference Ticker Types\",\n description: \"Tool to retrieve all ticker types supported by Polygon. Use when you need to understand the different ticker classifications available across asset classes and markets.\",\n input: PolygonGetReferenceTypesInput,\n output: PolygonGetReferenceTypesOutput,\n});\n"],"mappings":";;AAYA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAYxE;CACP,QAZ0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+FAA+F;EAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-related-companies.ts
|
|
4
|
+
const PolygonGetRelatedCompaniesInput = zod.z.object({ ticker: zod.z.string().describe("The ticker symbol to search for related companies (e.g., 'AAPL')") });
|
|
5
|
+
const PolygonGetRelatedCompanies_RelatedCompanyItemSchema = zod.z.object({ ticker: zod.z.string().describe("Ticker symbol of the related company") });
|
|
6
|
+
const PolygonGetRelatedCompaniesOutput = zod.z.object({
|
|
7
|
+
status: zod.z.string().describe("The status of this request's response").nullable().optional(),
|
|
8
|
+
ticker: zod.z.string().describe("The ticker being queried").nullable().optional(),
|
|
9
|
+
results: zod.z.array(PolygonGetRelatedCompanies_RelatedCompanyItemSchema).describe("List of related company tickers").nullable().optional(),
|
|
10
|
+
request_id: zod.z.string().describe("A request id assigned by the server").nullable().optional()
|
|
11
|
+
});
|
|
12
|
+
const polygonGetRelatedCompanies = require_action.action("POLYGON_GET_RELATED_COMPANIES", {
|
|
13
|
+
slug: "polygon-get-related-companies",
|
|
14
|
+
name: "Get Related Companies",
|
|
15
|
+
description: "Tool to get a list of related companies for a ticker symbol based on various similarity metrics. Use when you need to find companies related to a specific ticker.",
|
|
16
|
+
input: PolygonGetRelatedCompaniesInput,
|
|
17
|
+
output: PolygonGetRelatedCompaniesOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.polygonGetRelatedCompanies = polygonGetRelatedCompanies;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-related-companies.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-related-companies.cjs","names":["z","action"],"sources":["../../src/actions/get-related-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetRelatedCompaniesInput: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"The ticker symbol to search for related companies (e.g., 'AAPL')\"),\n});\nconst PolygonGetRelatedCompanies_RelatedCompanyItemSchema: z.ZodTypeAny = z.object({\n ticker: z.string().describe(\"Ticker symbol of the related company\"),\n});\nexport const PolygonGetRelatedCompaniesOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response\").nullable().optional(),\n ticker: z.string().describe(\"The ticker being queried\").nullable().optional(),\n results: z.array(PolygonGetRelatedCompanies_RelatedCompanyItemSchema).describe(\"List of related company tickers\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server\").nullable().optional(),\n});\n\nexport const polygonGetRelatedCompanies = action(\"POLYGON_GET_RELATED_COMPANIES\", {\n slug: \"polygon-get-related-companies\",\n name: \"Get Related Companies\",\n description: \"Tool to get a list of related companies for a ticker symbol based on various similarity metrics. Use when you need to find companies related to a specific ticker.\",\n input: PolygonGetRelatedCompaniesInput,\n output: PolygonGetRelatedCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EAChG,CAAC;AACD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACpE,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-related-companies.d.ts
|
|
4
|
+
declare const PolygonGetRelatedCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetRelatedCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetRelatedCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetRelatedCompanies };
|
|
9
|
+
//# sourceMappingURL=get-related-companies.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-related-companies.d.cts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAIW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-related-companies.d.ts
|
|
4
|
+
declare const PolygonGetRelatedCompaniesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PolygonGetRelatedCompaniesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const polygonGetRelatedCompanies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { polygonGetRelatedCompanies };
|
|
9
|
+
//# sourceMappingURL=get-related-companies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-related-companies.d.mts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAIW,gCAAA,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|