@keystrokehq/polygon_io 0.1.2 → 0.1.4
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/actions/get-all-tickers.cjs +2 -2
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +2 -2
- package/dist/actions/get-all-tickers.d.mts +2 -2
- package/dist/actions/get-all-tickers.mjs +2 -2
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +2 -2
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +2 -2
- package/dist/actions/get-condition-codes.d.mts +2 -2
- package/dist/actions/get-condition-codes.mjs +2 -2
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +5 -5
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +5 -5
- package/dist/actions/get-crypto-ema.d.mts +5 -5
- package/dist/actions/get-crypto-ema.mjs +5 -5
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +4 -4
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +4 -4
- package/dist/actions/get-crypto-macd.d.mts +4 -4
- package/dist/actions/get-crypto-macd.mjs +4 -4
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +2 -2
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +3 -3
- package/dist/actions/get-crypto-open-close.d.mts +3 -3
- package/dist/actions/get-crypto-open-close.mjs +2 -2
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +4 -4
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +4 -4
- package/dist/actions/get-crypto-rsi.d.mts +4 -4
- package/dist/actions/get-crypto-rsi.mjs +4 -4
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +4 -4
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +4 -4
- package/dist/actions/get-crypto-sma.d.mts +4 -4
- package/dist/actions/get-crypto-sma.mjs +4 -4
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-daily-open-close.cjs +1 -1
- package/dist/actions/get-daily-open-close.cjs.map +1 -1
- package/dist/actions/get-daily-open-close.d.cts +1 -1
- package/dist/actions/get-daily-open-close.d.mts +1 -1
- package/dist/actions/get-daily-open-close.mjs +1 -1
- package/dist/actions/get-daily-open-close.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +2 -2
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +2 -2
- package/dist/actions/get-dividends.d.mts +2 -2
- package/dist/actions/get-dividends.mjs +2 -2
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation2.cjs +2 -2
- package/dist/actions/get-economy-inflation2.cjs.map +1 -1
- package/dist/actions/get-economy-inflation2.d.cts +2 -2
- package/dist/actions/get-economy-inflation2.d.mts +2 -2
- package/dist/actions/get-economy-inflation2.mjs +2 -2
- package/dist/actions/get-economy-inflation2.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +5 -5
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +5 -5
- package/dist/actions/get-ema.d.mts +5 -5
- package/dist/actions/get-ema.mjs +5 -5
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +2 -2
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +2 -2
- package/dist/actions/get-filing-file.d.mts +2 -2
- package/dist/actions/get-filing-file.mjs +2 -2
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +3 -3
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +3 -3
- package/dist/actions/get-filing.d.mts +3 -3
- package/dist/actions/get-filing.mjs +3 -3
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +5 -5
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +5 -5
- package/dist/actions/get-forex-ema.d.mts +5 -5
- package/dist/actions/get-forex-ema.mjs +5 -5
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +4 -4
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +4 -4
- package/dist/actions/get-forex-macd.d.mts +4 -4
- package/dist/actions/get-forex-macd.mjs +4 -4
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
- package/dist/actions/get-forex-rsi.cjs +4 -4
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +4 -4
- package/dist/actions/get-forex-rsi.d.mts +4 -4
- package/dist/actions/get-forex-rsi.mjs +4 -4
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +5 -5
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +5 -5
- package/dist/actions/get-forex-sma.d.mts +5 -5
- package/dist/actions/get-forex-sma.mjs +5 -5
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +2 -2
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +2 -2
- package/dist/actions/get-futures-quotes.d.mts +2 -2
- package/dist/actions/get-futures-quotes.mjs +2 -2
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-grouped-daily.cjs +2 -2
- package/dist/actions/get-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-grouped-daily.d.cts +2 -2
- package/dist/actions/get-grouped-daily.d.mts +2 -2
- package/dist/actions/get-grouped-daily.mjs +2 -2
- package/dist/actions/get-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +2 -2
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +2 -2
- package/dist/actions/get-historic-forex-ticks.d.mts +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
- package/dist/actions/get-inflation-expectations.cjs +2 -2
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +2 -2
- package/dist/actions/get-inflation-expectations.d.mts +2 -2
- package/dist/actions/get-inflation-expectations.mjs +2 -2
- package/dist/actions/get-inflation-expectations.mjs.map +1 -1
- package/dist/actions/get-ipo-data.cjs +2 -2
- package/dist/actions/get-ipo-data.cjs.map +1 -1
- package/dist/actions/get-ipo-data.d.cts +2 -2
- package/dist/actions/get-ipo-data.d.mts +2 -2
- package/dist/actions/get-ipo-data.mjs +2 -2
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-labor-market.cjs +2 -2
- package/dist/actions/get-labor-market.cjs.map +1 -1
- package/dist/actions/get-labor-market.d.cts +2 -2
- package/dist/actions/get-labor-market.d.mts +2 -2
- package/dist/actions/get-labor-market.mjs +2 -2
- package/dist/actions/get-labor-market.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +4 -4
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +4 -4
- package/dist/actions/get-macd.d.mts +4 -4
- package/dist/actions/get-macd.mjs +4 -4
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-holidays.cjs +2 -2
- package/dist/actions/get-market-holidays.cjs.map +1 -1
- package/dist/actions/get-market-holidays.d.cts +2 -2
- package/dist/actions/get-market-holidays.d.mts +2 -2
- package/dist/actions/get-market-holidays.mjs +2 -2
- package/dist/actions/get-market-holidays.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +4 -4
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +4 -4
- package/dist/actions/get-market-status.d.mts +4 -4
- package/dist/actions/get-market-status.mjs +4 -4
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-news.cjs +3 -3
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +3 -3
- package/dist/actions/get-news.d.mts +3 -3
- package/dist/actions/get-news.mjs +3 -3
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +3 -3
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +3 -3
- package/dist/actions/get-options-contract-overview.d.mts +3 -3
- package/dist/actions/get-options-contract-overview.mjs +3 -3
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +5 -5
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +5 -5
- package/dist/actions/get-options-ema.d.mts +5 -5
- package/dist/actions/get-options-ema.mjs +5 -5
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +4 -4
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +4 -4
- package/dist/actions/get-options-macd.d.mts +4 -4
- package/dist/actions/get-options-macd.mjs +4 -4
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +4 -4
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +4 -4
- package/dist/actions/get-options-rsi.d.mts +4 -4
- package/dist/actions/get-options-rsi.mjs +4 -4
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +5 -5
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +5 -5
- package/dist/actions/get-options-sma.d.mts +5 -5
- package/dist/actions/get-options-sma.mjs +5 -5
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +2 -2
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +2 -2
- package/dist/actions/get-related-companies.d.mts +2 -2
- package/dist/actions/get-related-companies.mjs +2 -2
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +4 -4
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +4 -4
- package/dist/actions/get-rsi.d.mts +4 -4
- package/dist/actions/get-rsi.mjs +4 -4
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +4 -4
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +4 -4
- package/dist/actions/get-sma.d.mts +4 -4
- package/dist/actions/get-sma.mjs +4 -4
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +2 -2
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +2 -2
- package/dist/actions/get-splits.d.mts +2 -2
- package/dist/actions/get-splits.mjs +2 -2
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +2 -2
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +2 -2
- package/dist/actions/get-stocks-custom-bars.d.mts +2 -2
- package/dist/actions/get-stocks-custom-bars.mjs +2 -2
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.d.mts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.cjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.cts +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.d.mts +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.mjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.cjs +2 -2
- package/dist/actions/get-stocks-filings-sections.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.cts +2 -2
- package/dist/actions/get-stocks-filings-sections.d.mts +2 -2
- package/dist/actions/get-stocks-filings-sections.mjs +2 -2
- package/dist/actions/get-stocks-filings-sections.mjs.map +1 -1
- package/dist/actions/get-stocks-free-float.cjs +2 -2
- package/dist/actions/get-stocks-free-float.cjs.map +1 -1
- package/dist/actions/get-stocks-free-float.d.cts +2 -2
- package/dist/actions/get-stocks-free-float.d.mts +2 -2
- package/dist/actions/get-stocks-free-float.mjs +2 -2
- package/dist/actions/get-stocks-free-float.mjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.cjs +6 -6
- package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.cts +7 -7
- package/dist/actions/get-stocks-full-market-snapshot.d.mts +7 -7
- package/dist/actions/get-stocks-full-market-snapshot.mjs +6 -6
- package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.cjs +5 -5
- package/dist/actions/get-stocks-income-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.cts +26 -26
- package/dist/actions/get-stocks-income-statements.d.mts +26 -26
- package/dist/actions/get-stocks-income-statements.mjs +5 -5
- package/dist/actions/get-stocks-income-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.cjs +2 -2
- package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.cts +2 -2
- package/dist/actions/get-stocks-previous-day-bar.d.mts +2 -2
- package/dist/actions/get-stocks-previous-day-bar.mjs +2 -2
- package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +2 -2
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.cjs +2 -2
- package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.cts +2 -2
- package/dist/actions/get-stocks-v1-dividends.d.mts +2 -2
- package/dist/actions/get-stocks-v1-dividends.mjs +2 -2
- package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.cjs +2 -2
- package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.cts +2 -2
- package/dist/actions/get-stocks-v1-short-interest.d.mts +2 -2
- package/dist/actions/get-stocks-v1-short-interest.mjs +2 -2
- package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.cjs +2 -2
- package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.cts +2 -2
- package/dist/actions/get-stocks-v1-short-volume.d.mts +2 -2
- package/dist/actions/get-stocks-v1-short-volume.mjs +2 -2
- package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.cjs +2 -2
- package/dist/actions/get-stocks-v1-splits.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.cts +2 -2
- package/dist/actions/get-stocks-v1-splits.d.mts +2 -2
- package/dist/actions/get-stocks-v1-splits.mjs +2 -2
- package/dist/actions/get-stocks-v1-splits.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +4 -4
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +4 -4
- package/dist/actions/get-ticker-events.d.mts +4 -4
- package/dist/actions/get-ticker-events.mjs +4 -4
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-overview.cjs +4 -4
- package/dist/actions/get-ticker-overview.cjs.map +1 -1
- package/dist/actions/get-ticker-overview.d.cts +4 -4
- package/dist/actions/get-ticker-overview.d.mts +4 -4
- package/dist/actions/get-ticker-overview.mjs +4 -4
- package/dist/actions/get-ticker-overview.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +2 -2
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +2 -2
- package/dist/actions/get-ticker-types.d.mts +2 -2
- package/dist/actions/get-ticker-types.mjs +2 -2
- package/dist/actions/get-ticker-types.mjs.map +1 -1
- package/dist/actions/get-treasury-yields.cjs +2 -2
- package/dist/actions/get-treasury-yields.cjs.map +1 -1
- package/dist/actions/get-treasury-yields.d.cts +2 -2
- package/dist/actions/get-treasury-yields.d.mts +2 -2
- package/dist/actions/get-treasury-yields.mjs +2 -2
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +2 -2
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +2 -2
- package/dist/actions/list-exchanges.d.mts +2 -2
- package/dist/actions/list-exchanges.mjs +2 -2
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +2 -2
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +2 -2
- package/dist/actions/list-filing-files.d.mts +2 -2
- package/dist/actions/list-filing-files.mjs +2 -2
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-filings.cjs +4 -4
- package/dist/actions/list-filings.cjs.map +1 -1
- package/dist/actions/list-filings.d.cts +4 -4
- package/dist/actions/list-filings.d.mts +4 -4
- package/dist/actions/list-filings.mjs +4 -4
- package/dist/actions/list-filings.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +3 -3
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +3 -3
- package/dist/actions/list-options-contracts.d.mts +3 -3
- package/dist/actions/list-options-contracts.mjs +3 -3
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +2 -2
- 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 +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -32,18 +32,18 @@ const PolygonIoGetForexRsiInput = zod.z.object({
|
|
|
32
32
|
const PolygonIoGetForexRsi_RSIValueSchema = zod.z.object({
|
|
33
33
|
value: zod.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(),
|
|
34
34
|
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
35
|
-
});
|
|
36
|
-
const PolygonIoGetForexRsi_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() });
|
|
35
|
+
}).passthrough();
|
|
36
|
+
const PolygonIoGetForexRsi_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() }).passthrough();
|
|
37
37
|
const PolygonIoGetForexRsi_RSIResultsSchema = zod.z.object({
|
|
38
38
|
values: zod.z.array(PolygonIoGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
|
|
39
39
|
underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional()
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const PolygonIoGetForexRsiOutput = zod.z.object({
|
|
42
42
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
|
|
43
43
|
results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),
|
|
44
44
|
next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
45
45
|
request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const polygonIoGetForexRsi = require_action.action("POLYGON_IO_GET_FOREX_RSI", {
|
|
48
48
|
slug: "polygon_io-get-forex-rsi",
|
|
49
49
|
name: "Get Forex RSI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").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().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexRsi_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});\nconst PolygonIoGetForexRsi_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});\nconst PolygonIoGetForexRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_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});\n\nexport const polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.\",\n input: PolygonIoGetForexRsiInput,\n output: PolygonIoGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAA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C,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CACtM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").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().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexRsi_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 PolygonIoGetForexRsi_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 PolygonIoGetForexRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_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 polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overb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ACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -38,14 +38,14 @@ declare const PolygonIoGetForexRsiOutput: z.ZodObject<{
|
|
|
38
38
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
value: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
url: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const polygonIoGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
window: number;
|
|
51
51
|
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -38,14 +38,14 @@ declare const PolygonIoGetForexRsiOutput: z.ZodObject<{
|
|
|
38
38
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
value: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
url: z.ZodNullable<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
45
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
46
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>;
|
|
49
49
|
declare const polygonIoGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
50
50
|
window: number;
|
|
51
51
|
timespan: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -32,12 +32,12 @@ const PolygonIoGetForexRsiInput = z.object({
|
|
|
32
32
|
const PolygonIoGetForexRsi_RSIValueSchema = z.object({
|
|
33
33
|
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(),
|
|
34
34
|
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
35
|
-
});
|
|
36
|
-
const PolygonIoGetForexRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() });
|
|
35
|
+
}).passthrough();
|
|
36
|
+
const PolygonIoGetForexRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable() }).passthrough();
|
|
37
37
|
const PolygonIoGetForexRsi_RSIResultsSchema = z.object({
|
|
38
38
|
values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
|
|
39
39
|
underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional()
|
|
40
|
-
});
|
|
40
|
+
}).passthrough();
|
|
41
41
|
const polygonIoGetForexRsi = action("POLYGON_IO_GET_FOREX_RSI", {
|
|
42
42
|
slug: "polygon_io-get-forex-rsi",
|
|
43
43
|
name: "Get Forex RSI",
|
|
@@ -48,7 +48,7 @@ const polygonIoGetForexRsi = action("POLYGON_IO_GET_FOREX_RSI", {
|
|
|
48
48
|
results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),
|
|
49
49
|
next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
50
50
|
request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
51
|
-
})
|
|
51
|
+
}).passthrough()
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { polygonIoGetForexRsi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-rsi.mjs","names":[],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").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().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexRsi_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});\nconst PolygonIoGetForexRsi_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});\nconst PolygonIoGetForexRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_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});\n\nexport const polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.\",\n input: PolygonIoGetForexRsiInput,\n output: PolygonIoGetForexRsiOutput,\n});\n"],"mappings":";;;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AAO;CACnD,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;
|
|
1
|
+
{"version":3,"file":"get-forex-rsi.mjs","names":[],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").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().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexRsi_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 PolygonIoGetForexRsi_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 PolygonIoGetForexRsi_RSIResultsSchema = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexRsiOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_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 polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.\",\n input: PolygonIoGetForexRsiInput,\n output: PolygonIoGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE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AAgK,CAAC,CAAC,SAAS;CACtM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO,EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAY,sCAAsC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ const PolygonIoGetForexSmaInput = zod.z.object({
|
|
|
32
32
|
const PolygonIoGetForexSma_SMAValueSchema = zod.z.object({
|
|
33
33
|
value: zod.z.number().describe("The SMA indicator value for this period.").nullable(),
|
|
34
34
|
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const PolygonIoGetForexSma_AggregateBarSchema = zod.z.object({
|
|
37
37
|
c: zod.z.number().describe("The close price for the aggregate window.").nullable().optional(),
|
|
38
38
|
h: zod.z.number().describe("The high price for the aggregate window.").nullable().optional(),
|
|
@@ -42,21 +42,21 @@ const PolygonIoGetForexSma_AggregateBarSchema = zod.z.object({
|
|
|
42
42
|
t: zod.z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
|
|
43
43
|
v: zod.z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
|
|
44
44
|
vw: zod.z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
|
|
45
|
-
});
|
|
45
|
+
}).passthrough();
|
|
46
46
|
const PolygonIoGetForexSma_UnderlyingDataSchema = zod.z.object({
|
|
47
47
|
url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable().optional(),
|
|
48
48
|
aggregates: zod.z.array(PolygonIoGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
|
|
49
|
-
});
|
|
49
|
+
}).passthrough();
|
|
50
50
|
const PolygonIoGetForexSma_SMAResultsSchema = zod.z.object({
|
|
51
51
|
values: zod.z.array(PolygonIoGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
|
|
52
52
|
underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional()
|
|
53
|
-
});
|
|
53
|
+
}).passthrough();
|
|
54
54
|
const PolygonIoGetForexSmaOutput = zod.z.object({
|
|
55
55
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
|
|
56
56
|
results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),
|
|
57
57
|
next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
58
58
|
request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
59
|
-
});
|
|
59
|
+
}).passthrough();
|
|
60
60
|
const polygonIoGetForexSma = require_action.action("POLYGON_IO_GET_FOREX_SMA", {
|
|
61
61
|
slug: "polygon_io-get-forex-sma",
|
|
62
62
|
name: "Get Forex SMA",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Defaults to 10. Maximum is 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(50).describe(\"The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.\").optional(),\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\"]).default(\"day\").describe(\"The size of the aggregate time window. Defaults to 'day'.\").optional(),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The SMA indicator 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});\nconst PolygonIoGetForexSma_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});\nconst PolygonIoGetForexSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonIoGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetForexSma = action(\"POLYGON_IO_GET_FOREX_SMA\", {\n slug: \"polygon_io-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonIoGetForexSmaInput,\n output: PolygonIoGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC9N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvM,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACrJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAClJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC/J,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Defaults to 10. Maximum is 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(50).describe(\"The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.\").optional(),\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\"]).default(\"day\").describe(\"The size of the aggregate time window. Defaults to 'day'.\").optional(),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The SMA indicator 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 PolygonIoGetForexSma_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 PolygonIoGetForexSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexSma_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 polygonIoGetForexSma = action(\"POLYGON_IO_GET_FOREX_SMA\", {\n slug: \"polygon_io-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonIoGetForexSmaInput,\n output: PolygonIoGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -38,7 +38,7 @@ declare const PolygonIoGetForexSmaOutput: z.ZodObject<{
|
|
|
38
38
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
value: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -50,12 +50,12 @@ declare const PolygonIoGetForexSmaOutput: z.ZodObject<{
|
|
|
50
50
|
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
51
|
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>>;
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
56
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const polygonIoGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
forex_ticker: string;
|
|
61
61
|
limit?: number | undefined;
|
|
@@ -38,7 +38,7 @@ declare const PolygonIoGetForexSmaOutput: z.ZodObject<{
|
|
|
38
38
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
39
|
value: z.ZodNullable<z.ZodNumber>;
|
|
40
40
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
44
|
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -50,12 +50,12 @@ declare const PolygonIoGetForexSmaOutput: z.ZodObject<{
|
|
|
50
50
|
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
51
|
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
52
52
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>>;
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
56
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const polygonIoGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
forex_ticker: string;
|
|
61
61
|
limit?: number | undefined;
|
|
@@ -32,7 +32,7 @@ const PolygonIoGetForexSmaInput = z.object({
|
|
|
32
32
|
const PolygonIoGetForexSma_SMAValueSchema = z.object({
|
|
33
33
|
value: z.number().describe("The SMA indicator value for this period.").nullable(),
|
|
34
34
|
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
35
|
-
});
|
|
35
|
+
}).passthrough();
|
|
36
36
|
const PolygonIoGetForexSma_AggregateBarSchema = z.object({
|
|
37
37
|
c: z.number().describe("The close price for the aggregate window.").nullable().optional(),
|
|
38
38
|
h: z.number().describe("The high price for the aggregate window.").nullable().optional(),
|
|
@@ -42,15 +42,15 @@ const PolygonIoGetForexSma_AggregateBarSchema = z.object({
|
|
|
42
42
|
t: z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
|
|
43
43
|
v: z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
|
|
44
44
|
vw: z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
|
|
45
|
-
});
|
|
45
|
+
}).passthrough();
|
|
46
46
|
const PolygonIoGetForexSma_UnderlyingDataSchema = z.object({
|
|
47
47
|
url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable().optional(),
|
|
48
48
|
aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
|
|
49
|
-
});
|
|
49
|
+
}).passthrough();
|
|
50
50
|
const PolygonIoGetForexSma_SMAResultsSchema = z.object({
|
|
51
51
|
values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
|
|
52
52
|
underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional()
|
|
53
|
-
});
|
|
53
|
+
}).passthrough();
|
|
54
54
|
const polygonIoGetForexSma = action("POLYGON_IO_GET_FOREX_SMA", {
|
|
55
55
|
slug: "polygon_io-get-forex-sma",
|
|
56
56
|
name: "Get Forex SMA",
|
|
@@ -61,7 +61,7 @@ const polygonIoGetForexSma = action("POLYGON_IO_GET_FOREX_SMA", {
|
|
|
61
61
|
results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),
|
|
62
62
|
next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
63
63
|
request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
64
|
-
})
|
|
64
|
+
}).passthrough()
|
|
65
65
|
});
|
|
66
66
|
//#endregion
|
|
67
67
|
export { polygonIoGetForexSma };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-sma.mjs","names":[],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Defaults to 10. Maximum is 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(50).describe(\"The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.\").optional(),\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\"]).default(\"day\").describe(\"The size of the aggregate time window. Defaults to 'day'.\").optional(),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The SMA indicator 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});\nconst PolygonIoGetForexSma_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});\nconst PolygonIoGetForexSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonIoGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetForexSma = action(\"POLYGON_IO_GET_FOREX_SMA\", {\n slug: \"polygon_io-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonIoGetForexSmaInput,\n output: PolygonIoGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC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AACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-sma.mjs","names":[],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexSmaInput = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Defaults to 10. Maximum is 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(50).describe(\"The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.\").optional(),\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\"]).default(\"day\").describe(\"The size of the aggregate time window. Defaults to 'day'.\").optional(),\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 forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\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 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 a forex pair.\");\nconst PolygonIoGetForexSma_SMAValueSchema = z.object({\n value: z.number().describe(\"The SMA indicator 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 PolygonIoGetForexSma_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 PolygonIoGetForexSma_UnderlyingDataSchema = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexSma_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 polygonIoGetForexSma = action(\"POLYGON_IO_GET_FOREX_SMA\", {\n slug: \"polygon_io-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonIoGetForexSmaInput,\n output: PolygonIoGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC9N,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvM,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,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9K,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,mIAAmI;CACrK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACrJ,gBAAgB,EAAE,OA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,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,YAAY,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -21,14 +21,14 @@ const PolygonIoGetFuturesQuotes_FuturesQuoteSchema = zod.z.object({
|
|
|
21
21
|
sip_timestamp: zod.z.number().int().describe("The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.").nullable().optional(),
|
|
22
22
|
sequence_number: zod.z.number().int().describe("The sequence number of this quote.").nullable().optional(),
|
|
23
23
|
participant_timestamp: zod.z.number().int().describe("The participant timestamp in Unix milliseconds or nanoseconds.").nullable().optional()
|
|
24
|
-
}).describe("Individual futures quote containing bid/ask data.");
|
|
24
|
+
}).passthrough().describe("Individual futures quote containing bid/ask data.");
|
|
25
25
|
const PolygonIoGetFuturesQuotesOutput = zod.z.object({
|
|
26
26
|
count: zod.z.number().int().describe("The number of results returned in this response.").nullable().optional(),
|
|
27
27
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
|
|
28
28
|
results: zod.z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe("An array of quote objects.").nullable().optional(),
|
|
29
29
|
next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
30
30
|
request_id: zod.z.string().describe("A unique identifier for the request.").nullable().optional()
|
|
31
|
-
}).describe("Response containing futures quote data with bid/ask information.");
|
|
31
|
+
}).passthrough().describe("Response containing futures quote data with bid/ask information.");
|
|
32
32
|
const polygonIoGetFuturesQuotes = require_action.action("POLYGON_IO_GET_FUTURES_QUOTES", {
|
|
33
33
|
slug: "polygon_io-get-futures-quotes",
|
|
34
34
|
name: "Get Futures Quotes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-quotes.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFuturesQuotesInput = z.object({\n sort: z.string().describe(\"Sort field used for ordering results. Use dotted notation (e.g., 'timestamp', 'ticker').\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned per page. Default: 1000, Maximum: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field. 'asc' for ascending, 'desc' for descending.\").optional(),\n timestamp: z.string().describe(\"Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.\").optional(),\n futures_ticker: z.string().describe(\"The futures contract ticker symbol including base symbol and contract expiration (e.g., 'GCJ25' for Gold April 2025, 'ESZ5' for E-mini S&P 500 December 2025).\"),\n}).describe(\"Parameters for retrieving futures quote data.\");\nconst PolygonIoGetFuturesQuotes_FuturesQuoteSchema = z.object({\n tape: z.number().int().describe(\"The tape where this quote was recorded.\").nullable().optional(),\n ask_size: z.number().describe(\"The ask size. This represents the number of futures contracts available at the given ask price.\").nullable().optional(),\n bid_size: z.number().describe(\"The bid size. This represents the number of futures contracts available at the given bid price.\").nullable().optional(),\n ask_price: z.number().describe(\"The ask price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n bid_price: z.number().describe(\"The bid price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n conditions: z.array(z.number().int()).describe(\"An array of condition codes for this quote.\").nullable().optional(),\n indicators: z.array(z.number().int()).describe(\"An array of indicator values for this quote.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"The exchange ID where the ask quote originated.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"The exchange ID where the bid quote originated.\").nullable().optional(),\n sip_timestamp: z.number().int().describe(\"The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n sequence_number: z.number().int().describe(\"The sequence number of this quote.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"The participant timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n}).describe(\"Individual futures quote containing bid/ask data.\");\nexport const PolygonIoGetFuturesQuotesOutput = z.object({\n count: z.number().int().describe(\"The number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe(\"An array of quote objects.\").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 unique identifier for the request.\").nullable().optional(),\n}).describe(\"Response containing futures quote data with bid/ask information.\");\n\nexport const polygonIoGetFuturesQuotes = action(\"POLYGON_IO_GET_FUTURES_QUOTES\", {\n slug: \"polygon_io-get-futures-quotes\",\n name: \"Get Futures Quotes\",\n description: \"Tool to get real-time quote information for futures contracts with bid/ask prices, sizes, and timestamps. Use when you need to analyze current or historical quote data for futures trading decisions.\",\n input: PolygonIoGetFuturesQuotesInput,\n output: PolygonIoGetFuturesQuotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACzI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACtM,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"get-futures-quotes.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFuturesQuotesInput = z.object({\n sort: z.string().describe(\"Sort field used for ordering results. Use dotted notation (e.g., 'timestamp', 'ticker').\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned per page. Default: 1000, Maximum: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field. 'asc' for ascending, 'desc' for descending.\").optional(),\n timestamp: z.string().describe(\"Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.\").optional(),\n futures_ticker: z.string().describe(\"The futures contract ticker symbol including base symbol and contract expiration (e.g., 'GCJ25' for Gold April 2025, 'ESZ5' for E-mini S&P 500 December 2025).\"),\n}).describe(\"Parameters for retrieving futures quote data.\");\nconst PolygonIoGetFuturesQuotes_FuturesQuoteSchema = z.object({\n tape: z.number().int().describe(\"The tape where this quote was recorded.\").nullable().optional(),\n ask_size: z.number().describe(\"The ask size. This represents the number of futures contracts available at the given ask price.\").nullable().optional(),\n bid_size: z.number().describe(\"The bid size. This represents the number of futures contracts available at the given bid price.\").nullable().optional(),\n ask_price: z.number().describe(\"The ask price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n bid_price: z.number().describe(\"The bid price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n conditions: z.array(z.number().int()).describe(\"An array of condition codes for this quote.\").nullable().optional(),\n indicators: z.array(z.number().int()).describe(\"An array of indicator values for this quote.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"The exchange ID where the ask quote originated.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"The exchange ID where the bid quote originated.\").nullable().optional(),\n sip_timestamp: z.number().int().describe(\"The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n sequence_number: z.number().int().describe(\"The sequence number of this quote.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"The participant timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n}).passthrough().describe(\"Individual futures quote containing bid/ask data.\");\nexport const PolygonIoGetFuturesQuotesOutput = z.object({\n count: z.number().int().describe(\"The number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe(\"An array of quote objects.\").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 unique identifier for the request.\").nullable().optional(),\n}).passthrough().describe(\"Response containing futures quote data with bid/ask information.\");\n\nexport const polygonIoGetFuturesQuotes = action(\"POLYGON_IO_GET_FUTURES_QUOTES\", {\n slug: \"polygon_io-get-futures-quotes\",\n name: \"Get Futures Quotes\",\n description: \"Tool to get real-time quote information for futures contracts with bid/ask prices, sizes, and timestamps. Use when you need to analyze current or historical quote data for futures trading decisions.\",\n input: PolygonIoGetFuturesQuotesInput,\n output: PolygonIoGetFuturesQuotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACzI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACtM,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,C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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,10 +27,10 @@ declare const PolygonIoGetFuturesQuotesOutput: z.ZodObject<{
|
|
|
27
27
|
sip_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
sequence_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
participant_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const polygonIoGetFuturesQuotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
futures_ticker: string;
|
|
36
36
|
sort?: string | undefined;
|
|
@@ -27,10 +27,10 @@ declare const PolygonIoGetFuturesQuotesOutput: z.ZodObject<{
|
|
|
27
27
|
sip_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
sequence_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
participant_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const polygonIoGetFuturesQuotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
futures_ticker: string;
|
|
36
36
|
sort?: string | undefined;
|
|
@@ -21,7 +21,7 @@ const PolygonIoGetFuturesQuotes_FuturesQuoteSchema = z.object({
|
|
|
21
21
|
sip_timestamp: z.number().int().describe("The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.").nullable().optional(),
|
|
22
22
|
sequence_number: z.number().int().describe("The sequence number of this quote.").nullable().optional(),
|
|
23
23
|
participant_timestamp: z.number().int().describe("The participant timestamp in Unix milliseconds or nanoseconds.").nullable().optional()
|
|
24
|
-
}).describe("Individual futures quote containing bid/ask data.");
|
|
24
|
+
}).passthrough().describe("Individual futures quote containing bid/ask data.");
|
|
25
25
|
const polygonIoGetFuturesQuotes = action("POLYGON_IO_GET_FUTURES_QUOTES", {
|
|
26
26
|
slug: "polygon_io-get-futures-quotes",
|
|
27
27
|
name: "Get Futures Quotes",
|
|
@@ -33,7 +33,7 @@ const polygonIoGetFuturesQuotes = action("POLYGON_IO_GET_FUTURES_QUOTES", {
|
|
|
33
33
|
results: z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe("An array of quote objects.").nullable().optional(),
|
|
34
34
|
next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
35
35
|
request_id: z.string().describe("A unique identifier for the request.").nullable().optional()
|
|
36
|
-
}).describe("Response containing futures quote data with bid/ask information.")
|
|
36
|
+
}).passthrough().describe("Response containing futures quote data with bid/ask information.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { polygonIoGetFuturesQuotes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-quotes.mjs","names":[],"sources":["../../src/actions/get-futures-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFuturesQuotesInput = z.object({\n sort: z.string().describe(\"Sort field used for ordering results. Use dotted notation (e.g., 'timestamp', 'ticker').\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned per page. Default: 1000, Maximum: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field. 'asc' for ascending, 'desc' for descending.\").optional(),\n timestamp: z.string().describe(\"Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.\").optional(),\n futures_ticker: z.string().describe(\"The futures contract ticker symbol including base symbol and contract expiration (e.g., 'GCJ25' for Gold April 2025, 'ESZ5' for E-mini S&P 500 December 2025).\"),\n}).describe(\"Parameters for retrieving futures quote data.\");\nconst PolygonIoGetFuturesQuotes_FuturesQuoteSchema = z.object({\n tape: z.number().int().describe(\"The tape where this quote was recorded.\").nullable().optional(),\n ask_size: z.number().describe(\"The ask size. This represents the number of futures contracts available at the given ask price.\").nullable().optional(),\n bid_size: z.number().describe(\"The bid size. This represents the number of futures contracts available at the given bid price.\").nullable().optional(),\n ask_price: z.number().describe(\"The ask price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n bid_price: z.number().describe(\"The bid price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n conditions: z.array(z.number().int()).describe(\"An array of condition codes for this quote.\").nullable().optional(),\n indicators: z.array(z.number().int()).describe(\"An array of indicator values for this quote.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"The exchange ID where the ask quote originated.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"The exchange ID where the bid quote originated.\").nullable().optional(),\n sip_timestamp: z.number().int().describe(\"The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n sequence_number: z.number().int().describe(\"The sequence number of this quote.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"The participant timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n}).describe(\"Individual futures quote containing bid/ask data.\");\nexport const PolygonIoGetFuturesQuotesOutput = z.object({\n count: z.number().int().describe(\"The number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe(\"An array of quote objects.\").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 unique identifier for the request.\").nullable().optional(),\n}).describe(\"Response containing futures quote data with bid/ask information.\");\n\nexport const polygonIoGetFuturesQuotes = action(\"POLYGON_IO_GET_FUTURES_QUOTES\", {\n slug: \"polygon_io-get-futures-quotes\",\n name: \"Get Futures Quotes\",\n description: \"Tool to get real-time quote information for futures contracts with bid/ask prices, sizes, and timestamps. Use when you need to analyze current or historical quote data for futures trading decisions.\",\n input: PolygonIoGetFuturesQuotesInput,\n output: PolygonIoGetFuturesQuotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS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AAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"get-futures-quotes.mjs","names":[],"sources":["../../src/actions/get-futures-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFuturesQuotesInput = z.object({\n sort: z.string().describe(\"Sort field used for ordering results. Use dotted notation (e.g., 'timestamp', 'ticker').\").optional(),\n limit: z.number().int().describe(\"Limit the number of results returned per page. Default: 1000, Maximum: 50000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order results based on the sort field. 'asc' for ascending, 'desc' for descending.\").optional(),\n timestamp: z.string().describe(\"Query by trade timestamp. Either a date with the format YYYY-MM-DD or a nanosecond timestamp.\").optional(),\n futures_ticker: z.string().describe(\"The futures contract ticker symbol including base symbol and contract expiration (e.g., 'GCJ25' for Gold April 2025, 'ESZ5' for E-mini S&P 500 December 2025).\"),\n}).describe(\"Parameters for retrieving futures quote data.\");\nconst PolygonIoGetFuturesQuotes_FuturesQuoteSchema = z.object({\n tape: z.number().int().describe(\"The tape where this quote was recorded.\").nullable().optional(),\n ask_size: z.number().describe(\"The ask size. This represents the number of futures contracts available at the given ask price.\").nullable().optional(),\n bid_size: z.number().describe(\"The bid size. This represents the number of futures contracts available at the given bid price.\").nullable().optional(),\n ask_price: z.number().describe(\"The ask price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n bid_price: z.number().describe(\"The bid price for the futures contract. Expressed per unit of the underlying asset.\").nullable().optional(),\n conditions: z.array(z.number().int()).describe(\"An array of condition codes for this quote.\").nullable().optional(),\n indicators: z.array(z.number().int()).describe(\"An array of indicator values for this quote.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"The exchange ID where the ask quote originated.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"The exchange ID where the bid quote originated.\").nullable().optional(),\n sip_timestamp: z.number().int().describe(\"The SIP (Securities Information Processor) timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n sequence_number: z.number().int().describe(\"The sequence number of this quote.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"The participant timestamp in Unix milliseconds or nanoseconds.\").nullable().optional(),\n}).passthrough().describe(\"Individual futures quote containing bid/ask data.\");\nexport const PolygonIoGetFuturesQuotesOutput = z.object({\n count: z.number().int().describe(\"The number of results returned in this response.\").nullable().optional(),\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: z.array(PolygonIoGetFuturesQuotes_FuturesQuoteSchema).describe(\"An array of quote objects.\").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 unique identifier for the request.\").nullable().optional(),\n}).passthrough().describe(\"Response containing futures quote data with bid/ask information.\");\n\nexport const polygonIoGetFuturesQuotes = action(\"POLYGON_IO_GET_FUTURES_QUOTES\", {\n slug: \"polygon_io-get-futures-quotes\",\n name: \"Get Futures Quotes\",\n description: \"Tool to get real-time quote information for futures contracts with bid/ask prices, sizes, and timestamps. Use when you need to analyze current or historical quote data for futures trading decisions.\",\n input: PolygonIoGetFuturesQuotesInput,\n output: PolygonIoGetFuturesQuotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,oFAAoF,CA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C1J,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAS7E,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,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,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ const PolygonIoGetGroupedDaily_AggregateItemSchema = zod.z.object({
|
|
|
22
22
|
v: zod.z.number().describe("Trading volume of the symbol in the given time period").nullable(),
|
|
23
23
|
vw: zod.z.number().describe("Volume weighted average price (VWAP)").nullable().optional(),
|
|
24
24
|
otc: zod.z.boolean().describe("Whether this aggregate is for an OTC ticker. Field is omitted if false.").nullable().optional()
|
|
25
|
-
}).describe("Aggregate OHLCV data for a single ticker.");
|
|
25
|
+
}).passthrough().describe("Aggregate OHLCV data for a single ticker.");
|
|
26
26
|
const PolygonIoGetGroupedDailyOutput = zod.z.object({
|
|
27
27
|
status: zod.z.string().describe("Status of this request's response (e.g., 'OK')").nullable(),
|
|
28
28
|
results: zod.z.array(PolygonIoGetGroupedDaily_AggregateItemSchema).describe("Array of aggregate data objects for each ticker. May be empty if no data is available for the given date.").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const PolygonIoGetGroupedDailyOutput = zod.z.object({
|
|
|
30
30
|
queryCount: zod.z.number().int().describe("Number of aggregates used to generate the response").nullable(),
|
|
31
31
|
request_id: zod.z.string().describe("Request ID assigned by the server").nullable(),
|
|
32
32
|
resultsCount: zod.z.number().int().describe("Total number of results for this request").nullable()
|
|
33
|
-
}).describe("Response containing grouped daily bars for the entire market.");
|
|
33
|
+
}).passthrough().describe("Response containing grouped daily bars for the entire market.");
|
|
34
34
|
const polygonIoGetGroupedDaily = require_action.action("POLYGON_IO_GET_GROUPED_DAILY", {
|
|
35
35
|
slug: "polygon_io-get-grouped-daily",
|
|
36
36
|
name: "Get Grouped Daily Market Summary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-grouped-daily.cjs","names":["z","action"],"sources":["../../src/actions/get-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetGroupedDailyInput = z.object({\n date: z.string().describe(\"The date to get aggregate bars for in YYYY-MM-DD format (e.g., '2026-02-13').\"),\n locale: z.enum([\"us\", \"global\"]).describe(\"The locale of the aggregates. Specify 'us' for US market or 'global' for global markets.\"),\n market: z.enum([\"stocks\", \"crypto\", \"fx\"]).describe(\"The market type. Options are 'stocks', 'crypto', or 'fx'.\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted results. Defaults to true.\").optional(),\n}).describe(\"Parameters for retrieving grouped daily OHLCV data for an entire market.\");\nconst PolygonIoGetGroupedDaily_AggregateItemSchema = z.object({\n T: z.string().describe(\"Ticker symbol / exchange symbol\").nullable(),\n c: z.number().describe(\"Close price for the symbol in the given time period\").nullable(),\n h: z.number().describe(\"Highest price for the symbol in the given time period\").nullable(),\n l: z.number().describe(\"Lowest price for the symbol in the given time period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the symbol in the given time period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the end of the aggregate window\").nullable(),\n v: z.number().describe(\"Trading volume of the symbol in the given time period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price (VWAP)\").nullable().optional(),\n otc: z.boolean().describe(\"Whether this aggregate is for an OTC ticker. Field is omitted if false.\").nullable().optional(),\n}).describe(\"Aggregate OHLCV data for a single ticker.\");\nexport const PolygonIoGetGroupedDailyOutput = z.object({\n status: z.string().describe(\"Status of this request's response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonIoGetGroupedDaily_AggregateItemSchema).describe(\"Array of aggregate data objects for each ticker. May be empty if no data is available for the given date.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether this response was adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for this request\").nullable(),\n}).describe(\"Response containing grouped daily bars for the entire market.\");\n\nexport const polygonIoGetGroupedDaily = action(\"POLYGON_IO_GET_GROUPED_DAILY\", {\n slug: \"polygon_io-get-grouped-daily\",\n name: \"Get Grouped Daily Market Summary\",\n description: \"Tool to retrieve daily OHLCV data for the entire market for a given date. Use when you need grouped daily aggregate bars for all tickers in a specific market (stocks, crypto, or fx) and locale.\",\n input: PolygonIoGetGroupedDailyInput,\n output: PolygonIoGetGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;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C,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-grouped-daily.cjs","names":["z","action"],"sources":["../../src/actions/get-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetGroupedDailyInput = z.object({\n date: z.string().describe(\"The date to get aggregate bars for in YYYY-MM-DD format (e.g., '2026-02-13').\"),\n locale: z.enum([\"us\", \"global\"]).describe(\"The locale of the aggregates. Specify 'us' for US market or 'global' for global markets.\"),\n market: z.enum([\"stocks\", \"crypto\", \"fx\"]).describe(\"The market type. Options are 'stocks', 'crypto', or 'fx'.\"),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits. Set to false for unadjusted results. Defaults to true.\").optional(),\n}).describe(\"Parameters for retrieving grouped daily OHLCV data for an entire market.\");\nconst PolygonIoGetGroupedDaily_AggregateItemSchema = z.object({\n T: z.string().describe(\"Ticker symbol / exchange symbol\").nullable(),\n c: z.number().describe(\"Close price for the symbol in the given time period\").nullable(),\n h: z.number().describe(\"Highest price for the symbol in the given time period\").nullable(),\n l: z.number().describe(\"Lowest price for the symbol in the given time period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the symbol in the given time period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the end of the aggregate window\").nullable(),\n v: z.number().describe(\"Trading volume of the symbol in the given time period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price (VWAP)\").nullable().optional(),\n otc: z.boolean().describe(\"Whether this aggregate is for an OTC ticker. Field is omitted if false.\").nullable().optional(),\n}).passthrough().describe(\"Aggregate OHLCV data for a single ticker.\");\nexport const PolygonIoGetGroupedDailyOutput = z.object({\n status: z.string().describe(\"Status of this request's response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonIoGetGroupedDaily_AggregateItemSchema).describe(\"Array of aggregate data objects for each ticker. May be empty if no data is available for the given date.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether this response was adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate the response\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for this request\").nullable(),\n}).passthrough().describe(\"Response containing grouped daily bars for the entire market.\");\n\nexport const polygonIoGetGroupedDaily = action(\"POLYGON_IO_GET_GROUPED_DAILY\", {\n slug: \"polygon_io-get-grouped-daily\",\n name: \"Get Grouped Daily Market Summary\",\n description: \"Tool to retrieve daily OHLCV data for the entire market for a given date. Use when you need grouped daily aggregate bars for all tickers in a specific market (stocks, crypto, or fx) and locale.\",\n input: PolygonIoGetGroupedDailyInput,\n output: PolygonIoGetGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,QAAQA,IAAAA,EAAE,KAAK,CAAC,MAAM,QAAQ,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACpI,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;CAAI,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAC/G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD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C,CAAC,SAAS,+DAA+D;AAEzF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,12 +27,12 @@ declare const PolygonIoGetGroupedDailyOutput: z.ZodObject<{
|
|
|
27
27
|
v: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
otc: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
32
32
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
33
33
|
request_id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const polygonIoGetGroupedDaily: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
date: string;
|
|
38
38
|
locale: "us" | "global";
|
|
@@ -27,12 +27,12 @@ declare const PolygonIoGetGroupedDailyOutput: z.ZodObject<{
|
|
|
27
27
|
v: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
29
|
otc: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
32
32
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
33
33
|
request_id: z.ZodNullable<z.ZodString>;
|
|
34
34
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const polygonIoGetGroupedDaily: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
date: string;
|
|
38
38
|
locale: "us" | "global";
|