@keystrokehq/polygon_io 0.1.5 → 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 -27
- package/dist/actions/get-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-all-tickers.d.mts +3 -27
- 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 -20
- package/dist/actions/get-condition-codes.d.cts.map +1 -1
- package/dist/actions/get-condition-codes.d.mts +3 -20
- 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 +5 -29
- package/dist/actions/get-crypto-ema.d.cts.map +1 -1
- package/dist/actions/get-crypto-ema.d.mts +5 -29
- 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 +4 -26
- package/dist/actions/get-crypto-macd.d.cts.map +1 -1
- package/dist/actions/get-crypto-macd.d.mts +4 -26
- 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 -18
- package/dist/actions/get-crypto-open-close.d.cts.map +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +3 -18
- 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 +5 -29
- package/dist/actions/get-crypto-rsi.d.cts.map +1 -1
- package/dist/actions/get-crypto-rsi.d.mts +5 -29
- 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 +5 -29
- package/dist/actions/get-crypto-sma.d.cts.map +1 -1
- package/dist/actions/get-crypto-sma.d.mts +5 -29
- 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 -17
- package/dist/actions/get-daily-open-close.d.cts.map +1 -1
- package/dist/actions/get-daily-open-close.d.mts +3 -17
- 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 -25
- package/dist/actions/get-dividends.d.cts.map +1 -1
- package/dist/actions/get-dividends.d.mts +3 -25
- 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 -22
- package/dist/actions/get-economy-inflation2.d.cts.map +1 -1
- package/dist/actions/get-economy-inflation2.d.mts +3 -22
- 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 +4 -23
- package/dist/actions/get-ema.d.cts.map +1 -1
- package/dist/actions/get-ema.d.mts +4 -23
- 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 -16
- package/dist/actions/get-filing-file.d.cts.map +1 -1
- package/dist/actions/get-filing-file.d.mts +3 -16
- 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 -15
- package/dist/actions/get-filing.d.cts.map +1 -1
- package/dist/actions/get-filing.d.mts +3 -15
- 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 +5 -25
- package/dist/actions/get-forex-ema.d.cts.map +1 -1
- package/dist/actions/get-forex-ema.d.mts +5 -25
- 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 +4 -30
- package/dist/actions/get-forex-macd.d.cts.map +1 -1
- package/dist/actions/get-forex-macd.d.mts +4 -30
- 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 -18
- 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 -18
- 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 +5 -29
- package/dist/actions/get-forex-rsi.d.cts.map +1 -1
- package/dist/actions/get-forex-rsi.d.mts +5 -29
- 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 +5 -29
- package/dist/actions/get-forex-sma.d.cts.map +1 -1
- package/dist/actions/get-forex-sma.d.mts +5 -29
- 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 -19
- package/dist/actions/get-futures-quotes.d.cts.map +1 -1
- package/dist/actions/get-futures-quotes.d.mts +3 -19
- 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 -18
- package/dist/actions/get-grouped-daily.d.cts.map +1 -1
- package/dist/actions/get-grouped-daily.d.mts +3 -18
- 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 -19
- package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.mts +3 -19
- 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 -22
- package/dist/actions/get-inflation-expectations.d.cts.map +1 -1
- package/dist/actions/get-inflation-expectations.d.mts +3 -22
- 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 -23
- package/dist/actions/get-ipo-data.d.cts.map +1 -1
- package/dist/actions/get-ipo-data.d.mts +3 -23
- 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 -22
- package/dist/actions/get-labor-market.d.cts.map +1 -1
- package/dist/actions/get-labor-market.d.mts +3 -22
- 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 +4 -26
- package/dist/actions/get-macd.d.cts.map +1 -1
- package/dist/actions/get-macd.d.mts +4 -26
- 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 -13
- package/dist/actions/get-market-holidays.d.cts.map +1 -1
- package/dist/actions/get-market-holidays.d.mts +3 -13
- 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 -13
- package/dist/actions/get-market-status.d.cts.map +1 -1
- package/dist/actions/get-market-status.d.mts +3 -13
- 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 -21
- package/dist/actions/get-news.d.cts.map +1 -1
- package/dist/actions/get-news.d.mts +3 -21
- 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 -16
- package/dist/actions/get-options-contract-overview.d.cts.map +1 -1
- package/dist/actions/get-options-contract-overview.d.mts +3 -16
- 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 +4 -28
- package/dist/actions/get-options-ema.d.cts.map +1 -1
- package/dist/actions/get-options-ema.d.mts +4 -28
- 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 +4 -26
- package/dist/actions/get-options-macd.d.cts.map +1 -1
- package/dist/actions/get-options-macd.d.mts +4 -26
- 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 +5 -29
- package/dist/actions/get-options-rsi.d.cts.map +1 -1
- package/dist/actions/get-options-rsi.d.mts +5 -29
- 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 +5 -30
- package/dist/actions/get-options-sma.d.cts.map +1 -1
- package/dist/actions/get-options-sma.d.mts +5 -30
- 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 -15
- package/dist/actions/get-related-companies.d.cts.map +1 -1
- package/dist/actions/get-related-companies.d.mts +3 -15
- 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 +4 -24
- package/dist/actions/get-rsi.d.cts.map +1 -1
- package/dist/actions/get-rsi.d.mts +4 -24
- 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 +4 -24
- package/dist/actions/get-sma.d.cts.map +1 -1
- package/dist/actions/get-sma.d.mts +4 -24
- 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 -23
- package/dist/actions/get-splits.d.cts.map +1 -1
- package/dist/actions/get-splits.d.mts +3 -23
- 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 +4 -23
- package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.mts +4 -23
- 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 -17
- package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.mts +3 -17
- 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 -34
- package/dist/actions/get-stocks-filings-risk-factors.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.mts +3 -34
- 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 -40
- package/dist/actions/get-stocks-filings-sections.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.mts +3 -40
- 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 -27
- package/dist/actions/get-stocks-free-float.d.cts.map +1 -1
- package/dist/actions/get-stocks-free-float.d.mts +3 -27
- 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 -16
- package/dist/actions/get-stocks-full-market-snapshot.d.cts.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.mts +3 -16
- 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 -34
- package/dist/actions/get-stocks-income-statements.d.cts.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.mts +3 -34
- 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 -16
- package/dist/actions/get-stocks-previous-day-bar.d.cts.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.mts +3 -16
- 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 -39
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +3 -39
- 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 -34
- package/dist/actions/get-stocks-v1-dividends.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.mts +3 -34
- 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 -40
- package/dist/actions/get-stocks-v1-short-interest.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.mts +3 -40
- 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 -40
- package/dist/actions/get-stocks-v1-short-volume.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.mts +3 -40
- 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 -29
- package/dist/actions/get-stocks-v1-splits.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.mts +3 -29
- 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 -16
- package/dist/actions/get-ticker-events.d.cts.map +1 -1
- package/dist/actions/get-ticker-events.d.mts +3 -16
- 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 -15
- package/dist/actions/get-ticker-overview.d.cts.map +1 -1
- package/dist/actions/get-ticker-overview.d.mts +3 -15
- 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 -13
- package/dist/actions/get-ticker-types.d.cts.map +1 -1
- package/dist/actions/get-ticker-types.d.mts +3 -13
- 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 -22
- package/dist/actions/get-treasury-yields.d.cts.map +1 -1
- package/dist/actions/get-treasury-yields.d.mts +3 -22
- 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 -16
- package/dist/actions/list-exchanges.d.cts.map +1 -1
- package/dist/actions/list-exchanges.d.mts +3 -16
- 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 -28
- package/dist/actions/list-filing-files.d.cts.map +1 -1
- package/dist/actions/list-filing-files.d.mts +3 -28
- 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 -34
- package/dist/actions/list-filings.d.cts.map +1 -1
- package/dist/actions/list-filings.d.mts +3 -34
- 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 -31
- package/dist/actions/list-options-contracts.d.cts.map +1 -1
- package/dist/actions/list-options-contracts.d.mts +3 -31
- 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 -15
- 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 -15
- 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 -16
- 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 -16
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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-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":"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"}
|
|
@@ -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-rsi.d.ts
|
|
@@ -10,9 +12,9 @@ declare const PolygonIoGetOptionsRsiInput: z.ZodObject<{
|
|
|
10
12
|
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
13
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
14
|
timespan: z.ZodEnum<{
|
|
13
|
-
day: "day";
|
|
14
15
|
minute: "minute";
|
|
15
16
|
hour: "hour";
|
|
17
|
+
day: "day";
|
|
16
18
|
week: "week";
|
|
17
19
|
month: "month";
|
|
18
20
|
quarter: "quarter";
|
|
@@ -21,9 +23,9 @@ declare const PolygonIoGetOptionsRsiInput: z.ZodObject<{
|
|
|
21
23
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
22
24
|
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23
25
|
open: "open";
|
|
24
|
-
close: "close";
|
|
25
26
|
high: "high";
|
|
26
27
|
low: "low";
|
|
28
|
+
close: "close";
|
|
27
29
|
}>>>;
|
|
28
30
|
timestamp_gt: z.ZodOptional<z.ZodString>;
|
|
29
31
|
timestamp_lt: z.ZodOptional<z.ZodString>;
|
|
@@ -46,33 +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: "day" | "minute" | "hour" | "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" | "close" | "high" | "low" | 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<"polygon_io", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>;
|
|
51
|
+
declare const polygonIoGetOptionsRsi: AppAction<typeof PolygonIoGetOptionsRsiInput, typeof PolygonIoGetOptionsRsiOutput, typeof polygonIo.credential>;
|
|
76
52
|
//#endregion
|
|
77
53
|
export { polygonIoGetOptionsRsi };
|
|
78
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
|
|
@@ -10,9 +12,9 @@ declare const PolygonIoGetOptionsRsiInput: z.ZodObject<{
|
|
|
10
12
|
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
13
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
14
|
timespan: z.ZodEnum<{
|
|
13
|
-
day: "day";
|
|
14
15
|
minute: "minute";
|
|
15
16
|
hour: "hour";
|
|
17
|
+
day: "day";
|
|
16
18
|
week: "week";
|
|
17
19
|
month: "month";
|
|
18
20
|
quarter: "quarter";
|
|
@@ -21,9 +23,9 @@ declare const PolygonIoGetOptionsRsiInput: z.ZodObject<{
|
|
|
21
23
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
22
24
|
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23
25
|
open: "open";
|
|
24
|
-
close: "close";
|
|
25
26
|
high: "high";
|
|
26
27
|
low: "low";
|
|
28
|
+
close: "close";
|
|
27
29
|
}>>>;
|
|
28
30
|
timestamp_gt: z.ZodOptional<z.ZodString>;
|
|
29
31
|
timestamp_lt: z.ZodOptional<z.ZodString>;
|
|
@@ -46,33 +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: "day" | "minute" | "hour" | "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" | "close" | "high" | "low" | 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<"polygon_io", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>;
|
|
51
|
+
declare const polygonIoGetOptionsRsi: AppAction<typeof PolygonIoGetOptionsRsiInput, typeof PolygonIoGetOptionsRsiOutput, typeof polygonIo.credential>;
|
|
76
52
|
//#endregion
|
|
77
53
|
export { polygonIoGetOptionsRsi };
|
|
78
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,SAAS;CAChJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAChK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ;CAC3L,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACtM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;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-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":"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"}
|
|
@@ -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
|
|
@@ -11,9 +13,9 @@ declare const PolygonIoGetOptionsSmaInput: z.ZodObject<{
|
|
|
11
13
|
window: z.ZodNumber;
|
|
12
14
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
15
|
timespan: z.ZodEnum<{
|
|
14
|
-
day: "day";
|
|
15
16
|
minute: "minute";
|
|
16
17
|
hour: "hour";
|
|
18
|
+
day: "day";
|
|
17
19
|
week: "week";
|
|
18
20
|
month: "month";
|
|
19
21
|
quarter: "quarter";
|
|
@@ -22,9 +24,9 @@ declare const PolygonIoGetOptionsSmaInput: z.ZodObject<{
|
|
|
22
24
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
23
25
|
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
24
26
|
open: "open";
|
|
25
|
-
close: "close";
|
|
26
27
|
high: "high";
|
|
27
28
|
low: "low";
|
|
29
|
+
close: "close";
|
|
28
30
|
}>>>;
|
|
29
31
|
timestamp_gt: z.ZodOptional<z.ZodString>;
|
|
30
32
|
timestamp_lt: z.ZodOptional<z.ZodString>;
|
|
@@ -57,34 +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: "day" | "minute" | "hour" | "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" | "close" | "high" | "low" | 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<"polygon_io", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
82
|
-
connectionId: z.ZodString;
|
|
83
|
-
entityId: z.ZodString;
|
|
84
|
-
instanceId: z.ZodString;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>;
|
|
62
|
+
declare const polygonIoGetOptionsSma: AppAction<typeof PolygonIoGetOptionsSmaInput, typeof PolygonIoGetOptionsSmaOutput, typeof polygonIo.credential>;
|
|
88
63
|
//#endregion
|
|
89
64
|
export { polygonIoGetOptionsSma };
|
|
90
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
|
|
@@ -11,9 +13,9 @@ declare const PolygonIoGetOptionsSmaInput: z.ZodObject<{
|
|
|
11
13
|
window: z.ZodNumber;
|
|
12
14
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
15
|
timespan: z.ZodEnum<{
|
|
14
|
-
day: "day";
|
|
15
16
|
minute: "minute";
|
|
16
17
|
hour: "hour";
|
|
18
|
+
day: "day";
|
|
17
19
|
week: "week";
|
|
18
20
|
month: "month";
|
|
19
21
|
quarter: "quarter";
|
|
@@ -22,9 +24,9 @@ declare const PolygonIoGetOptionsSmaInput: z.ZodObject<{
|
|
|
22
24
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
23
25
|
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
24
26
|
open: "open";
|
|
25
|
-
close: "close";
|
|
26
27
|
high: "high";
|
|
27
28
|
low: "low";
|
|
29
|
+
close: "close";
|
|
28
30
|
}>>>;
|
|
29
31
|
timestamp_gt: z.ZodOptional<z.ZodString>;
|
|
30
32
|
timestamp_lt: z.ZodOptional<z.ZodString>;
|
|
@@ -57,34 +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: "day" | "minute" | "hour" | "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" | "close" | "high" | "low" | 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<"polygon_io", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
82
|
-
connectionId: z.ZodString;
|
|
83
|
-
entityId: z.ZodString;
|
|
84
|
-
instanceId: z.ZodString;
|
|
85
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
86
|
-
generic_api_key: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>]>;
|
|
62
|
+
declare const polygonIoGetOptionsSma: AppAction<typeof PolygonIoGetOptionsSmaInput, typeof PolygonIoGetOptionsSmaOutput, typeof polygonIo.credential>;
|
|
88
63
|
//#endregion
|
|
89
64
|
export { polygonIoGetOptionsSma };
|
|
90
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":"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"}
|
|
@@ -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,21 +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<"polygon_io", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const polygonIoGetRelatedCompanies: AppAction<typeof PolygonIoGetRelatedCompaniesInput, typeof PolygonIoGetRelatedCompaniesOutput, typeof polygonIo.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { polygonIoGetRelatedCompanies };
|
|
32
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,21 +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<"polygon_io", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"polygon_io", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const polygonIoGetRelatedCompanies: AppAction<typeof PolygonIoGetRelatedCompaniesInput, typeof PolygonIoGetRelatedCompaniesOutput, typeof polygonIo.credential>;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { polygonIoGetRelatedCompanies };
|
|
32
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Maximum number of results to return (1-5000). Defaults to 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order of results. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"Lookback window for RSI calculation (must be \\u001e1). Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use adjusted values (splits/dividends). Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the time window (e.g., 'day', 'minute', 'hour').\"),\n timestamp: z.number().int().describe(\"Return results before this timestamp (ms since epoch).\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"Price field to use for calculation. Defaults to 'close'.\").optional(),\n stock_ticker: z.string().describe(\"The stock ticker symbol (e.g., 'AAPL').\"),\n timestampLimit: z.number().int().describe(\"Return results after this timestamp (ms since epoch).\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for a stock ticker.\");\nconst PolygonIoGetRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"Computed RSI value at this timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the RSI value.\").nullable(),\n}).passthrough();\nconst PolygonIoGetRsi_UnderlyingInfoSchema = z.object({\n url: z.string().describe(\"URL used to fetch the underlying aggregates data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetRsi_RSIValueSchema).describe(\"List of RSI values and corresponding timestamps.\").nullable().optional(),\n underlying: PolygonIoGetRsi_UnderlyingInfoSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetRsiOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of RSI results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRsi = action(\"POLYGON_IO_GET_RSI\", {\n slug: \"polygon_io-get-rsi\",\n name: \"Get RSI\",\n description: \"Tool to retrieve the Relative Strength Index (RSI) for a stock ticker. Use after confirming ticker symbol and timespan to analyze momentum over a period.\",\n input: PolygonIoGetRsiInput,\n output: PolygonIoGetRsiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-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 PolygonIoGetRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Maximum number of results to return (1-5000). Defaults to 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order of results. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(14).describe(\"Lookback window for RSI calculation (must be \\u001e1). Defaults to 14.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether to use adjusted values (splits/dividends). Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the time window (e.g., 'day', 'minute', 'hour').\"),\n timestamp: z.number().int().describe(\"Return results before this timestamp (ms since epoch).\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"Price field to use for calculation. Defaults to 'close'.\").optional(),\n stock_ticker: z.string().describe(\"The stock ticker symbol (e.g., 'AAPL').\"),\n timestampLimit: z.number().int().describe(\"Return results after this timestamp (ms since epoch).\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for a stock ticker.\");\nconst PolygonIoGetRsi_RSIValueSchema = z.object({\n value: z.number().describe(\"Computed RSI value at this timestamp.\").nullable(),\n timestamp: z.number().int().describe(\"UNIX timestamp in milliseconds for the RSI value.\").nullable(),\n}).passthrough();\nconst PolygonIoGetRsi_UnderlyingInfoSchema = z.object({\n url: z.string().describe(\"URL used to fetch the underlying aggregates data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetRsi_RSIValueSchema).describe(\"List of RSI values and corresponding timestamps.\").nullable().optional(),\n underlying: PolygonIoGetRsi_UnderlyingInfoSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetRsiOutput = z.object({\n status: z.string().describe(\"Status of the request (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of RSI results, if available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonIoGetRsi: AppAction<\n typeof PolygonIoGetRsiInput,\n typeof PolygonIoGetRsiOutput,\n typeof polygonIo.credential\n> = action(\"POLYGON_IO_GET_RSI\", {\n slug: \"polygon_io-get-rsi\",\n name: \"Get RSI\",\n description: \"Tool to retrieve the Relative Strength Index (RSI) for a stock ticker. Use after confirming ticker symbol and timespan to analyze momentum over a period.\",\n input: PolygonIoGetRsiInput,\n output: PolygonIoGetRsiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mEAAwE,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,uCAAuCA,IAAAA,EAAE,OAAO,EACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|