@keystrokehq/polygon_io 0.1.0

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.
Files changed (514) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/get-all-tickers.cjs +52 -0
  7. package/dist/actions/get-all-tickers.cjs.map +1 -0
  8. package/dist/actions/get-all-tickers.d.cts +9 -0
  9. package/dist/actions/get-all-tickers.d.cts.map +1 -0
  10. package/dist/actions/get-all-tickers.d.mts +9 -0
  11. package/dist/actions/get-all-tickers.d.mts.map +1 -0
  12. package/dist/actions/get-all-tickers.mjs +51 -0
  13. package/dist/actions/get-all-tickers.mjs.map +1 -0
  14. package/dist/actions/get-condition-codes.cjs +41 -0
  15. package/dist/actions/get-condition-codes.cjs.map +1 -0
  16. package/dist/actions/get-condition-codes.d.cts +9 -0
  17. package/dist/actions/get-condition-codes.d.cts.map +1 -0
  18. package/dist/actions/get-condition-codes.d.mts +9 -0
  19. package/dist/actions/get-condition-codes.d.mts.map +1 -0
  20. package/dist/actions/get-condition-codes.mjs +40 -0
  21. package/dist/actions/get-condition-codes.mjs.map +1 -0
  22. package/dist/actions/get-crypto-ema.cjs +70 -0
  23. package/dist/actions/get-crypto-ema.cjs.map +1 -0
  24. package/dist/actions/get-crypto-ema.d.cts +9 -0
  25. package/dist/actions/get-crypto-ema.d.cts.map +1 -0
  26. package/dist/actions/get-crypto-ema.d.mts +9 -0
  27. package/dist/actions/get-crypto-ema.d.mts.map +1 -0
  28. package/dist/actions/get-crypto-ema.mjs +69 -0
  29. package/dist/actions/get-crypto-ema.mjs.map +1 -0
  30. package/dist/actions/get-crypto-macd.cjs +49 -0
  31. package/dist/actions/get-crypto-macd.cjs.map +1 -0
  32. package/dist/actions/get-crypto-macd.d.cts +9 -0
  33. package/dist/actions/get-crypto-macd.d.cts.map +1 -0
  34. package/dist/actions/get-crypto-macd.d.mts +9 -0
  35. package/dist/actions/get-crypto-macd.d.mts.map +1 -0
  36. package/dist/actions/get-crypto-macd.mjs +48 -0
  37. package/dist/actions/get-crypto-macd.mjs.map +1 -0
  38. package/dist/actions/get-crypto-open-close.cjs +37 -0
  39. package/dist/actions/get-crypto-open-close.cjs.map +1 -0
  40. package/dist/actions/get-crypto-open-close.d.cts +9 -0
  41. package/dist/actions/get-crypto-open-close.d.cts.map +1 -0
  42. package/dist/actions/get-crypto-open-close.d.mts +9 -0
  43. package/dist/actions/get-crypto-open-close.d.mts.map +1 -0
  44. package/dist/actions/get-crypto-open-close.mjs +36 -0
  45. package/dist/actions/get-crypto-open-close.mjs.map +1 -0
  46. package/dist/actions/get-crypto-rsi.cjs +57 -0
  47. package/dist/actions/get-crypto-rsi.cjs.map +1 -0
  48. package/dist/actions/get-crypto-rsi.d.cts +9 -0
  49. package/dist/actions/get-crypto-rsi.d.cts.map +1 -0
  50. package/dist/actions/get-crypto-rsi.d.mts +9 -0
  51. package/dist/actions/get-crypto-rsi.d.mts.map +1 -0
  52. package/dist/actions/get-crypto-rsi.mjs +56 -0
  53. package/dist/actions/get-crypto-rsi.mjs.map +1 -0
  54. package/dist/actions/get-crypto-sma.cjs +57 -0
  55. package/dist/actions/get-crypto-sma.cjs.map +1 -0
  56. package/dist/actions/get-crypto-sma.d.cts +9 -0
  57. package/dist/actions/get-crypto-sma.d.cts.map +1 -0
  58. package/dist/actions/get-crypto-sma.d.mts +9 -0
  59. package/dist/actions/get-crypto-sma.d.mts.map +1 -0
  60. package/dist/actions/get-crypto-sma.mjs +56 -0
  61. package/dist/actions/get-crypto-sma.mjs.map +1 -0
  62. package/dist/actions/get-daily-open-close.cjs +31 -0
  63. package/dist/actions/get-daily-open-close.cjs.map +1 -0
  64. package/dist/actions/get-daily-open-close.d.cts +9 -0
  65. package/dist/actions/get-daily-open-close.d.cts.map +1 -0
  66. package/dist/actions/get-daily-open-close.d.mts +9 -0
  67. package/dist/actions/get-daily-open-close.d.mts.map +1 -0
  68. package/dist/actions/get-daily-open-close.mjs +28 -0
  69. package/dist/actions/get-daily-open-close.mjs.map +1 -0
  70. package/dist/actions/get-dividends.cjs +58 -0
  71. package/dist/actions/get-dividends.cjs.map +1 -0
  72. package/dist/actions/get-dividends.d.cts +9 -0
  73. package/dist/actions/get-dividends.d.cts.map +1 -0
  74. package/dist/actions/get-dividends.d.mts +9 -0
  75. package/dist/actions/get-dividends.d.mts.map +1 -0
  76. package/dist/actions/get-dividends.mjs +57 -0
  77. package/dist/actions/get-dividends.mjs.map +1 -0
  78. package/dist/actions/get-economy-inflation2.cjs +40 -0
  79. package/dist/actions/get-economy-inflation2.cjs.map +1 -0
  80. package/dist/actions/get-economy-inflation2.d.cts +9 -0
  81. package/dist/actions/get-economy-inflation2.d.cts.map +1 -0
  82. package/dist/actions/get-economy-inflation2.d.mts +9 -0
  83. package/dist/actions/get-economy-inflation2.d.mts.map +1 -0
  84. package/dist/actions/get-economy-inflation2.mjs +39 -0
  85. package/dist/actions/get-economy-inflation2.mjs.map +1 -0
  86. package/dist/actions/get-ema.cjs +58 -0
  87. package/dist/actions/get-ema.cjs.map +1 -0
  88. package/dist/actions/get-ema.d.cts +9 -0
  89. package/dist/actions/get-ema.d.cts.map +1 -0
  90. package/dist/actions/get-ema.d.mts +9 -0
  91. package/dist/actions/get-ema.d.mts.map +1 -0
  92. package/dist/actions/get-ema.mjs +57 -0
  93. package/dist/actions/get-ema.mjs.map +1 -0
  94. package/dist/actions/get-filing-file.cjs +24 -0
  95. package/dist/actions/get-filing-file.cjs.map +1 -0
  96. package/dist/actions/get-filing-file.d.cts +9 -0
  97. package/dist/actions/get-filing-file.d.cts.map +1 -0
  98. package/dist/actions/get-filing-file.d.mts +9 -0
  99. package/dist/actions/get-filing-file.d.mts.map +1 -0
  100. package/dist/actions/get-filing-file.mjs +23 -0
  101. package/dist/actions/get-filing-file.mjs.map +1 -0
  102. package/dist/actions/get-filing.cjs +38 -0
  103. package/dist/actions/get-filing.cjs.map +1 -0
  104. package/dist/actions/get-filing.d.cts +9 -0
  105. package/dist/actions/get-filing.d.cts.map +1 -0
  106. package/dist/actions/get-filing.d.mts +9 -0
  107. package/dist/actions/get-filing.d.mts.map +1 -0
  108. package/dist/actions/get-filing.mjs +37 -0
  109. package/dist/actions/get-filing.mjs.map +1 -0
  110. package/dist/actions/get-forex-ema.cjs +63 -0
  111. package/dist/actions/get-forex-ema.cjs.map +1 -0
  112. package/dist/actions/get-forex-ema.d.cts +9 -0
  113. package/dist/actions/get-forex-ema.d.cts.map +1 -0
  114. package/dist/actions/get-forex-ema.d.mts +9 -0
  115. package/dist/actions/get-forex-ema.d.mts.map +1 -0
  116. package/dist/actions/get-forex-ema.mjs +62 -0
  117. package/dist/actions/get-forex-ema.mjs.map +1 -0
  118. package/dist/actions/get-forex-macd.cjs +53 -0
  119. package/dist/actions/get-forex-macd.cjs.map +1 -0
  120. package/dist/actions/get-forex-macd.d.cts +9 -0
  121. package/dist/actions/get-forex-macd.d.cts.map +1 -0
  122. package/dist/actions/get-forex-macd.d.mts +9 -0
  123. package/dist/actions/get-forex-macd.d.mts.map +1 -0
  124. package/dist/actions/get-forex-macd.mjs +52 -0
  125. package/dist/actions/get-forex-macd.mjs.map +1 -0
  126. package/dist/actions/get-forex-real-time-currency-conversion.cjs +36 -0
  127. package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -0
  128. package/dist/actions/get-forex-real-time-currency-conversion.d.cts +9 -0
  129. package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -0
  130. package/dist/actions/get-forex-real-time-currency-conversion.d.mts +9 -0
  131. package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -0
  132. package/dist/actions/get-forex-real-time-currency-conversion.mjs +35 -0
  133. package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -0
  134. package/dist/actions/get-forex-rsi.cjs +57 -0
  135. package/dist/actions/get-forex-rsi.cjs.map +1 -0
  136. package/dist/actions/get-forex-rsi.d.cts +9 -0
  137. package/dist/actions/get-forex-rsi.d.cts.map +1 -0
  138. package/dist/actions/get-forex-rsi.d.mts +9 -0
  139. package/dist/actions/get-forex-rsi.d.mts.map +1 -0
  140. package/dist/actions/get-forex-rsi.mjs +56 -0
  141. package/dist/actions/get-forex-rsi.mjs.map +1 -0
  142. package/dist/actions/get-forex-sma.cjs +70 -0
  143. package/dist/actions/get-forex-sma.cjs.map +1 -0
  144. package/dist/actions/get-forex-sma.d.cts +9 -0
  145. package/dist/actions/get-forex-sma.d.cts.map +1 -0
  146. package/dist/actions/get-forex-sma.d.mts +9 -0
  147. package/dist/actions/get-forex-sma.d.mts.map +1 -0
  148. package/dist/actions/get-forex-sma.mjs +69 -0
  149. package/dist/actions/get-forex-sma.mjs.map +1 -0
  150. package/dist/actions/get-futures-quotes.cjs +42 -0
  151. package/dist/actions/get-futures-quotes.cjs.map +1 -0
  152. package/dist/actions/get-futures-quotes.d.cts +9 -0
  153. package/dist/actions/get-futures-quotes.d.cts.map +1 -0
  154. package/dist/actions/get-futures-quotes.d.mts +9 -0
  155. package/dist/actions/get-futures-quotes.d.mts.map +1 -0
  156. package/dist/actions/get-futures-quotes.mjs +41 -0
  157. package/dist/actions/get-futures-quotes.mjs.map +1 -0
  158. package/dist/actions/get-grouped-daily.cjs +44 -0
  159. package/dist/actions/get-grouped-daily.cjs.map +1 -0
  160. package/dist/actions/get-grouped-daily.d.cts +9 -0
  161. package/dist/actions/get-grouped-daily.d.cts.map +1 -0
  162. package/dist/actions/get-grouped-daily.d.mts +9 -0
  163. package/dist/actions/get-grouped-daily.d.mts.map +1 -0
  164. package/dist/actions/get-grouped-daily.mjs +43 -0
  165. package/dist/actions/get-grouped-daily.mjs.map +1 -0
  166. package/dist/actions/get-historic-forex-ticks.cjs +33 -0
  167. package/dist/actions/get-historic-forex-ticks.cjs.map +1 -0
  168. package/dist/actions/get-historic-forex-ticks.d.cts +9 -0
  169. package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -0
  170. package/dist/actions/get-historic-forex-ticks.d.mts +9 -0
  171. package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -0
  172. package/dist/actions/get-historic-forex-ticks.mjs +32 -0
  173. package/dist/actions/get-historic-forex-ticks.mjs.map +1 -0
  174. package/dist/actions/get-inflation-expectations.cjs +41 -0
  175. package/dist/actions/get-inflation-expectations.cjs.map +1 -0
  176. package/dist/actions/get-inflation-expectations.d.cts +9 -0
  177. package/dist/actions/get-inflation-expectations.d.cts.map +1 -0
  178. package/dist/actions/get-inflation-expectations.d.mts +9 -0
  179. package/dist/actions/get-inflation-expectations.d.mts.map +1 -0
  180. package/dist/actions/get-inflation-expectations.mjs +40 -0
  181. package/dist/actions/get-inflation-expectations.mjs.map +1 -0
  182. package/dist/actions/get-ipo-data.cjs +40 -0
  183. package/dist/actions/get-ipo-data.cjs.map +1 -0
  184. package/dist/actions/get-ipo-data.d.cts +9 -0
  185. package/dist/actions/get-ipo-data.d.cts.map +1 -0
  186. package/dist/actions/get-ipo-data.d.mts +9 -0
  187. package/dist/actions/get-ipo-data.d.mts.map +1 -0
  188. package/dist/actions/get-ipo-data.mjs +39 -0
  189. package/dist/actions/get-ipo-data.mjs.map +1 -0
  190. package/dist/actions/get-labor-market.cjs +38 -0
  191. package/dist/actions/get-labor-market.cjs.map +1 -0
  192. package/dist/actions/get-labor-market.d.cts +9 -0
  193. package/dist/actions/get-labor-market.d.cts.map +1 -0
  194. package/dist/actions/get-labor-market.d.mts +9 -0
  195. package/dist/actions/get-labor-market.d.mts.map +1 -0
  196. package/dist/actions/get-labor-market.mjs +37 -0
  197. package/dist/actions/get-labor-market.mjs.map +1 -0
  198. package/dist/actions/get-macd.cjs +49 -0
  199. package/dist/actions/get-macd.cjs.map +1 -0
  200. package/dist/actions/get-macd.d.cts +9 -0
  201. package/dist/actions/get-macd.d.cts.map +1 -0
  202. package/dist/actions/get-macd.d.mts +9 -0
  203. package/dist/actions/get-macd.d.mts.map +1 -0
  204. package/dist/actions/get-macd.mjs +48 -0
  205. package/dist/actions/get-macd.mjs.map +1 -0
  206. package/dist/actions/get-market-holidays.cjs +24 -0
  207. package/dist/actions/get-market-holidays.cjs.map +1 -0
  208. package/dist/actions/get-market-holidays.d.cts +9 -0
  209. package/dist/actions/get-market-holidays.d.cts.map +1 -0
  210. package/dist/actions/get-market-holidays.d.mts +9 -0
  211. package/dist/actions/get-market-holidays.d.mts.map +1 -0
  212. package/dist/actions/get-market-holidays.mjs +23 -0
  213. package/dist/actions/get-market-holidays.mjs.map +1 -0
  214. package/dist/actions/get-market-status.cjs +24 -0
  215. package/dist/actions/get-market-status.cjs.map +1 -0
  216. package/dist/actions/get-market-status.d.cts +9 -0
  217. package/dist/actions/get-market-status.d.cts.map +1 -0
  218. package/dist/actions/get-market-status.d.mts +9 -0
  219. package/dist/actions/get-market-status.d.mts.map +1 -0
  220. package/dist/actions/get-market-status.mjs +21 -0
  221. package/dist/actions/get-market-status.mjs.map +1 -0
  222. package/dist/actions/get-news.cjs +48 -0
  223. package/dist/actions/get-news.cjs.map +1 -0
  224. package/dist/actions/get-news.d.cts +9 -0
  225. package/dist/actions/get-news.d.cts.map +1 -0
  226. package/dist/actions/get-news.d.mts +9 -0
  227. package/dist/actions/get-news.d.mts.map +1 -0
  228. package/dist/actions/get-news.mjs +47 -0
  229. package/dist/actions/get-news.mjs.map +1 -0
  230. package/dist/actions/get-options-contract-overview.cjs +41 -0
  231. package/dist/actions/get-options-contract-overview.cjs.map +1 -0
  232. package/dist/actions/get-options-contract-overview.d.cts +9 -0
  233. package/dist/actions/get-options-contract-overview.d.cts.map +1 -0
  234. package/dist/actions/get-options-contract-overview.d.mts +9 -0
  235. package/dist/actions/get-options-contract-overview.d.mts.map +1 -0
  236. package/dist/actions/get-options-contract-overview.mjs +40 -0
  237. package/dist/actions/get-options-contract-overview.mjs.map +1 -0
  238. package/dist/actions/get-options-ema.cjs +62 -0
  239. package/dist/actions/get-options-ema.cjs.map +1 -0
  240. package/dist/actions/get-options-ema.d.cts +9 -0
  241. package/dist/actions/get-options-ema.d.cts.map +1 -0
  242. package/dist/actions/get-options-ema.d.mts +9 -0
  243. package/dist/actions/get-options-ema.d.mts.map +1 -0
  244. package/dist/actions/get-options-ema.mjs +61 -0
  245. package/dist/actions/get-options-ema.mjs.map +1 -0
  246. package/dist/actions/get-options-macd.cjs +49 -0
  247. package/dist/actions/get-options-macd.cjs.map +1 -0
  248. package/dist/actions/get-options-macd.d.cts +9 -0
  249. package/dist/actions/get-options-macd.d.cts.map +1 -0
  250. package/dist/actions/get-options-macd.d.mts +9 -0
  251. package/dist/actions/get-options-macd.d.mts.map +1 -0
  252. package/dist/actions/get-options-macd.mjs +48 -0
  253. package/dist/actions/get-options-macd.mjs.map +1 -0
  254. package/dist/actions/get-options-rsi.cjs +57 -0
  255. package/dist/actions/get-options-rsi.cjs.map +1 -0
  256. package/dist/actions/get-options-rsi.d.cts +9 -0
  257. package/dist/actions/get-options-rsi.d.cts.map +1 -0
  258. package/dist/actions/get-options-rsi.d.mts +9 -0
  259. package/dist/actions/get-options-rsi.d.mts.map +1 -0
  260. package/dist/actions/get-options-rsi.mjs +56 -0
  261. package/dist/actions/get-options-rsi.mjs.map +1 -0
  262. package/dist/actions/get-options-sma.cjs +71 -0
  263. package/dist/actions/get-options-sma.cjs.map +1 -0
  264. package/dist/actions/get-options-sma.d.cts +9 -0
  265. package/dist/actions/get-options-sma.d.cts.map +1 -0
  266. package/dist/actions/get-options-sma.d.mts +9 -0
  267. package/dist/actions/get-options-sma.d.mts.map +1 -0
  268. package/dist/actions/get-options-sma.mjs +70 -0
  269. package/dist/actions/get-options-sma.mjs.map +1 -0
  270. package/dist/actions/get-related-companies.cjs +22 -0
  271. package/dist/actions/get-related-companies.cjs.map +1 -0
  272. package/dist/actions/get-related-companies.d.cts +9 -0
  273. package/dist/actions/get-related-companies.d.cts.map +1 -0
  274. package/dist/actions/get-related-companies.d.mts +9 -0
  275. package/dist/actions/get-related-companies.d.mts.map +1 -0
  276. package/dist/actions/get-related-companies.mjs +21 -0
  277. package/dist/actions/get-related-companies.mjs.map +1 -0
  278. package/dist/actions/get-rsi.cjs +45 -0
  279. package/dist/actions/get-rsi.cjs.map +1 -0
  280. package/dist/actions/get-rsi.d.cts +9 -0
  281. package/dist/actions/get-rsi.d.cts.map +1 -0
  282. package/dist/actions/get-rsi.d.mts +9 -0
  283. package/dist/actions/get-rsi.d.mts.map +1 -0
  284. package/dist/actions/get-rsi.mjs +44 -0
  285. package/dist/actions/get-rsi.mjs.map +1 -0
  286. package/dist/actions/get-sma.cjs +45 -0
  287. package/dist/actions/get-sma.cjs.map +1 -0
  288. package/dist/actions/get-sma.d.cts +9 -0
  289. package/dist/actions/get-sma.d.cts.map +1 -0
  290. package/dist/actions/get-sma.d.mts +9 -0
  291. package/dist/actions/get-sma.d.mts.map +1 -0
  292. package/dist/actions/get-sma.mjs +44 -0
  293. package/dist/actions/get-sma.mjs.map +1 -0
  294. package/dist/actions/get-splits.cjs +39 -0
  295. package/dist/actions/get-splits.cjs.map +1 -0
  296. package/dist/actions/get-splits.d.cts +9 -0
  297. package/dist/actions/get-splits.d.cts.map +1 -0
  298. package/dist/actions/get-splits.d.mts +9 -0
  299. package/dist/actions/get-splits.d.mts.map +1 -0
  300. package/dist/actions/get-splits.mjs +38 -0
  301. package/dist/actions/get-splits.mjs.map +1 -0
  302. package/dist/actions/get-stocks-custom-bars.cjs +50 -0
  303. package/dist/actions/get-stocks-custom-bars.cjs.map +1 -0
  304. package/dist/actions/get-stocks-custom-bars.d.cts +9 -0
  305. package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -0
  306. package/dist/actions/get-stocks-custom-bars.d.mts +9 -0
  307. package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -0
  308. package/dist/actions/get-stocks-custom-bars.mjs +49 -0
  309. package/dist/actions/get-stocks-custom-bars.mjs.map +1 -0
  310. package/dist/actions/get-stocks-daily-market-summary.cjs +39 -0
  311. package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -0
  312. package/dist/actions/get-stocks-daily-market-summary.d.cts +9 -0
  313. package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -0
  314. package/dist/actions/get-stocks-daily-market-summary.d.mts +9 -0
  315. package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -0
  316. package/dist/actions/get-stocks-daily-market-summary.mjs +38 -0
  317. package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -0
  318. package/dist/actions/get-stocks-filings-risk-factors.cjs +51 -0
  319. package/dist/actions/get-stocks-filings-risk-factors.cjs.map +1 -0
  320. package/dist/actions/get-stocks-filings-risk-factors.d.cts +9 -0
  321. package/dist/actions/get-stocks-filings-risk-factors.d.cts.map +1 -0
  322. package/dist/actions/get-stocks-filings-risk-factors.d.mts +9 -0
  323. package/dist/actions/get-stocks-filings-risk-factors.d.mts.map +1 -0
  324. package/dist/actions/get-stocks-filings-risk-factors.mjs +50 -0
  325. package/dist/actions/get-stocks-filings-risk-factors.mjs.map +1 -0
  326. package/dist/actions/get-stocks-filings-sections.cjs +57 -0
  327. package/dist/actions/get-stocks-filings-sections.cjs.map +1 -0
  328. package/dist/actions/get-stocks-filings-sections.d.cts +9 -0
  329. package/dist/actions/get-stocks-filings-sections.d.cts.map +1 -0
  330. package/dist/actions/get-stocks-filings-sections.d.mts +9 -0
  331. package/dist/actions/get-stocks-filings-sections.d.mts.map +1 -0
  332. package/dist/actions/get-stocks-filings-sections.mjs +56 -0
  333. package/dist/actions/get-stocks-filings-sections.mjs.map +1 -0
  334. package/dist/actions/get-stocks-free-float.cjs +41 -0
  335. package/dist/actions/get-stocks-free-float.cjs.map +1 -0
  336. package/dist/actions/get-stocks-free-float.d.cts +9 -0
  337. package/dist/actions/get-stocks-free-float.d.cts.map +1 -0
  338. package/dist/actions/get-stocks-free-float.d.mts +9 -0
  339. package/dist/actions/get-stocks-free-float.d.mts.map +1 -0
  340. package/dist/actions/get-stocks-free-float.mjs +40 -0
  341. package/dist/actions/get-stocks-free-float.mjs.map +1 -0
  342. package/dist/actions/get-stocks-full-market-snapshot.cjs +68 -0
  343. package/dist/actions/get-stocks-full-market-snapshot.cjs.map +1 -0
  344. package/dist/actions/get-stocks-full-market-snapshot.d.cts +9 -0
  345. package/dist/actions/get-stocks-full-market-snapshot.d.cts.map +1 -0
  346. package/dist/actions/get-stocks-full-market-snapshot.d.mts +9 -0
  347. package/dist/actions/get-stocks-full-market-snapshot.d.mts.map +1 -0
  348. package/dist/actions/get-stocks-full-market-snapshot.mjs +67 -0
  349. package/dist/actions/get-stocks-full-market-snapshot.mjs.map +1 -0
  350. package/dist/actions/get-stocks-income-statements.cjs +92 -0
  351. package/dist/actions/get-stocks-income-statements.cjs.map +1 -0
  352. package/dist/actions/get-stocks-income-statements.d.cts +9 -0
  353. package/dist/actions/get-stocks-income-statements.d.cts.map +1 -0
  354. package/dist/actions/get-stocks-income-statements.d.mts +9 -0
  355. package/dist/actions/get-stocks-income-statements.d.mts.map +1 -0
  356. package/dist/actions/get-stocks-income-statements.mjs +91 -0
  357. package/dist/actions/get-stocks-income-statements.mjs.map +1 -0
  358. package/dist/actions/get-stocks-previous-day-bar.cjs +38 -0
  359. package/dist/actions/get-stocks-previous-day-bar.cjs.map +1 -0
  360. package/dist/actions/get-stocks-previous-day-bar.d.cts +9 -0
  361. package/dist/actions/get-stocks-previous-day-bar.d.cts.map +1 -0
  362. package/dist/actions/get-stocks-previous-day-bar.d.mts +9 -0
  363. package/dist/actions/get-stocks-previous-day-bar.d.mts.map +1 -0
  364. package/dist/actions/get-stocks-previous-day-bar.mjs +37 -0
  365. package/dist/actions/get-stocks-previous-day-bar.mjs.map +1 -0
  366. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs +54 -0
  367. package/dist/actions/get-stocks-risk-factor-taxonomies.cjs.map +1 -0
  368. package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts +9 -0
  369. package/dist/actions/get-stocks-risk-factor-taxonomies.d.cts.map +1 -0
  370. package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts +9 -0
  371. package/dist/actions/get-stocks-risk-factor-taxonomies.d.mts.map +1 -0
  372. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs +53 -0
  373. package/dist/actions/get-stocks-risk-factor-taxonomies.mjs.map +1 -0
  374. package/dist/actions/get-stocks-v1-dividends.cjs +62 -0
  375. package/dist/actions/get-stocks-v1-dividends.cjs.map +1 -0
  376. package/dist/actions/get-stocks-v1-dividends.d.cts +9 -0
  377. package/dist/actions/get-stocks-v1-dividends.d.cts.map +1 -0
  378. package/dist/actions/get-stocks-v1-dividends.d.mts +9 -0
  379. package/dist/actions/get-stocks-v1-dividends.d.mts.map +1 -0
  380. package/dist/actions/get-stocks-v1-dividends.mjs +61 -0
  381. package/dist/actions/get-stocks-v1-dividends.mjs.map +1 -0
  382. package/dist/actions/get-stocks-v1-short-interest.cjs +55 -0
  383. package/dist/actions/get-stocks-v1-short-interest.cjs.map +1 -0
  384. package/dist/actions/get-stocks-v1-short-interest.d.cts +9 -0
  385. package/dist/actions/get-stocks-v1-short-interest.d.cts.map +1 -0
  386. package/dist/actions/get-stocks-v1-short-interest.d.mts +9 -0
  387. package/dist/actions/get-stocks-v1-short-interest.d.mts.map +1 -0
  388. package/dist/actions/get-stocks-v1-short-interest.mjs +54 -0
  389. package/dist/actions/get-stocks-v1-short-interest.mjs.map +1 -0
  390. package/dist/actions/get-stocks-v1-short-volume.cjs +65 -0
  391. package/dist/actions/get-stocks-v1-short-volume.cjs.map +1 -0
  392. package/dist/actions/get-stocks-v1-short-volume.d.cts +9 -0
  393. package/dist/actions/get-stocks-v1-short-volume.d.cts.map +1 -0
  394. package/dist/actions/get-stocks-v1-short-volume.d.mts +9 -0
  395. package/dist/actions/get-stocks-v1-short-volume.d.mts.map +1 -0
  396. package/dist/actions/get-stocks-v1-short-volume.mjs +64 -0
  397. package/dist/actions/get-stocks-v1-short-volume.mjs.map +1 -0
  398. package/dist/actions/get-stocks-v1-splits.cjs +50 -0
  399. package/dist/actions/get-stocks-v1-splits.cjs.map +1 -0
  400. package/dist/actions/get-stocks-v1-splits.d.cts +9 -0
  401. package/dist/actions/get-stocks-v1-splits.d.cts.map +1 -0
  402. package/dist/actions/get-stocks-v1-splits.d.mts +9 -0
  403. package/dist/actions/get-stocks-v1-splits.d.mts.map +1 -0
  404. package/dist/actions/get-stocks-v1-splits.mjs +49 -0
  405. package/dist/actions/get-stocks-v1-splits.mjs.map +1 -0
  406. package/dist/actions/get-ticker-events.cjs +33 -0
  407. package/dist/actions/get-ticker-events.cjs.map +1 -0
  408. package/dist/actions/get-ticker-events.d.cts +9 -0
  409. package/dist/actions/get-ticker-events.d.cts.map +1 -0
  410. package/dist/actions/get-ticker-events.d.mts +9 -0
  411. package/dist/actions/get-ticker-events.d.mts.map +1 -0
  412. package/dist/actions/get-ticker-events.mjs +32 -0
  413. package/dist/actions/get-ticker-events.mjs.map +1 -0
  414. package/dist/actions/get-ticker-overview.cjs +57 -0
  415. package/dist/actions/get-ticker-overview.cjs.map +1 -0
  416. package/dist/actions/get-ticker-overview.d.cts +9 -0
  417. package/dist/actions/get-ticker-overview.d.cts.map +1 -0
  418. package/dist/actions/get-ticker-overview.d.mts +9 -0
  419. package/dist/actions/get-ticker-overview.d.mts.map +1 -0
  420. package/dist/actions/get-ticker-overview.mjs +56 -0
  421. package/dist/actions/get-ticker-overview.mjs.map +1 -0
  422. package/dist/actions/get-ticker-types.cjs +24 -0
  423. package/dist/actions/get-ticker-types.cjs.map +1 -0
  424. package/dist/actions/get-ticker-types.d.cts +9 -0
  425. package/dist/actions/get-ticker-types.d.cts.map +1 -0
  426. package/dist/actions/get-ticker-types.d.mts +9 -0
  427. package/dist/actions/get-ticker-types.d.mts.map +1 -0
  428. package/dist/actions/get-ticker-types.mjs +23 -0
  429. package/dist/actions/get-ticker-types.mjs.map +1 -0
  430. package/dist/actions/get-treasury-yields.cjs +45 -0
  431. package/dist/actions/get-treasury-yields.cjs.map +1 -0
  432. package/dist/actions/get-treasury-yields.d.cts +9 -0
  433. package/dist/actions/get-treasury-yields.d.cts.map +1 -0
  434. package/dist/actions/get-treasury-yields.d.mts +9 -0
  435. package/dist/actions/get-treasury-yields.d.mts.map +1 -0
  436. package/dist/actions/get-treasury-yields.mjs +44 -0
  437. package/dist/actions/get-treasury-yields.mjs.map +1 -0
  438. package/dist/actions/index.cjs +121 -0
  439. package/dist/actions/index.d.cts +61 -0
  440. package/dist/actions/index.d.mts +61 -0
  441. package/dist/actions/index.mjs +61 -0
  442. package/dist/actions/list-exchanges.cjs +42 -0
  443. package/dist/actions/list-exchanges.cjs.map +1 -0
  444. package/dist/actions/list-exchanges.d.cts +9 -0
  445. package/dist/actions/list-exchanges.d.cts.map +1 -0
  446. package/dist/actions/list-exchanges.d.mts +9 -0
  447. package/dist/actions/list-exchanges.d.mts.map +1 -0
  448. package/dist/actions/list-exchanges.mjs +41 -0
  449. package/dist/actions/list-exchanges.mjs.map +1 -0
  450. package/dist/actions/list-filing-files.cjs +46 -0
  451. package/dist/actions/list-filing-files.cjs.map +1 -0
  452. package/dist/actions/list-filing-files.d.cts +9 -0
  453. package/dist/actions/list-filing-files.d.cts.map +1 -0
  454. package/dist/actions/list-filing-files.d.mts +9 -0
  455. package/dist/actions/list-filing-files.d.mts.map +1 -0
  456. package/dist/actions/list-filing-files.mjs +45 -0
  457. package/dist/actions/list-filing-files.mjs.map +1 -0
  458. package/dist/actions/list-filings.cjs +62 -0
  459. package/dist/actions/list-filings.cjs.map +1 -0
  460. package/dist/actions/list-filings.d.cts +9 -0
  461. package/dist/actions/list-filings.d.cts.map +1 -0
  462. package/dist/actions/list-filings.d.mts +9 -0
  463. package/dist/actions/list-filings.d.mts.map +1 -0
  464. package/dist/actions/list-filings.mjs +61 -0
  465. package/dist/actions/list-filings.mjs.map +1 -0
  466. package/dist/actions/list-options-contracts.cjs +57 -0
  467. package/dist/actions/list-options-contracts.cjs.map +1 -0
  468. package/dist/actions/list-options-contracts.d.cts +9 -0
  469. package/dist/actions/list-options-contracts.d.cts.map +1 -0
  470. package/dist/actions/list-options-contracts.d.mts +9 -0
  471. package/dist/actions/list-options-contracts.d.mts.map +1 -0
  472. package/dist/actions/list-options-contracts.mjs +56 -0
  473. package/dist/actions/list-options-contracts.mjs.map +1 -0
  474. package/dist/actions/polygon-last-quote-for-a-symbol.cjs +30 -0
  475. package/dist/actions/polygon-last-quote-for-a-symbol.cjs.map +1 -0
  476. package/dist/actions/polygon-last-quote-for-a-symbol.d.cts +9 -0
  477. package/dist/actions/polygon-last-quote-for-a-symbol.d.cts.map +1 -0
  478. package/dist/actions/polygon-last-quote-for-a-symbol.d.mts +9 -0
  479. package/dist/actions/polygon-last-quote-for-a-symbol.d.mts.map +1 -0
  480. package/dist/actions/polygon-last-quote-for-a-symbol.mjs +29 -0
  481. package/dist/actions/polygon-last-quote-for-a-symbol.mjs.map +1 -0
  482. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs +30 -0
  483. package/dist/actions/polygon-last-trade-for-a-currency-pair.cjs.map +1 -0
  484. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts +9 -0
  485. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.cts.map +1 -0
  486. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts +9 -0
  487. package/dist/actions/polygon-last-trade-for-a-currency-pair.d.mts.map +1 -0
  488. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs +29 -0
  489. package/dist/actions/polygon-last-trade-for-a-currency-pair.mjs.map +1 -0
  490. package/dist/app.cjs +9 -0
  491. package/dist/app.cjs.map +1 -0
  492. package/dist/app.d.cts +5 -0
  493. package/dist/app.d.cts.map +1 -0
  494. package/dist/app.d.mts +5 -0
  495. package/dist/app.d.mts.map +1 -0
  496. package/dist/app.mjs +10 -0
  497. package/dist/app.mjs.map +1 -0
  498. package/dist/catalog.cjs +15 -0
  499. package/dist/catalog.cjs.map +1 -0
  500. package/dist/catalog.d.cts +14 -0
  501. package/dist/catalog.d.cts.map +1 -0
  502. package/dist/catalog.d.mts +14 -0
  503. package/dist/catalog.d.mts.map +1 -0
  504. package/dist/catalog.mjs +15 -0
  505. package/dist/catalog.mjs.map +1 -0
  506. package/dist/execute.cjs +18 -0
  507. package/dist/execute.cjs.map +1 -0
  508. package/dist/execute.mjs +18 -0
  509. package/dist/execute.mjs.map +1 -0
  510. package/dist/index.cjs +126 -0
  511. package/dist/index.d.cts +63 -0
  512. package/dist/index.d.mts +63 -0
  513. package/dist/index.mjs +64 -0
  514. package/package.json +49 -0
@@ -0,0 +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 PolygonIoGetForexMacdInput: z.ZodTypeAny = 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 PolygonIoGetForexMacd_MACDValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The MACD value (difference between short EMA and long EMA) at this timestamp.\"),\n signal: z.number().describe(\"The MACD signal line value (EMA of MACD values) at this timestamp.\"),\n histogram: z.number().describe(\"The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp for this MACD data point.\"),\n});\nconst PolygonIoGetForexMacd_UnderlyingSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\"),\n});\nconst PolygonIoGetForexMacd_MACDResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonIoGetForexMacd_MACDValueSchema).describe(\"Array of MACD data points with values, signals, and histograms.\").nullable().optional(),\n underlying: PolygonIoGetForexMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexMacdOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexMacd_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 polygonIoGetForexMacd = action(\"POLYGON_IO_GET_FOREX_MACD\", {\n slug: \"polygon_io-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: PolygonIoGetForexMacdInput,\n output: PolygonIoGetForexMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,sFAAsF;CAC9H,cAAcA,IAAAA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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-macd.d.ts
4
+ declare const PolygonIoGetForexMacdInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexMacdOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexMacd: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexMacd };
9
+ //# sourceMappingURL=get-forex-macd.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-macd.d.cts","names":[],"sources":["../../src/actions/get-forex-macd.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAgB6D;AAAA,cAc3F,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-macd.d.ts
4
+ declare const PolygonIoGetForexMacdInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexMacdOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexMacd: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexMacd };
9
+ //# sourceMappingURL=get-forex-macd.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-macd.d.mts","names":[],"sources":["../../src/actions/get-forex-macd.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAgB6D;AAAA,cAc3F,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-forex-macd.ts
4
+ const PolygonIoGetForexMacdInput = z.object({
5
+ limit: z.number().int().default(10).describe("Maximum number of results to return. Must be between 1 and 5000. Defaults to 10.").optional(),
6
+ 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(),
7
+ adjusted: z.boolean().default(true).describe("Whether the aggregates used to calculate MACD are adjusted for splits. Defaults to True.").optional(),
8
+ timespan: z.string().describe("The size of the aggregate time window (e.g., 'day', 'hour', 'minute')."),
9
+ timestamp: z.string().describe("Filter by timestamp. Can be a date in YYYY-MM-DD format or a millisecond timestamp.").optional(),
10
+ long_window: z.number().int().describe("The long window size (number of periods) used to calculate MACD data. Typically 26."),
11
+ series_type: z.enum([
12
+ "open",
13
+ "high",
14
+ "low",
15
+ "close"
16
+ ]).default("close").describe("The price field in the aggregate which will be used to calculate MACD. Defaults to 'close'.").optional(),
17
+ 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."),
18
+ short_window: z.number().int().describe("The short window size (number of periods) used to calculate MACD data. Typically 12."),
19
+ 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(),
20
+ 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(),
21
+ signal_window: z.number().int().describe("The window size (number of periods) used to calculate the MACD signal line. Typically 9."),
22
+ 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(),
23
+ 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(),
24
+ 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()
25
+ }).describe("Parameters to retrieve the Moving Average Convergence/Divergence (MACD) for a forex pair.");
26
+ const PolygonIoGetForexMacd_MACDValueSchema = z.object({
27
+ value: z.number().describe("The MACD value (difference between short EMA and long EMA) at this timestamp."),
28
+ signal: z.number().describe("The MACD signal line value (EMA of MACD values) at this timestamp."),
29
+ histogram: z.number().describe("The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength."),
30
+ timestamp: z.number().int().describe("The Unix millisecond timestamp for this MACD data point.")
31
+ });
32
+ const PolygonIoGetForexMacd_UnderlyingSchema = z.object({ url: z.string().describe("URL to fetch the underlying aggregate bars used for MACD calculation.") });
33
+ const PolygonIoGetForexMacd_MACDResultsSchema = z.object({
34
+ values: z.array(PolygonIoGetForexMacd_MACDValueSchema).describe("Array of MACD data points with values, signals, and histograms.").nullable().optional(),
35
+ underlying: PolygonIoGetForexMacd_UnderlyingSchema.nullable().optional()
36
+ });
37
+ const polygonIoGetForexMacd = action("POLYGON_IO_GET_FOREX_MACD", {
38
+ slug: "polygon_io-get-forex-macd",
39
+ name: "Get Forex MACD",
40
+ 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.",
41
+ input: PolygonIoGetForexMacdInput,
42
+ output: z.object({
43
+ status: z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
44
+ results: PolygonIoGetForexMacd_MACDResultsSchema.nullable().optional(),
45
+ next_url: z.string().describe("If present, this URL can be used to fetch the next page of data.").nullable().optional(),
46
+ request_id: z.string().describe("A request ID assigned by the server.").nullable().optional()
47
+ })
48
+ });
49
+ //#endregion
50
+ export { polygonIoGetForexMacd };
51
+
52
+ //# sourceMappingURL=get-forex-macd.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-macd.mjs","names":[],"sources":["../../src/actions/get-forex-macd.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexMacdInput: z.ZodTypeAny = 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 PolygonIoGetForexMacd_MACDValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The MACD value (difference between short EMA and long EMA) at this timestamp.\"),\n signal: z.number().describe(\"The MACD signal line value (EMA of MACD values) at this timestamp.\"),\n histogram: z.number().describe(\"The histogram value (difference between MACD value and signal line: value - signal). Indicates momentum direction and strength.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp for this MACD data point.\"),\n});\nconst PolygonIoGetForexMacd_UnderlyingSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to fetch the underlying aggregate bars used for MACD calculation.\"),\n});\nconst PolygonIoGetForexMacd_MACDResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonIoGetForexMacd_MACDValueSchema).describe(\"Array of MACD data points with values, signals, and histograms.\").nullable().optional(),\n underlying: PolygonIoGetForexMacd_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexMacdOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexMacd_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 polygonIoGetForexMacd = action(\"POLYGON_IO_GET_FOREX_MACD\", {\n slug: \"polygon_io-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: PolygonIoGetForexMacdInput,\n output: PolygonIoGetForexMacdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1I,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC7M,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC/H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;CAC5H,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC3K,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2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AS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-forex-real-time-currency-conversion.ts
4
+ const PolygonIoGetForexRealTimeCurrencyConversionInput = zod.z.object({
5
+ amount: zod.z.number().describe("The amount to convert with decimal precision. If not provided, defaults to 1.").optional(),
6
+ precision: zod.z.number().int().describe("The decimal precision of the conversion result. Defaults to 2 decimal places.").optional(),
7
+ to_currency: zod.z.string().describe("The 'to' currency symbol to convert to (e.g., 'EUR', 'USD', 'JPY')."),
8
+ from_currency: zod.z.string().describe("The 'from' currency symbol to convert from (e.g., 'USD', 'EUR', 'GBP').")
9
+ }).describe("Parameters for converting currency amounts in real-time.");
10
+ const PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema = zod.z.object({
11
+ ask: zod.z.number().describe("The ask price.").nullable().optional(),
12
+ bid: zod.z.number().describe("The bid price.").nullable().optional(),
13
+ exchange: zod.z.number().int().describe("The exchange ID.").nullable().optional(),
14
+ timestamp: zod.z.number().int().describe("The Unix millisecond timestamp.").nullable().optional()
15
+ }).describe("Latest quote data for the currency pair.");
16
+ const PolygonIoGetForexRealTimeCurrencyConversionOutput = zod.z.object({
17
+ to: zod.z.string().describe("The 'to' currency symbol.").nullable().optional(),
18
+ from: zod.z.string().describe("The 'from' currency symbol.").nullable().optional(),
19
+ last: PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema.nullable().optional(),
20
+ status: zod.z.string().describe("The status of this request's response.").nullable().optional(),
21
+ symbol: zod.z.string().describe("The symbol pair that was evaluated from the request.").nullable().optional(),
22
+ converted: zod.z.number().describe("The result of the conversion.").nullable().optional(),
23
+ request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional(),
24
+ initialAmount: zod.z.number().describe("The amount to convert.").nullable().optional()
25
+ }).describe("Response containing the currency conversion result.");
26
+ const polygonIoGetForexRealTimeCurrencyConversion = require_action.action("POLYGON_IO_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION", {
27
+ slug: "polygon_io-get-forex-real-time-currency-conversion",
28
+ name: "Get Forex Real-Time Currency Conversion",
29
+ description: "Tool to convert amounts between currency pairs using real-time forex rates. Use when you need to perform currency conversions with the latest market rates.",
30
+ input: PolygonIoGetForexRealTimeCurrencyConversionInput,
31
+ output: PolygonIoGetForexRealTimeCurrencyConversionOutput
32
+ });
33
+ //#endregion
34
+ exports.polygonIoGetForexRealTimeCurrencyConversion = polygonIoGetForexRealTimeCurrencyConversion;
35
+
36
+ //# sourceMappingURL=get-forex-real-time-currency-conversion.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-real-time-currency-conversion.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-real-time-currency-conversion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRealTimeCurrencyConversionInput: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"The amount to convert with decimal precision. If not provided, defaults to 1.\").optional(),\n precision: z.number().int().describe(\"The decimal precision of the conversion result. Defaults to 2 decimal places.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol to convert to (e.g., 'EUR', 'USD', 'JPY').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol to convert from (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for converting currency amounts in real-time.\");\nconst PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema: z.ZodTypeAny = z.object({\n ask: z.number().describe(\"The ask price.\").nullable().optional(),\n bid: z.number().describe(\"The bid price.\").nullable().optional(),\n exchange: z.number().int().describe(\"The exchange ID.\").nullable().optional(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp.\").nullable().optional(),\n}).describe(\"Latest quote data for the currency pair.\");\nexport const PolygonIoGetForexRealTimeCurrencyConversionOutput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"The 'to' currency symbol.\").nullable().optional(),\n from: z.string().describe(\"The 'from' currency symbol.\").nullable().optional(),\n last: PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"The status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"The symbol pair that was evaluated from the request.\").nullable().optional(),\n converted: z.number().describe(\"The result of the conversion.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n initialAmount: z.number().describe(\"The amount to convert.\").nullable().optional(),\n}).describe(\"Response containing the currency conversion result.\");\n\nexport const polygonIoGetForexRealTimeCurrencyConversion = action(\"POLYGON_IO_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION\", {\n slug: \"polygon_io-get-forex-real-time-currency-conversion\",\n name: \"Get Forex Real-Time Currency Conversion\",\n description: \"Tool to convert amounts between currency pairs using real-time forex rates. Use when you need to perform currency conversions with the latest market rates.\",\n input: PolygonIoGetForexRealTimeCurrencyConversionInput,\n output: PolygonIoGetForexRealTimeCurrencyConversionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAiEA,IAAAA,EAAE,OAAO;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC9G,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,KAAKA,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CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-real-time-currency-conversion.d.ts
4
+ declare const PolygonIoGetForexRealTimeCurrencyConversionInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexRealTimeCurrencyConversionOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexRealTimeCurrencyConversion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexRealTimeCurrencyConversion };
9
+ //# sourceMappingURL=get-forex-real-time-currency-conversion.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-real-time-currency-conversion.d.cts","names":[],"sources":["../../src/actions/get-forex-real-time-currency-conversion.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAKM;AAAA,cAO1D,iDAAA,EAAmD,CAAA,CAAE,UASA;AAAA,cAErD,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-real-time-currency-conversion.d.ts
4
+ declare const PolygonIoGetForexRealTimeCurrencyConversionInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexRealTimeCurrencyConversionOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexRealTimeCurrencyConversion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexRealTimeCurrencyConversion };
9
+ //# sourceMappingURL=get-forex-real-time-currency-conversion.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-real-time-currency-conversion.d.mts","names":[],"sources":["../../src/actions/get-forex-real-time-currency-conversion.ts"],"mappings":";;;cAIa,gDAAA,EAAkD,CAAA,CAAE,UAKM;AAAA,cAO1D,iDAAA,EAAmD,CAAA,CAAE,UASA;AAAA,cAErD,2CAAA,gCAA2C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-forex-real-time-currency-conversion.ts
4
+ const PolygonIoGetForexRealTimeCurrencyConversionInput = z.object({
5
+ amount: z.number().describe("The amount to convert with decimal precision. If not provided, defaults to 1.").optional(),
6
+ precision: z.number().int().describe("The decimal precision of the conversion result. Defaults to 2 decimal places.").optional(),
7
+ to_currency: z.string().describe("The 'to' currency symbol to convert to (e.g., 'EUR', 'USD', 'JPY')."),
8
+ from_currency: z.string().describe("The 'from' currency symbol to convert from (e.g., 'USD', 'EUR', 'GBP').")
9
+ }).describe("Parameters for converting currency amounts in real-time.");
10
+ const PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema = z.object({
11
+ ask: z.number().describe("The ask price.").nullable().optional(),
12
+ bid: z.number().describe("The bid price.").nullable().optional(),
13
+ exchange: z.number().int().describe("The exchange ID.").nullable().optional(),
14
+ timestamp: z.number().int().describe("The Unix millisecond timestamp.").nullable().optional()
15
+ }).describe("Latest quote data for the currency pair.");
16
+ const polygonIoGetForexRealTimeCurrencyConversion = action("POLYGON_IO_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION", {
17
+ slug: "polygon_io-get-forex-real-time-currency-conversion",
18
+ name: "Get Forex Real-Time Currency Conversion",
19
+ description: "Tool to convert amounts between currency pairs using real-time forex rates. Use when you need to perform currency conversions with the latest market rates.",
20
+ input: PolygonIoGetForexRealTimeCurrencyConversionInput,
21
+ output: z.object({
22
+ to: z.string().describe("The 'to' currency symbol.").nullable().optional(),
23
+ from: z.string().describe("The 'from' currency symbol.").nullable().optional(),
24
+ last: PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema.nullable().optional(),
25
+ status: z.string().describe("The status of this request's response.").nullable().optional(),
26
+ symbol: z.string().describe("The symbol pair that was evaluated from the request.").nullable().optional(),
27
+ converted: z.number().describe("The result of the conversion.").nullable().optional(),
28
+ request_id: z.string().describe("A request id assigned by the server.").nullable().optional(),
29
+ initialAmount: z.number().describe("The amount to convert.").nullable().optional()
30
+ }).describe("Response containing the currency conversion result.")
31
+ });
32
+ //#endregion
33
+ export { polygonIoGetForexRealTimeCurrencyConversion };
34
+
35
+ //# sourceMappingURL=get-forex-real-time-currency-conversion.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-real-time-currency-conversion.mjs","names":[],"sources":["../../src/actions/get-forex-real-time-currency-conversion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRealTimeCurrencyConversionInput: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"The amount to convert with decimal precision. If not provided, defaults to 1.\").optional(),\n precision: z.number().int().describe(\"The decimal precision of the conversion result. Defaults to 2 decimal places.\").optional(),\n to_currency: z.string().describe(\"The 'to' currency symbol to convert to (e.g., 'EUR', 'USD', 'JPY').\"),\n from_currency: z.string().describe(\"The 'from' currency symbol to convert from (e.g., 'USD', 'EUR', 'GBP').\"),\n}).describe(\"Parameters for converting currency amounts in real-time.\");\nconst PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema: z.ZodTypeAny = z.object({\n ask: z.number().describe(\"The ask price.\").nullable().optional(),\n bid: z.number().describe(\"The bid price.\").nullable().optional(),\n exchange: z.number().int().describe(\"The exchange ID.\").nullable().optional(),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp.\").nullable().optional(),\n}).describe(\"Latest quote data for the currency pair.\");\nexport const PolygonIoGetForexRealTimeCurrencyConversionOutput: z.ZodTypeAny = z.object({\n to: z.string().describe(\"The 'to' currency symbol.\").nullable().optional(),\n from: z.string().describe(\"The 'from' currency symbol.\").nullable().optional(),\n last: PolygonIoGetForexRealTimeCurrencyConversion_LastQuoteSchema.nullable().optional(),\n status: z.string().describe(\"The status of this request's response.\").nullable().optional(),\n symbol: z.string().describe(\"The symbol pair that was evaluated from the request.\").nullable().optional(),\n converted: z.number().describe(\"The result of the conversion.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n initialAmount: z.number().describe(\"The amount to convert.\").nullable().optional(),\n}).describe(\"Response containing the currency conversion result.\");\n\nexport const polygonIoGetForexRealTimeCurrencyConversion = action(\"POLYGON_IO_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION\", {\n slug: \"polygon_io-get-forex-real-time-currency-conversion\",\n name: \"Get Forex Real-Time Currency Conversion\",\n description: \"Tool to convert amounts between currency pairs using real-time forex rates. Use when you need to perform currency conversions with the latest market rates.\",\n input: PolygonIoGetForexRealTimeCurrencyConversionInput,\n output: PolygonIoGetForexRealTimeCurrencyConversionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mDAAiE,EAAE,OAAO;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC9G,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,8DAA4E,EAAE,OAAO;CACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAYtD,MAAa,8CAA8C,OAAO,sDAAsD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB6E,EAAE,OAAO;EACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,MAAM,4DAA4D,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,57 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-forex-rsi.ts
4
+ const PolygonIoGetForexRsiInput = zod.z.object({
5
+ limit: zod.z.number().int().default(5e3).describe("Limit the number of results returned. Default: 5000. Max: 5000.").optional(),
6
+ order: zod.z.enum(["asc", "desc"]).default("desc").describe("The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.").optional(),
7
+ window: zod.z.number().int().describe("The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation."),
8
+ adjusted: zod.z.boolean().default(true).describe("Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.").optional(),
9
+ timespan: zod.z.enum([
10
+ "minute",
11
+ "hour",
12
+ "day",
13
+ "week",
14
+ "month",
15
+ "quarter",
16
+ "year"
17
+ ]).describe("The size of the aggregate time window. Required parameter to define the period for RSI calculation."),
18
+ timestamp: zod.z.string().describe("Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.").optional(),
19
+ series_type: zod.z.enum([
20
+ "open",
21
+ "high",
22
+ "low",
23
+ "close"
24
+ ]).default("close").describe("The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.").optional(),
25
+ forex_ticker: zod.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."),
26
+ timestamp_gt: zod.z.string().describe("Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
27
+ timestamp_lt: zod.z.string().describe("Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
28
+ timestamp_gte: zod.z.string().describe("Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
29
+ timestamp_lte: zod.z.string().describe("Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
30
+ 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()
31
+ }).describe("Parameters to retrieve the Relative Strength Index (RSI) for a forex pair.");
32
+ const PolygonIoGetForexRsi_RSIValueSchema = zod.z.object({
33
+ value: zod.z.number().describe("The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions."),
34
+ timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
35
+ });
36
+ const PolygonIoGetForexRsi_UnderlyingSchema = zod.z.object({ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.") });
37
+ const PolygonIoGetForexRsi_RSIResultsSchema = zod.z.object({
38
+ values: zod.z.array(PolygonIoGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
+ underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional()
40
+ });
41
+ const PolygonIoGetForexRsiOutput = zod.z.object({
42
+ status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
43
+ results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),
44
+ next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
45
+ request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
46
+ });
47
+ const polygonIoGetForexRsi = require_action.action("POLYGON_IO_GET_FOREX_RSI", {
48
+ slug: "polygon_io-get-forex-rsi",
49
+ name: "Get Forex RSI",
50
+ description: "Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.",
51
+ input: PolygonIoGetForexRsiInput,
52
+ output: PolygonIoGetForexRsiOutput
53
+ });
54
+ //#endregion
55
+ exports.polygonIoGetForexRsi = polygonIoGetForexRsi;
56
+
57
+ //# sourceMappingURL=get-forex-rsi.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-rsi.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for a forex pair.\");\nconst PolygonIoGetForexRsi_RSIValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\"),\n});\nconst PolygonIoGetForexRsi_UnderlyingSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\"),\n});\nconst PolygonIoGetForexRsi_RSIResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexRsiOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.\",\n input: PolygonIoGetForexRsiInput,\n output: PolygonIoGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3H,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH;CACnJ,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,S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AmC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAY,sCAAsC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-rsi.d.ts
4
+ declare const PolygonIoGetForexRsiInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexRsiOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexRsi };
9
+ //# sourceMappingURL=get-forex-rsi.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-rsi.d.cts","names":[],"sources":["../../src/actions/get-forex-rsi.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAc+C;AAAA,cAY5E,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-rsi.d.ts
4
+ declare const PolygonIoGetForexRsiInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexRsiOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexRsi };
9
+ //# sourceMappingURL=get-forex-rsi.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-rsi.d.mts","names":[],"sources":["../../src/actions/get-forex-rsi.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAc+C;AAAA,cAY5E,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,56 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-forex-rsi.ts
4
+ const PolygonIoGetForexRsiInput = z.object({
5
+ limit: z.number().int().default(5e3).describe("Limit the number of results returned. Default: 5000. Max: 5000.").optional(),
6
+ order: z.enum(["asc", "desc"]).default("desc").describe("The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.").optional(),
7
+ window: z.number().int().describe("The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation."),
8
+ adjusted: z.boolean().default(true).describe("Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.").optional(),
9
+ timespan: z.enum([
10
+ "minute",
11
+ "hour",
12
+ "day",
13
+ "week",
14
+ "month",
15
+ "quarter",
16
+ "year"
17
+ ]).describe("The size of the aggregate time window. Required parameter to define the period for RSI calculation."),
18
+ timestamp: z.string().describe("Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.").optional(),
19
+ series_type: z.enum([
20
+ "open",
21
+ "high",
22
+ "low",
23
+ "close"
24
+ ]).default("close").describe("The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.").optional(),
25
+ 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."),
26
+ timestamp_gt: z.string().describe("Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
27
+ timestamp_lt: z.string().describe("Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
28
+ timestamp_gte: z.string().describe("Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
29
+ timestamp_lte: z.string().describe("Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
30
+ 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()
31
+ }).describe("Parameters to retrieve the Relative Strength Index (RSI) for a forex pair.");
32
+ const PolygonIoGetForexRsi_RSIValueSchema = z.object({
33
+ value: z.number().describe("The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions."),
34
+ timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
35
+ });
36
+ const PolygonIoGetForexRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.") });
37
+ const PolygonIoGetForexRsi_RSIResultsSchema = z.object({
38
+ values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
+ underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional()
40
+ });
41
+ const polygonIoGetForexRsi = action("POLYGON_IO_GET_FOREX_RSI", {
42
+ slug: "polygon_io-get-forex-rsi",
43
+ name: "Get Forex RSI",
44
+ description: "Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.",
45
+ input: PolygonIoGetForexRsiInput,
46
+ output: z.object({
47
+ status: z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
48
+ results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),
49
+ next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
50
+ request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
51
+ })
52
+ });
53
+ //#endregion
54
+ export { polygonIoGetForexRsi };
55
+
56
+ //# sourceMappingURL=get-forex-rsi.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-rsi.mjs","names":[],"sources":["../../src/actions/get-forex-rsi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexRsiInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(5000).describe(\"Limit the number of results returned. Default: 5000. Max: 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' returns oldest first, 'desc' returns newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().describe(\"The window size used to calculate the Relative Strength Index (RSI). Typically 14 for standard RSI calculation.\"),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the RSI are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).describe(\"The size of the aggregate time window. Required parameter to define the period for RSI calculation.\"),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the RSI. Defaults to 'close'.\").optional(),\n forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\n timestamp_gt: z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lt: z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_gte: z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n timestamp_lte: z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Relative Strength Index (RSI) for a forex pair.\");\nconst PolygonIoGetForexRsi_RSIValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The RSI indicator value for this period (0-100). Values above 70 typically indicate overbought conditions, while values below 30 indicate oversold conditions.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\"),\n});\nconst PolygonIoGetForexRsi_UnderlyingSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\"),\n});\nconst PolygonIoGetForexRsi_RSIResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonIoGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexRsiOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonIoGetForexRsi_RSIResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetForexRsi = action(\"POLYGON_IO_GET_FOREX_RSI\", {\n slug: \"polygon_io-get-forex-rsi\",\n name: \"Get Forex RSI\",\n description: \"Tool to calculate the Relative Strength Index (RSI) technical indicator for a forex pair. Use when you need momentum analysis or want to identify overbought/oversold conditions for currency pairs.\",\n input: PolygonIoGetForexRsiInput,\n output: PolygonIoGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3H,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACjN,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH;CACnJ,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,SAAS,qGAAqG;CAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAa,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACrL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACrK,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAChJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAChK,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,sCAAoD,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC3L,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;AACzH,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO,EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,YAAY,sCAAsC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC;AAQD,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAOU;AACV,CAAC"}
@@ -0,0 +1,70 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-forex-sma.ts
4
+ const PolygonIoGetForexSmaInput = zod.z.object({
5
+ limit: zod.z.number().int().default(10).describe("Limit the number of results returned. Defaults to 10. Maximum is 5000.").optional(),
6
+ order: zod.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(),
7
+ window: zod.z.number().int().default(50).describe("The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.").optional(),
8
+ adjusted: zod.z.boolean().default(true).describe("Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.").optional(),
9
+ timespan: zod.z.enum([
10
+ "minute",
11
+ "hour",
12
+ "day",
13
+ "week",
14
+ "month",
15
+ "quarter",
16
+ "year"
17
+ ]).default("day").describe("The size of the aggregate time window. Defaults to 'day'.").optional(),
18
+ timestamp: zod.z.string().describe("Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.").optional(),
19
+ series_type: zod.z.enum([
20
+ "open",
21
+ "high",
22
+ "low",
23
+ "close"
24
+ ]).default("close").describe("The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.").optional(),
25
+ forex_ticker: zod.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."),
26
+ "timestamp.gt": zod.z.string().describe("Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
27
+ "timestamp.lt": zod.z.string().describe("Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
28
+ "timestamp.gte": zod.z.string().describe("Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
29
+ "timestamp.lte": zod.z.string().describe("Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.").optional(),
30
+ 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()
31
+ }).describe("Parameters to retrieve the Simple Moving Average (SMA) for a forex pair.");
32
+ const PolygonIoGetForexSma_SMAValueSchema = zod.z.object({
33
+ value: zod.z.number().describe("The SMA indicator value for this period."),
34
+ timestamp: zod.z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
35
+ });
36
+ const PolygonIoGetForexSma_AggregateBarSchema = zod.z.object({
37
+ c: zod.z.number().describe("The close price for the aggregate window.").nullable().optional(),
38
+ h: zod.z.number().describe("The high price for the aggregate window.").nullable().optional(),
39
+ l: zod.z.number().describe("The low price for the aggregate window.").nullable().optional(),
40
+ n: zod.z.number().int().describe("The number of transactions in the aggregate window.").nullable().optional(),
41
+ o: zod.z.number().describe("The open price for the aggregate window.").nullable().optional(),
42
+ t: zod.z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
43
+ v: zod.z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
44
+ vw: zod.z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
45
+ });
46
+ const PolygonIoGetForexSma_UnderlyingDataSchema = zod.z.object({
47
+ url: zod.z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable().optional(),
48
+ aggregates: zod.z.array(PolygonIoGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
49
+ });
50
+ const PolygonIoGetForexSma_SMAResultsSchema = zod.z.object({
51
+ values: zod.z.array(PolygonIoGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
52
+ underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional()
53
+ });
54
+ const PolygonIoGetForexSmaOutput = zod.z.object({
55
+ status: zod.z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
56
+ results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),
57
+ next_url: zod.z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
58
+ request_id: zod.z.string().describe("A request id assigned by the server.").nullable().optional()
59
+ });
60
+ const polygonIoGetForexSma = require_action.action("POLYGON_IO_GET_FOREX_SMA", {
61
+ slug: "polygon_io-get-forex-sma",
62
+ name: "Get Forex SMA",
63
+ description: "Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.",
64
+ input: PolygonIoGetForexSmaInput,
65
+ output: PolygonIoGetForexSmaOutput
66
+ });
67
+ //#endregion
68
+ exports.polygonIoGetForexSma = polygonIoGetForexSma;
69
+
70
+ //# sourceMappingURL=get-forex-sma.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-sma.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonIoGetForexSmaInput: z.ZodTypeAny = z.object({\n limit: z.number().int().default(10).describe(\"Limit the number of results returned. Defaults to 10. Maximum is 5000.\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"The order in which to return the results, ordered by timestamp. 'asc' for ascending/oldest first, 'desc' for descending/newest first. Defaults to 'desc'.\").optional(),\n window: z.number().int().default(50).describe(\"The window size used to calculate the SMA. For example, a window of 10 with daily aggregates equals a 10-day moving average. Defaults to 50.\").optional(),\n adjusted: z.boolean().default(true).describe(\"Whether or not the aggregates used to calculate the SMA are adjusted for splits. Defaults to True.\").optional(),\n timespan: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\", \"quarter\", \"year\"]).default(\"day\").describe(\"The size of the aggregate time window. Defaults to 'day'.\").optional(),\n timestamp: z.string().describe(\"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp.\").optional(),\n series_type: z.enum([\"open\", \"high\", \"low\", \"close\"]).default(\"close\").describe(\"The price in the aggregate which will be used to calculate the SMA. Defaults to 'close'.\").optional(),\n forex_ticker: z.string().describe(\"The forex ticker symbol in format C:FROMTO (e.g., 'C:EURUSD', 'C:GBPJPY'). Must include the 'C:' prefix for forex currency pairs.\"),\n \"timestamp.gt\": z.string().describe(\"Filter for timestamps greater than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n \"timestamp.lt\": z.string().describe(\"Filter for timestamps less than the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n \"timestamp.gte\": z.string().describe(\"Filter for timestamps greater than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n \"timestamp.lte\": z.string().describe(\"Filter for timestamps less than or equal to the specified value. Format: YYYY-MM-DD or millisecond timestamp.\").optional(),\n expand_underlying: z.boolean().default(false).describe(\"Whether or not to include the aggregates used to calculate this indicator in the response. Defaults to False.\").optional(),\n}).describe(\"Parameters to retrieve the Simple Moving Average (SMA) for a forex pair.\");\nconst PolygonIoGetForexSma_SMAValueSchema: z.ZodTypeAny = z.object({\n value: z.number().describe(\"The SMA indicator value for this period.\"),\n timestamp: z.number().int().describe(\"The Unix millisecond timestamp from the last aggregate used in this calculation.\"),\n});\nconst PolygonIoGetForexSma_AggregateBarSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"The close price for the aggregate window.\").nullable().optional(),\n h: z.number().describe(\"The high price for the aggregate window.\").nullable().optional(),\n l: z.number().describe(\"The low price for the aggregate window.\").nullable().optional(),\n n: z.number().int().describe(\"The number of transactions in the aggregate window.\").nullable().optional(),\n o: z.number().describe(\"The open price for the aggregate window.\").nullable().optional(),\n t: z.number().int().describe(\"The Unix millisecond timestamp for the end of the aggregate window.\").nullable().optional(),\n v: z.number().describe(\"The trading volume for the aggregate window.\").nullable().optional(),\n vw: z.number().describe(\"The volume weighted average price for the aggregate window.\").nullable().optional(),\n});\nconst PolygonIoGetForexSma_UnderlyingDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL which can be used to request the underlying aggregates used in this request.\").nullable().optional(),\n aggregates: z.array(PolygonIoGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonIoGetForexSma_SMAResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonIoGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonIoGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonIoGetForexSmaOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonIoGetForexSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonIoGetForexSma = action(\"POLYGON_IO_GET_FOREX_SMA\", {\n slug: \"polygon_io-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonIoGetForexSmaInput,\n output: PolygonIoGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC9N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvM,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,QAA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SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-sma.d.ts
4
+ declare const PolygonIoGetForexSmaInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexSmaOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexSma };
9
+ //# sourceMappingURL=get-forex-sma.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-sma.d.cts","names":[],"sources":["../../src/actions/get-forex-sma.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAc6C;AAAA,cAuB1E,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-sma.d.ts
4
+ declare const PolygonIoGetForexSmaInput: z.ZodTypeAny;
5
+ declare const PolygonIoGetForexSmaOutput: z.ZodTypeAny;
6
+ declare const polygonIoGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonIoGetForexSma };
9
+ //# sourceMappingURL=get-forex-sma.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-sma.d.mts","names":[],"sources":["../../src/actions/get-forex-sma.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAc6C;AAAA,cAuB1E,0BAAA,EAA4B,CAAA,CAAE,UAKzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}