@keystrokehq/polygon 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/get-aggregates.cjs +2 -2
- package/dist/actions/get-aggregates.cjs.map +1 -1
- package/dist/actions/get-aggregates.d.cts +2 -2
- package/dist/actions/get-aggregates.d.mts +2 -2
- package/dist/actions/get-aggregates.mjs +2 -2
- package/dist/actions/get-aggregates.mjs.map +1 -1
- package/dist/actions/get-all-tickers.cjs +2 -2
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +2 -2
- package/dist/actions/get-all-tickers.d.mts +2 -2
- package/dist/actions/get-all-tickers.mjs +2 -2
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +2 -2
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +2 -2
- package/dist/actions/get-condition-codes.d.mts +2 -2
- package/dist/actions/get-condition-codes.mjs +2 -2
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.cjs +2 -2
- package/dist/actions/get-crypto-aggregates.cjs.map +1 -1
- package/dist/actions/get-crypto-aggregates.d.cts +4 -4
- package/dist/actions/get-crypto-aggregates.d.mts +4 -4
- package/dist/actions/get-crypto-aggregates.mjs +2 -2
- package/dist/actions/get-crypto-aggregates.mjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.cjs +4 -4
- package/dist/actions/get-crypto-all-tickers.cjs.map +1 -1
- package/dist/actions/get-crypto-all-tickers.d.cts +6 -6
- package/dist/actions/get-crypto-all-tickers.d.mts +6 -6
- package/dist/actions/get-crypto-all-tickers.mjs +4 -4
- package/dist/actions/get-crypto-all-tickers.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +5 -5
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +5 -5
- package/dist/actions/get-crypto-ema.d.mts +5 -5
- package/dist/actions/get-crypto-ema.mjs +5 -5
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.cjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-crypto-grouped-daily.d.cts +2 -2
- package/dist/actions/get-crypto-grouped-daily.d.mts +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs +2 -2
- package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.cjs +2 -2
- package/dist/actions/get-crypto-last-trade.cjs.map +1 -1
- package/dist/actions/get-crypto-last-trade.d.cts +2 -2
- package/dist/actions/get-crypto-last-trade.d.mts +2 -2
- package/dist/actions/get-crypto-last-trade.mjs +2 -2
- package/dist/actions/get-crypto-last-trade.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +4 -4
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +4 -4
- package/dist/actions/get-crypto-macd.d.mts +4 -4
- package/dist/actions/get-crypto-macd.mjs +4 -4
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +1 -1
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +1 -1
- package/dist/actions/get-crypto-open-close.mjs +1 -1
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.cjs +2 -2
- package/dist/actions/get-crypto-prev-close.cjs.map +1 -1
- package/dist/actions/get-crypto-prev-close.d.cts +2 -2
- package/dist/actions/get-crypto-prev-close.d.mts +2 -2
- package/dist/actions/get-crypto-prev-close.mjs +2 -2
- package/dist/actions/get-crypto-prev-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +4 -4
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +4 -4
- package/dist/actions/get-crypto-rsi.d.mts +4 -4
- package/dist/actions/get-crypto-rsi.mjs +4 -4
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +4 -4
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +4 -4
- package/dist/actions/get-crypto-sma.d.mts +4 -4
- package/dist/actions/get-crypto-sma.mjs +4 -4
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.cjs +4 -4
- package/dist/actions/get-crypto-ticker-book.cjs.map +1 -1
- package/dist/actions/get-crypto-ticker-book.d.cts +6 -6
- package/dist/actions/get-crypto-ticker-book.d.mts +6 -6
- package/dist/actions/get-crypto-ticker-book.mjs +4 -4
- package/dist/actions/get-crypto-ticker-book.mjs.map +1 -1
- package/dist/actions/get-crypto-trades.cjs +2 -2
- package/dist/actions/get-crypto-trades.cjs.map +1 -1
- package/dist/actions/get-crypto-trades.d.cts +2 -2
- package/dist/actions/get-crypto-trades.d.mts +2 -2
- package/dist/actions/get-crypto-trades.mjs +2 -2
- package/dist/actions/get-crypto-trades.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +2 -2
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +2 -2
- package/dist/actions/get-dividends.d.mts +2 -2
- package/dist/actions/get-dividends.mjs +2 -2
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation.cjs +2 -2
- package/dist/actions/get-economy-inflation.cjs.map +1 -1
- package/dist/actions/get-economy-inflation.d.cts +2 -2
- package/dist/actions/get-economy-inflation.d.mts +2 -2
- package/dist/actions/get-economy-inflation.mjs +2 -2
- package/dist/actions/get-economy-inflation.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +5 -5
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +5 -5
- package/dist/actions/get-ema.d.mts +5 -5
- package/dist/actions/get-ema.mjs +5 -5
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +1 -1
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +1 -1
- package/dist/actions/get-filing-file.d.mts +1 -1
- package/dist/actions/get-filing-file.mjs +1 -1
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +3 -3
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +3 -3
- package/dist/actions/get-filing.d.mts +3 -3
- package/dist/actions/get-filing.mjs +3 -3
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-aggregates.cjs +2 -2
- package/dist/actions/get-forex-aggregates.cjs.map +1 -1
- package/dist/actions/get-forex-aggregates.d.cts +4 -4
- package/dist/actions/get-forex-aggregates.d.mts +4 -4
- package/dist/actions/get-forex-aggregates.mjs +2 -2
- package/dist/actions/get-forex-aggregates.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +5 -5
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +5 -5
- package/dist/actions/get-forex-ema.d.mts +5 -5
- package/dist/actions/get-forex-ema.mjs +5 -5
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.cjs +2 -2
- package/dist/actions/get-forex-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-forex-grouped-daily.d.cts +2 -2
- package/dist/actions/get-forex-grouped-daily.d.mts +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs +2 -2
- package/dist/actions/get-forex-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.cjs +2 -2
- package/dist/actions/get-forex-historical-quotes.cjs.map +1 -1
- package/dist/actions/get-forex-historical-quotes.d.cts +2 -2
- package/dist/actions/get-forex-historical-quotes.d.mts +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs +2 -2
- package/dist/actions/get-forex-historical-quotes.mjs.map +1 -1
- package/dist/actions/get-forex-locales.cjs +2 -2
- package/dist/actions/get-forex-locales.cjs.map +1 -1
- package/dist/actions/get-forex-locales.d.cts +2 -2
- package/dist/actions/get-forex-locales.d.mts +2 -2
- package/dist/actions/get-forex-locales.mjs +2 -2
- package/dist/actions/get-forex-locales.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +4 -4
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +4 -4
- package/dist/actions/get-forex-macd.d.mts +4 -4
- package/dist/actions/get-forex-macd.mjs +4 -4
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-prev-close.cjs +2 -2
- package/dist/actions/get-forex-prev-close.cjs.map +1 -1
- package/dist/actions/get-forex-prev-close.d.cts +2 -2
- package/dist/actions/get-forex-prev-close.d.mts +2 -2
- package/dist/actions/get-forex-prev-close.mjs +2 -2
- package/dist/actions/get-forex-prev-close.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -1
- package/dist/actions/get-forex-rsi.cjs +4 -4
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +4 -4
- package/dist/actions/get-forex-rsi.d.mts +4 -4
- package/dist/actions/get-forex-rsi.mjs +4 -4
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +5 -5
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +5 -5
- package/dist/actions/get-forex-sma.d.mts +5 -5
- package/dist/actions/get-forex-sma.mjs +5 -5
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.cjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-forex-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-forex-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-forex-snapshot-losers.mjs +4 -4
- package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-futures-aggregates.cjs +2 -2
- package/dist/actions/get-futures-aggregates.cjs.map +1 -1
- package/dist/actions/get-futures-aggregates.d.cts +2 -2
- package/dist/actions/get-futures-aggregates.d.mts +2 -2
- package/dist/actions/get-futures-aggregates.mjs +2 -2
- package/dist/actions/get-futures-aggregates.mjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.cjs +3 -3
- package/dist/actions/get-futures-product-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-product-schedules.d.cts +3 -3
- package/dist/actions/get-futures-product-schedules.d.mts +3 -3
- package/dist/actions/get-futures-product-schedules.mjs +3 -3
- package/dist/actions/get-futures-product-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-products.cjs +2 -2
- package/dist/actions/get-futures-products.cjs.map +1 -1
- package/dist/actions/get-futures-products.d.cts +2 -2
- package/dist/actions/get-futures-products.d.mts +2 -2
- package/dist/actions/get-futures-products.mjs +2 -2
- package/dist/actions/get-futures-products.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +2 -2
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +2 -2
- package/dist/actions/get-futures-quotes.d.mts +2 -2
- package/dist/actions/get-futures-quotes.mjs +2 -2
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-futures-schedules.cjs +3 -3
- package/dist/actions/get-futures-schedules.cjs.map +1 -1
- package/dist/actions/get-futures-schedules.d.cts +3 -3
- package/dist/actions/get-futures-schedules.d.mts +3 -3
- package/dist/actions/get-futures-schedules.mjs +3 -3
- package/dist/actions/get-futures-schedules.mjs.map +1 -1
- package/dist/actions/get-futures-trades.cjs +2 -2
- package/dist/actions/get-futures-trades.cjs.map +1 -1
- package/dist/actions/get-futures-trades.d.cts +2 -2
- package/dist/actions/get-futures-trades.d.mts +2 -2
- package/dist/actions/get-futures-trades.mjs +2 -2
- package/dist/actions/get-futures-trades.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +2 -2
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +2 -2
- package/dist/actions/get-historic-forex-ticks.d.mts +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs +2 -2
- package/dist/actions/get-historic-forex-ticks.mjs.map +1 -1
- package/dist/actions/get-inflation-expectations.cjs +2 -2
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +2 -2
- package/dist/actions/get-inflation-expectations.d.mts +2 -2
- package/dist/actions/get-inflation-expectations.mjs +2 -2
- package/dist/actions/get-inflation-expectations.mjs.map +1 -1
- package/dist/actions/get-ipo-data.cjs +2 -2
- package/dist/actions/get-ipo-data.cjs.map +1 -1
- package/dist/actions/get-ipo-data.d.cts +2 -2
- package/dist/actions/get-ipo-data.d.mts +2 -2
- package/dist/actions/get-ipo-data.mjs +2 -2
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +4 -4
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +4 -4
- package/dist/actions/get-macd.d.mts +4 -4
- package/dist/actions/get-macd.mjs +4 -4
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +4 -4
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +4 -4
- package/dist/actions/get-market-status.d.mts +4 -4
- package/dist/actions/get-market-status.mjs +4 -4
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.d.cts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.d.mts +2 -2
- package/dist/actions/get-meta-conditions-by-ticktype.mjs +1 -1
- package/dist/actions/get-meta-conditions-by-ticktype.mjs.map +1 -1
- package/dist/actions/get-news.cjs +3 -3
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +3 -3
- package/dist/actions/get-news.d.mts +3 -3
- package/dist/actions/get-news.mjs +3 -3
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-open-close.cjs +1 -1
- package/dist/actions/get-open-close.cjs.map +1 -1
- package/dist/actions/get-open-close.d.cts +1 -1
- package/dist/actions/get-open-close.d.mts +1 -1
- package/dist/actions/get-open-close.mjs +1 -1
- package/dist/actions/get-open-close.mjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.cjs +7 -7
- package/dist/actions/get-option-chain-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-chain-snapshot.d.cts +7 -7
- package/dist/actions/get-option-chain-snapshot.d.mts +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs +7 -7
- package/dist/actions/get-option-chain-snapshot.mjs.map +1 -1
- package/dist/actions/get-option-snapshot.cjs +8 -8
- package/dist/actions/get-option-snapshot.cjs.map +1 -1
- package/dist/actions/get-option-snapshot.d.cts +8 -8
- package/dist/actions/get-option-snapshot.d.mts +8 -8
- package/dist/actions/get-option-snapshot.mjs +8 -8
- package/dist/actions/get-option-snapshot.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +3 -3
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +3 -3
- package/dist/actions/get-options-contract-overview.d.mts +3 -3
- package/dist/actions/get-options-contract-overview.mjs +3 -3
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-custom-bars.cjs +2 -2
- package/dist/actions/get-options-custom-bars.cjs.map +1 -1
- package/dist/actions/get-options-custom-bars.d.cts +4 -4
- package/dist/actions/get-options-custom-bars.d.mts +4 -4
- package/dist/actions/get-options-custom-bars.mjs +2 -2
- package/dist/actions/get-options-custom-bars.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +5 -5
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +5 -5
- package/dist/actions/get-options-ema.d.mts +5 -5
- package/dist/actions/get-options-ema.mjs +5 -5
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +4 -4
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +4 -4
- package/dist/actions/get-options-macd.d.mts +4 -4
- package/dist/actions/get-options-macd.mjs +4 -4
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +4 -4
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +4 -4
- package/dist/actions/get-options-rsi.d.mts +4 -4
- package/dist/actions/get-options-rsi.mjs +4 -4
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +5 -5
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +5 -5
- package/dist/actions/get-options-sma.d.mts +5 -5
- package/dist/actions/get-options-sma.mjs +5 -5
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-previous-close.cjs +2 -2
- package/dist/actions/get-previous-close.cjs.map +1 -1
- package/dist/actions/get-previous-close.d.cts +2 -2
- package/dist/actions/get-previous-close.d.mts +2 -2
- package/dist/actions/get-previous-close.mjs +2 -2
- package/dist/actions/get-previous-close.mjs.map +1 -1
- package/dist/actions/get-reference-exchanges.cjs +2 -2
- package/dist/actions/get-reference-exchanges.cjs.map +1 -1
- package/dist/actions/get-reference-exchanges.d.cts +2 -2
- package/dist/actions/get-reference-exchanges.d.mts +2 -2
- package/dist/actions/get-reference-exchanges.mjs +2 -2
- package/dist/actions/get-reference-exchanges.mjs.map +1 -1
- package/dist/actions/get-reference-markets.cjs +2 -2
- package/dist/actions/get-reference-markets.cjs.map +1 -1
- package/dist/actions/get-reference-markets.d.cts +2 -2
- package/dist/actions/get-reference-markets.d.mts +2 -2
- package/dist/actions/get-reference-markets.mjs +2 -2
- package/dist/actions/get-reference-markets.mjs.map +1 -1
- package/dist/actions/get-reference-types.cjs +2 -2
- package/dist/actions/get-reference-types.cjs.map +1 -1
- package/dist/actions/get-reference-types.d.cts +2 -2
- package/dist/actions/get-reference-types.d.mts +2 -2
- package/dist/actions/get-reference-types.mjs +2 -2
- package/dist/actions/get-reference-types.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +2 -2
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +2 -2
- package/dist/actions/get-related-companies.d.mts +2 -2
- package/dist/actions/get-related-companies.mjs +2 -2
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-risk-categories.cjs +2 -2
- package/dist/actions/get-risk-categories.cjs.map +1 -1
- package/dist/actions/get-risk-categories.d.cts +2 -2
- package/dist/actions/get-risk-categories.d.mts +2 -2
- package/dist/actions/get-risk-categories.mjs +2 -2
- package/dist/actions/get-risk-categories.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +4 -4
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +4 -4
- package/dist/actions/get-rsi.d.mts +4 -4
- package/dist/actions/get-rsi.mjs +4 -4
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-short-interest.cjs +2 -2
- package/dist/actions/get-short-interest.cjs.map +1 -1
- package/dist/actions/get-short-interest.d.cts +2 -2
- package/dist/actions/get-short-interest.d.mts +2 -2
- package/dist/actions/get-short-interest.mjs +2 -2
- package/dist/actions/get-short-interest.mjs.map +1 -1
- package/dist/actions/get-short-volume.cjs +2 -2
- package/dist/actions/get-short-volume.cjs.map +1 -1
- package/dist/actions/get-short-volume.d.cts +2 -2
- package/dist/actions/get-short-volume.d.mts +2 -2
- package/dist/actions/get-short-volume.mjs +2 -2
- package/dist/actions/get-short-volume.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +4 -4
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +4 -4
- package/dist/actions/get-sma.d.mts +4 -4
- package/dist/actions/get-sma.mjs +4 -4
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.cjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -1
- package/dist/actions/get-snapshot-all-tickers.d.cts +7 -7
- package/dist/actions/get-snapshot-all-tickers.d.mts +7 -7
- package/dist/actions/get-snapshot-all-tickers.mjs +6 -6
- package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -1
- package/dist/actions/get-snapshot-losers.cjs +4 -4
- package/dist/actions/get-snapshot-losers.cjs.map +1 -1
- package/dist/actions/get-snapshot-losers.d.cts +6 -6
- package/dist/actions/get-snapshot-losers.d.mts +6 -6
- package/dist/actions/get-snapshot-losers.mjs +4 -4
- package/dist/actions/get-snapshot-losers.mjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.cjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -1
- package/dist/actions/get-snapshot-single-ticker.d.cts +7 -7
- package/dist/actions/get-snapshot-single-ticker.d.mts +7 -7
- package/dist/actions/get-snapshot-single-ticker.mjs +7 -7
- package/dist/actions/get-snapshot-single-ticker.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +2 -2
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +2 -2
- package/dist/actions/get-splits.d.mts +2 -2
- package/dist/actions/get-splits.mjs +2 -2
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stock-financials.cjs +2 -2
- package/dist/actions/get-stock-financials.cjs.map +1 -1
- package/dist/actions/get-stock-financials.d.cts +2 -2
- package/dist/actions/get-stock-financials.d.mts +2 -2
- package/dist/actions/get-stock-financials.mjs +2 -2
- package/dist/actions/get-stock-financials.mjs.map +1 -1
- package/dist/actions/get-stock-float.cjs +2 -2
- package/dist/actions/get-stock-float.cjs.map +1 -1
- package/dist/actions/get-stock-float.d.cts +2 -2
- package/dist/actions/get-stock-float.d.mts +2 -2
- package/dist/actions/get-stock-float.mjs +2 -2
- package/dist/actions/get-stock-float.mjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.cjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -1
- package/dist/actions/get-stock-splits-by-ticker.d.cts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.d.mts +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs +2 -2
- package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.cjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -1
- package/dist/actions/get-stocks-balance-sheets.d.cts +26 -26
- package/dist/actions/get-stocks-balance-sheets.d.mts +26 -26
- package/dist/actions/get-stocks-balance-sheets.mjs +7 -7
- package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.cjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-cash-flow-statements.d.cts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.d.mts +15 -15
- package/dist/actions/get-stocks-cash-flow-statements.mjs +5 -5
- package/dist/actions/get-stocks-cash-flow-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +2 -2
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +2 -2
- package/dist/actions/get-stocks-custom-bars.d.mts +2 -2
- package/dist/actions/get-stocks-custom-bars.mjs +2 -2
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.d.mts +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs +2 -2
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.cjs +2 -2
- package/dist/actions/get-technical-indicator-sma.cjs.map +1 -1
- package/dist/actions/get-technical-indicator-sma.d.cts +2 -2
- package/dist/actions/get-technical-indicator-sma.d.mts +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs +2 -2
- package/dist/actions/get-technical-indicator-sma.mjs.map +1 -1
- package/dist/actions/get-ticker-company-details.cjs +1 -1
- package/dist/actions/get-ticker-company-details.cjs.map +1 -1
- package/dist/actions/get-ticker-company-details.d.cts +1 -1
- package/dist/actions/get-ticker-company-details.d.mts +1 -1
- package/dist/actions/get-ticker-company-details.mjs +1 -1
- package/dist/actions/get-ticker-company-details.mjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.cjs +4 -4
- package/dist/actions/get-ticker-details-vx.cjs.map +1 -1
- package/dist/actions/get-ticker-details-vx.d.cts +4 -4
- package/dist/actions/get-ticker-details-vx.d.mts +4 -4
- package/dist/actions/get-ticker-details-vx.mjs +4 -4
- package/dist/actions/get-ticker-details-vx.mjs.map +1 -1
- package/dist/actions/get-ticker-details.cjs +4 -4
- package/dist/actions/get-ticker-details.cjs.map +1 -1
- package/dist/actions/get-ticker-details.d.cts +4 -4
- package/dist/actions/get-ticker-details.d.mts +4 -4
- package/dist/actions/get-ticker-details.mjs +4 -4
- package/dist/actions/get-ticker-details.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +4 -4
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +4 -4
- package/dist/actions/get-ticker-events.d.mts +4 -4
- package/dist/actions/get-ticker-events.mjs +4 -4
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +2 -2
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +2 -2
- package/dist/actions/get-ticker-types.d.mts +2 -2
- package/dist/actions/get-ticker-types.mjs +2 -2
- package/dist/actions/get-ticker-types.mjs.map +1 -1
- package/dist/actions/get-treasury-yields.cjs +2 -2
- package/dist/actions/get-treasury-yields.cjs.map +1 -1
- package/dist/actions/get-treasury-yields.d.cts +2 -2
- package/dist/actions/get-treasury-yields.d.mts +2 -2
- package/dist/actions/get-treasury-yields.mjs +2 -2
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -1
- package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs +2 -2
- package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -1
- package/dist/actions/get10-k-sections.cjs +2 -2
- package/dist/actions/get10-k-sections.cjs.map +1 -1
- package/dist/actions/get10-k-sections.d.cts +2 -2
- package/dist/actions/get10-k-sections.d.mts +2 -2
- package/dist/actions/get10-k-sections.mjs +2 -2
- package/dist/actions/get10-k-sections.mjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/last-quote-for-a-symbol.d.cts +2 -2
- package/dist/actions/last-quote-for-a-symbol.d.mts +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.cjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/last-trade-for-a-currency-pair.d.cts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.d.mts +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +2 -2
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +2 -2
- package/dist/actions/list-filing-files.d.mts +2 -2
- package/dist/actions/list-filing-files.mjs +2 -2
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +3 -3
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +3 -3
- package/dist/actions/list-options-contracts.d.mts +3 -3
- package/dist/actions/list-options-contracts.mjs +3 -3
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/list-sec-filings.cjs +4 -4
- package/dist/actions/list-sec-filings.cjs.map +1 -1
- package/dist/actions/list-sec-filings.d.cts +4 -4
- package/dist/actions/list-sec-filings.d.mts +4 -4
- package/dist/actions/list-sec-filings.mjs +4 -4
- package/dist/actions/list-sec-filings.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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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A0C,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-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: PolygonGetForexEmaO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A,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;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"}
|
|
@@ -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,12 +45,12 @@ 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;
|
|
@@ -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,12 +45,12 @@ 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;
|
|
@@ -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,C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,CAAC,SAAS,EAC1J,CAAC,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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
|
|
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;
|
|
@@ -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: PolygonGetForexH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,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,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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-historical-quotes.mjs","names":[],"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,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAM,mDAAmD,EAAE,OAAO;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACvH,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-historical-quotes.mjs","names":[],"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"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,gBAAg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,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,13 +5,13 @@ const PolygonGetForexLocalesInput = zod.z.object({ asset_class: zod.z.string().d
|
|
|
5
5
|
const PolygonGetForexLocales_LocaleSchema = zod.z.object({
|
|
6
6
|
name: zod.z.string().describe("Human-readable locale name (e.g., 'United States of America')").nullable(),
|
|
7
7
|
locale: zod.z.string().describe("Locale code (e.g., 'US')").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const PolygonGetForexLocalesOutput = zod.z.object({
|
|
10
10
|
count: zod.z.number().int().describe("Total number of locale records returned").nullable().optional(),
|
|
11
11
|
status: zod.z.string().describe("Status of the API response (e.g., 'OK')").nullable(),
|
|
12
12
|
results: zod.z.array(PolygonGetForexLocales_LocaleSchema).describe("List of locale objects").nullable().optional(),
|
|
13
13
|
request_id: zod.z.string().describe("Unique ID assigned by Polygon for this request (may not be present in v2 API)").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const polygonGetForexLocales = require_action.action("POLYGON_GET_FOREX_LOCALES", {
|
|
16
16
|
slug: "polygon-get-forex-locales",
|
|
17
17
|
name: "Get Forex Locales",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-locales.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-locales.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexLocalesInput = z.object({\n asset_class: z.string().describe(\"Optional asset class filter. Common values include 'fx', 'stocks', 'options', 'crypto'.\").optional(),\n}).describe(\"Request model for retrieving available forex locales.\\nOptionally filter by asset class (e.g., 'fx').\");\nconst PolygonGetForexLocales_LocaleSchema = z.object({\n name: z.string().describe(\"Human-readable locale name (e.g., 'United States of America')\").nullable(),\n locale: z.string().describe(\"Locale code (e.g., 'US')\").nullable(),\n});\nexport const PolygonGetForexLocalesOutput = z.object({\n count: z.number().int().describe(\"Total number of locale records returned\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonGetForexLocales_LocaleSchema).describe(\"List of locale objects\").nullable().optional(),\n request_id: z.string().describe(\"Unique ID assigned by Polygon for this request (may not be present in v2 API)\").nullable().optional(),\n});\n\nexport const polygonGetForexLocales = action(\"POLYGON_GET_FOREX_LOCALES\", {\n slug: \"polygon-get-forex-locales\",\n name: \"Get Forex Locales\",\n description: \"Tool to list locales supported by Polygon's forex asset class. Use when you need available locale codes for regional filtering in FX endpoints.\",\n input: PolygonGetForexLocalesInput,\n output: PolygonGetForexLocalesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,uGAAuG;AACnH,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-locales.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-locales.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexLocalesInput = z.object({\n asset_class: z.string().describe(\"Optional asset class filter. Common values include 'fx', 'stocks', 'options', 'crypto'.\").optional(),\n}).describe(\"Request model for retrieving available forex locales.\\nOptionally filter by asset class (e.g., 'fx').\");\nconst PolygonGetForexLocales_LocaleSchema = z.object({\n name: z.string().describe(\"Human-readable locale name (e.g., 'United States of America')\").nullable(),\n locale: z.string().describe(\"Locale code (e.g., 'US')\").nullable(),\n}).passthrough();\nexport const PolygonGetForexLocalesOutput = z.object({\n count: z.number().int().describe(\"Total number of locale records returned\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonGetForexLocales_LocaleSchema).describe(\"List of locale objects\").nullable().optional(),\n request_id: z.string().describe(\"Unique ID assigned by Polygon for this request (may not be present in v2 API)\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetForexLocales = action(\"POLYGON_GET_FOREX_LOCALES\", {\n slug: \"polygon-get-forex-locales\",\n name: \"Get Forex Locales\",\n description: \"Tool to list locales supported by Polygon's forex asset class. Use when you need available locale codes for regional filtering in FX endpoints.\",\n input: PolygonGetForexLocalesInput,\n output: PolygonGetForexLocalesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,uGAAuG;AACnH,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,9 +10,9 @@ declare const PolygonGetForexLocalesOutput: z.ZodObject<{
|
|
|
10
10
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
locale: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const polygonGetForexLocales: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
asset_class?: string | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,9 +10,9 @@ declare const PolygonGetForexLocalesOutput: z.ZodObject<{
|
|
|
10
10
|
results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
locale: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const polygonGetForexLocales: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
asset_class?: string | undefined;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const PolygonGetForexLocalesInput = z.object({ asset_class: z.string().describe(
|
|
|
5
5
|
const PolygonGetForexLocales_LocaleSchema = z.object({
|
|
6
6
|
name: z.string().describe("Human-readable locale name (e.g., 'United States of America')").nullable(),
|
|
7
7
|
locale: z.string().describe("Locale code (e.g., 'US')").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const polygonGetForexLocales = action("POLYGON_GET_FOREX_LOCALES", {
|
|
10
10
|
slug: "polygon-get-forex-locales",
|
|
11
11
|
name: "Get Forex Locales",
|
|
@@ -16,7 +16,7 @@ const polygonGetForexLocales = action("POLYGON_GET_FOREX_LOCALES", {
|
|
|
16
16
|
status: z.string().describe("Status of the API response (e.g., 'OK')").nullable(),
|
|
17
17
|
results: z.array(PolygonGetForexLocales_LocaleSchema).describe("List of locale objects").nullable().optional(),
|
|
18
18
|
request_id: z.string().describe("Unique ID assigned by Polygon for this request (may not be present in v2 API)").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { polygonGetForexLocales };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-locales.mjs","names":[],"sources":["../../src/actions/get-forex-locales.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexLocalesInput = z.object({\n asset_class: z.string().describe(\"Optional asset class filter. Common values include 'fx', 'stocks', 'options', 'crypto'.\").optional(),\n}).describe(\"Request model for retrieving available forex locales.\\nOptionally filter by asset class (e.g., 'fx').\");\nconst PolygonGetForexLocales_LocaleSchema = z.object({\n name: z.string().describe(\"Human-readable locale name (e.g., 'United States of America')\").nullable(),\n locale: z.string().describe(\"Locale code (e.g., 'US')\").nullable(),\n});\nexport const PolygonGetForexLocalesOutput = z.object({\n count: z.number().int().describe(\"Total number of locale records returned\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonGetForexLocales_LocaleSchema).describe(\"List of locale objects\").nullable().optional(),\n request_id: z.string().describe(\"Unique ID assigned by Polygon for this request (may not be present in v2 API)\").nullable().optional(),\n});\n\nexport const polygonGetForexLocales = action(\"POLYGON_GET_FOREX_LOCALES\", {\n slug: \"polygon-get-forex-locales\",\n name: \"Get Forex Locales\",\n description: \"Tool to list locales supported by Polygon's forex asset class. Use when you need available locale codes for regional filtering in FX endpoints.\",\n input: PolygonGetForexLocalesInput,\n output: PolygonGetForexLocalesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,uGAAuG;AACnH,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-locales.mjs","names":[],"sources":["../../src/actions/get-forex-locales.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexLocalesInput = z.object({\n asset_class: z.string().describe(\"Optional asset class filter. Common values include 'fx', 'stocks', 'options', 'crypto'.\").optional(),\n}).describe(\"Request model for retrieving available forex locales.\\nOptionally filter by asset class (e.g., 'fx').\");\nconst PolygonGetForexLocales_LocaleSchema = z.object({\n name: z.string().describe(\"Human-readable locale name (e.g., 'United States of America')\").nullable(),\n locale: z.string().describe(\"Locale code (e.g., 'US')\").nullable(),\n}).passthrough();\nexport const PolygonGetForexLocalesOutput = z.object({\n count: z.number().int().describe(\"Total number of locale records returned\").nullable().optional(),\n status: z.string().describe(\"Status of the API response (e.g., 'OK')\").nullable(),\n results: z.array(PolygonGetForexLocales_LocaleSchema).describe(\"List of locale objects\").nullable().optional(),\n request_id: z.string().describe(\"Unique ID assigned by Polygon for this request (may not be present in v2 API)\").nullable().optional(),\n}).passthrough();\n\nexport const polygonGetForexLocales = action(\"POLYGON_GET_FOREX_LOCALES\", {\n slug: \"polygon-get-forex-locales\",\n name: \"Get Forex Locales\",\n description: \"Tool to list locales supported by Polygon's forex asset class. Use when you need available locale codes for regional filtering in FX endpoints.\",\n input: PolygonGetForexLocalesInput,\n output: PolygonGetForexLocalesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,SAAS,uGAAuG;AACnH,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -28,18 +28,18 @@ const PolygonGetForexMacd_MACDValueSchema = zod.z.object({
|
|
|
28
28
|
signal: zod.z.number().describe("The MACD signal line value (EMA of MACD values) at this timestamp.").nullable(),
|
|
29
29
|
histogram: zod.z.number().describe("The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength.").nullable(),
|
|
30
30
|
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp for this MACD data point.").nullable()
|
|
31
|
-
});
|
|
32
|
-
const PolygonGetForexMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() });
|
|
31
|
+
}).passthrough();
|
|
32
|
+
const PolygonGetForexMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.").nullable() }).passthrough();
|
|
33
33
|
const PolygonGetForexMacd_MACDResultsSchema = zod.z.object({
|
|
34
34
|
values: zod.z.array(PolygonGetForexMacd_MACDValueSchema).describe("Array of MACD data points with values, signals, and histograms.").nullable().optional(),
|
|
35
35
|
underlying: PolygonGetForexMacd_UnderlyingSchema.nullable().optional()
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
37
|
const PolygonGetForexMacdOutput = zod.z.object({
|
|
38
38
|
status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
|
|
39
39
|
results: PolygonGetForexMacd_MACDResultsSchema.nullable().optional(),
|
|
40
40
|
next_url: zod.z.string().describe("If present, this URL can be used to fetch the next page of data.").nullable().optional(),
|
|
41
41
|
request_id: zod.z.string().describe("A request ID assigned by the server.").nullable().optional()
|
|
42
|
-
});
|
|
42
|
+
}).passthrough();
|
|
43
43
|
const polygonGetForexMacd = require_action.action("POLYGON_GET_FOREX_MACD", {
|
|
44
44
|
slug: "polygon-get-forex-macd",
|
|
45
45
|
name: "Get Forex MACD",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether the aggregates used to calculate MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day', 'hour', 'minute').\"),\n timestamp: z.string().describe(\"Filter by timestamp. Can be a date in YYYY-MM-DD format or a millisecond timestamp.\").optional(),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Typically 26.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field in the aggregate which will be used to calculate MACD. 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 short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Typically 12.\"),\n timestamp_gt: z.string().describe(\"Range filter - only include results where timestamp is greater than this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Range filter - only include results where timestamp is less than this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Typically 9.\"),\n timestamp_gte: z.string().describe(\"Range filter - only include results where timestamp is greater than or equal to this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Range filter - only include results where timestamp is less than or equal to this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a forex pair.\");\nconst PolygonGetForexMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD value (difference between short EMA and long EMA) at this timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value (EMA of MACD values) at this timestamp.\").nullable(),\n histogram: z.number().describe(\"The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp for this MACD data point.\").nullable(),\n});\nconst PolygonGetForexMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n});\nconst PolygonGetForexMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonGetForexMacd_MACDValueSchema).describe(\"Array of MACD data points with values, signals, and histograms.\").nullable().optional(),\n underlying: PolygonGetForexMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonGetForexMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetForexMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this URL 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 polygonGetForexMacd = action(\"POLYGON_GET_FOREX_MACD\", {\n slug: \"polygon-get-forex-macd\",\n name: \"Get Forex MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a forex pair. Use when you need momentum analysis, trend identification, or trading signal generation for currency pairs.\",\n input: PolygonGetForexMacdInput,\n output: PolygonGetForexMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,C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vL,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC5G,CAAC;
|
|
1
|
+
{"version":3,"file":"get-forex-macd.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexMacdInput = z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of results to return. Must be between 1 and 5000. Defaults to 10.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether the aggregates used to calculate MACD are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.string().describe(\"The size of the aggregate time window (e.g., 'day', 'hour', 'minute').\"),\n timestamp: z.string().describe(\"Filter by timestamp. Can be a date in YYYY-MM-DD format or a millisecond timestamp.\").optional(),\n long_window: z.number().int().describe(\"The long window size (number of periods) used to calculate MACD data. Typically 26.\"),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price field in the aggregate which will be used to calculate MACD. 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 short_window: z.number().int().describe(\"The short window size (number of periods) used to calculate MACD data. Typically 12.\"),\n timestamp_gt: z.string().describe(\"Range filter - only include results where timestamp is greater than this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Range filter - only include results where timestamp is less than this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n signal_window: z.number().int().describe(\"The window size (number of periods) used to calculate the MACD signal line. Typically 9.\"),\n timestamp_gte: z.string().describe(\"Range filter - only include results where timestamp is greater than or equal to this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Range filter - only include results where timestamp is less than or equal to this value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n expand_underlying: z.boolean().default(false).describe(\"Whether to include the underlying aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a forex pair.\");\nconst PolygonGetForexMacd_MACDValueSchema = z.object({\n value: z.number().describe(\"The MACD value (difference between short EMA and long EMA) at this timestamp.\").nullable(),\n signal: z.number().describe(\"The MACD signal line value (EMA of MACD values) at this timestamp.\").nullable(),\n histogram: z.number().describe(\"The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength.\").nullable(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp for this MACD data point.\").nullable(),\n}).passthrough();\nconst PolygonGetForexMacd_UnderlyingSchema = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\").nullable(),\n}).passthrough();\nconst PolygonGetForexMacd_MACDResultsSchema = z.object({\n values: z.array(PolygonGetForexMacd_MACDValueSchema).describe(\"Array of MACD data points with values, signals, and histograms.\").nullable().optional(),\n underlying: PolygonGetForexMacd_UnderlyingSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonGetForexMacdOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetForexMacd_MACDResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this URL 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 polygonGetForexMacd = action(\"POLYGON_GET_FOREX_MACD\", {\n slug: \"polygon-get-forex-macd\",\n name: \"Get Forex MACD\",\n description: \"Tool to calculate Moving Average Convergence/Divergence (MACD) technical indicator for a forex pair. Use when you need momentum analysis, trend identification, or trading signal generation for currency pairs.\",\n input: PolygonGetForexMacdInput,\n output: PolygonGetForexMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC7M,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;CAC5H,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAs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