@keystrokehq/polygon 0.1.2 → 0.1.3
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 +4 -4
- package/dist/actions/get-aggregates.d.mts +4 -4
- 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 +5 -5
- package/dist/actions/get-crypto-aggregates.d.mts +5 -5
- 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 +7 -7
- package/dist/actions/get-crypto-ema.d.mts +7 -7
- 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 +6 -6
- package/dist/actions/get-crypto-rsi.d.mts +6 -6
- 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 +6 -6
- package/dist/actions/get-crypto-sma.d.mts +6 -6
- 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 +5 -5
- package/dist/actions/get-forex-aggregates.d.mts +5 -5
- 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 +7 -7
- package/dist/actions/get-forex-ema.d.mts +7 -7
- 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 +6 -6
- package/dist/actions/get-forex-rsi.d.mts +6 -6
- 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 +7 -7
- package/dist/actions/get-forex-sma.d.mts +7 -7
- 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 +5 -5
- package/dist/actions/get-options-custom-bars.d.mts +5 -5
- 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 +6 -6
- package/dist/actions/get-options-rsi.d.mts +6 -6
- 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 +7 -7
- package/dist/actions/get-options-sma.d.mts +7 -7
- 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 +4 -4
- package/dist/actions/get-stocks-custom-bars.d.mts +4 -4
- 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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-aggregates.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexAggregatesInput = z.object({\n to: z.string().describe(\"End of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n sort: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by timestamp: 'asc' or 'desc'.\").optional(),\n from_: z.string().describe(\"Start of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n limit: z.number().int().describe(\"Max number of base aggregates to query; default is 5000.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits; default is true.\").optional(),\n timespan: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"Size of the time window for each aggregate bar.\"),\n multiplier: z.number().int().describe(\"Size of the timespan multiplier, must be >= 1.\"),\n forex_ticker: z.string().describe(\"Ticker symbol of the currency pair, e.g., 'EURUSD'.\"),\n}).describe(\"Request parameters for forex aggregate bars endpoint.\");\nconst PolygonGetForexAggregates_ForexAggregateBarSchema = 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 window.\").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 window.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).describe(\"Single aggregate bar for a forex currency pair.\");\nexport const PolygonGetForexAggregatesOutput = z.object({\n status: z.string().describe(\"Status of the API response.\").nullable(),\n ticker: z.string().describe(\"The currency pair ticker symbol.\").nullable(),\n results: z.array(PolygonGetForexAggregates_ForexAggregateBarSchema).describe(\"List of aggregate bars. May be empty or absent when no data available.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the response was adjusted for splits.\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate this response.\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server.\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for the request.\").nullable(),\n}).describe(\"Response model for forex aggregate bars.\");\n\nexport const polygonGetForexAggregates = action(\"POLYGON_GET_FOREX_AGGREGATES\", {\n slug: \"polygon-get-forex-aggregates\",\n name: \"Get Forex Aggregates\",\n description: \"Tool to retrieve aggregate bars for a forex pair over a date range. Use when you need custom OHLC bars for forex currency pairs within specified time span.\",\n input: PolygonGetForexAggregatesInput,\n output: PolygonGetForexAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC7F,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,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,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-forex-aggregates.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexAggregatesInput = z.object({\n to: z.string().describe(\"End of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n sort: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by timestamp: 'asc' or 'desc'.\").optional(),\n from_: z.string().describe(\"Start of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n limit: z.number().int().describe(\"Max number of base aggregates to query; default is 5000.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits; default is true.\").optional(),\n timespan: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"Size of the time window for each aggregate bar.\"),\n multiplier: z.number().int().describe(\"Size of the timespan multiplier, must be >= 1.\"),\n forex_ticker: z.string().describe(\"Ticker symbol of the currency pair, e.g., 'EURUSD'.\"),\n}).describe(\"Request parameters for forex aggregate bars endpoint.\");\nconst PolygonGetForexAggregates_ForexAggregateBarSchema = 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 window.\").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 window.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a forex currency pair.\");\nexport const PolygonGetForexAggregatesOutput = z.object({\n status: z.string().describe(\"Status of the API response.\").nullable(),\n ticker: z.string().describe(\"The currency pair ticker symbol.\").nullable(),\n results: z.array(PolygonGetForexAggregates_ForexAggregateBarSchema).describe(\"List of aggregate bars. May be empty or absent when no data available.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the response was adjusted for splits.\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate this response.\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server.\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for the request.\").nullable(),\n}).passthrough().describe(\"Response model for forex aggregate bars.\");\n\nexport const polygonGetForexAggregates = action(\"POLYGON_GET_FOREX_AGGREGATES\", {\n slug: \"polygon-get-forex-aggregates\",\n name: \"Get Forex Aggregates\",\n description: \"Tool to retrieve aggregate bars for a forex pair over a date range. Use when you need custom OHLC bars for forex currency pairs within specified time span.\",\n input: PolygonGetForexAggregatesInput,\n output: PolygonGetForexAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC7F,MAAMA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,14 +11,14 @@ declare const PolygonGetForexAggregatesInput: z.ZodObject<{
|
|
|
11
11
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
13
|
timespan: z.ZodEnum<{
|
|
14
|
-
|
|
14
|
+
day: "day";
|
|
15
15
|
minute: "minute";
|
|
16
16
|
hour: "hour";
|
|
17
|
-
day: "day";
|
|
18
17
|
week: "week";
|
|
19
18
|
month: "month";
|
|
20
19
|
quarter: "quarter";
|
|
21
20
|
year: "year";
|
|
21
|
+
second: "second";
|
|
22
22
|
}>;
|
|
23
23
|
multiplier: z.ZodNumber;
|
|
24
24
|
forex_ticker: z.ZodString;
|
|
@@ -35,16 +35,16 @@ declare const PolygonGetForexAggregatesOutput: z.ZodObject<{
|
|
|
35
35
|
t: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
v: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
40
40
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
request_id: z.ZodNullable<z.ZodString>;
|
|
42
42
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const polygonGetForexAggregates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
to: string;
|
|
46
46
|
from_: string;
|
|
47
|
-
timespan: "
|
|
47
|
+
timespan: "day" | "minute" | "hour" | "week" | "month" | "quarter" | "year" | "second";
|
|
48
48
|
multiplier: number;
|
|
49
49
|
forex_ticker: string;
|
|
50
50
|
sort?: "asc" | "desc" | undefined;
|
|
@@ -11,14 +11,14 @@ declare const PolygonGetForexAggregatesInput: z.ZodObject<{
|
|
|
11
11
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
13
13
|
timespan: z.ZodEnum<{
|
|
14
|
-
|
|
14
|
+
day: "day";
|
|
15
15
|
minute: "minute";
|
|
16
16
|
hour: "hour";
|
|
17
|
-
day: "day";
|
|
18
17
|
week: "week";
|
|
19
18
|
month: "month";
|
|
20
19
|
quarter: "quarter";
|
|
21
20
|
year: "year";
|
|
21
|
+
second: "second";
|
|
22
22
|
}>;
|
|
23
23
|
multiplier: z.ZodNumber;
|
|
24
24
|
forex_ticker: z.ZodString;
|
|
@@ -35,16 +35,16 @@ declare const PolygonGetForexAggregatesOutput: z.ZodObject<{
|
|
|
35
35
|
t: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
v: z.ZodNullable<z.ZodNumber>;
|
|
37
37
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
40
40
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
request_id: z.ZodNullable<z.ZodString>;
|
|
42
42
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const polygonGetForexAggregates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
to: string;
|
|
46
46
|
from_: string;
|
|
47
|
-
timespan: "
|
|
47
|
+
timespan: "day" | "minute" | "hour" | "week" | "month" | "quarter" | "year" | "second";
|
|
48
48
|
multiplier: number;
|
|
49
49
|
forex_ticker: string;
|
|
50
50
|
sort?: "asc" | "desc" | undefined;
|
|
@@ -29,7 +29,7 @@ const PolygonGetForexAggregates_ForexAggregateBarSchema = z.object({
|
|
|
29
29
|
t: z.number().int().describe("Unix millisecond timestamp for start of window.").nullable(),
|
|
30
30
|
v: z.number().describe("Trading volume during the period.").nullable(),
|
|
31
31
|
vw: z.number().describe("Volume weighted average price.").nullable().optional()
|
|
32
|
-
}).describe("Single aggregate bar for a forex currency pair.");
|
|
32
|
+
}).passthrough().describe("Single aggregate bar for a forex currency pair.");
|
|
33
33
|
const polygonGetForexAggregates = action("POLYGON_GET_FOREX_AGGREGATES", {
|
|
34
34
|
slug: "polygon-get-forex-aggregates",
|
|
35
35
|
name: "Get Forex Aggregates",
|
|
@@ -43,7 +43,7 @@ const polygonGetForexAggregates = action("POLYGON_GET_FOREX_AGGREGATES", {
|
|
|
43
43
|
queryCount: z.number().int().describe("Number of aggregates used to generate this response.").nullable(),
|
|
44
44
|
request_id: z.string().describe("Request ID assigned by the server.").nullable(),
|
|
45
45
|
resultsCount: z.number().int().describe("Total number of results for the request.").nullable()
|
|
46
|
-
}).describe("Response model for forex aggregate bars.")
|
|
46
|
+
}).passthrough().describe("Response model for forex aggregate bars.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { polygonGetForexAggregates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-aggregates.mjs","names":[],"sources":["../../src/actions/get-forex-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexAggregatesInput = z.object({\n to: z.string().describe(\"End of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n sort: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by timestamp: 'asc' or 'desc'.\").optional(),\n from_: z.string().describe(\"Start of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n limit: z.number().int().describe(\"Max number of base aggregates to query; default is 5000.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits; default is true.\").optional(),\n timespan: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"Size of the time window for each aggregate bar.\"),\n multiplier: z.number().int().describe(\"Size of the timespan multiplier, must be >= 1.\"),\n forex_ticker: z.string().describe(\"Ticker symbol of the currency pair, e.g., 'EURUSD'.\"),\n}).describe(\"Request parameters for forex aggregate bars endpoint.\");\nconst PolygonGetForexAggregates_ForexAggregateBarSchema = 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 window.\").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 window.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).describe(\"Single aggregate bar for a forex currency pair.\");\nexport const PolygonGetForexAggregatesOutput = z.object({\n status: z.string().describe(\"Status of the API response.\").nullable(),\n ticker: z.string().describe(\"The currency pair ticker symbol.\").nullable(),\n results: z.array(PolygonGetForexAggregates_ForexAggregateBarSchema).describe(\"List of aggregate bars. May be empty or absent when no data available.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the response was adjusted for splits.\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate this response.\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server.\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for the request.\").nullable(),\n}).describe(\"Response model for forex aggregate bars.\");\n\nexport const polygonGetForexAggregates = action(\"POLYGON_GET_FOREX_AGGREGATES\", {\n slug: \"polygon-get-forex-aggregates\",\n name: \"Get Forex Aggregates\",\n description: \"Tool to retrieve aggregate bars for a forex pair over a date range. Use when you need custom OHLC bars for forex currency pairs within specified time span.\",\n input: PolygonGetForexAggregatesInput,\n output: PolygonGetForexAggregatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC7F,MAAM,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACzF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,oDAAoD,EAAE,OAAO;CACjE,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,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"get-forex-aggregates.mjs","names":[],"sources":["../../src/actions/get-forex-aggregates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexAggregatesInput = z.object({\n to: z.string().describe(\"End of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n sort: z.enum([\"asc\", \"desc\"]).describe(\"Sort order by timestamp: 'asc' or 'desc'.\").optional(),\n from_: z.string().describe(\"Start of the aggregate window as YYYY-MM-DD or millisecond timestamp.\"),\n limit: z.number().int().describe(\"Max number of base aggregates to query; default is 5000.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether results are adjusted for splits; default is true.\").optional(),\n timespan: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"Size of the time window for each aggregate bar.\"),\n multiplier: z.number().int().describe(\"Size of the timespan multiplier, must be >= 1.\"),\n forex_ticker: z.string().describe(\"Ticker symbol of the currency pair, e.g., 'EURUSD'.\"),\n}).describe(\"Request parameters for forex aggregate bars endpoint.\");\nconst PolygonGetForexAggregates_ForexAggregateBarSchema = 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 window.\").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 window.\").nullable(),\n v: z.number().describe(\"Trading volume during the period.\").nullable(),\n vw: z.number().describe(\"Volume weighted average price.\").nullable().optional(),\n}).passthrough().describe(\"Single aggregate bar for a forex currency pair.\");\nexport const PolygonGetForexAggregatesOutput = z.object({\n status: z.string().describe(\"Status of the API response.\").nullable(),\n ticker: z.string().describe(\"The currency pair ticker symbol.\").nullable(),\n results: z.array(PolygonGetForexAggregates_ForexAggregateBarSchema).describe(\"List of aggregate bars. May be empty or absent when no data available.\").nullable().optional(),\n adjusted: z.boolean().describe(\"Whether the response was adjusted for splits.\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used to generate this response.\").nullable(),\n request_id: z.string().describe(\"Request ID assigned by the server.\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results for the request.\").nullable(),\n}).passthrough().describe(\"Response model for forex aggregate bars.\");\n\nexport const polygonGetForexAggregates = action(\"POLYGON_GET_FOREX_AGGREGATES\", {\n slug: \"polygon-get-forex-aggregates\",\n name: \"Get Forex Aggregates\",\n description: \"Tool to retrieve aggregate bars for a forex pair over a date range. Use when you need custom OHLC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C,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAW3E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ const PolygonGetForexEmaInput = zod.z.object({
|
|
|
28
28
|
const PolygonGetForexEma_EMAValueSchema = zod.z.object({
|
|
29
29
|
value: zod.z.number().describe("The EMA indicator value for this period.").nullable(),
|
|
30
30
|
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const PolygonGetForexEma_AggregateBarSchema = zod.z.object({
|
|
33
33
|
c: zod.z.number().describe("The close price for the aggregate window.").nullable().optional(),
|
|
34
34
|
h: zod.z.number().describe("The high price for the aggregate window.").nullable().optional(),
|
|
@@ -38,18 +38,18 @@ const PolygonGetForexEma_AggregateBarSchema = zod.z.object({
|
|
|
38
38
|
t: zod.z.number().int().describe("The Unix millisecond timestamp for the start of the aggregate window.").nullable().optional(),
|
|
39
39
|
v: zod.z.number().describe("The volume for the aggregate window.").nullable().optional(),
|
|
40
40
|
vw: zod.z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
|
|
41
|
-
});
|
|
42
|
-
const PolygonGetForexEma_UnderlyingDataSchema = zod.z.object({ aggregates: zod.z.array(PolygonGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() });
|
|
41
|
+
}).passthrough();
|
|
42
|
+
const PolygonGetForexEma_UnderlyingDataSchema = zod.z.object({ aggregates: zod.z.array(PolygonGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() }).passthrough();
|
|
43
43
|
const PolygonGetForexEma_EMAResultsSchema = zod.z.object({
|
|
44
44
|
values: zod.z.array(PolygonGetForexEma_EMAValueSchema).describe("Array of EMA indicator values.").nullable().optional(),
|
|
45
45
|
underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const PolygonGetForexEmaOutput = zod.z.object({
|
|
48
48
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
|
|
49
49
|
results: PolygonGetForexEma_EMAResultsSchema.nullable().optional(),
|
|
50
50
|
next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
51
51
|
request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
52
|
-
});
|
|
52
|
+
}).passthrough();
|
|
53
53
|
const polygonGetForexEma = require_action.action("POLYGON_GET_FOREX_EMA", {
|
|
54
54
|
slug: "polygon-get-forex-ema",
|
|
55
55
|
name: "Get Forex EMA",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-ema.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexEmaInput = 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 exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in 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 exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT 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 exponential moving average. 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 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 Exponential Moving Average (EMA) for a forex pair.\");\nconst PolygonGetForexEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The EMA 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 PolygonGetForexEma_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 start of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The 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 PolygonGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexEma_EMAResultsSchema.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 polygonGetForexEma = action(\"POLYGON_GET_FOREX_EMA\", {\n slug: \"polygon-get-forex-ema\",\n name: \"Get Forex EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexEmaInput,\n output: PolygonGetForexEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IA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AAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-ema.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexEmaInput = 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 exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in 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 exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT 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 exponential moving average. 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 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 Exponential Moving Average (EMA) for a forex pair.\");\nconst PolygonGetForexEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The EMA 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 PolygonGetForexEma_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 start of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The 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 PolygonGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexEma_EMAResultsSchema.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 polygonGetForexEma = action(\"POLYGON_GET_FOREX_EMA\", {\n slug: \"polygon-get-forex-ema\",\n name: \"Get Forex EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexEmaInput,\n output: PolygonGetForexEmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;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AAS,CAAC,CAAC,SAAS;CAClH,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,9 +10,9 @@ declare const PolygonGetForexEmaInput: z.ZodObject<{
|
|
|
10
10
|
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
11
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
12
|
timespan: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
day: "day";
|
|
13
14
|
minute: "minute";
|
|
14
15
|
hour: "hour";
|
|
15
|
-
day: "day";
|
|
16
16
|
week: "week";
|
|
17
17
|
month: "month";
|
|
18
18
|
quarter: "quarter";
|
|
@@ -34,7 +34,7 @@ declare const PolygonGetForexEmaOutput: z.ZodObject<{
|
|
|
34
34
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
35
|
value: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
40
|
c: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -45,19 +45,19 @@ declare const PolygonGetForexEmaOutput: z.ZodObject<{
|
|
|
45
45
|
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
51
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const polygonGetForexEma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
forex_ticker: string;
|
|
56
56
|
limit?: number | undefined;
|
|
57
57
|
order?: "asc" | "desc" | undefined;
|
|
58
58
|
window?: number | undefined;
|
|
59
59
|
adjusted?: boolean | undefined;
|
|
60
|
-
timespan?: "
|
|
60
|
+
timespan?: "day" | "minute" | "hour" | "week" | "month" | "quarter" | "year" | undefined;
|
|
61
61
|
timestamp?: string | undefined;
|
|
62
62
|
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
63
63
|
expand_underlying?: boolean | undefined;
|
|
@@ -10,9 +10,9 @@ declare const PolygonGetForexEmaInput: z.ZodObject<{
|
|
|
10
10
|
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
11
|
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
12
|
timespan: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
day: "day";
|
|
13
14
|
minute: "minute";
|
|
14
15
|
hour: "hour";
|
|
15
|
-
day: "day";
|
|
16
16
|
week: "week";
|
|
17
17
|
month: "month";
|
|
18
18
|
quarter: "quarter";
|
|
@@ -34,7 +34,7 @@ declare const PolygonGetForexEmaOutput: z.ZodObject<{
|
|
|
34
34
|
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
35
|
value: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
39
|
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
40
|
c: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -45,19 +45,19 @@ declare const PolygonGetForexEmaOutput: z.ZodObject<{
|
|
|
45
45
|
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
51
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>;
|
|
54
54
|
declare const polygonGetForexEma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
55
|
forex_ticker: string;
|
|
56
56
|
limit?: number | undefined;
|
|
57
57
|
order?: "asc" | "desc" | undefined;
|
|
58
58
|
window?: number | undefined;
|
|
59
59
|
adjusted?: boolean | undefined;
|
|
60
|
-
timespan?: "
|
|
60
|
+
timespan?: "day" | "minute" | "hour" | "week" | "month" | "quarter" | "year" | undefined;
|
|
61
61
|
timestamp?: string | undefined;
|
|
62
62
|
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
63
63
|
expand_underlying?: boolean | undefined;
|
|
@@ -28,7 +28,7 @@ const PolygonGetForexEmaInput = z.object({
|
|
|
28
28
|
const PolygonGetForexEma_EMAValueSchema = z.object({
|
|
29
29
|
value: z.number().describe("The EMA indicator value for this period.").nullable(),
|
|
30
30
|
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
31
|
-
});
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const PolygonGetForexEma_AggregateBarSchema = z.object({
|
|
33
33
|
c: z.number().describe("The close price for the aggregate window.").nullable().optional(),
|
|
34
34
|
h: z.number().describe("The high price for the aggregate window.").nullable().optional(),
|
|
@@ -38,12 +38,12 @@ const PolygonGetForexEma_AggregateBarSchema = z.object({
|
|
|
38
38
|
t: z.number().int().describe("The Unix millisecond timestamp for the start of the aggregate window.").nullable().optional(),
|
|
39
39
|
v: z.number().describe("The volume for the aggregate window.").nullable().optional(),
|
|
40
40
|
vw: z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
|
|
41
|
-
});
|
|
42
|
-
const PolygonGetForexEma_UnderlyingDataSchema = z.object({ aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() });
|
|
41
|
+
}).passthrough();
|
|
42
|
+
const PolygonGetForexEma_UnderlyingDataSchema = z.object({ aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() }).passthrough();
|
|
43
43
|
const PolygonGetForexEma_EMAResultsSchema = z.object({
|
|
44
44
|
values: z.array(PolygonGetForexEma_EMAValueSchema).describe("Array of EMA indicator values.").nullable().optional(),
|
|
45
45
|
underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const polygonGetForexEma = action("POLYGON_GET_FOREX_EMA", {
|
|
48
48
|
slug: "polygon-get-forex-ema",
|
|
49
49
|
name: "Get Forex EMA",
|
|
@@ -54,7 +54,7 @@ const polygonGetForexEma = action("POLYGON_GET_FOREX_EMA", {
|
|
|
54
54
|
results: PolygonGetForexEma_EMAResultsSchema.nullable().optional(),
|
|
55
55
|
next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
|
|
56
56
|
request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
|
|
57
|
-
})
|
|
57
|
+
}).passthrough()
|
|
58
58
|
});
|
|
59
59
|
//#endregion
|
|
60
60
|
export { polygonGetForexEma };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-ema.mjs","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexEmaInput = 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 exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in 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 exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT 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 exponential moving average. 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 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 Exponential Moving Average (EMA) for a forex pair.\");\nconst PolygonGetForexEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The EMA 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 PolygonGetForexEma_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 start of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The 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 PolygonGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexEma_EMAResultsSchema.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 polygonGetForexEma = action(\"POLYGON_GET_FOREX_EMA\", {\n slug: \"polygon-get-forex-ema\",\n name: \"Get Forex EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexEmaInput,\n output: PolygonGetForexEmaOutput,\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,yLAAyL,CAAC,CAAC,SAAS;CAClP,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mOAAmO,CAAC,CAAC,SAAS;CAC3R,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,iHAAiH,CAAC,CAAC,SAAS;CAC5M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,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-ema.mjs","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexEmaInput = 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 exponential moving average (EMA). For example, a window size of 10 with daily aggregates would result in 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 exponential moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results that are NOT 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 exponential moving average. 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 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 Exponential Moving Average (EMA) for a forex pair.\");\nconst PolygonGetForexEma_EMAValueSchema = z.object({\n value: z.number().describe(\"The EMA 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 PolygonGetForexEma_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 start of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The 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 PolygonGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexEma_EMAResultsSchema.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 polygonGetForexEma = action(\"POLYGON_GET_FOREX_EMA\", {\n slug: \"polygon-get-forex-ema\",\n name: \"Get Forex EMA\",\n description: \"Tool to calculate Exponential Moving Average (EMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexEmaInput,\n output: PolygonGetForexEmaOutput,\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,yLAAyL,CAAC,CAAC,SAAS;CAClP,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mOAAmO,CAAC,CAAC,SAAS;CAC3R,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,iHAAiH,CAAC,CAAC,SAAS;CAC5M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,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C,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsC,EAAE,OAAO;CACnD,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const PolygonGetForexGroupedDaily_ForexBarSchema = zod.z.object({
|
|
|
15
15
|
t: zod.z.number().int().describe("Unix millisecond timestamp for the aggregate window").nullable(),
|
|
16
16
|
v: zod.z.number().describe("Total volume for the period").nullable(),
|
|
17
17
|
vw: zod.z.number().describe("Volume weighted average price").nullable().optional()
|
|
18
|
-
}).describe("An aggregate bar for a forex pair on a specified date.");
|
|
18
|
+
}).passthrough().describe("An aggregate bar for a forex pair on a specified date.");
|
|
19
19
|
const PolygonGetForexGroupedDailyOutput = zod.z.object({
|
|
20
20
|
status: zod.z.string().describe("Response status").nullable(),
|
|
21
21
|
results: zod.z.array(PolygonGetForexGroupedDaily_ForexBarSchema).describe("List of aggregate bars for the specified date"),
|
|
@@ -23,7 +23,7 @@ const PolygonGetForexGroupedDailyOutput = zod.z.object({
|
|
|
23
23
|
queryCount: zod.z.number().int().describe("Number of aggregates used in this response").nullable(),
|
|
24
24
|
request_id: zod.z.string().describe("Polygon request ID for debugging").nullable(),
|
|
25
25
|
resultsCount: zod.z.number().int().describe("Total number of results in this response").nullable()
|
|
26
|
-
}).describe("Response model containing daily aggregated forex bars for all currency pairs.");
|
|
26
|
+
}).passthrough().describe("Response model containing daily aggregated forex bars for all currency pairs.");
|
|
27
27
|
const polygonGetForexGroupedDaily = require_action.action("POLYGON_GET_FOREX_GROUPED_DAILY", {
|
|
28
28
|
slug: "polygon-get-forex-grouped-daily",
|
|
29
29
|
name: "Get Forex Grouped Daily Bars",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-grouped-daily.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexGroupedDailyInput = z.object({\n date: z.string().describe(\"Date for which to retrieve daily aggregated forex bars in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether to retrieve adjusted data (default: true).\").optional(),\n}).describe(\"Request model for fetching daily grouped forex bars.\");\nconst PolygonGetForexGroupedDaily_ForexBarSchema = z.object({\n T: z.string().describe(\"Aggregate symbol, e.g., 'C:EURUSD'\").nullable(),\n c: z.number().describe(\"Close price for the period\").nullable(),\n h: z.number().describe(\"High price for the period\").nullable(),\n l: z.number().describe(\"Low price for the period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the aggregate window\").nullable(),\n v: z.number().describe(\"Total volume for the period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price\").nullable().optional(),\n}).describe(\"An aggregate bar for a forex pair on a specified date.\");\nexport const PolygonGetForexGroupedDailyOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetForexGroupedDaily_ForexBarSchema).describe(\"List of aggregate bars for the specified date\"),\n adjusted: z.boolean().describe(\"Whether data is adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used in this response\").nullable(),\n request_id: z.string().describe(\"Polygon request ID for debugging\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results in this response\").nullable(),\n}).describe(\"Response model containing daily aggregated forex bars for all currency pairs.\");\n\nexport const polygonGetForexGroupedDaily = action(\"POLYGON_GET_FOREX_GROUPED_DAILY\", {\n slug: \"polygon-get-forex-grouped-daily\",\n name: \"Get Forex Grouped Daily Bars\",\n description: \"Tool to retrieve daily grouped OHLC bars for all forex currency pairs on a specified date. Use when you need aggregated forex data after confirming the date parameter.\",\n input: PolygonGetForexGroupedDailyInput,\n output: PolygonGetForexGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-forex-grouped-daily.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexGroupedDailyInput = z.object({\n date: z.string().describe(\"Date for which to retrieve daily aggregated forex bars in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether to retrieve adjusted data (default: true).\").optional(),\n}).describe(\"Request model for fetching daily grouped forex bars.\");\nconst PolygonGetForexGroupedDaily_ForexBarSchema = z.object({\n T: z.string().describe(\"Aggregate symbol, e.g., 'C:EURUSD'\").nullable(),\n c: z.number().describe(\"Close price for the period\").nullable(),\n h: z.number().describe(\"High price for the period\").nullable(),\n l: z.number().describe(\"Low price for the period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the aggregate window\").nullable(),\n v: z.number().describe(\"Total volume for the period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price\").nullable().optional(),\n}).passthrough().describe(\"An aggregate bar for a forex pair on a specified date.\");\nexport const PolygonGetForexGroupedDailyOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetForexGroupedDaily_ForexBarSchema).describe(\"List of aggregate bars for the specified date\"),\n adjusted: z.boolean().describe(\"Whether data is adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used in this response\").nullable(),\n request_id: z.string().describe(\"Polygon request ID for debugging\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results in this response\").nullable(),\n}).passthrough().describe(\"Response model containing daily aggregated forex bars for all currency pairs.\");\n\nexport const polygonGetForexGroupedDaily = action(\"POLYGON_GET_FOREX_GROUPED_DAILY\", {\n slug: \"polygon-get-forex-grouped-daily\",\n name: \"Get Forex Grouped Daily Bars\",\n description: \"Tool to retrieve daily grouped OHLC bars for all forex currency pairs on a specified date. Use when you need aggregated forex data after confirming the date parameter.\",\n input: PolygonGetForexGroupedDailyInput,\n output: PolygonGetForexGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC5D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC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ptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
request_id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const polygonGetForexGroupedDaily: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
date: string;
|
|
28
28
|
adjusted?: boolean | undefined;
|
|
@@ -17,12 +17,12 @@ declare const PolygonGetForexGroupedDailyOutput: z.ZodObject<{
|
|
|
17
17
|
t: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
v: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
adjusted: z.ZodNullable<z.ZodBoolean>;
|
|
22
22
|
queryCount: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
request_id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
resultsCount: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const polygonGetForexGroupedDaily: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
date: string;
|
|
28
28
|
adjusted?: boolean | undefined;
|
|
@@ -15,7 +15,7 @@ const PolygonGetForexGroupedDaily_ForexBarSchema = z.object({
|
|
|
15
15
|
t: z.number().int().describe("Unix millisecond timestamp for the aggregate window").nullable(),
|
|
16
16
|
v: z.number().describe("Total volume for the period").nullable(),
|
|
17
17
|
vw: z.number().describe("Volume weighted average price").nullable().optional()
|
|
18
|
-
}).describe("An aggregate bar for a forex pair on a specified date.");
|
|
18
|
+
}).passthrough().describe("An aggregate bar for a forex pair on a specified date.");
|
|
19
19
|
const polygonGetForexGroupedDaily = action("POLYGON_GET_FOREX_GROUPED_DAILY", {
|
|
20
20
|
slug: "polygon-get-forex-grouped-daily",
|
|
21
21
|
name: "Get Forex Grouped Daily Bars",
|
|
@@ -28,7 +28,7 @@ const polygonGetForexGroupedDaily = action("POLYGON_GET_FOREX_GROUPED_DAILY", {
|
|
|
28
28
|
queryCount: z.number().int().describe("Number of aggregates used in this response").nullable(),
|
|
29
29
|
request_id: z.string().describe("Polygon request ID for debugging").nullable(),
|
|
30
30
|
resultsCount: z.number().int().describe("Total number of results in this response").nullable()
|
|
31
|
-
}).describe("Response model containing daily aggregated forex bars for all currency pairs.")
|
|
31
|
+
}).passthrough().describe("Response model containing daily aggregated forex bars for all currency pairs.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { polygonGetForexGroupedDaily };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-grouped-daily.mjs","names":[],"sources":["../../src/actions/get-forex-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexGroupedDailyInput = z.object({\n date: z.string().describe(\"Date for which to retrieve daily aggregated forex bars in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether to retrieve adjusted data (default: true).\").optional(),\n}).describe(\"Request model for fetching daily grouped forex bars.\");\nconst PolygonGetForexGroupedDaily_ForexBarSchema = z.object({\n T: z.string().describe(\"Aggregate symbol, e.g., 'C:EURUSD'\").nullable(),\n c: z.number().describe(\"Close price for the period\").nullable(),\n h: z.number().describe(\"High price for the period\").nullable(),\n l: z.number().describe(\"Low price for the period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the aggregate window\").nullable(),\n v: z.number().describe(\"Total volume for the period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price\").nullable().optional(),\n}).describe(\"An aggregate bar for a forex pair on a specified date.\");\nexport const PolygonGetForexGroupedDailyOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetForexGroupedDaily_ForexBarSchema).describe(\"List of aggregate bars for the specified date\"),\n adjusted: z.boolean().describe(\"Whether data is adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used in this response\").nullable(),\n request_id: z.string().describe(\"Polygon request ID for debugging\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results in this response\").nullable(),\n}).describe(\"Response model containing daily aggregated forex bars for all currency pairs.\");\n\nexport const polygonGetForexGroupedDaily = action(\"POLYGON_GET_FOREX_GROUPED_DAILY\", {\n slug: \"polygon-get-forex-grouped-daily\",\n name: \"Get Forex Grouped Daily Bars\",\n description: \"Tool to retrieve daily grouped OHLC bars for all forex currency pairs on a specified date. Use when you need aggregated forex data after confirming the date parameter.\",\n input: PolygonGetForexGroupedDailyInput,\n output: PolygonGetForexGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"get-forex-grouped-daily.mjs","names":[],"sources":["../../src/actions/get-forex-grouped-daily.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexGroupedDailyInput = z.object({\n date: z.string().describe(\"Date for which to retrieve daily aggregated forex bars in YYYY-MM-DD format\"),\n adjusted: z.boolean().default(true).describe(\"Whether to retrieve adjusted data (default: true).\").optional(),\n}).describe(\"Request model for fetching daily grouped forex bars.\");\nconst PolygonGetForexGroupedDaily_ForexBarSchema = z.object({\n T: z.string().describe(\"Aggregate symbol, e.g., 'C:EURUSD'\").nullable(),\n c: z.number().describe(\"Close price for the period\").nullable(),\n h: z.number().describe(\"High price for the period\").nullable(),\n l: z.number().describe(\"Low price for the period\").nullable(),\n n: z.number().int().describe(\"Number of transactions in the aggregate window\").nullable().optional(),\n o: z.number().describe(\"Open price for the period\").nullable(),\n t: z.number().int().describe(\"Unix millisecond timestamp for the aggregate window\").nullable(),\n v: z.number().describe(\"Total volume for the period\").nullable(),\n vw: z.number().describe(\"Volume weighted average price\").nullable().optional(),\n}).passthrough().describe(\"An aggregate bar for a forex pair on a specified date.\");\nexport const PolygonGetForexGroupedDailyOutput = z.object({\n status: z.string().describe(\"Response status\").nullable(),\n results: z.array(PolygonGetForexGroupedDaily_ForexBarSchema).describe(\"List of aggregate bars for the specified date\"),\n adjusted: z.boolean().describe(\"Whether data is adjusted for splits\").nullable(),\n queryCount: z.number().int().describe(\"Number of aggregates used in this response\").nullable(),\n request_id: z.string().describe(\"Polygon request ID for debugging\").nullable(),\n resultsCount: z.number().int().describe(\"Total number of results in this response\").nullable(),\n}).passthrough().describe(\"Response model containing daily aggregated forex bars for all currency pairs.\");\n\nexport const polygonGetForexGroupedDaily = action(\"POLYGON_GET_FOREX_GROUPED_DAILY\", {\n slug: \"polygon-get-forex-grouped-daily\",\n name: \"Get Forex Grouped Daily Bars\",\n description: \"Tool to retrieve daily grouped OHLC bars for all forex currency pairs on a specified date. Use when you need aggregated forex data after confirming the date parameter.\",\n input: PolygonGetForexGroupedDailyInput,\n output: PolygonGetForexGroupedDailyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC5D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAUlF,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C;EACrH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
|
|
@@ -18,13 +18,13 @@ const PolygonGetForexHistoricalQuotes_ForexQuoteSchema = zod.z.object({
|
|
|
18
18
|
ask_exchange: zod.z.number().int().describe("Ask exchange ID.").nullable().optional(),
|
|
19
19
|
bid_exchange: zod.z.number().int().describe("Bid exchange ID.").nullable().optional(),
|
|
20
20
|
participant_timestamp: zod.z.number().int().describe("Nanosecond Unix timestamp when the quote was generated.").nullable()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const PolygonGetForexHistoricalQuotesOutput = zod.z.object({
|
|
23
23
|
status: zod.z.string().describe("Request status (e.g., 'OK').").nullable(),
|
|
24
24
|
results: zod.z.array(PolygonGetForexHistoricalQuotes_ForexQuoteSchema).describe("List of forex quotes.").nullable().optional(),
|
|
25
25
|
next_url: zod.z.string().describe("URL for next page of data.").nullable().optional(),
|
|
26
26
|
request_id: zod.z.string().describe("Server-assigned request ID.").nullable().optional()
|
|
27
|
-
});
|
|
27
|
+
}).passthrough();
|
|
28
28
|
const polygonGetForexHistoricalQuotes = require_action.action("POLYGON_GET_FOREX_HISTORICAL_QUOTES", {
|
|
29
29
|
slug: "polygon-get-forex-historical-quotes",
|
|
30
30
|
name: "Get Forex Historical Quotes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-historical-quotes.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-historical-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexHistoricalQuotesInput = z.object({\n sort: z.string().describe(\"Field to sort by. Must be 'timestamp'.\").optional(),\n limit: z.number().int().default(1000).describe(\"Max number of results (default 1000, max 50000).\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of results by the sort field (asc or desc).\").optional(),\n fxTicker: z.string().describe(\"The forex currency pair ticker to retrieve quotes for (e.g., 'EURUSD').\"),\n timestamp: z.string().describe(\"Filter by date (YYYY-MM-DD) or nanosecond timestamp.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Return quotes with timestamp greater than this value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Return quotes with timestamp less than this value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Return quotes with timestamp greater than or equal to this value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Return quotes with timestamp less than or equal to this value.\").optional(),\n}).describe(\"Request parameters to retrieve historical forex quotes for a currency pair.\");\nconst PolygonGetForexHistoricalQuotes_ForexQuoteSchema = z.object({\n ask_price: z.number().describe(\"Ask price.\").nullable().optional(),\n bid_price: z.number().describe(\"Bid price.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"Ask exchange ID.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"Bid exchange ID.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"Nanosecond Unix timestamp when the quote was generated.\").nullable(),\n});\nexport const PolygonGetForexHistoricalQuotesOutput = z.object({\n status: z.string().describe(\"Request status (e.g., 'OK').\").nullable(),\n results: z.array(PolygonGetForexHistoricalQuotes_ForexQuoteSchema).describe(\"List of forex quotes.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n});\n\nexport const polygonGetForexHistoricalQuotes = action(\"POLYGON_GET_FOREX_HISTORICAL_QUOTES\", {\n slug: \"polygon-get-forex-historical-quotes\",\n name: \"Get Forex Historical Quotes\",\n description: \"Tool to retrieve historical forex quotes for a currency pair over a time range. Use when you need bid/ask quotes for an FX ticker between timestamps or dates. Use after confirming the forex ticker symbol.\",\n input: PolygonGetForexHistoricalQuotesInput,\n output: PolygonGetForexHistoricalQuotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvH,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-historical-quotes.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-historical-quotes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexHistoricalQuotesInput = z.object({\n sort: z.string().describe(\"Field to sort by. Must be 'timestamp'.\").optional(),\n limit: z.number().int().default(1000).describe(\"Max number of results (default 1000, max 50000).\").optional(),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Order of results by the sort field (asc or desc).\").optional(),\n fxTicker: z.string().describe(\"The forex currency pair ticker to retrieve quotes for (e.g., 'EURUSD').\"),\n timestamp: z.string().describe(\"Filter by date (YYYY-MM-DD) or nanosecond timestamp.\").optional(),\n \"timestamp.gt\": z.string().describe(\"Return quotes with timestamp greater than this value.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Return quotes with timestamp less than this value.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Return quotes with timestamp greater than or equal to this value.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Return quotes with timestamp less than or equal to this value.\").optional(),\n}).describe(\"Request parameters to retrieve historical forex quotes for a currency pair.\");\nconst PolygonGetForexHistoricalQuotes_ForexQuoteSchema = z.object({\n ask_price: z.number().describe(\"Ask price.\").nullable().optional(),\n bid_price: z.number().describe(\"Bid price.\").nullable().optional(),\n ask_exchange: z.number().int().describe(\"Ask exchange ID.\").nullable().optional(),\n bid_exchange: z.number().int().describe(\"Bid exchange ID.\").nullable().optional(),\n participant_timestamp: z.number().int().describe(\"Nanosecond Unix timestamp when the quote was generated.\").nullable(),\n}).passthrough();\nexport const PolygonGetForexHistoricalQuotesOutput = z.object({\n status: z.string().describe(\"Request status (e.g., 'OK').\").nullable(),\n results: z.array(PolygonGetForexHistoricalQuotes_ForexQuoteSchema).describe(\"List of forex quotes.\").nullable().optional(),\n next_url: z.string().describe(\"URL for next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"Server-assigned request ID.\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetForexHistoricalQuotes = action(\"POLYGON_GET_FOREX_HISTORICAL_QUOTES\", {\n slug: \"polygon-get-forex-historical-quotes\",\n name: \"Get Forex Historical Quotes\",\n description: \"Tool to retrieve historical forex quotes for a currency pair over a time range. Use when you need bid/ask quotes for an FX ticker between timestamps or dates. Use after confirming the forex ticker symbol.\",\n input: PolygonGetForexHistoricalQuotesInput,\n output: PolygonGetForexHistoricalQuotesOutput,\n});\n"],"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,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,10 +23,10 @@ declare const PolygonGetForexHistoricalQuotesOutput: z.ZodObject<{
|
|
|
23
23
|
ask_exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
bid_exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
participant_timestamp: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const polygonGetForexHistoricalQuotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
fxTicker: string;
|
|
32
32
|
sort?: string | undefined;
|
|
@@ -23,10 +23,10 @@ declare const PolygonGetForexHistoricalQuotesOutput: z.ZodObject<{
|
|
|
23
23
|
ask_exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
bid_exchange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
participant_timestamp: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const polygonGetForexHistoricalQuotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
fxTicker: string;
|
|
32
32
|
sort?: string | undefined;
|
|
@@ -18,7 +18,7 @@ const PolygonGetForexHistoricalQuotes_ForexQuoteSchema = z.object({
|
|
|
18
18
|
ask_exchange: z.number().int().describe("Ask exchange ID.").nullable().optional(),
|
|
19
19
|
bid_exchange: z.number().int().describe("Bid exchange ID.").nullable().optional(),
|
|
20
20
|
participant_timestamp: z.number().int().describe("Nanosecond Unix timestamp when the quote was generated.").nullable()
|
|
21
|
-
});
|
|
21
|
+
}).passthrough();
|
|
22
22
|
const polygonGetForexHistoricalQuotes = action("POLYGON_GET_FOREX_HISTORICAL_QUOTES", {
|
|
23
23
|
slug: "polygon-get-forex-historical-quotes",
|
|
24
24
|
name: "Get Forex Historical Quotes",
|
|
@@ -29,7 +29,7 @@ const polygonGetForexHistoricalQuotes = action("POLYGON_GET_FOREX_HISTORICAL_QUO
|
|
|
29
29
|
results: z.array(PolygonGetForexHistoricalQuotes_ForexQuoteSchema).describe("List of forex quotes.").nullable().optional(),
|
|
30
30
|
next_url: z.string().describe("URL for next page of data.").nullable().optional(),
|
|
31
31
|
request_id: z.string().describe("Server-assigned request ID.").nullable().optional()
|
|
32
|
-
})
|
|
32
|
+
}).passthrough()
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { polygonGetForexHistoricalQuotes };
|