@keystrokehq/polygon_io 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-all-tickers.cjs +10 -10
- package/dist/actions/get-all-tickers.cjs.map +1 -1
- package/dist/actions/get-all-tickers.d.cts +55 -3
- package/dist/actions/get-all-tickers.d.cts.map +1 -1
- package/dist/actions/get-all-tickers.d.mts +55 -3
- package/dist/actions/get-all-tickers.d.mts.map +1 -1
- package/dist/actions/get-all-tickers.mjs +10 -10
- package/dist/actions/get-all-tickers.mjs.map +1 -1
- package/dist/actions/get-condition-codes.cjs +8 -8
- package/dist/actions/get-condition-codes.cjs.map +1 -1
- package/dist/actions/get-condition-codes.d.cts +40 -3
- package/dist/actions/get-condition-codes.d.cts.map +1 -1
- package/dist/actions/get-condition-codes.d.mts +40 -3
- package/dist/actions/get-condition-codes.d.mts.map +1 -1
- package/dist/actions/get-condition-codes.mjs +8 -8
- package/dist/actions/get-condition-codes.mjs.map +1 -1
- package/dist/actions/get-crypto-ema.cjs +7 -7
- package/dist/actions/get-crypto-ema.cjs.map +1 -1
- package/dist/actions/get-crypto-ema.d.cts +70 -3
- package/dist/actions/get-crypto-ema.d.cts.map +1 -1
- package/dist/actions/get-crypto-ema.d.mts +70 -3
- package/dist/actions/get-crypto-ema.d.mts.map +1 -1
- package/dist/actions/get-crypto-ema.mjs +7 -7
- package/dist/actions/get-crypto-ema.mjs.map +1 -1
- package/dist/actions/get-crypto-macd.cjs +8 -8
- package/dist/actions/get-crypto-macd.cjs.map +1 -1
- package/dist/actions/get-crypto-macd.d.cts +50 -3
- package/dist/actions/get-crypto-macd.d.cts.map +1 -1
- package/dist/actions/get-crypto-macd.d.mts +50 -3
- package/dist/actions/get-crypto-macd.d.mts.map +1 -1
- package/dist/actions/get-crypto-macd.mjs +8 -8
- package/dist/actions/get-crypto-macd.mjs.map +1 -1
- package/dist/actions/get-crypto-open-close.cjs +7 -7
- package/dist/actions/get-crypto-open-close.cjs.map +1 -1
- package/dist/actions/get-crypto-open-close.d.cts +35 -3
- package/dist/actions/get-crypto-open-close.d.cts.map +1 -1
- package/dist/actions/get-crypto-open-close.d.mts +35 -3
- package/dist/actions/get-crypto-open-close.d.mts.map +1 -1
- package/dist/actions/get-crypto-open-close.mjs +7 -7
- package/dist/actions/get-crypto-open-close.mjs.map +1 -1
- package/dist/actions/get-crypto-rsi.cjs +6 -6
- package/dist/actions/get-crypto-rsi.cjs.map +1 -1
- package/dist/actions/get-crypto-rsi.d.cts +60 -3
- package/dist/actions/get-crypto-rsi.d.cts.map +1 -1
- package/dist/actions/get-crypto-rsi.d.mts +60 -3
- package/dist/actions/get-crypto-rsi.d.mts.map +1 -1
- package/dist/actions/get-crypto-rsi.mjs +6 -6
- package/dist/actions/get-crypto-rsi.mjs.map +1 -1
- package/dist/actions/get-crypto-sma.cjs +6 -6
- package/dist/actions/get-crypto-sma.cjs.map +1 -1
- package/dist/actions/get-crypto-sma.d.cts +60 -3
- package/dist/actions/get-crypto-sma.d.cts.map +1 -1
- package/dist/actions/get-crypto-sma.d.mts +60 -3
- package/dist/actions/get-crypto-sma.d.mts.map +1 -1
- package/dist/actions/get-crypto-sma.mjs +6 -6
- package/dist/actions/get-crypto-sma.mjs.map +1 -1
- package/dist/actions/get-daily-open-close.cjs +8 -8
- package/dist/actions/get-daily-open-close.cjs.map +1 -1
- package/dist/actions/get-daily-open-close.d.cts +22 -3
- package/dist/actions/get-daily-open-close.d.cts.map +1 -1
- package/dist/actions/get-daily-open-close.d.mts +22 -3
- package/dist/actions/get-daily-open-close.d.mts.map +1 -1
- package/dist/actions/get-daily-open-close.mjs +8 -8
- package/dist/actions/get-daily-open-close.mjs.map +1 -1
- package/dist/actions/get-dividends.cjs +4 -4
- package/dist/actions/get-dividends.cjs.map +1 -1
- package/dist/actions/get-dividends.d.cts +51 -3
- package/dist/actions/get-dividends.d.cts.map +1 -1
- package/dist/actions/get-dividends.d.mts +51 -3
- package/dist/actions/get-dividends.d.mts.map +1 -1
- package/dist/actions/get-dividends.mjs +4 -4
- package/dist/actions/get-dividends.mjs.map +1 -1
- package/dist/actions/get-economy-inflation2.cjs +2 -2
- package/dist/actions/get-economy-inflation2.cjs.map +1 -1
- package/dist/actions/get-economy-inflation2.d.cts +35 -3
- package/dist/actions/get-economy-inflation2.d.cts.map +1 -1
- package/dist/actions/get-economy-inflation2.d.mts +35 -3
- package/dist/actions/get-economy-inflation2.d.mts.map +1 -1
- package/dist/actions/get-economy-inflation2.mjs +2 -2
- package/dist/actions/get-economy-inflation2.mjs.map +1 -1
- package/dist/actions/get-ema.cjs +7 -7
- package/dist/actions/get-ema.cjs.map +1 -1
- package/dist/actions/get-ema.d.cts +53 -3
- package/dist/actions/get-ema.d.cts.map +1 -1
- package/dist/actions/get-ema.d.mts +53 -3
- package/dist/actions/get-ema.d.mts.map +1 -1
- package/dist/actions/get-ema.mjs +7 -7
- package/dist/actions/get-ema.mjs.map +1 -1
- package/dist/actions/get-filing-file.cjs +5 -5
- package/dist/actions/get-filing-file.cjs.map +1 -1
- package/dist/actions/get-filing-file.d.cts +15 -3
- package/dist/actions/get-filing-file.d.cts.map +1 -1
- package/dist/actions/get-filing-file.d.mts +15 -3
- package/dist/actions/get-filing-file.d.mts.map +1 -1
- package/dist/actions/get-filing-file.mjs +5 -5
- package/dist/actions/get-filing-file.mjs.map +1 -1
- package/dist/actions/get-filing.cjs +9 -9
- package/dist/actions/get-filing.cjs.map +1 -1
- package/dist/actions/get-filing.d.cts +29 -3
- package/dist/actions/get-filing.d.cts.map +1 -1
- package/dist/actions/get-filing.d.mts +29 -3
- package/dist/actions/get-filing.d.mts.map +1 -1
- package/dist/actions/get-filing.mjs +9 -9
- package/dist/actions/get-filing.mjs.map +1 -1
- package/dist/actions/get-forex-ema.cjs +7 -7
- package/dist/actions/get-forex-ema.cjs.map +1 -1
- package/dist/actions/get-forex-ema.d.cts +61 -3
- package/dist/actions/get-forex-ema.d.cts.map +1 -1
- package/dist/actions/get-forex-ema.d.mts +61 -3
- package/dist/actions/get-forex-ema.d.mts.map +1 -1
- package/dist/actions/get-forex-ema.mjs +7 -7
- package/dist/actions/get-forex-ema.mjs.map +1 -1
- package/dist/actions/get-forex-macd.cjs +8 -8
- package/dist/actions/get-forex-macd.cjs.map +1 -1
- package/dist/actions/get-forex-macd.d.cts +58 -3
- package/dist/actions/get-forex-macd.d.cts.map +1 -1
- package/dist/actions/get-forex-macd.d.mts +58 -3
- package/dist/actions/get-forex-macd.d.mts.map +1 -1
- package/dist/actions/get-forex-macd.mjs +8 -8
- package/dist/actions/get-forex-macd.mjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.cjs +2 -2
- package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts +27 -3
- package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -1
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts +27 -3
- package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -1
- 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 +6 -6
- package/dist/actions/get-forex-rsi.cjs.map +1 -1
- package/dist/actions/get-forex-rsi.d.cts +60 -3
- package/dist/actions/get-forex-rsi.d.cts.map +1 -1
- package/dist/actions/get-forex-rsi.d.mts +60 -3
- package/dist/actions/get-forex-rsi.d.mts.map +1 -1
- package/dist/actions/get-forex-rsi.mjs +6 -6
- package/dist/actions/get-forex-rsi.mjs.map +1 -1
- package/dist/actions/get-forex-sma.cjs +7 -7
- package/dist/actions/get-forex-sma.cjs.map +1 -1
- package/dist/actions/get-forex-sma.d.cts +70 -3
- package/dist/actions/get-forex-sma.d.cts.map +1 -1
- package/dist/actions/get-forex-sma.d.mts +70 -3
- package/dist/actions/get-forex-sma.d.mts.map +1 -1
- package/dist/actions/get-forex-sma.mjs +7 -7
- package/dist/actions/get-forex-sma.mjs.map +1 -1
- package/dist/actions/get-futures-quotes.cjs +2 -2
- package/dist/actions/get-futures-quotes.cjs.map +1 -1
- package/dist/actions/get-futures-quotes.d.cts +37 -3
- package/dist/actions/get-futures-quotes.d.cts.map +1 -1
- package/dist/actions/get-futures-quotes.d.mts +37 -3
- package/dist/actions/get-futures-quotes.d.mts.map +1 -1
- package/dist/actions/get-futures-quotes.mjs +2 -2
- package/dist/actions/get-futures-quotes.mjs.map +1 -1
- package/dist/actions/get-grouped-daily.cjs +14 -14
- package/dist/actions/get-grouped-daily.cjs.map +1 -1
- package/dist/actions/get-grouped-daily.d.cts +38 -3
- package/dist/actions/get-grouped-daily.d.cts.map +1 -1
- package/dist/actions/get-grouped-daily.d.mts +38 -3
- package/dist/actions/get-grouped-daily.d.mts.map +1 -1
- package/dist/actions/get-grouped-daily.mjs +14 -14
- package/dist/actions/get-grouped-daily.mjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.cjs +2 -2
- package/dist/actions/get-historic-forex-ticks.cjs.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.cts +25 -3
- package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -1
- package/dist/actions/get-historic-forex-ticks.d.mts +25 -3
- package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -1
- 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 +3 -3
- package/dist/actions/get-inflation-expectations.cjs.map +1 -1
- package/dist/actions/get-inflation-expectations.d.cts +36 -3
- package/dist/actions/get-inflation-expectations.d.cts.map +1 -1
- package/dist/actions/get-inflation-expectations.d.mts +36 -3
- package/dist/actions/get-inflation-expectations.d.mts.map +1 -1
- package/dist/actions/get-inflation-expectations.mjs +3 -3
- 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 +39 -3
- package/dist/actions/get-ipo-data.d.cts.map +1 -1
- package/dist/actions/get-ipo-data.d.mts +39 -3
- package/dist/actions/get-ipo-data.d.mts.map +1 -1
- package/dist/actions/get-ipo-data.mjs +2 -2
- package/dist/actions/get-ipo-data.mjs.map +1 -1
- package/dist/actions/get-labor-market.cjs +2 -2
- package/dist/actions/get-labor-market.cjs.map +1 -1
- package/dist/actions/get-labor-market.d.cts +33 -3
- package/dist/actions/get-labor-market.d.cts.map +1 -1
- package/dist/actions/get-labor-market.d.mts +33 -3
- package/dist/actions/get-labor-market.d.mts.map +1 -1
- package/dist/actions/get-labor-market.mjs +2 -2
- package/dist/actions/get-labor-market.mjs.map +1 -1
- package/dist/actions/get-macd.cjs +8 -8
- package/dist/actions/get-macd.cjs.map +1 -1
- package/dist/actions/get-macd.d.cts +50 -3
- package/dist/actions/get-macd.d.cts.map +1 -1
- package/dist/actions/get-macd.d.mts +50 -3
- package/dist/actions/get-macd.d.mts.map +1 -1
- package/dist/actions/get-macd.mjs +8 -8
- package/dist/actions/get-macd.mjs.map +1 -1
- package/dist/actions/get-market-holidays.cjs +6 -6
- package/dist/actions/get-market-holidays.cjs.map +1 -1
- package/dist/actions/get-market-holidays.d.cts +12 -3
- package/dist/actions/get-market-holidays.d.cts.map +1 -1
- package/dist/actions/get-market-holidays.d.mts +12 -3
- package/dist/actions/get-market-holidays.d.mts.map +1 -1
- package/dist/actions/get-market-holidays.mjs +6 -6
- package/dist/actions/get-market-holidays.mjs.map +1 -1
- package/dist/actions/get-market-status.cjs +8 -8
- package/dist/actions/get-market-status.cjs.map +1 -1
- package/dist/actions/get-market-status.d.cts +11 -3
- package/dist/actions/get-market-status.d.cts.map +1 -1
- package/dist/actions/get-market-status.d.mts +11 -3
- package/dist/actions/get-market-status.d.mts.map +1 -1
- package/dist/actions/get-market-status.mjs +8 -8
- package/dist/actions/get-market-status.mjs.map +1 -1
- package/dist/actions/get-news.cjs +11 -11
- package/dist/actions/get-news.cjs.map +1 -1
- package/dist/actions/get-news.d.cts +44 -3
- package/dist/actions/get-news.d.cts.map +1 -1
- package/dist/actions/get-news.d.mts +44 -3
- package/dist/actions/get-news.d.mts.map +1 -1
- package/dist/actions/get-news.mjs +11 -11
- package/dist/actions/get-news.mjs.map +1 -1
- package/dist/actions/get-options-contract-overview.cjs +3 -3
- package/dist/actions/get-options-contract-overview.cjs.map +1 -1
- package/dist/actions/get-options-contract-overview.d.cts +29 -3
- package/dist/actions/get-options-contract-overview.d.cts.map +1 -1
- package/dist/actions/get-options-contract-overview.d.mts +29 -3
- package/dist/actions/get-options-contract-overview.d.mts.map +1 -1
- package/dist/actions/get-options-contract-overview.mjs +3 -3
- package/dist/actions/get-options-contract-overview.mjs.map +1 -1
- package/dist/actions/get-options-ema.cjs +7 -7
- package/dist/actions/get-options-ema.cjs.map +1 -1
- package/dist/actions/get-options-ema.d.cts +62 -3
- package/dist/actions/get-options-ema.d.cts.map +1 -1
- package/dist/actions/get-options-ema.d.mts +62 -3
- package/dist/actions/get-options-ema.d.mts.map +1 -1
- package/dist/actions/get-options-ema.mjs +7 -7
- package/dist/actions/get-options-ema.mjs.map +1 -1
- package/dist/actions/get-options-macd.cjs +8 -8
- package/dist/actions/get-options-macd.cjs.map +1 -1
- package/dist/actions/get-options-macd.d.cts +50 -3
- package/dist/actions/get-options-macd.d.cts.map +1 -1
- package/dist/actions/get-options-macd.d.mts +50 -3
- package/dist/actions/get-options-macd.d.mts.map +1 -1
- package/dist/actions/get-options-macd.mjs +8 -8
- package/dist/actions/get-options-macd.mjs.map +1 -1
- package/dist/actions/get-options-rsi.cjs +6 -6
- package/dist/actions/get-options-rsi.cjs.map +1 -1
- package/dist/actions/get-options-rsi.d.cts +60 -3
- package/dist/actions/get-options-rsi.d.cts.map +1 -1
- package/dist/actions/get-options-rsi.d.mts +60 -3
- package/dist/actions/get-options-rsi.d.mts.map +1 -1
- package/dist/actions/get-options-rsi.mjs +6 -6
- package/dist/actions/get-options-rsi.mjs.map +1 -1
- package/dist/actions/get-options-sma.cjs +7 -7
- package/dist/actions/get-options-sma.cjs.map +1 -1
- package/dist/actions/get-options-sma.d.cts +72 -3
- package/dist/actions/get-options-sma.d.cts.map +1 -1
- package/dist/actions/get-options-sma.d.mts +72 -3
- package/dist/actions/get-options-sma.d.mts.map +1 -1
- package/dist/actions/get-options-sma.mjs +7 -7
- package/dist/actions/get-options-sma.mjs.map +1 -1
- package/dist/actions/get-related-companies.cjs +2 -2
- package/dist/actions/get-related-companies.cjs.map +1 -1
- package/dist/actions/get-related-companies.d.cts +14 -3
- package/dist/actions/get-related-companies.d.cts.map +1 -1
- package/dist/actions/get-related-companies.d.mts +14 -3
- package/dist/actions/get-related-companies.d.mts.map +1 -1
- package/dist/actions/get-related-companies.mjs +2 -2
- package/dist/actions/get-related-companies.mjs.map +1 -1
- package/dist/actions/get-rsi.cjs +6 -6
- package/dist/actions/get-rsi.cjs.map +1 -1
- package/dist/actions/get-rsi.d.cts +44 -3
- package/dist/actions/get-rsi.d.cts.map +1 -1
- package/dist/actions/get-rsi.d.mts +44 -3
- package/dist/actions/get-rsi.d.mts.map +1 -1
- package/dist/actions/get-rsi.mjs +6 -6
- package/dist/actions/get-rsi.mjs.map +1 -1
- package/dist/actions/get-sma.cjs +6 -6
- package/dist/actions/get-sma.cjs.map +1 -1
- package/dist/actions/get-sma.d.cts +44 -3
- package/dist/actions/get-sma.d.cts.map +1 -1
- package/dist/actions/get-sma.d.mts +44 -3
- package/dist/actions/get-sma.d.mts.map +1 -1
- package/dist/actions/get-sma.mjs +6 -6
- package/dist/actions/get-sma.mjs.map +1 -1
- package/dist/actions/get-splits.cjs +3 -3
- package/dist/actions/get-splits.cjs.map +1 -1
- package/dist/actions/get-splits.d.cts +38 -3
- package/dist/actions/get-splits.d.cts.map +1 -1
- package/dist/actions/get-splits.d.mts +38 -3
- package/dist/actions/get-splits.d.mts.map +1 -1
- package/dist/actions/get-splits.mjs +3 -3
- package/dist/actions/get-splits.mjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.cjs +10 -10
- package/dist/actions/get-stocks-custom-bars.cjs.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.cts +48 -3
- package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.d.mts +48 -3
- package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -1
- package/dist/actions/get-stocks-custom-bars.mjs +10 -10
- package/dist/actions/get-stocks-custom-bars.mjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.cjs +14 -14
- package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.cts +29 -3
- package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.d.mts +29 -3
- package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -1
- package/dist/actions/get-stocks-daily-market-summary.mjs +14 -14
- package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.cjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.cts +58 -3
- package/dist/actions/get-stocks-filings-risk-factors.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.d.mts +58 -3
- package/dist/actions/get-stocks-filings-risk-factors.d.mts.map +1 -1
- package/dist/actions/get-stocks-filings-risk-factors.mjs +2 -2
- package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.cjs +4 -4
- package/dist/actions/get-stocks-filings-sections.cjs.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.cts +73 -3
- package/dist/actions/get-stocks-filings-sections.d.cts.map +1 -1
- package/dist/actions/get-stocks-filings-sections.d.mts +73 -3
- package/dist/actions/get-stocks-filings-sections.d.mts.map +1 -1
- package/dist/actions/get-stocks-filings-sections.mjs +4 -4
- package/dist/actions/get-stocks-filings-sections.mjs.map +1 -1
- package/dist/actions/get-stocks-free-float.cjs +4 -4
- package/dist/actions/get-stocks-free-float.cjs.map +1 -1
- package/dist/actions/get-stocks-free-float.d.cts +41 -3
- package/dist/actions/get-stocks-free-float.d.cts.map +1 -1
- package/dist/actions/get-stocks-free-float.d.mts +41 -3
- package/dist/actions/get-stocks-free-float.d.mts.map +1 -1
- package/dist/actions/get-stocks-free-float.mjs +4 -4
- package/dist/actions/get-stocks-free-float.mjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.cjs +9 -9
- package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.cts +60 -3
- package/dist/actions/get-stocks-full-market-snapshot.d.cts.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.d.mts +60 -3
- package/dist/actions/get-stocks-full-market-snapshot.d.mts.map +1 -1
- package/dist/actions/get-stocks-full-market-snapshot.mjs +9 -9
- package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.cjs +5 -5
- package/dist/actions/get-stocks-income-statements.cjs.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.cts +248 -3
- package/dist/actions/get-stocks-income-statements.d.cts.map +1 -1
- package/dist/actions/get-stocks-income-statements.d.mts +248 -3
- package/dist/actions/get-stocks-income-statements.d.mts.map +1 -1
- package/dist/actions/get-stocks-income-statements.mjs +5 -5
- package/dist/actions/get-stocks-income-statements.mjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.cjs +11 -11
- package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.cts +27 -3
- package/dist/actions/get-stocks-previous-day-bar.d.cts.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.d.mts +27 -3
- package/dist/actions/get-stocks-previous-day-bar.d.mts.map +1 -1
- package/dist/actions/get-stocks-previous-day-bar.mjs +11 -11
- package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +5 -5
- package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +66 -3
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +66 -3
- package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts.map +1 -1
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +5 -5
- package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.cjs +5 -5
- package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.cts +69 -3
- package/dist/actions/get-stocks-v1-dividends.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.d.mts +69 -3
- package/dist/actions/get-stocks-v1-dividends.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-dividends.mjs +5 -5
- package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.cjs +7 -7
- package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.cts +68 -3
- package/dist/actions/get-stocks-v1-short-interest.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.d.mts +68 -3
- package/dist/actions/get-stocks-v1-short-interest.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-short-interest.mjs +7 -7
- package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.cjs +5 -5
- package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.cts +78 -3
- package/dist/actions/get-stocks-v1-short-volume.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.d.mts +78 -3
- package/dist/actions/get-stocks-v1-short-volume.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-short-volume.mjs +5 -5
- package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.cjs +5 -5
- package/dist/actions/get-stocks-v1-splits.cjs.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.cts +52 -3
- package/dist/actions/get-stocks-v1-splits.d.cts.map +1 -1
- package/dist/actions/get-stocks-v1-splits.d.mts +52 -3
- package/dist/actions/get-stocks-v1-splits.d.mts.map +1 -1
- package/dist/actions/get-stocks-v1-splits.mjs +5 -5
- package/dist/actions/get-stocks-v1-splits.mjs.map +1 -1
- package/dist/actions/get-ticker-events.cjs +4 -4
- package/dist/actions/get-ticker-events.cjs.map +1 -1
- package/dist/actions/get-ticker-events.d.cts +22 -3
- package/dist/actions/get-ticker-events.d.cts.map +1 -1
- package/dist/actions/get-ticker-events.d.mts +22 -3
- package/dist/actions/get-ticker-events.d.mts.map +1 -1
- package/dist/actions/get-ticker-events.mjs +4 -4
- package/dist/actions/get-ticker-events.mjs.map +1 -1
- package/dist/actions/get-ticker-overview.cjs +5 -5
- package/dist/actions/get-ticker-overview.cjs.map +1 -1
- package/dist/actions/get-ticker-overview.d.cts +45 -3
- package/dist/actions/get-ticker-overview.d.cts.map +1 -1
- package/dist/actions/get-ticker-overview.d.mts +45 -3
- package/dist/actions/get-ticker-overview.d.mts.map +1 -1
- package/dist/actions/get-ticker-overview.mjs +5 -5
- package/dist/actions/get-ticker-overview.mjs.map +1 -1
- package/dist/actions/get-ticker-types.cjs +6 -6
- package/dist/actions/get-ticker-types.cjs.map +1 -1
- package/dist/actions/get-ticker-types.d.cts +10 -3
- package/dist/actions/get-ticker-types.d.cts.map +1 -1
- package/dist/actions/get-ticker-types.d.mts +10 -3
- package/dist/actions/get-ticker-types.d.mts.map +1 -1
- package/dist/actions/get-ticker-types.mjs +6 -6
- 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 +40 -3
- package/dist/actions/get-treasury-yields.d.cts.map +1 -1
- package/dist/actions/get-treasury-yields.d.mts +40 -3
- package/dist/actions/get-treasury-yields.d.mts.map +1 -1
- package/dist/actions/get-treasury-yields.mjs +2 -2
- package/dist/actions/get-treasury-yields.mjs.map +1 -1
- package/dist/actions/list-exchanges.cjs +9 -9
- package/dist/actions/list-exchanges.cjs.map +1 -1
- package/dist/actions/list-exchanges.d.cts +34 -3
- package/dist/actions/list-exchanges.d.cts.map +1 -1
- package/dist/actions/list-exchanges.d.mts +34 -3
- package/dist/actions/list-exchanges.d.mts.map +1 -1
- package/dist/actions/list-exchanges.mjs +9 -9
- package/dist/actions/list-exchanges.mjs.map +1 -1
- package/dist/actions/list-filing-files.cjs +12 -12
- package/dist/actions/list-filing-files.cjs.map +1 -1
- package/dist/actions/list-filing-files.d.cts +53 -3
- package/dist/actions/list-filing-files.d.cts.map +1 -1
- package/dist/actions/list-filing-files.d.mts +53 -3
- package/dist/actions/list-filing-files.d.mts.map +1 -1
- package/dist/actions/list-filing-files.mjs +12 -12
- package/dist/actions/list-filing-files.mjs.map +1 -1
- package/dist/actions/list-filings.cjs +14 -14
- package/dist/actions/list-filings.cjs.map +1 -1
- package/dist/actions/list-filings.d.cts +78 -3
- package/dist/actions/list-filings.d.cts.map +1 -1
- package/dist/actions/list-filings.d.mts +78 -3
- package/dist/actions/list-filings.d.mts.map +1 -1
- package/dist/actions/list-filings.mjs +14 -14
- package/dist/actions/list-filings.mjs.map +1 -1
- package/dist/actions/list-options-contracts.cjs +3 -3
- package/dist/actions/list-options-contracts.cjs.map +1 -1
- package/dist/actions/list-options-contracts.d.cts +66 -3
- package/dist/actions/list-options-contracts.d.cts.map +1 -1
- package/dist/actions/list-options-contracts.d.mts +66 -3
- package/dist/actions/list-options-contracts.d.mts.map +1 -1
- package/dist/actions/list-options-contracts.mjs +3 -3
- package/dist/actions/list-options-contracts.mjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +20 -3
- package/dist/actions/polygon-last-quote-for-a-symbol.d.cts.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +20 -3
- package/dist/actions/polygon-last-quote-for-a-symbol.d.mts.map +1 -1
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs +2 -2
- package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +19 -3
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +19 -3
- package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts.map +1 -1
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +2 -2
- package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filing-file.mjs","names":[],"sources":["../../src/actions/get-filing-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingFileInput
|
|
1
|
+
{"version":3,"file":"get-filing-file.mjs","names":[],"sources":["../../src/actions/get-filing-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingFileInput = z.object({\n file_id: z.string().describe(\"The unique identifier for the file within the filing, e.g., 'readvantage10q_12312025.htm' or 'ex31.htm'. Use the filename from the LIST_FILING_FILES action.\"),\n filing_id: z.string().describe(\"The unique identifier for the SEC filing, e.g., '0002057381-26-000010'. This is the filing accession number.\"),\n}).describe(\"Parameters to retrieve a specific file from an SEC filing.\");\nconst PolygonIoGetFilingFile_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PolygonIoGetFilingFileOutput = z.object({\n content: PolygonIoGetFilingFile_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response containing the downloaded file content from an SEC filing.\");\n\nexport const polygonIoGetFilingFile = action(\"POLYGON_IO_GET_FILING_FILE\", {\n slug: \"polygon_io-get-filing-file\",\n name: \"Get SEC Filing File\",\n description: \"Tool to download a specific file from an SEC filing. Use when you need to access individual documents from a company's SEC filings, such as 10-Q, 10-K, or other submission files. Returns the raw file content (HTML, XML, XBRL, etc.).\",\n input: PolygonIoGetFilingFileInput,\n output: PolygonIoGetFilingFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CAC3L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;AAC/I,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -7,24 +7,24 @@ const PolygonIoGetFiling_FilingEntitySchema = zod.z.object({
|
|
|
7
7
|
cik: zod.z.string().describe("Central Index Key (CIK) of the entity.").nullable().optional(),
|
|
8
8
|
ticker: zod.z.string().describe("Ticker symbol of the entity.").nullable().optional(),
|
|
9
9
|
company_name: zod.z.string().describe("Name of the company.").nullable().optional()
|
|
10
|
-
}).describe("Entity information related to the filing (e.g., document filers).");
|
|
10
|
+
}).passthrough().describe("Entity information related to the filing (e.g., document filers).");
|
|
11
11
|
const PolygonIoGetFiling_FilingSchema = zod.z.object({
|
|
12
|
-
id: zod.z.string().describe("Unique identifier for the filing."),
|
|
12
|
+
id: zod.z.string().describe("Unique identifier for the filing.").nullable(),
|
|
13
13
|
type: PolygonIoGetFiling_FilingTypeSchema.nullable(),
|
|
14
14
|
entities: zod.z.array(PolygonIoGetFiling_FilingEntitySchema).describe("Entities related to the filing (e.g., the document filers)."),
|
|
15
|
-
source_url: zod.z.string().describe("The source URL is a link back to the upstream source for this filing document."),
|
|
16
|
-
files_count: zod.z.number().int().describe("The number of files associated with the filing."),
|
|
17
|
-
filing_date: zod.z.string().describe("The date when the filing was filed in YYYYMMDD format."),
|
|
15
|
+
source_url: zod.z.string().describe("The source URL is a link back to the upstream source for this filing document.").nullable(),
|
|
16
|
+
files_count: zod.z.number().int().describe("The number of files associated with the filing.").nullable(),
|
|
17
|
+
filing_date: zod.z.string().describe("The date when the filing was filed in YYYYMMDD format.").nullable(),
|
|
18
18
|
download_url: zod.z.string().describe("URL to download the filing document.").nullable().optional(),
|
|
19
|
-
accession_number: zod.z.string().describe("Filing Accession Number."),
|
|
19
|
+
accession_number: zod.z.string().describe("Filing Accession Number.").nullable(),
|
|
20
20
|
acceptance_datetime: zod.z.string().describe("The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS).").nullable().optional(),
|
|
21
|
-
period_of_report_date: zod.z.string().describe("The period of report for the filing in YYYYMMDD format.")
|
|
22
|
-
}).describe("Detailed information about a single SEC filing.");
|
|
21
|
+
period_of_report_date: zod.z.string().describe("The period of report for the filing in YYYYMMDD format.").nullable()
|
|
22
|
+
}).passthrough().describe("Detailed information about a single SEC filing.");
|
|
23
23
|
const PolygonIoGetFilingOutput = zod.z.object({
|
|
24
24
|
status: zod.z.string().describe("Status of the response (e.g., 'OK').").nullable().optional(),
|
|
25
25
|
results: PolygonIoGetFiling_FilingSchema.nullable().optional(),
|
|
26
26
|
request_id: zod.z.string().describe("Unique identifier for the request.").nullable().optional()
|
|
27
|
-
}).describe("Response containing detailed SEC filing information.");
|
|
27
|
+
}).passthrough().describe("Response containing detailed SEC filing information.");
|
|
28
28
|
const polygonIoGetFiling = require_action.action("POLYGON_IO_GET_FILING", {
|
|
29
29
|
slug: "polygon_io-get-filing",
|
|
30
30
|
name: "Get SEC Filing",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filing.cjs","names":["z","action"],"sources":["../../src/actions/get-filing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingInput
|
|
1
|
+
{"version":3,"file":"get-filing.cjs","names":["z","action"],"sources":["../../src/actions/get-filing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingInput = z.object({\n filing_id: z.string().describe(\"The unique filing ID (accession number format: XXXXXXXXXX-XX-XXXXXX). Example: '0002057381-26-000010'\"),\n}).describe(\"Parameters to retrieve a single SEC filing by filing ID.\");\nconst PolygonIoGetFiling_FilingTypeSchema = z.enum([\"10-K\", \"10-Q\"]).describe(\"Enumeration of supported SEC filing types.\");\nconst PolygonIoGetFiling_FilingEntitySchema = z.object({\n cik: z.string().describe(\"Central Index Key (CIK) of the entity.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the entity.\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company.\").nullable().optional(),\n}).passthrough().describe(\"Entity information related to the filing (e.g., document filers).\");\nconst PolygonIoGetFiling_FilingSchema = z.object({\n id: z.string().describe(\"Unique identifier for the filing.\").nullable(),\n type: PolygonIoGetFiling_FilingTypeSchema.nullable(),\n entities: z.array(PolygonIoGetFiling_FilingEntitySchema).describe(\"Entities related to the filing (e.g., the document filers).\"),\n source_url: z.string().describe(\"The source URL is a link back to the upstream source for this filing document.\").nullable(),\n files_count: z.number().int().describe(\"The number of files associated with the filing.\").nullable(),\n filing_date: z.string().describe(\"The date when the filing was filed in YYYYMMDD format.\").nullable(),\n download_url: z.string().describe(\"URL to download the filing document.\").nullable().optional(),\n accession_number: z.string().describe(\"Filing Accession Number.\").nullable(),\n acceptance_datetime: z.string().describe(\"The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS).\").nullable().optional(),\n period_of_report_date: z.string().describe(\"The period of report for the filing in YYYYMMDD format.\").nullable(),\n}).passthrough().describe(\"Detailed information about a single SEC filing.\");\nexport const PolygonIoGetFilingOutput = z.object({\n status: z.string().describe(\"Status of the response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetFiling_FilingSchema.nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the request.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed SEC filing information.\");\n\nexport const polygonIoGetFiling = action(\"POLYGON_IO_GET_FILING\", {\n slug: \"polygon_io-get-filing\",\n name: \"Get SEC Filing\",\n description: \"Tool to retrieve detailed information about a specific SEC filing by filing ID. Use when you need to access full filing details including accession number, filing type, dates, source URLs, and associated entities.\",\n input: PolygonIoGetFilingInput,\n output: PolygonIoGetFilingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACxI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,sCAAsCA,IAAAA,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAC1H,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,oCAAoC,SAAS;CACnD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;CAC/H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC3E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-filing.d.ts
|
|
4
|
-
declare const PolygonIoGetFilingInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolygonIoGetFilingInput: z.ZodObject<{
|
|
5
|
+
filing_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolygonIoGetFilingOutput: z.ZodObject<{
|
|
8
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
12
|
+
"10-K": "10-K";
|
|
13
|
+
"10-Q": "10-Q";
|
|
14
|
+
}>>;
|
|
15
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
16
|
+
cik: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
source_url: z.ZodNullable<z.ZodString>;
|
|
21
|
+
files_count: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
filing_date: z.ZodNullable<z.ZodString>;
|
|
23
|
+
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
accession_number: z.ZodNullable<z.ZodString>;
|
|
25
|
+
acceptance_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
period_of_report_date: z.ZodNullable<z.ZodString>;
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
declare const polygonIoGetFiling: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
filing_id: string;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { polygonIoGetFiling };
|
|
9
35
|
//# sourceMappingURL=get-filing.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filing.d.cts","names":[],"sources":["../../src/actions/get-filing.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-filing.d.cts","names":[],"sources":["../../src/actions/get-filing.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-filing.d.ts
|
|
4
|
-
declare const PolygonIoGetFilingInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolygonIoGetFilingInput: z.ZodObject<{
|
|
5
|
+
filing_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PolygonIoGetFilingOutput: z.ZodObject<{
|
|
8
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
12
|
+
"10-K": "10-K";
|
|
13
|
+
"10-Q": "10-Q";
|
|
14
|
+
}>>;
|
|
15
|
+
entities: z.ZodArray<z.ZodObject<{
|
|
16
|
+
cik: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
source_url: z.ZodNullable<z.ZodString>;
|
|
21
|
+
files_count: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
filing_date: z.ZodNullable<z.ZodString>;
|
|
23
|
+
download_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
accession_number: z.ZodNullable<z.ZodString>;
|
|
25
|
+
acceptance_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
period_of_report_date: z.ZodNullable<z.ZodString>;
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
|
+
declare const polygonIoGetFiling: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
filing_id: string;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { polygonIoGetFiling };
|
|
9
35
|
//# sourceMappingURL=get-filing.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filing.d.mts","names":[],"sources":["../../src/actions/get-filing.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-filing.d.mts","names":[],"sources":["../../src/actions/get-filing.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAqBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -7,19 +7,19 @@ const PolygonIoGetFiling_FilingEntitySchema = z.object({
|
|
|
7
7
|
cik: z.string().describe("Central Index Key (CIK) of the entity.").nullable().optional(),
|
|
8
8
|
ticker: z.string().describe("Ticker symbol of the entity.").nullable().optional(),
|
|
9
9
|
company_name: z.string().describe("Name of the company.").nullable().optional()
|
|
10
|
-
}).describe("Entity information related to the filing (e.g., document filers).");
|
|
10
|
+
}).passthrough().describe("Entity information related to the filing (e.g., document filers).");
|
|
11
11
|
const PolygonIoGetFiling_FilingSchema = z.object({
|
|
12
|
-
id: z.string().describe("Unique identifier for the filing."),
|
|
12
|
+
id: z.string().describe("Unique identifier for the filing.").nullable(),
|
|
13
13
|
type: PolygonIoGetFiling_FilingTypeSchema.nullable(),
|
|
14
14
|
entities: z.array(PolygonIoGetFiling_FilingEntitySchema).describe("Entities related to the filing (e.g., the document filers)."),
|
|
15
|
-
source_url: z.string().describe("The source URL is a link back to the upstream source for this filing document."),
|
|
16
|
-
files_count: z.number().int().describe("The number of files associated with the filing."),
|
|
17
|
-
filing_date: z.string().describe("The date when the filing was filed in YYYYMMDD format."),
|
|
15
|
+
source_url: z.string().describe("The source URL is a link back to the upstream source for this filing document.").nullable(),
|
|
16
|
+
files_count: z.number().int().describe("The number of files associated with the filing.").nullable(),
|
|
17
|
+
filing_date: z.string().describe("The date when the filing was filed in YYYYMMDD format.").nullable(),
|
|
18
18
|
download_url: z.string().describe("URL to download the filing document.").nullable().optional(),
|
|
19
|
-
accession_number: z.string().describe("Filing Accession Number."),
|
|
19
|
+
accession_number: z.string().describe("Filing Accession Number.").nullable(),
|
|
20
20
|
acceptance_datetime: z.string().describe("The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS).").nullable().optional(),
|
|
21
|
-
period_of_report_date: z.string().describe("The period of report for the filing in YYYYMMDD format.")
|
|
22
|
-
}).describe("Detailed information about a single SEC filing.");
|
|
21
|
+
period_of_report_date: z.string().describe("The period of report for the filing in YYYYMMDD format.").nullable()
|
|
22
|
+
}).passthrough().describe("Detailed information about a single SEC filing.");
|
|
23
23
|
const polygonIoGetFiling = action("POLYGON_IO_GET_FILING", {
|
|
24
24
|
slug: "polygon_io-get-filing",
|
|
25
25
|
name: "Get SEC Filing",
|
|
@@ -29,7 +29,7 @@ const polygonIoGetFiling = action("POLYGON_IO_GET_FILING", {
|
|
|
29
29
|
status: z.string().describe("Status of the response (e.g., 'OK').").nullable().optional(),
|
|
30
30
|
results: PolygonIoGetFiling_FilingSchema.nullable().optional(),
|
|
31
31
|
request_id: z.string().describe("Unique identifier for the request.").nullable().optional()
|
|
32
|
-
}).describe("Response containing detailed SEC filing information.")
|
|
32
|
+
}).passthrough().describe("Response containing detailed SEC filing information.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { polygonIoGetFiling };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-filing.mjs","names":[],"sources":["../../src/actions/get-filing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingInput
|
|
1
|
+
{"version":3,"file":"get-filing.mjs","names":[],"sources":["../../src/actions/get-filing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetFilingInput = z.object({\n filing_id: z.string().describe(\"The unique filing ID (accession number format: XXXXXXXXXX-XX-XXXXXX). Example: '0002057381-26-000010'\"),\n}).describe(\"Parameters to retrieve a single SEC filing by filing ID.\");\nconst PolygonIoGetFiling_FilingTypeSchema = z.enum([\"10-K\", \"10-Q\"]).describe(\"Enumeration of supported SEC filing types.\");\nconst PolygonIoGetFiling_FilingEntitySchema = z.object({\n cik: z.string().describe(\"Central Index Key (CIK) of the entity.\").nullable().optional(),\n ticker: z.string().describe(\"Ticker symbol of the entity.\").nullable().optional(),\n company_name: z.string().describe(\"Name of the company.\").nullable().optional(),\n}).passthrough().describe(\"Entity information related to the filing (e.g., document filers).\");\nconst PolygonIoGetFiling_FilingSchema = z.object({\n id: z.string().describe(\"Unique identifier for the filing.\").nullable(),\n type: PolygonIoGetFiling_FilingTypeSchema.nullable(),\n entities: z.array(PolygonIoGetFiling_FilingEntitySchema).describe(\"Entities related to the filing (e.g., the document filers).\"),\n source_url: z.string().describe(\"The source URL is a link back to the upstream source for this filing document.\").nullable(),\n files_count: z.number().int().describe(\"The number of files associated with the filing.\").nullable(),\n filing_date: z.string().describe(\"The date when the filing was filed in YYYYMMDD format.\").nullable(),\n download_url: z.string().describe(\"URL to download the filing document.\").nullable().optional(),\n accession_number: z.string().describe(\"Filing Accession Number.\").nullable(),\n acceptance_datetime: z.string().describe(\"The datetime when the filing was accepted by EDGAR in EST (format: YYYYMMDDHHMMSS).\").nullable().optional(),\n period_of_report_date: z.string().describe(\"The period of report for the filing in YYYYMMDD format.\").nullable(),\n}).passthrough().describe(\"Detailed information about a single SEC filing.\");\nexport const PolygonIoGetFilingOutput = z.object({\n status: z.string().describe(\"Status of the response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetFiling_FilingSchema.nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for the request.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed SEC filing information.\");\n\nexport const polygonIoGetFiling = action(\"POLYGON_IO_GET_FILING\", {\n slug: \"polygon_io-get-filing\",\n name: \"Get SEC Filing\",\n description: \"Tool to retrieve detailed information about a specific SEC filing by filing ID. Use when you need to access full filing details including accession number, filing type, dates, source URLs, and associated entities.\",\n input: PolygonIoGetFilingInput,\n output: PolygonIoGetFilingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACxI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,sCAAsC,EAAE,KAAK,CAAC,QAAQ,MAAM,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAC1H,MAAM,wCAAwC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,oCAAoC,SAAS;CACnD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,6DAA6D;CAC/H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC3E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAO3E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -26,9 +26,9 @@ const PolygonIoGetForexEmaInput = zod.z.object({
|
|
|
26
26
|
expand_underlying: zod.z.boolean().default(false).describe("Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.").optional()
|
|
27
27
|
}).describe("Parameters to retrieve the Exponential Moving Average (EMA) for a forex pair.");
|
|
28
28
|
const PolygonIoGetForexEma_EMAValueSchema = zod.z.object({
|
|
29
|
-
value: zod.z.number().describe("The EMA indicator value for this period."),
|
|
30
|
-
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
|
|
31
|
-
});
|
|
29
|
+
value: zod.z.number().describe("The EMA indicator value for this period.").nullable(),
|
|
30
|
+
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const PolygonIoGetForexEma_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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_UnderlyingDataSchema = zod.z.object({ aggregates: zod.z.array(PolygonIoGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() });
|
|
41
|
+
}).passthrough();
|
|
42
|
+
const PolygonIoGetForexEma_UnderlyingDataSchema = zod.z.object({ aggregates: zod.z.array(PolygonIoGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() }).passthrough();
|
|
43
43
|
const PolygonIoGetForexEma_EMAResultsSchema = zod.z.object({
|
|
44
44
|
values: zod.z.array(PolygonIoGetForexEma_EMAValueSchema).describe("Array of EMA indicator values.").nullable().optional(),
|
|
45
45
|
underlying: PolygonIoGetForexEma_UnderlyingDataSchema.nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const PolygonIoGetForexEmaOutput = 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: PolygonIoGetForexEma_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 polygonIoGetForexEma = require_action.action("POLYGON_IO_GET_FOREX_EMA", {
|
|
54
54
|
slug: "polygon_io-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 PolygonIoGetForexEmaInput
|
|
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 PolygonIoGetForexEmaInput = 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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonIoGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexEma_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 polygonIoGetForexEma = action(\"POLYGON_IO_GET_FOREX_EMA\", {\n slug: \"polygon_io-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: PolygonIoGetForexEmaInput,\n output: PolygonIoGetForexEmaOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-forex-ema.d.ts
|
|
4
|
-
declare const PolygonIoGetForexEmaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolygonIoGetForexEmaInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
order: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
asc: "asc";
|
|
8
|
+
desc: "desc";
|
|
9
|
+
}>>>;
|
|
10
|
+
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
|
+
timespan: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
minute: "minute";
|
|
14
|
+
hour: "hour";
|
|
15
|
+
day: "day";
|
|
16
|
+
week: "week";
|
|
17
|
+
month: "month";
|
|
18
|
+
quarter: "quarter";
|
|
19
|
+
year: "year";
|
|
20
|
+
}>>>;
|
|
21
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
22
|
+
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23
|
+
open: "open";
|
|
24
|
+
high: "high";
|
|
25
|
+
low: "low";
|
|
26
|
+
close: "close";
|
|
27
|
+
}>>>;
|
|
28
|
+
forex_ticker: z.ZodString;
|
|
29
|
+
expand_underlying: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const PolygonIoGetForexEmaOutput: z.ZodObject<{
|
|
32
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
|
+
c: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
l: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
n: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
o: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const polygonIoGetForexEma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
forex_ticker: string;
|
|
56
|
+
limit?: number | undefined;
|
|
57
|
+
order?: "asc" | "desc" | undefined;
|
|
58
|
+
window?: number | undefined;
|
|
59
|
+
adjusted?: boolean | undefined;
|
|
60
|
+
timespan?: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
61
|
+
timestamp?: string | undefined;
|
|
62
|
+
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
63
|
+
expand_underlying?: boolean | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { polygonIoGetForexEma };
|
|
9
67
|
//# sourceMappingURL=get-forex-ema.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-ema.d.cts","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-forex-ema.d.cts","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,67 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-forex-ema.d.ts
|
|
4
|
-
declare const PolygonIoGetForexEmaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PolygonIoGetForexEmaInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
order: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
asc: "asc";
|
|
8
|
+
desc: "desc";
|
|
9
|
+
}>>>;
|
|
10
|
+
window: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
adjusted: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
|
+
timespan: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
minute: "minute";
|
|
14
|
+
hour: "hour";
|
|
15
|
+
day: "day";
|
|
16
|
+
week: "week";
|
|
17
|
+
month: "month";
|
|
18
|
+
quarter: "quarter";
|
|
19
|
+
year: "year";
|
|
20
|
+
}>>>;
|
|
21
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
22
|
+
series_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
23
|
+
open: "open";
|
|
24
|
+
high: "high";
|
|
25
|
+
low: "low";
|
|
26
|
+
close: "close";
|
|
27
|
+
}>>>;
|
|
28
|
+
forex_ticker: z.ZodString;
|
|
29
|
+
expand_underlying: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const PolygonIoGetForexEmaOutput: z.ZodObject<{
|
|
32
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
results: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
timestamp: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
underlying: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
aggregates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
40
|
+
c: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
41
|
+
h: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
l: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
+
n: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
o: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
t: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
|
+
v: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
vw: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
}, z.core.$loose>>>;
|
|
51
|
+
next_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
+
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const polygonIoGetForexEma: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
forex_ticker: string;
|
|
56
|
+
limit?: number | undefined;
|
|
57
|
+
order?: "asc" | "desc" | undefined;
|
|
58
|
+
window?: number | undefined;
|
|
59
|
+
adjusted?: boolean | undefined;
|
|
60
|
+
timespan?: "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
61
|
+
timestamp?: string | undefined;
|
|
62
|
+
series_type?: "open" | "high" | "low" | "close" | undefined;
|
|
63
|
+
expand_underlying?: boolean | undefined;
|
|
64
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
65
|
//#endregion
|
|
8
66
|
export { polygonIoGetForexEma };
|
|
9
67
|
//# sourceMappingURL=get-forex-ema.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-forex-ema.d.mts","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-forex-ema.d.mts","names":[],"sources":["../../src/actions/get-forex-ema.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -26,9 +26,9 @@ const PolygonIoGetForexEmaInput = z.object({
|
|
|
26
26
|
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()
|
|
27
27
|
}).describe("Parameters to retrieve the Exponential Moving Average (EMA) for a forex pair.");
|
|
28
28
|
const PolygonIoGetForexEma_EMAValueSchema = z.object({
|
|
29
|
-
value: z.number().describe("The EMA indicator value for this period."),
|
|
30
|
-
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
|
|
31
|
-
});
|
|
29
|
+
value: z.number().describe("The EMA indicator value for this period.").nullable(),
|
|
30
|
+
timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.").nullable()
|
|
31
|
+
}).passthrough();
|
|
32
32
|
const PolygonIoGetForexEma_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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_UnderlyingDataSchema = z.object({ aggregates: z.array(PolygonIoGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() });
|
|
41
|
+
}).passthrough();
|
|
42
|
+
const PolygonIoGetForexEma_UnderlyingDataSchema = z.object({ aggregates: z.array(PolygonIoGetForexEma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional() }).passthrough();
|
|
43
43
|
const PolygonIoGetForexEma_EMAResultsSchema = z.object({
|
|
44
44
|
values: z.array(PolygonIoGetForexEma_EMAValueSchema).describe("Array of EMA indicator values.").nullable().optional(),
|
|
45
45
|
underlying: PolygonIoGetForexEma_UnderlyingDataSchema.nullable().optional()
|
|
46
|
-
});
|
|
46
|
+
}).passthrough();
|
|
47
47
|
const polygonIoGetForexEma = action("POLYGON_IO_GET_FOREX_EMA", {
|
|
48
48
|
slug: "polygon_io-get-forex-ema",
|
|
49
49
|
name: "Get Forex EMA",
|
|
@@ -54,7 +54,7 @@ const polygonIoGetForexEma = action("POLYGON_IO_GET_FOREX_EMA", {
|
|
|
54
54
|
results: PolygonIoGetForexEma_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 { polygonIoGetForexEma };
|
|
@@ -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 PolygonIoGetForexEmaInput
|
|
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 PolygonIoGetForexEmaInput = 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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_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 PolygonIoGetForexEma_UnderlyingDataSchema = z.object({\n aggregates: z.array(PolygonIoGetForexEma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n}).passthrough();\nconst PolygonIoGetForexEma_EMAResultsSchema = z.object({\n values: z.array(PolygonIoGetForexEma_EMAValueSchema).describe(\"Array of EMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexEma_UnderlyingDataSchema.nullable().optional(),\n}).passthrough();\nexport const PolygonIoGetForexEmaOutput = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexEma_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 polygonIoGetForexEma = action(\"POLYGON_IO_GET_FOREX_EMA\", {\n slug: \"polygon_io-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: PolygonIoGetForexEmaInput,\n output: PolygonIoGetForexEmaOutput,\n});\n"],"mappings":"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"}
|
|
@@ -24,22 +24,22 @@ const PolygonIoGetForexMacdInput = zod.z.object({
|
|
|
24
24
|
expand_underlying: zod.z.boolean().default(false).describe("Whether to include the underlying aggregates used to calculate this indicator in the response. Defaults to False.").optional()
|
|
25
25
|
}).describe("Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a forex pair.");
|
|
26
26
|
const PolygonIoGetForexMacd_MACDValueSchema = zod.z.object({
|
|
27
|
-
value: zod.z.number().describe("The MACD value (difference between short EMA and long EMA) at this timestamp."),
|
|
28
|
-
signal: zod.z.number().describe("The MACD signal line value (EMA of MACD values) at this timestamp."),
|
|
29
|
-
histogram: zod.z.number().describe("The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength."),
|
|
30
|
-
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp for this MACD data point.")
|
|
31
|
-
});
|
|
32
|
-
const PolygonIoGetForexMacd_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.") });
|
|
27
|
+
value: zod.z.number().describe("The MACD value (difference between short EMA and long EMA) at this timestamp.").nullable(),
|
|
28
|
+
signal: zod.z.number().describe("The MACD signal line value (EMA of MACD values) at this timestamp.").nullable(),
|
|
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
|
+
timestamp: zod.z.number().int().describe("The Unix millisecond timestamp for this MACD data point.").nullable()
|
|
31
|
+
}).passthrough();
|
|
32
|
+
const PolygonIoGetForexMacd_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 PolygonIoGetForexMacd_MACDResultsSchema = zod.z.object({
|
|
34
34
|
values: zod.z.array(PolygonIoGetForexMacd_MACDValueSchema).describe("Array of MACD data points with values, signals, and histograms.").nullable().optional(),
|
|
35
35
|
underlying: PolygonIoGetForexMacd_UnderlyingSchema.nullable().optional()
|
|
36
|
-
});
|
|
36
|
+
}).passthrough();
|
|
37
37
|
const PolygonIoGetForexMacdOutput = 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: PolygonIoGetForexMacd_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 polygonIoGetForexMacd = require_action.action("POLYGON_IO_GET_FOREX_MACD", {
|
|
44
44
|
slug: "polygon_io-get-forex-macd",
|
|
45
45
|
name: "Get Forex MACD",
|