@keystrokehq/polygon_io 0.1.4 → 0.1.6
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-all-tickers.cjs +1 -0
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +3 -15
- package/dist/actions/get-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-all-tickers.d.mts +3 -15
- package/dist/actions/get-all-tickers.d.mts.map +1 -1
- package/dist/actions/get-all-tickers.mjs +1 -0
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +1 -0
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +3 -8
- package/dist/actions/get-condition-codes.d.cts.map +1 -1
- package/dist/actions/get-condition-codes.d.mts +3 -8
- package/dist/actions/get-condition-codes.d.mts.map +1 -1
- package/dist/actions/get-condition-codes.mjs +1 -0
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +1 -0
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +3 -15
- package/dist/actions/get-crypto-ema.d.cts.map +1 -1
- package/dist/actions/get-crypto-ema.d.mts +3 -15
- package/dist/actions/get-crypto-ema.d.mts.map +1 -1
- package/dist/actions/get-crypto-ema.mjs +1 -0
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +1 -0
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +3 -13
- package/dist/actions/get-crypto-macd.d.cts.map +1 -1
- package/dist/actions/get-crypto-macd.d.mts +3 -13
- package/dist/actions/get-crypto-macd.d.mts.map +1 -1
- package/dist/actions/get-crypto-macd.mjs +1 -0
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +1 -0
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +3 -6
- package/dist/actions/get-crypto-open-close.d.cts.map +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +3 -6
- package/dist/actions/get-crypto-open-close.d.mts.map +1 -1
- package/dist/actions/get-crypto-open-close.mjs +1 -0
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +1 -0
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +3 -15
- package/dist/actions/get-crypto-rsi.d.cts.map +1 -1
- package/dist/actions/get-crypto-rsi.d.mts +3 -15
- package/dist/actions/get-crypto-rsi.d.mts.map +1 -1
- package/dist/actions/get-crypto-rsi.mjs +1 -0
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +1 -0
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +3 -15
- package/dist/actions/get-crypto-sma.d.cts.map +1 -1
- package/dist/actions/get-crypto-sma.d.mts +3 -15
- package/dist/actions/get-crypto-sma.d.mts.map +1 -1
- package/dist/actions/get-crypto-sma.mjs +1 -0
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-daily-open-close.cjs +1 -0
- package/dist/actions/get-daily-open-close.cjs.map +1 -1
- package/dist/actions/get-daily-open-close.d.cts +3 -5
- package/dist/actions/get-daily-open-close.d.cts.map +1 -1
- package/dist/actions/get-daily-open-close.d.mts +3 -5
- package/dist/actions/get-daily-open-close.d.mts.map +1 -1
- package/dist/actions/get-daily-open-close.mjs +1 -0
- package/dist/actions/get-daily-open-close.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +1 -0
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +3 -13
- package/dist/actions/get-dividends.d.cts.map +1 -1
- package/dist/actions/get-dividends.d.mts +3 -13
- package/dist/actions/get-dividends.d.mts.map +1 -1
- package/dist/actions/get-dividends.mjs +1 -0
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation2.cjs +1 -0
- package/dist/actions/get-economy-inflation2.cjs.map +1 -1
- package/dist/actions/get-economy-inflation2.d.cts +3 -10
- package/dist/actions/get-economy-inflation2.d.cts.map +1 -1
- package/dist/actions/get-economy-inflation2.d.mts +3 -10
- package/dist/actions/get-economy-inflation2.d.mts.map +1 -1
- package/dist/actions/get-economy-inflation2.mjs +1 -0
- package/dist/actions/get-economy-inflation2.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +1 -0
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +3 -10
- package/dist/actions/get-ema.d.cts.map +1 -1
- package/dist/actions/get-ema.d.mts +3 -10
- package/dist/actions/get-ema.d.mts.map +1 -1
- package/dist/actions/get-ema.mjs +1 -0
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +1 -0
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +3 -4
- package/dist/actions/get-filing-file.d.cts.map +1 -1
- package/dist/actions/get-filing-file.d.mts +3 -4
- package/dist/actions/get-filing-file.d.mts.map +1 -1
- package/dist/actions/get-filing-file.mjs +1 -0
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +1 -0
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +3 -3
- package/dist/actions/get-filing.d.cts.map +1 -1
- package/dist/actions/get-filing.d.mts +3 -3
- package/dist/actions/get-filing.d.mts.map +1 -1
- package/dist/actions/get-filing.mjs +1 -0
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +1 -0
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +3 -11
- package/dist/actions/get-forex-ema.d.cts.map +1 -1
- package/dist/actions/get-forex-ema.d.mts +3 -11
- package/dist/actions/get-forex-ema.d.mts.map +1 -1
- package/dist/actions/get-forex-ema.mjs +1 -0
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +1 -0
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +3 -17
- package/dist/actions/get-forex-macd.d.cts.map +1 -1
- package/dist/actions/get-forex-macd.d.mts +3 -17
- package/dist/actions/get-forex-macd.d.mts.map +1 -1
- package/dist/actions/get-forex-macd.mjs +1 -0
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +3 -6
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +3 -6
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +1 -0
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
- package/dist/actions/get-forex-rsi.cjs +1 -0
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +3 -15
- package/dist/actions/get-forex-rsi.d.cts.map +1 -1
- package/dist/actions/get-forex-rsi.d.mts +3 -15
- package/dist/actions/get-forex-rsi.d.mts.map +1 -1
- package/dist/actions/get-forex-rsi.mjs +1 -0
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +1 -0
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +3 -15
- package/dist/actions/get-forex-sma.d.cts.map +1 -1
- package/dist/actions/get-forex-sma.d.mts +3 -15
- package/dist/actions/get-forex-sma.d.mts.map +1 -1
- package/dist/actions/get-forex-sma.mjs +1 -0
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +1 -0
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +3 -7
- package/dist/actions/get-futures-quotes.d.cts.map +1 -1
- package/dist/actions/get-futures-quotes.d.mts +3 -7
- package/dist/actions/get-futures-quotes.d.mts.map +1 -1
- package/dist/actions/get-futures-quotes.mjs +1 -0
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-grouped-daily.cjs +1 -0
- package/dist/actions/get-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-grouped-daily.d.cts +3 -6
- package/dist/actions/get-grouped-daily.d.cts.map +1 -1
- package/dist/actions/get-grouped-daily.d.mts +3 -6
- package/dist/actions/get-grouped-daily.d.mts.map +1 -1
- package/dist/actions/get-grouped-daily.mjs +1 -0
- package/dist/actions/get-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +1 -0
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +3 -7
- package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.mts +3 -7
- package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.mjs +1 -0
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
- package/dist/actions/get-inflation-expectations.cjs +1 -0
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +3 -10
- package/dist/actions/get-inflation-expectations.d.cts.map +1 -1
- package/dist/actions/get-inflation-expectations.d.mts +3 -10
- package/dist/actions/get-inflation-expectations.d.mts.map +1 -1
- package/dist/actions/get-inflation-expectations.mjs +1 -0
- package/dist/actions/get-inflation-expectations.mjs.map +1 -1
- package/dist/actions/get-ipo-data.cjs +1 -0
- package/dist/actions/get-ipo-data.cjs.map +1 -1
- package/dist/actions/get-ipo-data.d.cts +3 -11
- package/dist/actions/get-ipo-data.d.cts.map +1 -1
- package/dist/actions/get-ipo-data.d.mts +3 -11
- package/dist/actions/get-ipo-data.d.mts.map +1 -1
- package/dist/actions/get-ipo-data.mjs +1 -0
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-labor-market.cjs +1 -0
- package/dist/actions/get-labor-market.cjs.map +1 -1
- package/dist/actions/get-labor-market.d.cts +3 -10
- package/dist/actions/get-labor-market.d.cts.map +1 -1
- package/dist/actions/get-labor-market.d.mts +3 -10
- package/dist/actions/get-labor-market.d.mts.map +1 -1
- package/dist/actions/get-labor-market.mjs +1 -0
- package/dist/actions/get-labor-market.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +1 -0
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +3 -13
- package/dist/actions/get-macd.d.cts.map +1 -1
- package/dist/actions/get-macd.d.mts +3 -13
- package/dist/actions/get-macd.d.mts.map +1 -1
- package/dist/actions/get-macd.mjs +1 -0
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-holidays.cjs +1 -0
- package/dist/actions/get-market-holidays.cjs.map +1 -1
- package/dist/actions/get-market-holidays.d.cts +3 -1
- package/dist/actions/get-market-holidays.d.cts.map +1 -1
- package/dist/actions/get-market-holidays.d.mts +3 -1
- package/dist/actions/get-market-holidays.d.mts.map +1 -1
- package/dist/actions/get-market-holidays.mjs +1 -0
- package/dist/actions/get-market-holidays.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +1 -0
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +3 -1
- package/dist/actions/get-market-status.d.cts.map +1 -1
- package/dist/actions/get-market-status.d.mts +3 -1
- package/dist/actions/get-market-status.d.mts.map +1 -1
- package/dist/actions/get-market-status.mjs +1 -0
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-news.cjs +1 -0
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +3 -9
- package/dist/actions/get-news.d.cts.map +1 -1
- package/dist/actions/get-news.d.mts +3 -9
- package/dist/actions/get-news.d.mts.map +1 -1
- package/dist/actions/get-news.mjs +1 -0
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +1 -0
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +3 -4
- package/dist/actions/get-options-contract-overview.d.cts.map +1 -1
- package/dist/actions/get-options-contract-overview.d.mts +3 -4
- package/dist/actions/get-options-contract-overview.d.mts.map +1 -1
- package/dist/actions/get-options-contract-overview.mjs +1 -0
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +1 -0
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +3 -15
- package/dist/actions/get-options-ema.d.cts.map +1 -1
- package/dist/actions/get-options-ema.d.mts +3 -15
- package/dist/actions/get-options-ema.d.mts.map +1 -1
- package/dist/actions/get-options-ema.mjs +1 -0
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +1 -0
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +3 -13
- package/dist/actions/get-options-macd.d.cts.map +1 -1
- package/dist/actions/get-options-macd.d.mts +3 -13
- package/dist/actions/get-options-macd.d.mts.map +1 -1
- package/dist/actions/get-options-macd.mjs +1 -0
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +1 -0
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +3 -15
- package/dist/actions/get-options-rsi.d.cts.map +1 -1
- package/dist/actions/get-options-rsi.d.mts +3 -15
- package/dist/actions/get-options-rsi.d.mts.map +1 -1
- package/dist/actions/get-options-rsi.mjs +1 -0
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +1 -0
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +3 -16
- package/dist/actions/get-options-sma.d.cts.map +1 -1
- package/dist/actions/get-options-sma.d.mts +3 -16
- package/dist/actions/get-options-sma.d.mts.map +1 -1
- package/dist/actions/get-options-sma.mjs +1 -0
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +1 -0
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +3 -3
- package/dist/actions/get-related-companies.d.cts.map +1 -1
- package/dist/actions/get-related-companies.d.mts +3 -3
- package/dist/actions/get-related-companies.d.mts.map +1 -1
- package/dist/actions/get-related-companies.mjs +1 -0
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +1 -0
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +3 -11
- package/dist/actions/get-rsi.d.cts.map +1 -1
- package/dist/actions/get-rsi.d.mts +3 -11
- package/dist/actions/get-rsi.d.mts.map +1 -1
- package/dist/actions/get-rsi.mjs +1 -0
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +1 -0
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +3 -11
- package/dist/actions/get-sma.d.cts.map +1 -1
- package/dist/actions/get-sma.d.mts +3 -11
- package/dist/actions/get-sma.d.mts.map +1 -1
- package/dist/actions/get-sma.mjs +1 -0
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +1 -0
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +3 -11
- package/dist/actions/get-splits.d.cts.map +1 -1
- package/dist/actions/get-splits.d.mts +3 -11
- package/dist/actions/get-splits.d.mts.map +1 -1
- package/dist/actions/get-splits.mjs +1 -0
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +1 -0
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +3 -10
- package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.mts +3 -10
- package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.mjs +1 -0
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +1 -0
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +3 -5
- package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.mts +3 -5
- package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.mjs +1 -0
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.cjs +1 -0
- package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.cts +3 -22
- package/dist/actions/get-stocks-filings-risk-factors.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.mts +3 -22
- package/dist/actions/get-stocks-filings-risk-factors.d.mts.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.mjs +1 -0
- package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.cjs +1 -0
- package/dist/actions/get-stocks-filings-sections.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.cts +3 -28
- package/dist/actions/get-stocks-filings-sections.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.mts +3 -28
- package/dist/actions/get-stocks-filings-sections.d.mts.map +1 -1
- package/dist/actions/get-stocks-filings-sections.mjs +1 -0
- package/dist/actions/get-stocks-filings-sections.mjs.map +1 -1
- package/dist/actions/get-stocks-free-float.cjs +1 -0
- package/dist/actions/get-stocks-free-float.cjs.map +1 -1
- package/dist/actions/get-stocks-free-float.d.cts +3 -15
- package/dist/actions/get-stocks-free-float.d.cts.map +1 -1
- package/dist/actions/get-stocks-free-float.d.mts +3 -15
- package/dist/actions/get-stocks-free-float.d.mts.map +1 -1
- package/dist/actions/get-stocks-free-float.mjs +1 -0
- package/dist/actions/get-stocks-free-float.mjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.cjs +1 -0
- package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.cts +3 -4
- package/dist/actions/get-stocks-full-market-snapshot.d.cts.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.mts +3 -4
- package/dist/actions/get-stocks-full-market-snapshot.d.mts.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.mjs +1 -0
- package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.cjs +1 -0
- package/dist/actions/get-stocks-income-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.cts +3 -22
- package/dist/actions/get-stocks-income-statements.d.cts.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.mts +3 -22
- package/dist/actions/get-stocks-income-statements.d.mts.map +1 -1
- package/dist/actions/get-stocks-income-statements.mjs +1 -0
- package/dist/actions/get-stocks-income-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.cjs +1 -0
- package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.cts +3 -4
- package/dist/actions/get-stocks-previous-day-bar.d.cts.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.mts +3 -4
- package/dist/actions/get-stocks-previous-day-bar.d.mts.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.mjs +1 -0
- package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +1 -0
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +3 -27
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +3 -27
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +1 -0
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.cjs +1 -0
- package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.cts +3 -22
- package/dist/actions/get-stocks-v1-dividends.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.mts +3 -22
- package/dist/actions/get-stocks-v1-dividends.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.mjs +1 -0
- package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.cjs +1 -0
- package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.cts +3 -28
- package/dist/actions/get-stocks-v1-short-interest.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.mts +3 -28
- package/dist/actions/get-stocks-v1-short-interest.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.mjs +1 -0
- package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.cjs +1 -0
- package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.cts +3 -28
- package/dist/actions/get-stocks-v1-short-volume.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.mts +3 -28
- package/dist/actions/get-stocks-v1-short-volume.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.mjs +1 -0
- package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.cjs +1 -0
- package/dist/actions/get-stocks-v1-splits.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.cts +3 -17
- package/dist/actions/get-stocks-v1-splits.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.mts +3 -17
- package/dist/actions/get-stocks-v1-splits.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-splits.mjs +1 -0
- package/dist/actions/get-stocks-v1-splits.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +1 -0
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +3 -4
- package/dist/actions/get-ticker-events.d.cts.map +1 -1
- package/dist/actions/get-ticker-events.d.mts +3 -4
- package/dist/actions/get-ticker-events.d.mts.map +1 -1
- package/dist/actions/get-ticker-events.mjs +1 -0
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-overview.cjs +1 -0
- package/dist/actions/get-ticker-overview.cjs.map +1 -1
- package/dist/actions/get-ticker-overview.d.cts +3 -3
- package/dist/actions/get-ticker-overview.d.cts.map +1 -1
- package/dist/actions/get-ticker-overview.d.mts +3 -3
- package/dist/actions/get-ticker-overview.d.mts.map +1 -1
- package/dist/actions/get-ticker-overview.mjs +1 -0
- package/dist/actions/get-ticker-overview.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +1 -0
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +3 -1
- package/dist/actions/get-ticker-types.d.cts.map +1 -1
- package/dist/actions/get-ticker-types.d.mts +3 -1
- package/dist/actions/get-ticker-types.d.mts.map +1 -1
- package/dist/actions/get-ticker-types.mjs +1 -0
- package/dist/actions/get-ticker-types.mjs.map +1 -1
- package/dist/actions/get-treasury-yields.cjs +1 -0
- package/dist/actions/get-treasury-yields.cjs.map +1 -1
- package/dist/actions/get-treasury-yields.d.cts +3 -10
- package/dist/actions/get-treasury-yields.d.cts.map +1 -1
- package/dist/actions/get-treasury-yields.d.mts +3 -10
- package/dist/actions/get-treasury-yields.d.mts.map +1 -1
- package/dist/actions/get-treasury-yields.mjs +1 -0
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +1 -0
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +3 -4
- package/dist/actions/list-exchanges.d.cts.map +1 -1
- package/dist/actions/list-exchanges.d.mts +3 -4
- package/dist/actions/list-exchanges.d.mts.map +1 -1
- package/dist/actions/list-exchanges.mjs +1 -0
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +1 -0
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +3 -16
- package/dist/actions/list-filing-files.d.cts.map +1 -1
- package/dist/actions/list-filing-files.d.mts +3 -16
- package/dist/actions/list-filing-files.d.mts.map +1 -1
- package/dist/actions/list-filing-files.mjs +1 -0
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-filings.cjs +1 -0
- package/dist/actions/list-filings.cjs.map +1 -1
- package/dist/actions/list-filings.d.cts +3 -22
- package/dist/actions/list-filings.d.cts.map +1 -1
- package/dist/actions/list-filings.d.mts +3 -22
- package/dist/actions/list-filings.d.mts.map +1 -1
- package/dist/actions/list-filings.mjs +1 -0
- package/dist/actions/list-filings.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +1 -0
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +3 -19
- package/dist/actions/list-options-contracts.d.cts.map +1 -1
- package/dist/actions/list-options-contracts.d.mts +3 -19
- package/dist/actions/list-options-contracts.d.mts.map +1 -1
- package/dist/actions/list-options-contracts.mjs +1 -0
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs +1 -0
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +3 -3
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +3 -3
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs +1 -0
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +1 -0
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +3 -4
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +3 -4
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +1 -0
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = 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(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.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 for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsMacdInput = 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(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.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 for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd: AppAction<\n typeof PolygonIoGetOptionsMacdInput,\n typeof PolygonIoGetOptionsMacdOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChL,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH;CACzJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ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CAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-macd.d.ts
|
|
@@ -38,19 +40,7 @@ declare const PolygonIoGetOptionsMacdOutput: z.ZodObject<{
|
|
|
38
40
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const polygonIoGetOptionsMacd:
|
|
42
|
-
timespan: string;
|
|
43
|
-
timestamp: string;
|
|
44
|
-
long_window: number;
|
|
45
|
-
short_window: number;
|
|
46
|
-
signal_window: number;
|
|
47
|
-
options_ticker: string;
|
|
48
|
-
limit?: number | undefined;
|
|
49
|
-
order?: "asc" | "desc" | undefined;
|
|
50
|
-
adjusted?: boolean | undefined;
|
|
51
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
52
|
-
expand_underlying?: boolean | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const polygonIoGetOptionsMacd: AppAction<typeof PolygonIoGetOptionsMacdInput, typeof PolygonIoGetOptionsMacdOutput, typeof polygonIo.credential>;
|
|
54
44
|
//#endregion
|
|
55
45
|
export { polygonIoGetOptionsMacd };
|
|
56
46
|
//# sourceMappingURL=get-options-macd.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-macd.d.cts","names":[],"sources":["../../src/actions/get-options-macd.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-macd.d.cts","names":[],"sources":["../../src/actions/get-options-macd.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-macd.d.ts
|
|
@@ -38,19 +40,7 @@ declare const PolygonIoGetOptionsMacdOutput: z.ZodObject<{
|
|
|
38
40
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const polygonIoGetOptionsMacd:
|
|
42
|
-
timespan: string;
|
|
43
|
-
timestamp: string;
|
|
44
|
-
long_window: number;
|
|
45
|
-
short_window: number;
|
|
46
|
-
signal_window: number;
|
|
47
|
-
options_ticker: string;
|
|
48
|
-
limit?: number | undefined;
|
|
49
|
-
order?: "asc" | "desc" | undefined;
|
|
50
|
-
adjusted?: boolean | undefined;
|
|
51
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
52
|
-
expand_underlying?: boolean | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
declare const polygonIoGetOptionsMacd: AppAction<typeof PolygonIoGetOptionsMacdInput, typeof PolygonIoGetOptionsMacdOutput, typeof polygonIo.credential>;
|
|
54
44
|
//#endregion
|
|
55
45
|
export { polygonIoGetOptionsMacd };
|
|
56
46
|
//# sourceMappingURL=get-options-macd.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-macd.d.mts","names":[],"sources":["../../src/actions/get-options-macd.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-macd.d.mts","names":[],"sources":["../../src/actions/get-options-macd.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cA0B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAO7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-macd.mjs","names":[],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsMacdInput = 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(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.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 for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-macd.mjs","names":[],"sources":["../../src/actions/get-options-macd.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsMacdInput = 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(\"desc\").describe(\"Order of results by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window. Options: minute, hour, day, week, month, quarter, year. Required parameter.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with format YYYY-MM-DD or a millisecond timestamp. Required parameter.\"),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Traditional value: 26. Required parameter.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate MACD. Options: open, high, low, close. Defaults to 'close'.\").optional(),\n short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Traditional value: 12. Required parameter.\"),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Traditional value: 9. Required parameter.\"),\n options_ticker: z.string().describe(\"The options ticker symbol in format O:UNDERLYINGYYMMDDCOOOOOOOOO (e.g., 'O:AAPL251219C00150000'). Must include the 'O:' prefix for options contracts.\"),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for an options ticker.\");\nconst PolygonIoGetOptionsMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD line value (difference between short EMA and long EMA).\").nullable(),\n signal: z.number().describe(\"The signal line value (EMA of the MACD line).\").nullable(),\n histogram: z.number().describe(\"The MACD histogram value (difference between MACD line and signal line, indicating momentum strength and direction).\").nullable(),\n timestamp: z.number().int().describe(\"Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to access the aggregate data used for calculations.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsMacd_MACDValueSchema).describe(\"Array of MACD indicator data points.\").nullable().optional(),\n underlying: PolygonIoGetOptionsMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsMacd_MACDResultsSchema.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 for tracking.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetOptionsMacd: AppAction<\n typeof PolygonIoGetOptionsMacdInput,\n typeof PolygonIoGetOptionsMacdOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_MACD\", {\n slug: \"polygon_io-get-options-macd\",\n name: \"Get Options MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for an options ticker. Use when you need momentum analysis, trend identification, or trading signal generation for options contracts.\",\n input: PolygonIoGetOptionsMacdInput,\n output: PolygonIoGetOptionsMacdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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,MAAM,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAChL,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC7J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH;CACzJ,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACnN,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH;CAC3J,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH;CAChK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,S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 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI 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 RSI 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 RSI. 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:AAPL250117C00250000'). 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 Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.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}).passthrough();\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI 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 RSI 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 RSI. 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:AAPL250117C00250000'). 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 Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.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}).passthrough();\n\nexport const polygonIoGetOptionsRsi: AppAction<\n typeof PolygonIoGetOptionsRsiInput,\n typeof PolygonIoGetOptionsRsiOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SA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
2
4
|
|
|
3
5
|
//#region src/actions/get-options-rsi.d.ts
|
|
@@ -46,21 +48,7 @@ declare const PolygonIoGetOptionsRsiOutput: z.ZodObject<{
|
|
|
46
48
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const polygonIoGetOptionsRsi:
|
|
50
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
51
|
-
options_ticker: string;
|
|
52
|
-
limit?: number | undefined;
|
|
53
|
-
order?: "asc" | "desc" | undefined;
|
|
54
|
-
window?: number | undefined;
|
|
55
|
-
adjusted?: boolean | undefined;
|
|
56
|
-
timestamp?: string | undefined;
|
|
57
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
58
|
-
timestamp_gt?: string | undefined;
|
|
59
|
-
timestamp_lt?: string | undefined;
|
|
60
|
-
timestamp_gte?: string | undefined;
|
|
61
|
-
timestamp_lte?: string | undefined;
|
|
62
|
-
expand_underlying?: boolean | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const polygonIoGetOptionsRsi: AppAction<typeof PolygonIoGetOptionsRsiInput, typeof PolygonIoGetOptionsRsiOutput, typeof polygonIo.credential>;
|
|
64
52
|
//#endregion
|
|
65
53
|
export { polygonIoGetOptionsRsi };
|
|
66
54
|
//# sourceMappingURL=get-options-rsi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.d.cts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.d.cts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-rsi.d.ts
|
|
@@ -46,21 +48,7 @@ declare const PolygonIoGetOptionsRsiOutput: z.ZodObject<{
|
|
|
46
48
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
50
|
}, z.core.$loose>;
|
|
49
|
-
declare const polygonIoGetOptionsRsi:
|
|
50
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
51
|
-
options_ticker: string;
|
|
52
|
-
limit?: number | undefined;
|
|
53
|
-
order?: "asc" | "desc" | undefined;
|
|
54
|
-
window?: number | undefined;
|
|
55
|
-
adjusted?: boolean | undefined;
|
|
56
|
-
timestamp?: string | undefined;
|
|
57
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
58
|
-
timestamp_gt?: string | undefined;
|
|
59
|
-
timestamp_lt?: string | undefined;
|
|
60
|
-
timestamp_gte?: string | undefined;
|
|
61
|
-
timestamp_lte?: string | undefined;
|
|
62
|
-
expand_underlying?: boolean | undefined;
|
|
63
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
51
|
+
declare const polygonIoGetOptionsRsi: AppAction<typeof PolygonIoGetOptionsRsiInput, typeof PolygonIoGetOptionsRsiOutput, typeof polygonIo.credential>;
|
|
64
52
|
//#endregion
|
|
65
53
|
export { polygonIoGetOptionsRsi };
|
|
66
54
|
//# sourceMappingURL=get-options-rsi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.d.mts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.d.mts","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI 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 RSI 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 RSI. 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:AAPL250117C00250000'). 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 Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.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}).passthrough();\n\nexport const polygonIoGetOptionsRsi = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-rsi.mjs","names":[],"sources":["../../src/actions/get-options-rsi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of base aggregates queried to create the aggregate results. Default: 5000. Max: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation. Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI 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 RSI 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 RSI. 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:AAPL250117C00250000'). 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 Relative Strength Index (RSI) for an options ticker.\");\nconst PolygonIoGetOptionsRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_UnderlyingSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetOptionsRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsRsi_RSIResultsSchema.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}).passthrough();\n\nexport const polygonIoGetOptionsRsi: AppAction<\n typeof PolygonIoGetOptionsRsiInput,\n typeof PolygonIoGetOptionsRsiOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_RSI\", {\n slug: \"polygon_io-get-options-rsi\",\n name: \"Get Options RSI\",\n description: \"Tool to calculate Relative Strength Index (RSI) technical indicator for an options ticker. Use when you need momentum analysis or want to identify overbought/oversold conditions for options contracts.\",\n input: PolygonIoGetOptionsRsiInput,\n output: PolygonIoGetOptionsRsiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACnK,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1L,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,SAA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O,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetOptionsSmaInput = 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 PolygonIoGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_AggregateBarSchema = 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}).passthrough();\nconst PolygonIoGetOptionsSma_UnderlyingDataSchema = 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(PolygonIoGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsSma_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}).passthrough();\n\nexport const polygonIoGetOptionsSma = action(\"POLYGON_IO_GET_OPTIONS_SMA\", {\n slug: \"polygon_io-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: PolygonIoGetOptionsSmaInput,\n output: PolygonIoGetOptionsSmaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsSmaInput = 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 PolygonIoGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_AggregateBarSchema = 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}).passthrough();\nconst PolygonIoGetOptionsSma_UnderlyingDataSchema = 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(PolygonIoGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsSma_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}).passthrough();\n\nexport const polygonIoGetOptionsSma: AppAction<\n typeof PolygonIoGetOptionsSmaInput,\n typeof PolygonIoGetOptionsSmaOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_SMA\", {\n slug: \"polygon_io-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: PolygonIoGetOptionsSmaInput,\n output: PolygonIoGetOptionsSmaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/M,QAAQA,IAAAA,EAAE,OAAO,CAAC,C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M,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAY,4CAA4C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-sma.d.ts
|
|
@@ -57,22 +59,7 @@ declare const PolygonIoGetOptionsSmaOutput: z.ZodObject<{
|
|
|
57
59
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const polygonIoGetOptionsSma:
|
|
61
|
-
window: number;
|
|
62
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
63
|
-
options_ticker: string;
|
|
64
|
-
limit?: number | undefined;
|
|
65
|
-
order?: "asc" | "desc" | undefined;
|
|
66
|
-
cursor?: string | undefined;
|
|
67
|
-
adjusted?: boolean | undefined;
|
|
68
|
-
timestamp?: string | undefined;
|
|
69
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
70
|
-
timestamp_gt?: string | undefined;
|
|
71
|
-
timestamp_lt?: string | undefined;
|
|
72
|
-
timestamp_gte?: string | undefined;
|
|
73
|
-
timestamp_lte?: string | undefined;
|
|
74
|
-
expand_underlying?: boolean | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
62
|
+
declare const polygonIoGetOptionsSma: AppAction<typeof PolygonIoGetOptionsSmaInput, typeof PolygonIoGetOptionsSmaOutput, typeof polygonIo.credential>;
|
|
76
63
|
//#endregion
|
|
77
64
|
export { polygonIoGetOptionsSma };
|
|
78
65
|
//# sourceMappingURL=get-options-sma.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.d.cts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.d.cts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-options-sma.d.ts
|
|
@@ -57,22 +59,7 @@ declare const PolygonIoGetOptionsSmaOutput: z.ZodObject<{
|
|
|
57
59
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
61
|
}, z.core.$loose>;
|
|
60
|
-
declare const polygonIoGetOptionsSma:
|
|
61
|
-
window: number;
|
|
62
|
-
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
63
|
-
options_ticker: string;
|
|
64
|
-
limit?: number | undefined;
|
|
65
|
-
order?: "asc" | "desc" | undefined;
|
|
66
|
-
cursor?: string | undefined;
|
|
67
|
-
adjusted?: boolean | undefined;
|
|
68
|
-
timestamp?: string | undefined;
|
|
69
|
-
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
70
|
-
timestamp_gt?: string | undefined;
|
|
71
|
-
timestamp_lt?: string | undefined;
|
|
72
|
-
timestamp_gte?: string | undefined;
|
|
73
|
-
timestamp_lte?: string | undefined;
|
|
74
|
-
expand_underlying?: boolean | undefined;
|
|
75
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
62
|
+
declare const polygonIoGetOptionsSma: AppAction<typeof PolygonIoGetOptionsSmaInput, typeof PolygonIoGetOptionsSmaOutput, typeof polygonIo.credential>;
|
|
76
63
|
//#endregion
|
|
77
64
|
export { polygonIoGetOptionsSma };
|
|
78
65
|
//# sourceMappingURL=get-options-sma.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-options-sma.d.mts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.d.mts","names":[],"sources":["../../src/actions/get-options-sma.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +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 PolygonIoGetOptionsSmaInput = 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 PolygonIoGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_AggregateBarSchema = 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}).passthrough();\nconst PolygonIoGetOptionsSma_UnderlyingDataSchema = 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(PolygonIoGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsSma_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}).passthrough();\n\nexport const polygonIoGetOptionsSma = action(\"POLYGON_IO_GET_OPTIONS_SMA\", {\n slug: \"polygon_io-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: PolygonIoGetOptionsSmaInput,\n output: PolygonIoGetOptionsSmaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-options-sma.mjs","names":[],"sources":["../../src/actions/get-options-sma.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetOptionsSmaInput = 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 PolygonIoGetOptionsSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The simple moving average value for this period.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\").nullable(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_AggregateBarSchema = 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}).passthrough();\nconst PolygonIoGetOptionsSma_UnderlyingDataSchema = 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(PolygonIoGetOptionsSma_AggregateBarSchema).describe(\"Array of aggregate objects containing OHLCV price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetOptionsSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetOptionsSma_SMAValueSchema).describe(\"Array of SMA indicator calculation results.\").nullable().optional(),\n underlying: PolygonIoGetOptionsSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetOptionsSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetOptionsSma_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}).passthrough();\n\nexport const polygonIoGetOptionsSma: AppAction<\n typeof PolygonIoGetOptionsSmaInput,\n typeof PolygonIoGetOptionsSmaOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_OPTIONS_SMA\", {\n slug: \"polygon_io-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: PolygonIoGetOptionsSmaInput,\n output: PolygonIoGetOptionsSmaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,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,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AM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACrE,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +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 PolygonIoGetRelatedCompaniesInput = z.object({\n ticker: z.string().describe(\"The ticker symbol to find related companies for, e.g., 'AAPL'.\"),\n}).describe(\"Parameters to retrieve related companies for a given ticker.\");\nconst PolygonIoGetRelatedCompanies_RelatedTickerSchema = z.object({\n ticker: z.string().describe(\"The ticker symbol of a related company.\").nullable(),\n}).passthrough();\nexport const PolygonIoGetRelatedCompaniesOutput = 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(PolygonIoGetRelatedCompanies_RelatedTickerSchema).describe(\"An array of related ticker symbols.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRelatedCompanies = action(\"POLYGON_IO_GET_RELATED_COMPANIES\", {\n slug: \"polygon_io-get-related-companies\",\n name: \"Get Related Companies\",\n description: \"Tool to retrieve tickers related to a given ticker based on similar business or market characteristics. Use when you need to find companies similar to a specific ticker.\",\n input: PolygonIoGetRelatedCompaniesInput,\n output: PolygonIoGetRelatedCompaniesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-related-companies.cjs","names":["z","action"],"sources":["../../src/actions/get-related-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetRelatedCompaniesInput = z.object({\n ticker: z.string().describe(\"The ticker symbol to find related companies for, e.g., 'AAPL'.\"),\n}).describe(\"Parameters to retrieve related companies for a given ticker.\");\nconst PolygonIoGetRelatedCompanies_RelatedTickerSchema = z.object({\n ticker: z.string().describe(\"The ticker symbol of a related company.\").nullable(),\n}).passthrough();\nexport const PolygonIoGetRelatedCompaniesOutput = 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(PolygonIoGetRelatedCompanies_RelatedTickerSchema).describe(\"An array of related ticker symbols.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRelatedCompanies: AppAction<\n typeof PolygonIoGetRelatedCompaniesInput,\n typeof PolygonIoGetRelatedCompaniesOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_RELATED_COMPANIES\", {\n slug: \"polygon_io-get-related-companies\",\n name: \"Get Related Companies\",\n description: \"Tool to retrieve tickers related to a given ticker based on similar business or market characteristics. Use when you need to find companies similar to a specific ticker.\",\n input: PolygonIoGetRelatedCompaniesInput,\n output: PolygonIoGetRelatedCompaniesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC9F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-related-companies.d.ts
|
|
@@ -12,9 +14,7 @@ declare const PolygonIoGetRelatedCompaniesOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const polygonIoGetRelatedCompanies:
|
|
16
|
-
ticker: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const polygonIoGetRelatedCompanies: AppAction<typeof PolygonIoGetRelatedCompaniesInput, typeof PolygonIoGetRelatedCompaniesOutput, typeof polygonIo.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { polygonIoGetRelatedCompanies };
|
|
20
20
|
//# sourceMappingURL=get-related-companies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-related-companies.d.cts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-related-companies.d.cts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { polygonIo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-related-companies.d.ts
|
|
@@ -12,9 +14,7 @@ declare const PolygonIoGetRelatedCompaniesOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const polygonIoGetRelatedCompanies:
|
|
16
|
-
ticker: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const polygonIoGetRelatedCompanies: AppAction<typeof PolygonIoGetRelatedCompaniesInput, typeof PolygonIoGetRelatedCompaniesOutput, typeof polygonIo.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { polygonIoGetRelatedCompanies };
|
|
20
20
|
//# sourceMappingURL=get-related-companies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-related-companies.d.mts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-related-companies.d.mts","names":[],"sources":["../../src/actions/get-related-companies.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-related-companies.mjs","names":[],"sources":["../../src/actions/get-related-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetRelatedCompaniesInput = z.object({\n ticker: z.string().describe(\"The ticker symbol to find related companies for, e.g., 'AAPL'.\"),\n}).describe(\"Parameters to retrieve related companies for a given ticker.\");\nconst PolygonIoGetRelatedCompanies_RelatedTickerSchema = z.object({\n ticker: z.string().describe(\"The ticker symbol of a related company.\").nullable(),\n}).passthrough();\nexport const PolygonIoGetRelatedCompaniesOutput = 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(PolygonIoGetRelatedCompanies_RelatedTickerSchema).describe(\"An array of related ticker symbols.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRelatedCompanies = action(\"POLYGON_IO_GET_RELATED_COMPANIES\", {\n slug: \"polygon_io-get-related-companies\",\n name: \"Get Related Companies\",\n description: \"Tool to retrieve tickers related to a given ticker based on similar business or market characteristics. Use when you need to find companies similar to a specific ticker.\",\n input: PolygonIoGetRelatedCompaniesInput,\n output: PolygonIoGetRelatedCompaniesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-related-companies.mjs","names":[],"sources":["../../src/actions/get-related-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { polygonIo } from \"../app\";\n\nexport const PolygonIoGetRelatedCompaniesInput = z.object({\n ticker: z.string().describe(\"The ticker symbol to find related companies for, e.g., 'AAPL'.\"),\n}).describe(\"Parameters to retrieve related companies for a given ticker.\");\nconst PolygonIoGetRelatedCompanies_RelatedTickerSchema = z.object({\n ticker: z.string().describe(\"The ticker symbol of a related company.\").nullable(),\n}).passthrough();\nexport const PolygonIoGetRelatedCompaniesOutput = 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(PolygonIoGetRelatedCompanies_RelatedTickerSchema).describe(\"An array of related ticker symbols.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRelatedCompanies: AppAction<\n typeof PolygonIoGetRelatedCompaniesInput,\n typeof PolygonIoGetRelatedCompaniesOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_RELATED_COMPANIES\", {\n slug: \"polygon_io-get-related-companies\",\n name: \"Get Related Companies\",\n description: \"Tool to retrieve tickers related to a given ticker based on similar business or market characteristics. Use when you need to find companies similar to a specific ticker.\",\n input: PolygonIoGetRelatedCompaniesInput,\n output: PolygonIoGetRelatedCompaniesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC9F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mDAAmD,EAAE,OAAO,EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
package/dist/actions/get-rsi.cjs
CHANGED