@keystrokehq/polygon 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-aggregates.cjs +2 -2
- package/dist/actions/get-aggregates.cjs.map +1 -1
- package/dist/actions/get-aggregates.d.cts +2 -2
- package/dist/actions/get-aggregates.d.mts +2 -2
- package/dist/actions/get-aggregates.mjs +2 -2
- package/dist/actions/get-aggregates.mjs.map +1 -1
- 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-aggregates.cjs +2 -2
- package/dist/actions/get-crypto-aggregates.cjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.d.cts +4 -4
- package/dist/actions/get-crypto-aggregates.d.mts +4 -4
- package/dist/actions/get-crypto-aggregates.mjs +2 -2
- package/dist/actions/get-crypto-aggregates.mjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.cjs +4 -4
- package/dist/actions/get-crypto-all-tickers.cjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.d.cts +6 -6
- package/dist/actions/get-crypto-all-tickers.d.mts +6 -6
- package/dist/actions/get-crypto-all-tickers.mjs +4 -4
- package/dist/actions/get-crypto-all-tickers.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-grouped-daily.cjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.d.cts +2 -2
- package/dist/actions/get-crypto-grouped-daily.d.mts +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.cjs +2 -2
- package/dist/actions/get-crypto-last-trade.cjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.d.cts +2 -2
- package/dist/actions/get-crypto-last-trade.d.mts +2 -2
- package/dist/actions/get-crypto-last-trade.mjs +2 -2
- package/dist/actions/get-crypto-last-trade.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 +1 -1
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +1 -1
- package/dist/actions/get-crypto-open-close.mjs +1 -1
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.cjs +2 -2
- package/dist/actions/get-crypto-prev-close.cjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.d.cts +2 -2
- package/dist/actions/get-crypto-prev-close.d.mts +2 -2
- package/dist/actions/get-crypto-prev-close.mjs +2 -2
- package/dist/actions/get-crypto-prev-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-crypto-ticker-book.cjs +4 -4
- package/dist/actions/get-crypto-ticker-book.cjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.d.cts +6 -6
- package/dist/actions/get-crypto-ticker-book.d.mts +6 -6
- package/dist/actions/get-crypto-ticker-book.mjs +4 -4
- package/dist/actions/get-crypto-ticker-book.mjs.map +1 -1
- package/dist/actions/get-crypto-trades.cjs +2 -2
- package/dist/actions/get-crypto-trades.cjs.map +1 -1
- package/dist/actions/get-crypto-trades.d.cts +2 -2
- package/dist/actions/get-crypto-trades.d.mts +2 -2
- package/dist/actions/get-crypto-trades.mjs +2 -2
- package/dist/actions/get-crypto-trades.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-inflation.cjs +2 -2
- package/dist/actions/get-economy-inflation.cjs.map +1 -1
- package/dist/actions/get-economy-inflation.d.cts +2 -2
- package/dist/actions/get-economy-inflation.d.mts +2 -2
- package/dist/actions/get-economy-inflation.mjs +2 -2
- package/dist/actions/get-economy-inflation.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 +1 -1
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +1 -1
- package/dist/actions/get-filing-file.d.mts +1 -1
- package/dist/actions/get-filing-file.mjs +1 -1
- 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-aggregates.cjs +2 -2
- package/dist/actions/get-forex-aggregates.cjs.map +1 -1
- package/dist/actions/get-forex-aggregates.d.cts +4 -4
- package/dist/actions/get-forex-aggregates.d.mts +4 -4
- package/dist/actions/get-forex-aggregates.mjs +2 -2
- package/dist/actions/get-forex-aggregates.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-grouped-daily.cjs +2 -2
- package/dist/actions/get-forex-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.d.cts +2 -2
- package/dist/actions/get-forex-grouped-daily.d.mts +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.cjs +2 -2
- package/dist/actions/get-forex-historical-quotes.cjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.d.cts +2 -2
- package/dist/actions/get-forex-historical-quotes.d.mts +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs.map +1 -1
- package/dist/actions/get-forex-locales.cjs +2 -2
- package/dist/actions/get-forex-locales.cjs.map +1 -1
- package/dist/actions/get-forex-locales.d.cts +2 -2
- package/dist/actions/get-forex-locales.d.mts +2 -2
- package/dist/actions/get-forex-locales.mjs +2 -2
- package/dist/actions/get-forex-locales.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-prev-close.cjs +2 -2
- package/dist/actions/get-forex-prev-close.cjs.map +1 -1
- package/dist/actions/get-forex-prev-close.d.cts +2 -2
- package/dist/actions/get-forex-prev-close.d.mts +2 -2
- package/dist/actions/get-forex-prev-close.mjs +2 -2
- package/dist/actions/get-forex-prev-close.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-forex-snapshot-losers.cjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-forex-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-forex-snapshot-losers.mjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-futures-aggregates.cjs +2 -2
- package/dist/actions/get-futures-aggregates.cjs.map +1 -1
- package/dist/actions/get-futures-aggregates.d.cts +2 -2
- package/dist/actions/get-futures-aggregates.d.mts +2 -2
- package/dist/actions/get-futures-aggregates.mjs +2 -2
- package/dist/actions/get-futures-aggregates.mjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.cjs +3 -3
- package/dist/actions/get-futures-product-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.d.cts +3 -3
- package/dist/actions/get-futures-product-schedules.d.mts +3 -3
- package/dist/actions/get-futures-product-schedules.mjs +3 -3
- package/dist/actions/get-futures-product-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-products.cjs +2 -2
- package/dist/actions/get-futures-products.cjs.map +1 -1
- package/dist/actions/get-futures-products.d.cts +2 -2
- package/dist/actions/get-futures-products.d.mts +2 -2
- package/dist/actions/get-futures-products.mjs +2 -2
- package/dist/actions/get-futures-products.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-futures-schedules.cjs +3 -3
- package/dist/actions/get-futures-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-schedules.d.cts +3 -3
- package/dist/actions/get-futures-schedules.d.mts +3 -3
- package/dist/actions/get-futures-schedules.mjs +3 -3
- package/dist/actions/get-futures-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-trades.cjs +2 -2
- package/dist/actions/get-futures-trades.cjs.map +1 -1
- package/dist/actions/get-futures-trades.d.cts +2 -2
- package/dist/actions/get-futures-trades.d.mts +2 -2
- package/dist/actions/get-futures-trades.mjs +2 -2
- package/dist/actions/get-futures-trades.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-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-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-meta-conditions-by-ticktype.cjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.mjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.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-open-close.cjs +1 -1
- package/dist/actions/get-open-close.cjs.map +1 -1
- package/dist/actions/get-open-close.d.cts +1 -1
- package/dist/actions/get-open-close.d.mts +1 -1
- package/dist/actions/get-open-close.mjs +1 -1
- package/dist/actions/get-open-close.mjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.cjs +7 -7
- package/dist/actions/get-option-chain-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.d.cts +7 -7
- package/dist/actions/get-option-chain-snapshot.d.mts +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs.map +1 -1
- package/dist/actions/get-option-snapshot.cjs +8 -8
- package/dist/actions/get-option-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-snapshot.d.cts +8 -8
- package/dist/actions/get-option-snapshot.d.mts +8 -8
- package/dist/actions/get-option-snapshot.mjs +8 -8
- package/dist/actions/get-option-snapshot.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-custom-bars.cjs +2 -2
- package/dist/actions/get-options-custom-bars.cjs.map +1 -1
- package/dist/actions/get-options-custom-bars.d.cts +4 -4
- package/dist/actions/get-options-custom-bars.d.mts +4 -4
- package/dist/actions/get-options-custom-bars.mjs +2 -2
- package/dist/actions/get-options-custom-bars.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-previous-close.cjs +2 -2
- package/dist/actions/get-previous-close.cjs.map +1 -1
- package/dist/actions/get-previous-close.d.cts +2 -2
- package/dist/actions/get-previous-close.d.mts +2 -2
- package/dist/actions/get-previous-close.mjs +2 -2
- package/dist/actions/get-previous-close.mjs.map +1 -1
- package/dist/actions/get-reference-exchanges.cjs +2 -2
- package/dist/actions/get-reference-exchanges.cjs.map +1 -1
- package/dist/actions/get-reference-exchanges.d.cts +2 -2
- package/dist/actions/get-reference-exchanges.d.mts +2 -2
- package/dist/actions/get-reference-exchanges.mjs +2 -2
- package/dist/actions/get-reference-exchanges.mjs.map +1 -1
- package/dist/actions/get-reference-markets.cjs +2 -2
- package/dist/actions/get-reference-markets.cjs.map +1 -1
- package/dist/actions/get-reference-markets.d.cts +2 -2
- package/dist/actions/get-reference-markets.d.mts +2 -2
- package/dist/actions/get-reference-markets.mjs +2 -2
- package/dist/actions/get-reference-markets.mjs.map +1 -1
- package/dist/actions/get-reference-types.cjs +2 -2
- package/dist/actions/get-reference-types.cjs.map +1 -1
- package/dist/actions/get-reference-types.d.cts +2 -2
- package/dist/actions/get-reference-types.d.mts +2 -2
- package/dist/actions/get-reference-types.mjs +2 -2
- package/dist/actions/get-reference-types.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-risk-categories.cjs +2 -2
- package/dist/actions/get-risk-categories.cjs.map +1 -1
- package/dist/actions/get-risk-categories.d.cts +2 -2
- package/dist/actions/get-risk-categories.d.mts +2 -2
- package/dist/actions/get-risk-categories.mjs +2 -2
- package/dist/actions/get-risk-categories.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-short-interest.cjs +2 -2
- package/dist/actions/get-short-interest.cjs.map +1 -1
- package/dist/actions/get-short-interest.d.cts +2 -2
- package/dist/actions/get-short-interest.d.mts +2 -2
- package/dist/actions/get-short-interest.mjs +2 -2
- package/dist/actions/get-short-interest.mjs.map +1 -1
- package/dist/actions/get-short-volume.cjs +2 -2
- package/dist/actions/get-short-volume.cjs.map +1 -1
- package/dist/actions/get-short-volume.d.cts +2 -2
- package/dist/actions/get-short-volume.d.mts +2 -2
- package/dist/actions/get-short-volume.mjs +2 -2
- package/dist/actions/get-short-volume.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-snapshot-all-tickers.cjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.d.cts +7 -7
- package/dist/actions/get-snapshot-all-tickers.d.mts +7 -7
- package/dist/actions/get-snapshot-all-tickers.mjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -1
- package/dist/actions/get-snapshot-losers.cjs +4 -4
- package/dist/actions/get-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-snapshot-losers.mjs +4 -4
- package/dist/actions/get-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.cjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.d.cts +7 -7
- package/dist/actions/get-snapshot-single-ticker.d.mts +7 -7
- package/dist/actions/get-snapshot-single-ticker.mjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.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-stock-financials.cjs +2 -2
- package/dist/actions/get-stock-financials.cjs.map +1 -1
- package/dist/actions/get-stock-financials.d.cts +2 -2
- package/dist/actions/get-stock-financials.d.mts +2 -2
- package/dist/actions/get-stock-financials.mjs +2 -2
- package/dist/actions/get-stock-financials.mjs.map +1 -1
- package/dist/actions/get-stock-float.cjs +2 -2
- package/dist/actions/get-stock-float.cjs.map +1 -1
- package/dist/actions/get-stock-float.d.cts +2 -2
- package/dist/actions/get-stock-float.d.mts +2 -2
- package/dist/actions/get-stock-float.mjs +2 -2
- package/dist/actions/get-stock-float.mjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.cjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.d.cts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.d.mts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.cjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.d.cts +26 -26
- package/dist/actions/get-stocks-balance-sheets.d.mts +26 -26
- package/dist/actions/get-stocks-balance-sheets.mjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.cjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.d.cts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.d.mts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.mjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.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-technical-indicator-sma.cjs +2 -2
- package/dist/actions/get-technical-indicator-sma.cjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.d.cts +2 -2
- package/dist/actions/get-technical-indicator-sma.d.mts +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs.map +1 -1
- package/dist/actions/get-ticker-company-details.cjs +1 -1
- package/dist/actions/get-ticker-company-details.cjs.map +1 -1
- package/dist/actions/get-ticker-company-details.d.cts +1 -1
- package/dist/actions/get-ticker-company-details.d.mts +1 -1
- package/dist/actions/get-ticker-company-details.mjs +1 -1
- package/dist/actions/get-ticker-company-details.mjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.cjs +4 -4
- package/dist/actions/get-ticker-details-vx.cjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.d.cts +4 -4
- package/dist/actions/get-ticker-details-vx.d.mts +4 -4
- package/dist/actions/get-ticker-details-vx.mjs +4 -4
- package/dist/actions/get-ticker-details-vx.mjs.map +1 -1
- package/dist/actions/get-ticker-details.cjs +4 -4
- package/dist/actions/get-ticker-details.cjs.map +1 -1
- package/dist/actions/get-ticker-details.d.cts +4 -4
- package/dist/actions/get-ticker-details.d.mts +4 -4
- package/dist/actions/get-ticker-details.mjs +4 -4
- package/dist/actions/get-ticker-details.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-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/get-v1-meta-crypto-exchanges.cjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -1
- package/dist/actions/get10-k-sections.cjs +2 -2
- package/dist/actions/get10-k-sections.cjs.map +1 -1
- package/dist/actions/get10-k-sections.d.cts +2 -2
- package/dist/actions/get10-k-sections.d.mts +2 -2
- package/dist/actions/get10-k-sections.mjs +2 -2
- package/dist/actions/get10-k-sections.mjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.d.cts +2 -2
- package/dist/actions/last-quote-for-a-symbol.d.mts +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.cjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.d.cts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.d.mts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.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-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/list-sec-filings.cjs +4 -4
- package/dist/actions/list-sec-filings.cjs.map +1 -1
- package/dist/actions/list-sec-filings.d.cts +4 -4
- package/dist/actions/list-sec-filings.d.mts +4 -4
- package/dist/actions/list-sec-filings.mjs +4 -4
- package/dist/actions/list-sec-filings.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
|
@@ -38,7 +38,7 @@ declare const PolygonGetForexSmaOutput: 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 PolygonGetForexSmaOutput: 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 polygonGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
forex_ticker: string;
|
|
61
61
|
limit?: number | undefined;
|
|
@@ -38,7 +38,7 @@ declare const PolygonGetForexSmaOutput: 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 PolygonGetForexSmaOutput: 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 polygonGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
forex_ticker: string;
|
|
61
61
|
limit?: number | undefined;
|
|
@@ -32,7 +32,7 @@ const PolygonGetForexSmaInput = z.object({
|
|
|
32
32
|
const PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
|
|
49
|
-
});
|
|
49
|
+
}).passthrough();
|
|
50
50
|
const PolygonGetForexSma_SMAResultsSchema = z.object({
|
|
51
51
|
values: z.array(PolygonGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
|
|
52
52
|
underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional()
|
|
53
|
-
});
|
|
53
|
+
}).passthrough();
|
|
54
54
|
const polygonGetForexSma = action("POLYGON_GET_FOREX_SMA", {
|
|
55
55
|
slug: "polygon-get-forex-sma",
|
|
56
56
|
name: "Get Forex SMA",
|
|
@@ -61,7 +61,7 @@ const polygonGetForexSma = action("POLYGON_GET_FOREX_SMA", {
|
|
|
61
61
|
results: PolygonGetForexSma_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 { polygonGetForexSma };
|
|
@@ -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 PolygonGetForexSmaInput = 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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexSma_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 polygonGetForexSma = action(\"POLYGON_GET_FOREX_SMA\", {\n slug: \"polygon-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: PolygonGetForexSmaInput,\n output: PolygonGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,C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AAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;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 PolygonGetForexSmaInput = 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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetForexSma_SMAResultsSchema = z.object({\n values: z.array(PolygonGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetForexSmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexSma_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 polygonGetForexSma = action(\"POLYGON_GET_FOREX_SMA\", {\n slug: \"polygon-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: PolygonGetForexSmaInput,\n output: PolygonGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,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,CAA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ond timestamp for start of period.").nullable(),
|
|
12
12
|
v: zod.z.number().describe("Trading volume during the period.").nullable(),
|
|
13
13
|
vw: zod.z.number().describe("Volume weighted average price for the period.").nullable().optional()
|
|
14
|
-
}).describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
|
|
14
|
+
}).passthrough().describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
|
|
15
15
|
const PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = zod.z.object({
|
|
16
16
|
a: zod.z.number().describe("Ask price").nullable(),
|
|
17
17
|
b: zod.z.number().describe("Bid price").nullable(),
|
|
18
18
|
t: zod.z.number().int().describe("Quote timestamp in Unix milliseconds").nullable(),
|
|
19
19
|
x: zod.z.number().int().describe("Exchange ID of the quote").nullable()
|
|
20
|
-
}).describe("The most recent bid/ask quote for a forex pair.");
|
|
20
|
+
}).passthrough().describe("The most recent bid/ask quote for a forex pair.");
|
|
21
21
|
const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = zod.z.object({
|
|
22
22
|
day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
|
|
23
23
|
fmv: zod.z.number().describe("Fair market value (if available).").nullable().optional(),
|
|
@@ -28,11 +28,11 @@ const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = zod.z.object({
|
|
|
28
28
|
lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),
|
|
29
29
|
todaysChange: zod.z.number().describe("Value change since previous day.").nullable(),
|
|
30
30
|
todaysChangePerc: zod.z.number().describe("Percent change since previous day.").nullable()
|
|
31
|
-
}).describe("Snapshot item representing a forex pair and its snapshot data.");
|
|
31
|
+
}).passthrough().describe("Snapshot item representing a forex pair and its snapshot data.");
|
|
32
32
|
const PolygonGetForexSnapshotLosersOutput = zod.z.object({
|
|
33
33
|
status: zod.z.string().describe("API response status.").nullable(),
|
|
34
34
|
tickers: zod.z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe("List of snapshot items for top forex losers.").nullable().optional()
|
|
35
|
-
}).describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.");
|
|
35
|
+
}).passthrough().describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.");
|
|
36
36
|
const polygonGetForexSnapshotLosers = require_action.action("POLYGON_GET_FOREX_SNAPSHOT_LOSERS", {
|
|
37
37
|
slug: "polygon-get-forex-snapshot-losers",
|
|
38
38
|
name: "Get Forex Snapshot Losers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-snapshot-losers.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({\n a: z.number().describe(\"Ask price\").nullable(),\n b: z.number().describe(\"Bid price\").nullable(),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\").nullable(),\n x: z.number().int().describe(\"Exchange ID of the quote\").nullable(),\n}).describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\").nullable(),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\").nullable(),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\").nullable(),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\").nullable(),\n}).describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput = z.object({\n status: z.string().describe(\"API response status.\").nullable(),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACxK,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
1
|
+
{"version":3,"file":"get-forex-snapshot-losers.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({\n a: z.number().describe(\"Ask price\").nullable(),\n b: z.number().describe(\"Bid price\").nullable(),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\").nullable(),\n x: z.number().int().describe(\"Exchange ID of the quote\").nullable(),\n}).passthrough().describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\").nullable(),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\").nullable(),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\").nullable(),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\").nullable(),\n}).passthrough().describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput = z.object({\n status: z.string().describe(\"API response status.\").nullable(),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACxK,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,GAAGA,IAAAA,EAA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S;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,KAAK,qDAAqD,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,SAAS,qDAAqD,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,WAAW,mDAAmD,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
14
14
|
t: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
v: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
fmv: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
min: z.ZodNullable<z.ZodObject<{
|
|
20
20
|
c: z.ZodNullable<z.ZodNumber>;
|
|
@@ -25,7 +25,7 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
25
25
|
t: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
v: z.ZodNullable<z.ZodNumber>;
|
|
27
27
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
ticker: z.ZodNullable<z.ZodString>;
|
|
30
30
|
prevDay: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
c: z.ZodNullable<z.ZodNumber>;
|
|
@@ -36,18 +36,18 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
36
36
|
t: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
v: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
40
|
updated: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
lastQuote: z.ZodNullable<z.ZodObject<{
|
|
42
42
|
a: z.ZodNullable<z.ZodNumber>;
|
|
43
43
|
b: z.ZodNullable<z.ZodNumber>;
|
|
44
44
|
t: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
x: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
todaysChange: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
todaysChangePerc: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const polygonGetForexSnapshotLosers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { polygonGetForexSnapshotLosers };
|
|
@@ -14,7 +14,7 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
14
14
|
t: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
v: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
fmv: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
19
|
min: z.ZodNullable<z.ZodObject<{
|
|
20
20
|
c: z.ZodNullable<z.ZodNumber>;
|
|
@@ -25,7 +25,7 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
25
25
|
t: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
v: z.ZodNullable<z.ZodNumber>;
|
|
27
27
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
29
|
ticker: z.ZodNullable<z.ZodString>;
|
|
30
30
|
prevDay: z.ZodNullable<z.ZodObject<{
|
|
31
31
|
c: z.ZodNullable<z.ZodNumber>;
|
|
@@ -36,18 +36,18 @@ declare const PolygonGetForexSnapshotLosersOutput: z.ZodObject<{
|
|
|
36
36
|
t: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
v: z.ZodNullable<z.ZodNumber>;
|
|
38
38
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>>;
|
|
40
40
|
updated: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
lastQuote: z.ZodNullable<z.ZodObject<{
|
|
42
42
|
a: z.ZodNullable<z.ZodNumber>;
|
|
43
43
|
b: z.ZodNullable<z.ZodNumber>;
|
|
44
44
|
t: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
x: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
47
|
todaysChange: z.ZodNullable<z.ZodNumber>;
|
|
48
48
|
todaysChangePerc: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const polygonGetForexSnapshotLosers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { polygonGetForexSnapshotLosers };
|
|
@@ -11,13 +11,13 @@ const PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({
|
|
|
11
11
|
t: z.number().int().describe("Unix millisecond timestamp for start of period.").nullable(),
|
|
12
12
|
v: z.number().describe("Trading volume during the period.").nullable(),
|
|
13
13
|
vw: z.number().describe("Volume weighted average price for the period.").nullable().optional()
|
|
14
|
-
}).describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
|
|
14
|
+
}).passthrough().describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
|
|
15
15
|
const PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({
|
|
16
16
|
a: z.number().describe("Ask price").nullable(),
|
|
17
17
|
b: z.number().describe("Bid price").nullable(),
|
|
18
18
|
t: z.number().int().describe("Quote timestamp in Unix milliseconds").nullable(),
|
|
19
19
|
x: z.number().int().describe("Exchange ID of the quote").nullable()
|
|
20
|
-
}).describe("The most recent bid/ask quote for a forex pair.");
|
|
20
|
+
}).passthrough().describe("The most recent bid/ask quote for a forex pair.");
|
|
21
21
|
const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({
|
|
22
22
|
day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
|
|
23
23
|
fmv: z.number().describe("Fair market value (if available).").nullable().optional(),
|
|
@@ -28,7 +28,7 @@ const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({
|
|
|
28
28
|
lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),
|
|
29
29
|
todaysChange: z.number().describe("Value change since previous day.").nullable(),
|
|
30
30
|
todaysChangePerc: z.number().describe("Percent change since previous day.").nullable()
|
|
31
|
-
}).describe("Snapshot item representing a forex pair and its snapshot data.");
|
|
31
|
+
}).passthrough().describe("Snapshot item representing a forex pair and its snapshot data.");
|
|
32
32
|
const polygonGetForexSnapshotLosers = action("POLYGON_GET_FOREX_SNAPSHOT_LOSERS", {
|
|
33
33
|
slug: "polygon-get-forex-snapshot-losers",
|
|
34
34
|
name: "Get Forex Snapshot Losers",
|
|
@@ -37,7 +37,7 @@ const polygonGetForexSnapshotLosers = action("POLYGON_GET_FOREX_SNAPSHOT_LOSERS"
|
|
|
37
37
|
output: z.object({
|
|
38
38
|
status: z.string().describe("API response status.").nullable(),
|
|
39
39
|
tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe("List of snapshot items for top forex losers.").nullable().optional()
|
|
40
|
-
}).describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.")
|
|
40
|
+
}).passthrough().describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { polygonGetForexSnapshotLosers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-snapshot-losers.mjs","names":[],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({\n a: z.number().describe(\"Ask price\").nullable(),\n b: z.number().describe(\"Bid price\").nullable(),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\").nullable(),\n x: z.number().int().describe(\"Exchange ID of the quote\").nullable(),\n}).describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\").nullable(),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\").nullable(),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\").nullable(),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\").nullable(),\n}).describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput = z.object({\n status: z.string().describe(\"API response status.\").nullable(),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACxK,MAAM,uDAAuD,EAAE,OAAO;CACpE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wEAAwE;
|
|
1
|
+
{"version":3,"file":"get-forex-snapshot-losers.mjs","names":[],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({\n c: z.number().describe(\"Close price for the period.\").nullable(),\n h: z.number().describe(\"Highest price for the period.\").nullable(),\n l: z.number().describe(\"Lowest price for the period.\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({\n a: z.number().describe(\"Ask price\").nullable(),\n b: z.number().describe(\"Bid price\").nullable(),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\").nullable(),\n x: z.number().int().describe(\"Exchange ID of the quote\").nullable(),\n}).passthrough().describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\").nullable(),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\").nullable(),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\").nullable(),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\").nullable(),\n}).passthrough().describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput = z.object({\n status: z.string().describe(\"API response status.\").nullable(),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACxK,MAAM,uDAAuD,EAAE,OAAO;CACpE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+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CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -21,12 +21,12 @@ const PolygonGetFuturesAggregates_FutureAggregateBarSchema = zod.z.object({
|
|
|
21
21
|
session_end_date: zod.z.string().describe("Trading date (session end), YYYY-MM-DD").nullable(),
|
|
22
22
|
settlement_price: zod.z.number().describe("Contract settlement price for session").nullable().optional(),
|
|
23
23
|
transaction_count: zod.z.number().int().describe("Number of transactions in the window").nullable()
|
|
24
|
-
}).describe("Single aggregate bar for a futures contract.");
|
|
24
|
+
}).passthrough().describe("Single aggregate bar for a futures contract.");
|
|
25
25
|
const PolygonGetFuturesAggregatesOutput = zod.z.object({
|
|
26
26
|
status: zod.z.string().describe("Response status").nullable(),
|
|
27
27
|
results: zod.z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe("List of aggregate bars for the futures contract").nullable().optional(),
|
|
28
28
|
next_url: zod.z.string().describe("URL for next page of results, if any").nullable().optional()
|
|
29
|
-
}).describe("Response schema for futures aggregates.");
|
|
29
|
+
}).passthrough().describe("Response schema for futures aggregates.");
|
|
30
30
|
const polygonGetFuturesAggregates = require_action.action("POLYGON_GET_FUTURES_AGGREGATES", {
|
|
31
31
|
slug: "polygon-get-futures-aggregates",
|
|
32
32
|
name: "Get Futures Aggregates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-aggregates.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesAggregatesInput = z.object({\n sort: z.string().describe(\"Field and direction for sorting, e.g., 'window_start.asc', 'ticker.desc'\").optional(),\n limit: z.number().int().describe(\"Number of aggregates to return; default 1000, min 1, max 50000\").optional(),\n ticker: z.string().describe(\"Futures contract identifier, e.g., 'GCJ5'\"),\n resolution: z.string().describe(\"Aggregate window size, e.g., '15min', '30sec', '12hour', '7day'\").optional(),\n \"window_start.gte\": z.string().describe(\"Start edge of windows (inclusive), e.g., '2024-01-01' or millisecond timestamp\").optional(),\n \"window_start.lte\": z.string().describe(\"End edge of windows (inclusive), e.g., '2024-01-31' or millisecond timestamp\").optional(),\n}).describe(\"Request schema for GET /futures/v3/aggs/{ticker}.\");\nconst PolygonGetFuturesAggregates_FutureAggregateBarSchema = z.object({\n low: z.number().describe(\"Lowest price for the period\").nullable(),\n high: z.number().describe(\"Highest price for the period\").nullable(),\n open: z.number().describe(\"Opening price for the period\").nullable(),\n close: z.number().describe(\"Closing price for the period\").nullable(),\n ticker: z.string().describe(\"Futures contract ticker\").nullable(),\n volume: z.number().int().describe(\"Number of contracts traded in the window\").nullable(),\n window_start: z.number().int().describe(\"Unix millisecond timestamp for start of window\").nullable(),\n dollar_volume: z.number().describe(\"Total dollar volume in the window\").nullable(),\n session_end_date: z.string().describe(\"Trading date (session end), YYYY-MM-DD\").nullable(),\n settlement_price: z.number().describe(\"Contract settlement price for session\").nullable().optional(),\n transaction_count: z.number().int().describe(\"Number of transactions in the window\").nullable(),\n}).describe(\"Single aggregate bar for a futures contract.\");\nexport const PolygonGetFuturesAggregatesOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe(\"List of aggregate bars for the futures contract\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n}).describe(\"Response schema for futures aggregates.\");\n\nexport const polygonGetFuturesAggregates = action(\"POLYGON_GET_FUTURES_AGGREGATES\", {\n slug: \"polygon-get-futures-aggregates\",\n name: \"Get Futures Aggregates\",\n description: \"Tool to retrieve historical OHLCV aggregates for a futures contract. Use when you need aggregated price and volume data for a futures contract over specified time windows.\",\n input: PolygonGetFuturesAggregatesInput,\n output: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E,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-futures-aggregates.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesAggregatesInput = z.object({\n sort: z.string().describe(\"Field and direction for sorting, e.g., 'window_start.asc', 'ticker.desc'\").optional(),\n limit: z.number().int().describe(\"Number of aggregates to return; default 1000, min 1, max 50000\").optional(),\n ticker: z.string().describe(\"Futures contract identifier, e.g., 'GCJ5'\"),\n resolution: z.string().describe(\"Aggregate window size, e.g., '15min', '30sec', '12hour', '7day'\").optional(),\n \"window_start.gte\": z.string().describe(\"Start edge of windows (inclusive), e.g., '2024-01-01' or millisecond timestamp\").optional(),\n \"window_start.lte\": z.string().describe(\"End edge of windows (inclusive), e.g., '2024-01-31' or millisecond timestamp\").optional(),\n}).describe(\"Request schema for GET /futures/v3/aggs/{ticker}.\");\nconst PolygonGetFuturesAggregates_FutureAggregateBarSchema = z.object({\n low: z.number().describe(\"Lowest price for the period\").nullable(),\n high: z.number().describe(\"Highest price for the period\").nullable(),\n open: z.number().describe(\"Opening price for the period\").nullable(),\n close: z.number().describe(\"Closing price for the period\").nullable(),\n ticker: z.string().describe(\"Futures contract ticker\").nullable(),\n volume: z.number().int().describe(\"Number of contracts traded in the window\").nullable(),\n window_start: z.number().int().describe(\"Unix millisecond timestamp for start of window\").nullable(),\n dollar_volume: z.number().describe(\"Total dollar volume in the window\").nullable(),\n session_end_date: z.string().describe(\"Trading date (session end), YYYY-MM-DD\").nullable(),\n settlement_price: z.number().describe(\"Contract settlement price for session\").nullable().optional(),\n transaction_count: z.number().int().describe(\"Number of transactions in the window\").nullable(),\n}).passthrough().describe(\"Single aggregate bar for a futures contract.\");\nexport const PolygonGetFuturesAggregatesOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe(\"List of aggregate bars for the futures contract\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response schema for futures aggregates.\");\n\nexport const polygonGetFuturesAggregates = action(\"POLYGON_GET_FUTURES_AGGREGATES\", {\n slug: \"polygon-get-futures-aggregates\",\n name: \"Get Futures Aggregates\",\n description: \"Tool to retrieve historical OHLCV aggregates for a futures contract. Use when you need aggregated price and volume data for a futures contract over specified time windows.\",\n input: PolygonGetFuturesAggregatesInput,\n output: PolygonGetFuturesAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,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AS,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,9 +23,9 @@ declare const PolygonGetFuturesAggregatesOutput: z.ZodObject<{
|
|
|
23
23
|
session_end_date: z.ZodNullable<z.ZodString>;
|
|
24
24
|
settlement_price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
transaction_count: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const polygonGetFuturesAggregates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
ticker: string;
|
|
31
31
|
sort?: string | undefined;
|
|
@@ -23,9 +23,9 @@ declare const PolygonGetFuturesAggregatesOutput: z.ZodObject<{
|
|
|
23
23
|
session_end_date: z.ZodNullable<z.ZodString>;
|
|
24
24
|
settlement_price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
transaction_count: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const polygonGetFuturesAggregates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
ticker: string;
|
|
31
31
|
sort?: string | undefined;
|
|
@@ -21,7 +21,7 @@ const PolygonGetFuturesAggregates_FutureAggregateBarSchema = z.object({
|
|
|
21
21
|
session_end_date: z.string().describe("Trading date (session end), YYYY-MM-DD").nullable(),
|
|
22
22
|
settlement_price: z.number().describe("Contract settlement price for session").nullable().optional(),
|
|
23
23
|
transaction_count: z.number().int().describe("Number of transactions in the window").nullable()
|
|
24
|
-
}).describe("Single aggregate bar for a futures contract.");
|
|
24
|
+
}).passthrough().describe("Single aggregate bar for a futures contract.");
|
|
25
25
|
const polygonGetFuturesAggregates = action("POLYGON_GET_FUTURES_AGGREGATES", {
|
|
26
26
|
slug: "polygon-get-futures-aggregates",
|
|
27
27
|
name: "Get Futures Aggregates",
|
|
@@ -31,7 +31,7 @@ const polygonGetFuturesAggregates = action("POLYGON_GET_FUTURES_AGGREGATES", {
|
|
|
31
31
|
status: z.string().describe("Response status").nullable(),
|
|
32
32
|
results: z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe("List of aggregate bars for the futures contract").nullable().optional(),
|
|
33
33
|
next_url: z.string().describe("URL for next page of results, if any").nullable().optional()
|
|
34
|
-
}).describe("Response schema for futures aggregates.")
|
|
34
|
+
}).passthrough().describe("Response schema for futures aggregates.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { polygonGetFuturesAggregates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-aggregates.mjs","names":[],"sources":["../../src/actions/get-futures-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesAggregatesInput = z.object({\n sort: z.string().describe(\"Field and direction for sorting, e.g., 'window_start.asc', 'ticker.desc'\").optional(),\n limit: z.number().int().describe(\"Number of aggregates to return; default 1000, min 1, max 50000\").optional(),\n ticker: z.string().describe(\"Futures contract identifier, e.g., 'GCJ5'\"),\n resolution: z.string().describe(\"Aggregate window size, e.g., '15min', '30sec', '12hour', '7day'\").optional(),\n \"window_start.gte\": z.string().describe(\"Start edge of windows (inclusive), e.g., '2024-01-01' or millisecond timestamp\").optional(),\n \"window_start.lte\": z.string().describe(\"End edge of windows (inclusive), e.g., '2024-01-31' or millisecond timestamp\").optional(),\n}).describe(\"Request schema for GET /futures/v3/aggs/{ticker}.\");\nconst PolygonGetFuturesAggregates_FutureAggregateBarSchema = z.object({\n low: z.number().describe(\"Lowest price for the period\").nullable(),\n high: z.number().describe(\"Highest price for the period\").nullable(),\n open: z.number().describe(\"Opening price for the period\").nullable(),\n close: z.number().describe(\"Closing price for the period\").nullable(),\n ticker: z.string().describe(\"Futures contract ticker\").nullable(),\n volume: z.number().int().describe(\"Number of contracts traded in the window\").nullable(),\n window_start: z.number().int().describe(\"Unix millisecond timestamp for start of window\").nullable(),\n dollar_volume: z.number().describe(\"Total dollar volume in the window\").nullable(),\n session_end_date: z.string().describe(\"Trading date (session end), YYYY-MM-DD\").nullable(),\n settlement_price: z.number().describe(\"Contract settlement price for session\").nullable().optional(),\n transaction_count: z.number().int().describe(\"Number of transactions in the window\").nullable(),\n}).describe(\"Single aggregate bar for a futures contract.\");\nexport const PolygonGetFuturesAggregatesOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe(\"List of aggregate bars for the futures contract\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n}).describe(\"Response schema for futures aggregates.\");\n\nexport const polygonGetFuturesAggregates = action(\"POLYGON_GET_FUTURES_AGGREGATES\", {\n slug: \"polygon-get-futures-aggregates\",\n name: \"Get Futures Aggregates\",\n description: \"Tool to retrieve historical OHLCV aggregates for a futures contract. Use when you need aggregated price and volume data for a futures contract over specified time windows.\",\n input: PolygonGetFuturesAggregatesInput,\n output: PolygonGetFuturesAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,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C,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"get-futures-aggregates.mjs","names":[],"sources":["../../src/actions/get-futures-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesAggregatesInput = z.object({\n sort: z.string().describe(\"Field and direction for sorting, e.g., 'window_start.asc', 'ticker.desc'\").optional(),\n limit: z.number().int().describe(\"Number of aggregates to return; default 1000, min 1, max 50000\").optional(),\n ticker: z.string().describe(\"Futures contract identifier, e.g., 'GCJ5'\"),\n resolution: z.string().describe(\"Aggregate window size, e.g., '15min', '30sec', '12hour', '7day'\").optional(),\n \"window_start.gte\": z.string().describe(\"Start edge of windows (inclusive), e.g., '2024-01-01' or millisecond timestamp\").optional(),\n \"window_start.lte\": z.string().describe(\"End edge of windows (inclusive), e.g., '2024-01-31' or millisecond timestamp\").optional(),\n}).describe(\"Request schema for GET /futures/v3/aggs/{ticker}.\");\nconst PolygonGetFuturesAggregates_FutureAggregateBarSchema = z.object({\n low: z.number().describe(\"Lowest price for the period\").nullable(),\n high: z.number().describe(\"Highest price for the period\").nullable(),\n open: z.number().describe(\"Opening price for the period\").nullable(),\n close: z.number().describe(\"Closing price for the period\").nullable(),\n ticker: z.string().describe(\"Futures contract ticker\").nullable(),\n volume: z.number().int().describe(\"Number of contracts traded in the window\").nullable(),\n window_start: z.number().int().describe(\"Unix millisecond timestamp for start of window\").nullable(),\n dollar_volume: z.number().describe(\"Total dollar volume in the window\").nullable(),\n session_end_date: z.string().describe(\"Trading date (session end), YYYY-MM-DD\").nullable(),\n settlement_price: z.number().describe(\"Contract settlement price for session\").nullable().optional(),\n transaction_count: z.number().int().describe(\"Number of transactions in the window\").nullable(),\n}).passthrough().describe(\"Single aggregate bar for a futures contract.\");\nexport const PolygonGetFuturesAggregatesOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetFuturesAggregates_FutureAggregateBarSchema).describe(\"List of aggregate bars for the futures contract\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response schema for futures aggregates.\");\n\nexport const polygonGetFuturesAggregates = action(\"POLYGON_GET_FUTURES_AGGREGATES\", {\n slug: \"polygon-get-futures-aggregates\",\n name: \"Get Futures Aggregates\",\n description: \"Tool to retrieve historical OHLCV aggregates for a futures contract. Use when you need aggregated price and volume data for a futures contract over specified time windows.\",\n input: PolygonGetFuturesAggregatesInput,\n output: PolygonGetFuturesAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnI,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,uDAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAOxE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const PolygonGetFuturesProductSchedules_ScheduleRecordSchema = zod.z.object({
|
|
|
11
11
|
status: zod.z.string().describe("Status of the trading session (e.g., active, closed).").nullable().optional(),
|
|
12
12
|
trading_venue: zod.z.string().describe("Trading venue (MIC) where the session took place.").nullable().optional(),
|
|
13
13
|
session_end_date: zod.z.string().describe("Date the trading session ended (YYYY-MM-DD, Central Time).").nullable().optional()
|
|
14
|
-
}).describe("Single trading session record for a futures product.");
|
|
14
|
+
}).passthrough().describe("Single trading session record for a futures product.");
|
|
15
15
|
const PolygonGetFuturesProductSchedules_ProductScheduleSchema = zod.z.object({
|
|
16
16
|
schedule: zod.z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe("List of trading session records for this product.").nullable().optional(),
|
|
17
17
|
product_code: zod.z.string().describe("Futures product code for which the schedule applies.").nullable().optional(),
|
|
18
18
|
product_name: zod.z.string().describe("Human-readable name of the futures product.").nullable().optional()
|
|
19
|
-
}).describe("Futures product schedule details.");
|
|
19
|
+
}).passthrough().describe("Futures product schedule details.");
|
|
20
20
|
const PolygonGetFuturesProductSchedulesOutput = zod.z.object({
|
|
21
21
|
error: zod.z.string().describe("Error message returned by the API, if any.").nullable().optional(),
|
|
22
22
|
status: zod.z.string().describe("Response status from API (e.g., 'OK', 'NOT_AUTHORIZED').").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const PolygonGetFuturesProductSchedulesOutput = zod.z.object({
|
|
|
24
24
|
results: zod.z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe("List of schedules for the specified futures product.").nullable().optional(),
|
|
25
25
|
next_url: zod.z.string().describe("URL to fetch the next page of results, if pagination is available.").nullable().optional(),
|
|
26
26
|
request_id: zod.z.string().describe("Server-assigned request identifier.").nullable().optional()
|
|
27
|
-
}).describe("Response schema for futures product trading schedules.");
|
|
27
|
+
}).passthrough().describe("Response schema for futures product trading schedules.");
|
|
28
28
|
const polygonGetFuturesProductSchedules = require_action.action("POLYGON_GET_FUTURES_PRODUCT_SCHEDULES", {
|
|
29
29
|
slug: "polygon-get-futures-product-schedules",
|
|
30
30
|
name: "Get Futures Product Schedules",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-product-schedules.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-product-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesProductSchedulesInput = z.object({\n sort: z.string().describe(\"Sort by field and direction, e.g., 'ticker.asc' or 'name.desc'.\").optional(),\n limit: z.number().int().default(100).describe(\"Results per page (1-1000). Defaults to 100.\").optional(),\n product_code: z.string().describe(\"Futures product code (e.g., 'ES').\"),\n session_end_date: z.string().describe(\"Trading day that the schedule ended (YYYY-MM-DD, Central Time).\").optional(),\n}).describe(\"Request schema for GET /futures/v1/products/{product_code}/schedules\");\nconst PolygonGetFuturesProductSchedules_ScheduleRecordSchema = z.object({\n status: z.string().describe(\"Status of the trading session (e.g., active, closed).\").nullable().optional(),\n trading_venue: z.string().describe(\"Trading venue (MIC) where the session took place.\").nullable().optional(),\n session_end_date: z.string().describe(\"Date the trading session ended (YYYY-MM-DD, Central Time).\").nullable().optional(),\n}).describe(\"Single trading session record for a futures product.\");\nconst PolygonGetFuturesProductSchedules_ProductScheduleSchema = z.object({\n schedule: z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe(\"List of trading session records for this product.\").nullable().optional(),\n product_code: z.string().describe(\"Futures product code for which the schedule applies.\").nullable().optional(),\n product_name: z.string().describe(\"Human-readable name of the futures product.\").nullable().optional(),\n}).describe(\"Futures product schedule details.\");\nexport const PolygonGetFuturesProductSchedulesOutput = z.object({\n error: z.string().describe(\"Error message returned by the API, if any.\").nullable().optional(),\n status: z.string().describe(\"Response status from API (e.g., 'OK', 'NOT_AUTHORIZED').\").nullable().optional(),\n message: z.string().describe(\"Message from the API, often present on error responses.\").nullable().optional(),\n results: z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe(\"List of schedules for the specified futures product.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination is available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).describe(\"Response schema for futures product trading schedules.\");\n\nexport const polygonGetFuturesProductSchedules = action(\"POLYGON_GET_FUTURES_PRODUCT_SCHEDULES\", {\n slug: \"polygon-get-futures-product-schedules\",\n name: \"Get Futures Product Schedules\",\n description: \"Tool to retrieve trading schedules for a futures product. Use when you need daily trading session schedules for a given product code.\",\n input: PolygonGetFuturesProductSchedulesInput,\n output: PolygonGetFuturesProductSchedulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-futures-product-schedules.cjs","names":["z","action"],"sources":["../../src/actions/get-futures-product-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesProductSchedulesInput = z.object({\n sort: z.string().describe(\"Sort by field and direction, e.g., 'ticker.asc' or 'name.desc'.\").optional(),\n limit: z.number().int().default(100).describe(\"Results per page (1-1000). Defaults to 100.\").optional(),\n product_code: z.string().describe(\"Futures product code (e.g., 'ES').\"),\n session_end_date: z.string().describe(\"Trading day that the schedule ended (YYYY-MM-DD, Central Time).\").optional(),\n}).describe(\"Request schema for GET /futures/v1/products/{product_code}/schedules\");\nconst PolygonGetFuturesProductSchedules_ScheduleRecordSchema = z.object({\n status: z.string().describe(\"Status of the trading session (e.g., active, closed).\").nullable().optional(),\n trading_venue: z.string().describe(\"Trading venue (MIC) where the session took place.\").nullable().optional(),\n session_end_date: z.string().describe(\"Date the trading session ended (YYYY-MM-DD, Central Time).\").nullable().optional(),\n}).passthrough().describe(\"Single trading session record for a futures product.\");\nconst PolygonGetFuturesProductSchedules_ProductScheduleSchema = z.object({\n schedule: z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe(\"List of trading session records for this product.\").nullable().optional(),\n product_code: z.string().describe(\"Futures product code for which the schedule applies.\").nullable().optional(),\n product_name: z.string().describe(\"Human-readable name of the futures product.\").nullable().optional(),\n}).passthrough().describe(\"Futures product schedule details.\");\nexport const PolygonGetFuturesProductSchedulesOutput = z.object({\n error: z.string().describe(\"Error message returned by the API, if any.\").nullable().optional(),\n status: z.string().describe(\"Response status from API (e.g., 'OK', 'NOT_AUTHORIZED').\").nullable().optional(),\n message: z.string().describe(\"Message from the API, often present on error responses.\").nullable().optional(),\n results: z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe(\"List of schedules for the specified futures product.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination is available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for futures product trading schedules.\");\n\nexport const polygonGetFuturesProductSchedules = action(\"POLYGON_GET_FUTURES_PRODUCT_SCHEDULES\", {\n slug: \"polygon-get-futures-product-schedules\",\n name: \"Get Futures Product Schedules\",\n description: \"Tool to retrieve trading schedules for a futures product. Use when you need daily trading session schedules for a given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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,13 +16,13 @@ declare const PolygonGetFuturesProductSchedulesOutput: z.ZodObject<{
|
|
|
16
16
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
trading_venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
session_end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
product_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
product_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const polygonGetFuturesProductSchedules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
product_code: string;
|
|
28
28
|
sort?: string | undefined;
|
|
@@ -16,13 +16,13 @@ declare const PolygonGetFuturesProductSchedulesOutput: z.ZodObject<{
|
|
|
16
16
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
trading_venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
session_end_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
product_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
product_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const polygonGetFuturesProductSchedules: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
product_code: string;
|
|
28
28
|
sort?: string | undefined;
|
|
@@ -11,12 +11,12 @@ const PolygonGetFuturesProductSchedules_ScheduleRecordSchema = z.object({
|
|
|
11
11
|
status: z.string().describe("Status of the trading session (e.g., active, closed).").nullable().optional(),
|
|
12
12
|
trading_venue: z.string().describe("Trading venue (MIC) where the session took place.").nullable().optional(),
|
|
13
13
|
session_end_date: z.string().describe("Date the trading session ended (YYYY-MM-DD, Central Time).").nullable().optional()
|
|
14
|
-
}).describe("Single trading session record for a futures product.");
|
|
14
|
+
}).passthrough().describe("Single trading session record for a futures product.");
|
|
15
15
|
const PolygonGetFuturesProductSchedules_ProductScheduleSchema = z.object({
|
|
16
16
|
schedule: z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe("List of trading session records for this product.").nullable().optional(),
|
|
17
17
|
product_code: z.string().describe("Futures product code for which the schedule applies.").nullable().optional(),
|
|
18
18
|
product_name: z.string().describe("Human-readable name of the futures product.").nullable().optional()
|
|
19
|
-
}).describe("Futures product schedule details.");
|
|
19
|
+
}).passthrough().describe("Futures product schedule details.");
|
|
20
20
|
const polygonGetFuturesProductSchedules = action("POLYGON_GET_FUTURES_PRODUCT_SCHEDULES", {
|
|
21
21
|
slug: "polygon-get-futures-product-schedules",
|
|
22
22
|
name: "Get Futures Product Schedules",
|
|
@@ -29,7 +29,7 @@ const polygonGetFuturesProductSchedules = action("POLYGON_GET_FUTURES_PRODUCT_SC
|
|
|
29
29
|
results: z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe("List of schedules for the specified futures product.").nullable().optional(),
|
|
30
30
|
next_url: z.string().describe("URL to fetch the next page of results, if pagination is available.").nullable().optional(),
|
|
31
31
|
request_id: z.string().describe("Server-assigned request identifier.").nullable().optional()
|
|
32
|
-
}).describe("Response schema for futures product trading schedules.")
|
|
32
|
+
}).passthrough().describe("Response schema for futures product trading schedules.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { polygonGetFuturesProductSchedules };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-futures-product-schedules.mjs","names":[],"sources":["../../src/actions/get-futures-product-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesProductSchedulesInput = z.object({\n sort: z.string().describe(\"Sort by field and direction, e.g., 'ticker.asc' or 'name.desc'.\").optional(),\n limit: z.number().int().default(100).describe(\"Results per page (1-1000). Defaults to 100.\").optional(),\n product_code: z.string().describe(\"Futures product code (e.g., 'ES').\"),\n session_end_date: z.string().describe(\"Trading day that the schedule ended (YYYY-MM-DD, Central Time).\").optional(),\n}).describe(\"Request schema for GET /futures/v1/products/{product_code}/schedules\");\nconst PolygonGetFuturesProductSchedules_ScheduleRecordSchema = z.object({\n status: z.string().describe(\"Status of the trading session (e.g., active, closed).\").nullable().optional(),\n trading_venue: z.string().describe(\"Trading venue (MIC) where the session took place.\").nullable().optional(),\n session_end_date: z.string().describe(\"Date the trading session ended (YYYY-MM-DD, Central Time).\").nullable().optional(),\n}).describe(\"Single trading session record for a futures product.\");\nconst PolygonGetFuturesProductSchedules_ProductScheduleSchema = z.object({\n schedule: z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe(\"List of trading session records for this product.\").nullable().optional(),\n product_code: z.string().describe(\"Futures product code for which the schedule applies.\").nullable().optional(),\n product_name: z.string().describe(\"Human-readable name of the futures product.\").nullable().optional(),\n}).describe(\"Futures product schedule details.\");\nexport const PolygonGetFuturesProductSchedulesOutput = z.object({\n error: z.string().describe(\"Error message returned by the API, if any.\").nullable().optional(),\n status: z.string().describe(\"Response status from API (e.g., 'OK', 'NOT_AUTHORIZED').\").nullable().optional(),\n message: z.string().describe(\"Message from the API, often present on error responses.\").nullable().optional(),\n results: z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe(\"List of schedules for the specified futures product.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination is available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).describe(\"Response schema for futures product trading schedules.\");\n\nexport const polygonGetFuturesProductSchedules = action(\"POLYGON_GET_FUTURES_PRODUCT_SCHEDULES\", {\n slug: \"polygon-get-futures-product-schedules\",\n name: \"Get Futures Product Schedules\",\n description: \"Tool to retrieve trading schedules for a futures product. Use when you need daily trading session schedules for a given product code.\",\n input: PolygonGetFuturesProductSchedulesInput,\n output: PolygonGetFuturesProductSchedulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,yDAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"get-futures-product-schedules.mjs","names":[],"sources":["../../src/actions/get-futures-product-schedules.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetFuturesProductSchedulesInput = z.object({\n sort: z.string().describe(\"Sort by field and direction, e.g., 'ticker.asc' or 'name.desc'.\").optional(),\n limit: z.number().int().default(100).describe(\"Results per page (1-1000). Defaults to 100.\").optional(),\n product_code: z.string().describe(\"Futures product code (e.g., 'ES').\"),\n session_end_date: z.string().describe(\"Trading day that the schedule ended (YYYY-MM-DD, Central Time).\").optional(),\n}).describe(\"Request schema for GET /futures/v1/products/{product_code}/schedules\");\nconst PolygonGetFuturesProductSchedules_ScheduleRecordSchema = z.object({\n status: z.string().describe(\"Status of the trading session (e.g., active, closed).\").nullable().optional(),\n trading_venue: z.string().describe(\"Trading venue (MIC) where the session took place.\").nullable().optional(),\n session_end_date: z.string().describe(\"Date the trading session ended (YYYY-MM-DD, Central Time).\").nullable().optional(),\n}).passthrough().describe(\"Single trading session record for a futures product.\");\nconst PolygonGetFuturesProductSchedules_ProductScheduleSchema = z.object({\n schedule: z.array(PolygonGetFuturesProductSchedules_ScheduleRecordSchema).describe(\"List of trading session records for this product.\").nullable().optional(),\n product_code: z.string().describe(\"Futures product code for which the schedule applies.\").nullable().optional(),\n product_name: z.string().describe(\"Human-readable name of the futures product.\").nullable().optional(),\n}).passthrough().describe(\"Futures product schedule details.\");\nexport const PolygonGetFuturesProductSchedulesOutput = z.object({\n error: z.string().describe(\"Error message returned by the API, if any.\").nullable().optional(),\n status: z.string().describe(\"Response status from API (e.g., 'OK', 'NOT_AUTHORIZED').\").nullable().optional(),\n message: z.string().describe(\"Message from the API, often present on error responses.\").nullable().optional(),\n results: z.array(PolygonGetFuturesProductSchedules_ProductScheduleSchema).describe(\"List of schedules for the specified futures product.\").nullable().optional(),\n next_url: z.string().describe(\"URL to fetch the next page of results, if pagination is available.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for futures product trading schedules.\");\n\nexport const polygonGetFuturesProductSchedules = action(\"POLYGON_GET_FUTURES_PRODUCT_SCHEDULES\", {\n slug: \"polygon-get-futures-product-schedules\",\n name: \"Get Futures Product Schedules\",\n description: \"Tool to retrieve trading schedules for a futures product. Use when you need daily trading session schedules for a given product code.\",\n input: PolygonGetFuturesProductSchedulesInput,\n output: PolygonGetFuturesProductSchedulesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,Q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