@keystrokehq/polygon 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 (746) 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-aggregates.cjs +53 -0
  7. package/dist/actions/get-aggregates.cjs.map +1 -0
  8. package/dist/actions/get-aggregates.d.cts +9 -0
  9. package/dist/actions/get-aggregates.d.cts.map +1 -0
  10. package/dist/actions/get-aggregates.d.mts +9 -0
  11. package/dist/actions/get-aggregates.d.mts.map +1 -0
  12. package/dist/actions/get-aggregates.mjs +52 -0
  13. package/dist/actions/get-aggregates.mjs.map +1 -0
  14. package/dist/actions/get-all-tickers.cjs +46 -0
  15. package/dist/actions/get-all-tickers.cjs.map +1 -0
  16. package/dist/actions/get-all-tickers.d.cts +9 -0
  17. package/dist/actions/get-all-tickers.d.cts.map +1 -0
  18. package/dist/actions/get-all-tickers.d.mts +9 -0
  19. package/dist/actions/get-all-tickers.d.mts.map +1 -0
  20. package/dist/actions/get-all-tickers.mjs +45 -0
  21. package/dist/actions/get-all-tickers.mjs.map +1 -0
  22. package/dist/actions/get-condition-codes.cjs +41 -0
  23. package/dist/actions/get-condition-codes.cjs.map +1 -0
  24. package/dist/actions/get-condition-codes.d.cts +9 -0
  25. package/dist/actions/get-condition-codes.d.cts.map +1 -0
  26. package/dist/actions/get-condition-codes.d.mts +9 -0
  27. package/dist/actions/get-condition-codes.d.mts.map +1 -0
  28. package/dist/actions/get-condition-codes.mjs +40 -0
  29. package/dist/actions/get-condition-codes.mjs.map +1 -0
  30. package/dist/actions/get-crypto-aggregates.cjs +52 -0
  31. package/dist/actions/get-crypto-aggregates.cjs.map +1 -0
  32. package/dist/actions/get-crypto-aggregates.d.cts +9 -0
  33. package/dist/actions/get-crypto-aggregates.d.cts.map +1 -0
  34. package/dist/actions/get-crypto-aggregates.d.mts +9 -0
  35. package/dist/actions/get-crypto-aggregates.d.mts.map +1 -0
  36. package/dist/actions/get-crypto-aggregates.mjs +51 -0
  37. package/dist/actions/get-crypto-aggregates.mjs.map +1 -0
  38. package/dist/actions/get-crypto-all-tickers.cjs +48 -0
  39. package/dist/actions/get-crypto-all-tickers.cjs.map +1 -0
  40. package/dist/actions/get-crypto-all-tickers.d.cts +9 -0
  41. package/dist/actions/get-crypto-all-tickers.d.cts.map +1 -0
  42. package/dist/actions/get-crypto-all-tickers.d.mts +9 -0
  43. package/dist/actions/get-crypto-all-tickers.d.mts.map +1 -0
  44. package/dist/actions/get-crypto-all-tickers.mjs +47 -0
  45. package/dist/actions/get-crypto-all-tickers.mjs.map +1 -0
  46. package/dist/actions/get-crypto-ema.cjs +70 -0
  47. package/dist/actions/get-crypto-ema.cjs.map +1 -0
  48. package/dist/actions/get-crypto-ema.d.cts +9 -0
  49. package/dist/actions/get-crypto-ema.d.cts.map +1 -0
  50. package/dist/actions/get-crypto-ema.d.mts +9 -0
  51. package/dist/actions/get-crypto-ema.d.mts.map +1 -0
  52. package/dist/actions/get-crypto-ema.mjs +69 -0
  53. package/dist/actions/get-crypto-ema.mjs.map +1 -0
  54. package/dist/actions/get-crypto-grouped-daily.cjs +37 -0
  55. package/dist/actions/get-crypto-grouped-daily.cjs.map +1 -0
  56. package/dist/actions/get-crypto-grouped-daily.d.cts +9 -0
  57. package/dist/actions/get-crypto-grouped-daily.d.cts.map +1 -0
  58. package/dist/actions/get-crypto-grouped-daily.d.mts +9 -0
  59. package/dist/actions/get-crypto-grouped-daily.d.mts.map +1 -0
  60. package/dist/actions/get-crypto-grouped-daily.mjs +36 -0
  61. package/dist/actions/get-crypto-grouped-daily.mjs.map +1 -0
  62. package/dist/actions/get-crypto-last-trade.cjs +31 -0
  63. package/dist/actions/get-crypto-last-trade.cjs.map +1 -0
  64. package/dist/actions/get-crypto-last-trade.d.cts +9 -0
  65. package/dist/actions/get-crypto-last-trade.d.cts.map +1 -0
  66. package/dist/actions/get-crypto-last-trade.d.mts +9 -0
  67. package/dist/actions/get-crypto-last-trade.d.mts.map +1 -0
  68. package/dist/actions/get-crypto-last-trade.mjs +30 -0
  69. package/dist/actions/get-crypto-last-trade.mjs.map +1 -0
  70. package/dist/actions/get-crypto-macd.cjs +49 -0
  71. package/dist/actions/get-crypto-macd.cjs.map +1 -0
  72. package/dist/actions/get-crypto-macd.d.cts +9 -0
  73. package/dist/actions/get-crypto-macd.d.cts.map +1 -0
  74. package/dist/actions/get-crypto-macd.d.mts +9 -0
  75. package/dist/actions/get-crypto-macd.d.mts.map +1 -0
  76. package/dist/actions/get-crypto-macd.mjs +48 -0
  77. package/dist/actions/get-crypto-macd.mjs.map +1 -0
  78. package/dist/actions/get-crypto-open-close.cjs +33 -0
  79. package/dist/actions/get-crypto-open-close.cjs.map +1 -0
  80. package/dist/actions/get-crypto-open-close.d.cts +9 -0
  81. package/dist/actions/get-crypto-open-close.d.cts.map +1 -0
  82. package/dist/actions/get-crypto-open-close.d.mts +9 -0
  83. package/dist/actions/get-crypto-open-close.d.mts.map +1 -0
  84. package/dist/actions/get-crypto-open-close.mjs +30 -0
  85. package/dist/actions/get-crypto-open-close.mjs.map +1 -0
  86. package/dist/actions/get-crypto-prev-close.cjs +37 -0
  87. package/dist/actions/get-crypto-prev-close.cjs.map +1 -0
  88. package/dist/actions/get-crypto-prev-close.d.cts +9 -0
  89. package/dist/actions/get-crypto-prev-close.d.cts.map +1 -0
  90. package/dist/actions/get-crypto-prev-close.d.mts +9 -0
  91. package/dist/actions/get-crypto-prev-close.d.mts.map +1 -0
  92. package/dist/actions/get-crypto-prev-close.mjs +36 -0
  93. package/dist/actions/get-crypto-prev-close.mjs.map +1 -0
  94. package/dist/actions/get-crypto-rsi.cjs +57 -0
  95. package/dist/actions/get-crypto-rsi.cjs.map +1 -0
  96. package/dist/actions/get-crypto-rsi.d.cts +9 -0
  97. package/dist/actions/get-crypto-rsi.d.cts.map +1 -0
  98. package/dist/actions/get-crypto-rsi.d.mts +9 -0
  99. package/dist/actions/get-crypto-rsi.d.mts.map +1 -0
  100. package/dist/actions/get-crypto-rsi.mjs +56 -0
  101. package/dist/actions/get-crypto-rsi.mjs.map +1 -0
  102. package/dist/actions/get-crypto-sma.cjs +57 -0
  103. package/dist/actions/get-crypto-sma.cjs.map +1 -0
  104. package/dist/actions/get-crypto-sma.d.cts +9 -0
  105. package/dist/actions/get-crypto-sma.d.cts.map +1 -0
  106. package/dist/actions/get-crypto-sma.d.mts +9 -0
  107. package/dist/actions/get-crypto-sma.d.mts.map +1 -0
  108. package/dist/actions/get-crypto-sma.mjs +56 -0
  109. package/dist/actions/get-crypto-sma.mjs.map +1 -0
  110. package/dist/actions/get-crypto-ticker-book.cjs +32 -0
  111. package/dist/actions/get-crypto-ticker-book.cjs.map +1 -0
  112. package/dist/actions/get-crypto-ticker-book.d.cts +9 -0
  113. package/dist/actions/get-crypto-ticker-book.d.cts.map +1 -0
  114. package/dist/actions/get-crypto-ticker-book.d.mts +9 -0
  115. package/dist/actions/get-crypto-ticker-book.d.mts.map +1 -0
  116. package/dist/actions/get-crypto-ticker-book.mjs +31 -0
  117. package/dist/actions/get-crypto-ticker-book.mjs.map +1 -0
  118. package/dist/actions/get-crypto-trades.cjs +39 -0
  119. package/dist/actions/get-crypto-trades.cjs.map +1 -0
  120. package/dist/actions/get-crypto-trades.d.cts +9 -0
  121. package/dist/actions/get-crypto-trades.d.cts.map +1 -0
  122. package/dist/actions/get-crypto-trades.d.mts +9 -0
  123. package/dist/actions/get-crypto-trades.d.mts.map +1 -0
  124. package/dist/actions/get-crypto-trades.mjs +38 -0
  125. package/dist/actions/get-crypto-trades.mjs.map +1 -0
  126. package/dist/actions/get-dividends.cjs +51 -0
  127. package/dist/actions/get-dividends.cjs.map +1 -0
  128. package/dist/actions/get-dividends.d.cts +9 -0
  129. package/dist/actions/get-dividends.d.cts.map +1 -0
  130. package/dist/actions/get-dividends.d.mts +9 -0
  131. package/dist/actions/get-dividends.d.mts.map +1 -0
  132. package/dist/actions/get-dividends.mjs +50 -0
  133. package/dist/actions/get-dividends.mjs.map +1 -0
  134. package/dist/actions/get-economy-inflation.cjs +34 -0
  135. package/dist/actions/get-economy-inflation.cjs.map +1 -0
  136. package/dist/actions/get-economy-inflation.d.cts +9 -0
  137. package/dist/actions/get-economy-inflation.d.cts.map +1 -0
  138. package/dist/actions/get-economy-inflation.d.mts +9 -0
  139. package/dist/actions/get-economy-inflation.d.mts.map +1 -0
  140. package/dist/actions/get-economy-inflation.mjs +33 -0
  141. package/dist/actions/get-economy-inflation.mjs.map +1 -0
  142. package/dist/actions/get-ema.cjs +58 -0
  143. package/dist/actions/get-ema.cjs.map +1 -0
  144. package/dist/actions/get-ema.d.cts +9 -0
  145. package/dist/actions/get-ema.d.cts.map +1 -0
  146. package/dist/actions/get-ema.d.mts +9 -0
  147. package/dist/actions/get-ema.d.mts.map +1 -0
  148. package/dist/actions/get-ema.mjs +57 -0
  149. package/dist/actions/get-ema.mjs.map +1 -0
  150. package/dist/actions/get-filing-file.cjs +27 -0
  151. package/dist/actions/get-filing-file.cjs.map +1 -0
  152. package/dist/actions/get-filing-file.d.cts +9 -0
  153. package/dist/actions/get-filing-file.d.cts.map +1 -0
  154. package/dist/actions/get-filing-file.d.mts +9 -0
  155. package/dist/actions/get-filing-file.d.mts.map +1 -0
  156. package/dist/actions/get-filing-file.mjs +24 -0
  157. package/dist/actions/get-filing-file.mjs.map +1 -0
  158. package/dist/actions/get-filing.cjs +36 -0
  159. package/dist/actions/get-filing.cjs.map +1 -0
  160. package/dist/actions/get-filing.d.cts +9 -0
  161. package/dist/actions/get-filing.d.cts.map +1 -0
  162. package/dist/actions/get-filing.d.mts +9 -0
  163. package/dist/actions/get-filing.d.mts.map +1 -0
  164. package/dist/actions/get-filing.mjs +35 -0
  165. package/dist/actions/get-filing.mjs.map +1 -0
  166. package/dist/actions/get-forex-aggregates.cjs +52 -0
  167. package/dist/actions/get-forex-aggregates.cjs.map +1 -0
  168. package/dist/actions/get-forex-aggregates.d.cts +9 -0
  169. package/dist/actions/get-forex-aggregates.d.cts.map +1 -0
  170. package/dist/actions/get-forex-aggregates.d.mts +9 -0
  171. package/dist/actions/get-forex-aggregates.d.mts.map +1 -0
  172. package/dist/actions/get-forex-aggregates.mjs +51 -0
  173. package/dist/actions/get-forex-aggregates.mjs.map +1 -0
  174. package/dist/actions/get-forex-ema.cjs +63 -0
  175. package/dist/actions/get-forex-ema.cjs.map +1 -0
  176. package/dist/actions/get-forex-ema.d.cts +9 -0
  177. package/dist/actions/get-forex-ema.d.cts.map +1 -0
  178. package/dist/actions/get-forex-ema.d.mts +9 -0
  179. package/dist/actions/get-forex-ema.d.mts.map +1 -0
  180. package/dist/actions/get-forex-ema.mjs +62 -0
  181. package/dist/actions/get-forex-ema.mjs.map +1 -0
  182. package/dist/actions/get-forex-grouped-daily.cjs +37 -0
  183. package/dist/actions/get-forex-grouped-daily.cjs.map +1 -0
  184. package/dist/actions/get-forex-grouped-daily.d.cts +9 -0
  185. package/dist/actions/get-forex-grouped-daily.d.cts.map +1 -0
  186. package/dist/actions/get-forex-grouped-daily.d.mts +9 -0
  187. package/dist/actions/get-forex-grouped-daily.d.mts.map +1 -0
  188. package/dist/actions/get-forex-grouped-daily.mjs +36 -0
  189. package/dist/actions/get-forex-grouped-daily.mjs.map +1 -0
  190. package/dist/actions/get-forex-historical-quotes.cjs +38 -0
  191. package/dist/actions/get-forex-historical-quotes.cjs.map +1 -0
  192. package/dist/actions/get-forex-historical-quotes.d.cts +9 -0
  193. package/dist/actions/get-forex-historical-quotes.d.cts.map +1 -0
  194. package/dist/actions/get-forex-historical-quotes.d.mts +9 -0
  195. package/dist/actions/get-forex-historical-quotes.d.mts.map +1 -0
  196. package/dist/actions/get-forex-historical-quotes.mjs +37 -0
  197. package/dist/actions/get-forex-historical-quotes.mjs.map +1 -0
  198. package/dist/actions/get-forex-locales.cjs +25 -0
  199. package/dist/actions/get-forex-locales.cjs.map +1 -0
  200. package/dist/actions/get-forex-locales.d.cts +9 -0
  201. package/dist/actions/get-forex-locales.d.cts.map +1 -0
  202. package/dist/actions/get-forex-locales.d.mts +9 -0
  203. package/dist/actions/get-forex-locales.d.mts.map +1 -0
  204. package/dist/actions/get-forex-locales.mjs +24 -0
  205. package/dist/actions/get-forex-locales.mjs.map +1 -0
  206. package/dist/actions/get-forex-macd.cjs +53 -0
  207. package/dist/actions/get-forex-macd.cjs.map +1 -0
  208. package/dist/actions/get-forex-macd.d.cts +9 -0
  209. package/dist/actions/get-forex-macd.d.cts.map +1 -0
  210. package/dist/actions/get-forex-macd.d.mts +9 -0
  211. package/dist/actions/get-forex-macd.d.mts.map +1 -0
  212. package/dist/actions/get-forex-macd.mjs +52 -0
  213. package/dist/actions/get-forex-macd.mjs.map +1 -0
  214. package/dist/actions/get-forex-prev-close.cjs +37 -0
  215. package/dist/actions/get-forex-prev-close.cjs.map +1 -0
  216. package/dist/actions/get-forex-prev-close.d.cts +9 -0
  217. package/dist/actions/get-forex-prev-close.d.cts.map +1 -0
  218. package/dist/actions/get-forex-prev-close.d.mts +9 -0
  219. package/dist/actions/get-forex-prev-close.d.mts.map +1 -0
  220. package/dist/actions/get-forex-prev-close.mjs +36 -0
  221. package/dist/actions/get-forex-prev-close.mjs.map +1 -0
  222. package/dist/actions/get-forex-real-time-currency-conversion.cjs +36 -0
  223. package/dist/actions/get-forex-real-time-currency-conversion.cjs.map +1 -0
  224. package/dist/actions/get-forex-real-time-currency-conversion.d.cts +9 -0
  225. package/dist/actions/get-forex-real-time-currency-conversion.d.cts.map +1 -0
  226. package/dist/actions/get-forex-real-time-currency-conversion.d.mts +9 -0
  227. package/dist/actions/get-forex-real-time-currency-conversion.d.mts.map +1 -0
  228. package/dist/actions/get-forex-real-time-currency-conversion.mjs +35 -0
  229. package/dist/actions/get-forex-real-time-currency-conversion.mjs.map +1 -0
  230. package/dist/actions/get-forex-rsi.cjs +57 -0
  231. package/dist/actions/get-forex-rsi.cjs.map +1 -0
  232. package/dist/actions/get-forex-rsi.d.cts +9 -0
  233. package/dist/actions/get-forex-rsi.d.cts.map +1 -0
  234. package/dist/actions/get-forex-rsi.d.mts +9 -0
  235. package/dist/actions/get-forex-rsi.d.mts.map +1 -0
  236. package/dist/actions/get-forex-rsi.mjs +56 -0
  237. package/dist/actions/get-forex-rsi.mjs.map +1 -0
  238. package/dist/actions/get-forex-sma.cjs +70 -0
  239. package/dist/actions/get-forex-sma.cjs.map +1 -0
  240. package/dist/actions/get-forex-sma.d.cts +9 -0
  241. package/dist/actions/get-forex-sma.d.cts.map +1 -0
  242. package/dist/actions/get-forex-sma.d.mts +9 -0
  243. package/dist/actions/get-forex-sma.d.mts.map +1 -0
  244. package/dist/actions/get-forex-sma.mjs +69 -0
  245. package/dist/actions/get-forex-sma.mjs.map +1 -0
  246. package/dist/actions/get-forex-snapshot-losers.cjs +46 -0
  247. package/dist/actions/get-forex-snapshot-losers.cjs.map +1 -0
  248. package/dist/actions/get-forex-snapshot-losers.d.cts +9 -0
  249. package/dist/actions/get-forex-snapshot-losers.d.cts.map +1 -0
  250. package/dist/actions/get-forex-snapshot-losers.d.mts +9 -0
  251. package/dist/actions/get-forex-snapshot-losers.d.mts.map +1 -0
  252. package/dist/actions/get-forex-snapshot-losers.mjs +45 -0
  253. package/dist/actions/get-forex-snapshot-losers.mjs.map +1 -0
  254. package/dist/actions/get-futures-aggregates.cjs +40 -0
  255. package/dist/actions/get-futures-aggregates.cjs.map +1 -0
  256. package/dist/actions/get-futures-aggregates.d.cts +9 -0
  257. package/dist/actions/get-futures-aggregates.d.cts.map +1 -0
  258. package/dist/actions/get-futures-aggregates.d.mts +9 -0
  259. package/dist/actions/get-futures-aggregates.d.mts.map +1 -0
  260. package/dist/actions/get-futures-aggregates.mjs +39 -0
  261. package/dist/actions/get-futures-aggregates.mjs.map +1 -0
  262. package/dist/actions/get-futures-product-schedules.cjs +38 -0
  263. package/dist/actions/get-futures-product-schedules.cjs.map +1 -0
  264. package/dist/actions/get-futures-product-schedules.d.cts +9 -0
  265. package/dist/actions/get-futures-product-schedules.d.cts.map +1 -0
  266. package/dist/actions/get-futures-product-schedules.d.mts +9 -0
  267. package/dist/actions/get-futures-product-schedules.d.mts.map +1 -0
  268. package/dist/actions/get-futures-product-schedules.mjs +37 -0
  269. package/dist/actions/get-futures-product-schedules.mjs.map +1 -0
  270. package/dist/actions/get-futures-products.cjs +59 -0
  271. package/dist/actions/get-futures-products.cjs.map +1 -0
  272. package/dist/actions/get-futures-products.d.cts +9 -0
  273. package/dist/actions/get-futures-products.d.cts.map +1 -0
  274. package/dist/actions/get-futures-products.d.mts +9 -0
  275. package/dist/actions/get-futures-products.d.mts.map +1 -0
  276. package/dist/actions/get-futures-products.mjs +58 -0
  277. package/dist/actions/get-futures-products.mjs.map +1 -0
  278. package/dist/actions/get-futures-quotes.cjs +40 -0
  279. package/dist/actions/get-futures-quotes.cjs.map +1 -0
  280. package/dist/actions/get-futures-quotes.d.cts +9 -0
  281. package/dist/actions/get-futures-quotes.d.cts.map +1 -0
  282. package/dist/actions/get-futures-quotes.d.mts +9 -0
  283. package/dist/actions/get-futures-quotes.d.mts.map +1 -0
  284. package/dist/actions/get-futures-quotes.mjs +39 -0
  285. package/dist/actions/get-futures-quotes.mjs.map +1 -0
  286. package/dist/actions/get-futures-schedules.cjs +37 -0
  287. package/dist/actions/get-futures-schedules.cjs.map +1 -0
  288. package/dist/actions/get-futures-schedules.d.cts +9 -0
  289. package/dist/actions/get-futures-schedules.d.cts.map +1 -0
  290. package/dist/actions/get-futures-schedules.d.mts +9 -0
  291. package/dist/actions/get-futures-schedules.d.mts.map +1 -0
  292. package/dist/actions/get-futures-schedules.mjs +36 -0
  293. package/dist/actions/get-futures-schedules.mjs.map +1 -0
  294. package/dist/actions/get-futures-trades.cjs +44 -0
  295. package/dist/actions/get-futures-trades.cjs.map +1 -0
  296. package/dist/actions/get-futures-trades.d.cts +9 -0
  297. package/dist/actions/get-futures-trades.d.cts.map +1 -0
  298. package/dist/actions/get-futures-trades.d.mts +9 -0
  299. package/dist/actions/get-futures-trades.d.mts.map +1 -0
  300. package/dist/actions/get-futures-trades.mjs +43 -0
  301. package/dist/actions/get-futures-trades.mjs.map +1 -0
  302. package/dist/actions/get-historic-forex-ticks.cjs +33 -0
  303. package/dist/actions/get-historic-forex-ticks.cjs.map +1 -0
  304. package/dist/actions/get-historic-forex-ticks.d.cts +9 -0
  305. package/dist/actions/get-historic-forex-ticks.d.cts.map +1 -0
  306. package/dist/actions/get-historic-forex-ticks.d.mts +9 -0
  307. package/dist/actions/get-historic-forex-ticks.d.mts.map +1 -0
  308. package/dist/actions/get-historic-forex-ticks.mjs +32 -0
  309. package/dist/actions/get-historic-forex-ticks.mjs.map +1 -0
  310. package/dist/actions/get-inflation-expectations.cjs +41 -0
  311. package/dist/actions/get-inflation-expectations.cjs.map +1 -0
  312. package/dist/actions/get-inflation-expectations.d.cts +9 -0
  313. package/dist/actions/get-inflation-expectations.d.cts.map +1 -0
  314. package/dist/actions/get-inflation-expectations.d.mts +9 -0
  315. package/dist/actions/get-inflation-expectations.d.mts.map +1 -0
  316. package/dist/actions/get-inflation-expectations.mjs +40 -0
  317. package/dist/actions/get-inflation-expectations.mjs.map +1 -0
  318. package/dist/actions/get-ipo-data.cjs +40 -0
  319. package/dist/actions/get-ipo-data.cjs.map +1 -0
  320. package/dist/actions/get-ipo-data.d.cts +9 -0
  321. package/dist/actions/get-ipo-data.d.cts.map +1 -0
  322. package/dist/actions/get-ipo-data.d.mts +9 -0
  323. package/dist/actions/get-ipo-data.d.mts.map +1 -0
  324. package/dist/actions/get-ipo-data.mjs +39 -0
  325. package/dist/actions/get-ipo-data.mjs.map +1 -0
  326. package/dist/actions/get-macd.cjs +49 -0
  327. package/dist/actions/get-macd.cjs.map +1 -0
  328. package/dist/actions/get-macd.d.cts +9 -0
  329. package/dist/actions/get-macd.d.cts.map +1 -0
  330. package/dist/actions/get-macd.d.mts +9 -0
  331. package/dist/actions/get-macd.d.mts.map +1 -0
  332. package/dist/actions/get-macd.mjs +48 -0
  333. package/dist/actions/get-macd.mjs.map +1 -0
  334. package/dist/actions/get-market-holidays.cjs +16 -0
  335. package/dist/actions/get-market-holidays.cjs.map +1 -0
  336. package/dist/actions/get-market-holidays.d.cts +9 -0
  337. package/dist/actions/get-market-holidays.d.cts.map +1 -0
  338. package/dist/actions/get-market-holidays.d.mts +9 -0
  339. package/dist/actions/get-market-holidays.d.mts.map +1 -0
  340. package/dist/actions/get-market-holidays.mjs +13 -0
  341. package/dist/actions/get-market-holidays.mjs.map +1 -0
  342. package/dist/actions/get-market-status.cjs +33 -0
  343. package/dist/actions/get-market-status.cjs.map +1 -0
  344. package/dist/actions/get-market-status.d.cts +9 -0
  345. package/dist/actions/get-market-status.d.cts.map +1 -0
  346. package/dist/actions/get-market-status.d.mts +9 -0
  347. package/dist/actions/get-market-status.d.mts.map +1 -0
  348. package/dist/actions/get-market-status.mjs +32 -0
  349. package/dist/actions/get-market-status.mjs.map +1 -0
  350. package/dist/actions/get-meta-conditions-by-ticktype.cjs +16 -0
  351. package/dist/actions/get-meta-conditions-by-ticktype.cjs.map +1 -0
  352. package/dist/actions/get-meta-conditions-by-ticktype.d.cts +9 -0
  353. package/dist/actions/get-meta-conditions-by-ticktype.d.cts.map +1 -0
  354. package/dist/actions/get-meta-conditions-by-ticktype.d.mts +9 -0
  355. package/dist/actions/get-meta-conditions-by-ticktype.d.mts.map +1 -0
  356. package/dist/actions/get-meta-conditions-by-ticktype.mjs +13 -0
  357. package/dist/actions/get-meta-conditions-by-ticktype.mjs.map +1 -0
  358. package/dist/actions/get-news.cjs +49 -0
  359. package/dist/actions/get-news.cjs.map +1 -0
  360. package/dist/actions/get-news.d.cts +9 -0
  361. package/dist/actions/get-news.d.cts.map +1 -0
  362. package/dist/actions/get-news.d.mts +9 -0
  363. package/dist/actions/get-news.d.mts.map +1 -0
  364. package/dist/actions/get-news.mjs +48 -0
  365. package/dist/actions/get-news.mjs.map +1 -0
  366. package/dist/actions/get-open-close.cjs +32 -0
  367. package/dist/actions/get-open-close.cjs.map +1 -0
  368. package/dist/actions/get-open-close.d.cts +9 -0
  369. package/dist/actions/get-open-close.d.cts.map +1 -0
  370. package/dist/actions/get-open-close.d.mts +9 -0
  371. package/dist/actions/get-open-close.d.mts.map +1 -0
  372. package/dist/actions/get-open-close.mjs +29 -0
  373. package/dist/actions/get-open-close.mjs.map +1 -0
  374. package/dist/actions/get-option-chain-snapshot.cjs +82 -0
  375. package/dist/actions/get-option-chain-snapshot.cjs.map +1 -0
  376. package/dist/actions/get-option-chain-snapshot.d.cts +9 -0
  377. package/dist/actions/get-option-chain-snapshot.d.cts.map +1 -0
  378. package/dist/actions/get-option-chain-snapshot.d.mts +9 -0
  379. package/dist/actions/get-option-chain-snapshot.d.mts.map +1 -0
  380. package/dist/actions/get-option-chain-snapshot.mjs +81 -0
  381. package/dist/actions/get-option-chain-snapshot.mjs.map +1 -0
  382. package/dist/actions/get-option-snapshot.cjs +86 -0
  383. package/dist/actions/get-option-snapshot.cjs.map +1 -0
  384. package/dist/actions/get-option-snapshot.d.cts +9 -0
  385. package/dist/actions/get-option-snapshot.d.cts.map +1 -0
  386. package/dist/actions/get-option-snapshot.d.mts +9 -0
  387. package/dist/actions/get-option-snapshot.d.mts.map +1 -0
  388. package/dist/actions/get-option-snapshot.mjs +85 -0
  389. package/dist/actions/get-option-snapshot.mjs.map +1 -0
  390. package/dist/actions/get-options-contract-overview.cjs +41 -0
  391. package/dist/actions/get-options-contract-overview.cjs.map +1 -0
  392. package/dist/actions/get-options-contract-overview.d.cts +9 -0
  393. package/dist/actions/get-options-contract-overview.d.cts.map +1 -0
  394. package/dist/actions/get-options-contract-overview.d.mts +9 -0
  395. package/dist/actions/get-options-contract-overview.d.mts.map +1 -0
  396. package/dist/actions/get-options-contract-overview.mjs +40 -0
  397. package/dist/actions/get-options-contract-overview.mjs.map +1 -0
  398. package/dist/actions/get-options-custom-bars.cjs +54 -0
  399. package/dist/actions/get-options-custom-bars.cjs.map +1 -0
  400. package/dist/actions/get-options-custom-bars.d.cts +9 -0
  401. package/dist/actions/get-options-custom-bars.d.cts.map +1 -0
  402. package/dist/actions/get-options-custom-bars.d.mts +9 -0
  403. package/dist/actions/get-options-custom-bars.d.mts.map +1 -0
  404. package/dist/actions/get-options-custom-bars.mjs +53 -0
  405. package/dist/actions/get-options-custom-bars.mjs.map +1 -0
  406. package/dist/actions/get-options-ema.cjs +62 -0
  407. package/dist/actions/get-options-ema.cjs.map +1 -0
  408. package/dist/actions/get-options-ema.d.cts +9 -0
  409. package/dist/actions/get-options-ema.d.cts.map +1 -0
  410. package/dist/actions/get-options-ema.d.mts +9 -0
  411. package/dist/actions/get-options-ema.d.mts.map +1 -0
  412. package/dist/actions/get-options-ema.mjs +61 -0
  413. package/dist/actions/get-options-ema.mjs.map +1 -0
  414. package/dist/actions/get-options-macd.cjs +49 -0
  415. package/dist/actions/get-options-macd.cjs.map +1 -0
  416. package/dist/actions/get-options-macd.d.cts +9 -0
  417. package/dist/actions/get-options-macd.d.cts.map +1 -0
  418. package/dist/actions/get-options-macd.d.mts +9 -0
  419. package/dist/actions/get-options-macd.d.mts.map +1 -0
  420. package/dist/actions/get-options-macd.mjs +48 -0
  421. package/dist/actions/get-options-macd.mjs.map +1 -0
  422. package/dist/actions/get-options-rsi.cjs +57 -0
  423. package/dist/actions/get-options-rsi.cjs.map +1 -0
  424. package/dist/actions/get-options-rsi.d.cts +9 -0
  425. package/dist/actions/get-options-rsi.d.cts.map +1 -0
  426. package/dist/actions/get-options-rsi.d.mts +9 -0
  427. package/dist/actions/get-options-rsi.d.mts.map +1 -0
  428. package/dist/actions/get-options-rsi.mjs +56 -0
  429. package/dist/actions/get-options-rsi.mjs.map +1 -0
  430. package/dist/actions/get-options-sma.cjs +71 -0
  431. package/dist/actions/get-options-sma.cjs.map +1 -0
  432. package/dist/actions/get-options-sma.d.cts +9 -0
  433. package/dist/actions/get-options-sma.d.cts.map +1 -0
  434. package/dist/actions/get-options-sma.d.mts +9 -0
  435. package/dist/actions/get-options-sma.d.mts.map +1 -0
  436. package/dist/actions/get-options-sma.mjs +70 -0
  437. package/dist/actions/get-options-sma.mjs.map +1 -0
  438. package/dist/actions/get-previous-close.cjs +37 -0
  439. package/dist/actions/get-previous-close.cjs.map +1 -0
  440. package/dist/actions/get-previous-close.d.cts +9 -0
  441. package/dist/actions/get-previous-close.d.cts.map +1 -0
  442. package/dist/actions/get-previous-close.d.mts +9 -0
  443. package/dist/actions/get-previous-close.d.mts.map +1 -0
  444. package/dist/actions/get-previous-close.mjs +36 -0
  445. package/dist/actions/get-previous-close.mjs.map +1 -0
  446. package/dist/actions/get-reference-exchanges.cjs +40 -0
  447. package/dist/actions/get-reference-exchanges.cjs.map +1 -0
  448. package/dist/actions/get-reference-exchanges.d.cts +9 -0
  449. package/dist/actions/get-reference-exchanges.d.cts.map +1 -0
  450. package/dist/actions/get-reference-exchanges.d.mts +9 -0
  451. package/dist/actions/get-reference-exchanges.d.mts.map +1 -0
  452. package/dist/actions/get-reference-exchanges.mjs +39 -0
  453. package/dist/actions/get-reference-exchanges.mjs.map +1 -0
  454. package/dist/actions/get-reference-markets.cjs +23 -0
  455. package/dist/actions/get-reference-markets.cjs.map +1 -0
  456. package/dist/actions/get-reference-markets.d.cts +9 -0
  457. package/dist/actions/get-reference-markets.d.cts.map +1 -0
  458. package/dist/actions/get-reference-markets.d.mts +9 -0
  459. package/dist/actions/get-reference-markets.d.mts.map +1 -0
  460. package/dist/actions/get-reference-markets.mjs +22 -0
  461. package/dist/actions/get-reference-markets.mjs.map +1 -0
  462. package/dist/actions/get-reference-types.cjs +21 -0
  463. package/dist/actions/get-reference-types.cjs.map +1 -0
  464. package/dist/actions/get-reference-types.d.cts +9 -0
  465. package/dist/actions/get-reference-types.d.cts.map +1 -0
  466. package/dist/actions/get-reference-types.d.mts +9 -0
  467. package/dist/actions/get-reference-types.d.mts.map +1 -0
  468. package/dist/actions/get-reference-types.mjs +18 -0
  469. package/dist/actions/get-reference-types.mjs.map +1 -0
  470. package/dist/actions/get-related-companies.cjs +22 -0
  471. package/dist/actions/get-related-companies.cjs.map +1 -0
  472. package/dist/actions/get-related-companies.d.cts +9 -0
  473. package/dist/actions/get-related-companies.d.cts.map +1 -0
  474. package/dist/actions/get-related-companies.d.mts +9 -0
  475. package/dist/actions/get-related-companies.d.mts.map +1 -0
  476. package/dist/actions/get-related-companies.mjs +21 -0
  477. package/dist/actions/get-related-companies.mjs.map +1 -0
  478. package/dist/actions/get-risk-categories.cjs +54 -0
  479. package/dist/actions/get-risk-categories.cjs.map +1 -0
  480. package/dist/actions/get-risk-categories.d.cts +9 -0
  481. package/dist/actions/get-risk-categories.d.cts.map +1 -0
  482. package/dist/actions/get-risk-categories.d.mts +9 -0
  483. package/dist/actions/get-risk-categories.d.mts.map +1 -0
  484. package/dist/actions/get-risk-categories.mjs +53 -0
  485. package/dist/actions/get-risk-categories.mjs.map +1 -0
  486. package/dist/actions/get-rsi.cjs +45 -0
  487. package/dist/actions/get-rsi.cjs.map +1 -0
  488. package/dist/actions/get-rsi.d.cts +9 -0
  489. package/dist/actions/get-rsi.d.cts.map +1 -0
  490. package/dist/actions/get-rsi.d.mts +9 -0
  491. package/dist/actions/get-rsi.d.mts.map +1 -0
  492. package/dist/actions/get-rsi.mjs +44 -0
  493. package/dist/actions/get-rsi.mjs.map +1 -0
  494. package/dist/actions/get-short-interest.cjs +36 -0
  495. package/dist/actions/get-short-interest.cjs.map +1 -0
  496. package/dist/actions/get-short-interest.d.cts +9 -0
  497. package/dist/actions/get-short-interest.d.cts.map +1 -0
  498. package/dist/actions/get-short-interest.d.mts +9 -0
  499. package/dist/actions/get-short-interest.d.mts.map +1 -0
  500. package/dist/actions/get-short-interest.mjs +35 -0
  501. package/dist/actions/get-short-interest.mjs.map +1 -0
  502. package/dist/actions/get-short-volume.cjs +46 -0
  503. package/dist/actions/get-short-volume.cjs.map +1 -0
  504. package/dist/actions/get-short-volume.d.cts +9 -0
  505. package/dist/actions/get-short-volume.d.cts.map +1 -0
  506. package/dist/actions/get-short-volume.d.mts +9 -0
  507. package/dist/actions/get-short-volume.d.mts.map +1 -0
  508. package/dist/actions/get-short-volume.mjs +45 -0
  509. package/dist/actions/get-short-volume.mjs.map +1 -0
  510. package/dist/actions/get-sma.cjs +45 -0
  511. package/dist/actions/get-sma.cjs.map +1 -0
  512. package/dist/actions/get-sma.d.cts +9 -0
  513. package/dist/actions/get-sma.d.cts.map +1 -0
  514. package/dist/actions/get-sma.d.mts +9 -0
  515. package/dist/actions/get-sma.d.mts.map +1 -0
  516. package/dist/actions/get-sma.mjs +44 -0
  517. package/dist/actions/get-sma.mjs.map +1 -0
  518. package/dist/actions/get-snapshot-all-tickers.cjs +70 -0
  519. package/dist/actions/get-snapshot-all-tickers.cjs.map +1 -0
  520. package/dist/actions/get-snapshot-all-tickers.d.cts +9 -0
  521. package/dist/actions/get-snapshot-all-tickers.d.cts.map +1 -0
  522. package/dist/actions/get-snapshot-all-tickers.d.mts +9 -0
  523. package/dist/actions/get-snapshot-all-tickers.d.mts.map +1 -0
  524. package/dist/actions/get-snapshot-all-tickers.mjs +69 -0
  525. package/dist/actions/get-snapshot-all-tickers.mjs.map +1 -0
  526. package/dist/actions/get-snapshot-losers.cjs +48 -0
  527. package/dist/actions/get-snapshot-losers.cjs.map +1 -0
  528. package/dist/actions/get-snapshot-losers.d.cts +9 -0
  529. package/dist/actions/get-snapshot-losers.d.cts.map +1 -0
  530. package/dist/actions/get-snapshot-losers.d.mts +9 -0
  531. package/dist/actions/get-snapshot-losers.d.mts.map +1 -0
  532. package/dist/actions/get-snapshot-losers.mjs +47 -0
  533. package/dist/actions/get-snapshot-losers.mjs.map +1 -0
  534. package/dist/actions/get-snapshot-single-ticker.cjs +73 -0
  535. package/dist/actions/get-snapshot-single-ticker.cjs.map +1 -0
  536. package/dist/actions/get-snapshot-single-ticker.d.cts +9 -0
  537. package/dist/actions/get-snapshot-single-ticker.d.cts.map +1 -0
  538. package/dist/actions/get-snapshot-single-ticker.d.mts +9 -0
  539. package/dist/actions/get-snapshot-single-ticker.d.mts.map +1 -0
  540. package/dist/actions/get-snapshot-single-ticker.mjs +72 -0
  541. package/dist/actions/get-snapshot-single-ticker.mjs.map +1 -0
  542. package/dist/actions/get-splits.cjs +38 -0
  543. package/dist/actions/get-splits.cjs.map +1 -0
  544. package/dist/actions/get-splits.d.cts +9 -0
  545. package/dist/actions/get-splits.d.cts.map +1 -0
  546. package/dist/actions/get-splits.d.mts +9 -0
  547. package/dist/actions/get-splits.d.mts.map +1 -0
  548. package/dist/actions/get-splits.mjs +37 -0
  549. package/dist/actions/get-splits.mjs.map +1 -0
  550. package/dist/actions/get-stock-financials.cjs +150 -0
  551. package/dist/actions/get-stock-financials.cjs.map +1 -0
  552. package/dist/actions/get-stock-financials.d.cts +9 -0
  553. package/dist/actions/get-stock-financials.d.cts.map +1 -0
  554. package/dist/actions/get-stock-financials.d.mts +9 -0
  555. package/dist/actions/get-stock-financials.d.mts.map +1 -0
  556. package/dist/actions/get-stock-financials.mjs +149 -0
  557. package/dist/actions/get-stock-financials.mjs.map +1 -0
  558. package/dist/actions/get-stock-float.cjs +41 -0
  559. package/dist/actions/get-stock-float.cjs.map +1 -0
  560. package/dist/actions/get-stock-float.d.cts +9 -0
  561. package/dist/actions/get-stock-float.d.cts.map +1 -0
  562. package/dist/actions/get-stock-float.d.mts +9 -0
  563. package/dist/actions/get-stock-float.d.mts.map +1 -0
  564. package/dist/actions/get-stock-float.mjs +40 -0
  565. package/dist/actions/get-stock-float.mjs.map +1 -0
  566. package/dist/actions/get-stock-splits-by-ticker.cjs +29 -0
  567. package/dist/actions/get-stock-splits-by-ticker.cjs.map +1 -0
  568. package/dist/actions/get-stock-splits-by-ticker.d.cts +9 -0
  569. package/dist/actions/get-stock-splits-by-ticker.d.cts.map +1 -0
  570. package/dist/actions/get-stock-splits-by-ticker.d.mts +9 -0
  571. package/dist/actions/get-stock-splits-by-ticker.d.mts.map +1 -0
  572. package/dist/actions/get-stock-splits-by-ticker.mjs +28 -0
  573. package/dist/actions/get-stock-splits-by-ticker.mjs.map +1 -0
  574. package/dist/actions/get-stocks-balance-sheets.cjs +98 -0
  575. package/dist/actions/get-stocks-balance-sheets.cjs.map +1 -0
  576. package/dist/actions/get-stocks-balance-sheets.d.cts +9 -0
  577. package/dist/actions/get-stocks-balance-sheets.d.cts.map +1 -0
  578. package/dist/actions/get-stocks-balance-sheets.d.mts +9 -0
  579. package/dist/actions/get-stocks-balance-sheets.d.mts.map +1 -0
  580. package/dist/actions/get-stocks-balance-sheets.mjs +97 -0
  581. package/dist/actions/get-stocks-balance-sheets.mjs.map +1 -0
  582. package/dist/actions/get-stocks-cash-flow-statements.cjs +81 -0
  583. package/dist/actions/get-stocks-cash-flow-statements.cjs.map +1 -0
  584. package/dist/actions/get-stocks-cash-flow-statements.d.cts +9 -0
  585. package/dist/actions/get-stocks-cash-flow-statements.d.cts.map +1 -0
  586. package/dist/actions/get-stocks-cash-flow-statements.d.mts +9 -0
  587. package/dist/actions/get-stocks-cash-flow-statements.d.mts.map +1 -0
  588. package/dist/actions/get-stocks-cash-flow-statements.mjs +80 -0
  589. package/dist/actions/get-stocks-cash-flow-statements.mjs.map +1 -0
  590. package/dist/actions/get-stocks-custom-bars.cjs +50 -0
  591. package/dist/actions/get-stocks-custom-bars.cjs.map +1 -0
  592. package/dist/actions/get-stocks-custom-bars.d.cts +9 -0
  593. package/dist/actions/get-stocks-custom-bars.d.cts.map +1 -0
  594. package/dist/actions/get-stocks-custom-bars.d.mts +9 -0
  595. package/dist/actions/get-stocks-custom-bars.d.mts.map +1 -0
  596. package/dist/actions/get-stocks-custom-bars.mjs +49 -0
  597. package/dist/actions/get-stocks-custom-bars.mjs.map +1 -0
  598. package/dist/actions/get-stocks-daily-market-summary.cjs +39 -0
  599. package/dist/actions/get-stocks-daily-market-summary.cjs.map +1 -0
  600. package/dist/actions/get-stocks-daily-market-summary.d.cts +9 -0
  601. package/dist/actions/get-stocks-daily-market-summary.d.cts.map +1 -0
  602. package/dist/actions/get-stocks-daily-market-summary.d.mts +9 -0
  603. package/dist/actions/get-stocks-daily-market-summary.d.mts.map +1 -0
  604. package/dist/actions/get-stocks-daily-market-summary.mjs +38 -0
  605. package/dist/actions/get-stocks-daily-market-summary.mjs.map +1 -0
  606. package/dist/actions/get-technical-indicator-sma.cjs +39 -0
  607. package/dist/actions/get-technical-indicator-sma.cjs.map +1 -0
  608. package/dist/actions/get-technical-indicator-sma.d.cts +9 -0
  609. package/dist/actions/get-technical-indicator-sma.d.cts.map +1 -0
  610. package/dist/actions/get-technical-indicator-sma.d.mts +9 -0
  611. package/dist/actions/get-technical-indicator-sma.d.mts.map +1 -0
  612. package/dist/actions/get-technical-indicator-sma.mjs +38 -0
  613. package/dist/actions/get-technical-indicator-sma.mjs.map +1 -0
  614. package/dist/actions/get-ticker-company-details.cjs +45 -0
  615. package/dist/actions/get-ticker-company-details.cjs.map +1 -0
  616. package/dist/actions/get-ticker-company-details.d.cts +9 -0
  617. package/dist/actions/get-ticker-company-details.d.cts.map +1 -0
  618. package/dist/actions/get-ticker-company-details.d.mts +9 -0
  619. package/dist/actions/get-ticker-company-details.d.mts.map +1 -0
  620. package/dist/actions/get-ticker-company-details.mjs +42 -0
  621. package/dist/actions/get-ticker-company-details.mjs.map +1 -0
  622. package/dist/actions/get-ticker-details-vx.cjs +62 -0
  623. package/dist/actions/get-ticker-details-vx.cjs.map +1 -0
  624. package/dist/actions/get-ticker-details-vx.d.cts +9 -0
  625. package/dist/actions/get-ticker-details-vx.d.cts.map +1 -0
  626. package/dist/actions/get-ticker-details-vx.d.mts +9 -0
  627. package/dist/actions/get-ticker-details-vx.d.mts.map +1 -0
  628. package/dist/actions/get-ticker-details-vx.mjs +61 -0
  629. package/dist/actions/get-ticker-details-vx.mjs.map +1 -0
  630. package/dist/actions/get-ticker-details.cjs +61 -0
  631. package/dist/actions/get-ticker-details.cjs.map +1 -0
  632. package/dist/actions/get-ticker-details.d.cts +9 -0
  633. package/dist/actions/get-ticker-details.d.cts.map +1 -0
  634. package/dist/actions/get-ticker-details.d.mts +9 -0
  635. package/dist/actions/get-ticker-details.d.mts.map +1 -0
  636. package/dist/actions/get-ticker-details.mjs +60 -0
  637. package/dist/actions/get-ticker-details.mjs.map +1 -0
  638. package/dist/actions/get-ticker-events.cjs +33 -0
  639. package/dist/actions/get-ticker-events.cjs.map +1 -0
  640. package/dist/actions/get-ticker-events.d.cts +9 -0
  641. package/dist/actions/get-ticker-events.d.cts.map +1 -0
  642. package/dist/actions/get-ticker-events.d.mts +9 -0
  643. package/dist/actions/get-ticker-events.d.mts.map +1 -0
  644. package/dist/actions/get-ticker-events.mjs +32 -0
  645. package/dist/actions/get-ticker-events.mjs.map +1 -0
  646. package/dist/actions/get-ticker-types.cjs +37 -0
  647. package/dist/actions/get-ticker-types.cjs.map +1 -0
  648. package/dist/actions/get-ticker-types.d.cts +9 -0
  649. package/dist/actions/get-ticker-types.d.cts.map +1 -0
  650. package/dist/actions/get-ticker-types.d.mts +9 -0
  651. package/dist/actions/get-ticker-types.d.mts.map +1 -0
  652. package/dist/actions/get-ticker-types.mjs +36 -0
  653. package/dist/actions/get-ticker-types.mjs.map +1 -0
  654. package/dist/actions/get-treasury-yields.cjs +45 -0
  655. package/dist/actions/get-treasury-yields.cjs.map +1 -0
  656. package/dist/actions/get-treasury-yields.d.cts +9 -0
  657. package/dist/actions/get-treasury-yields.d.cts.map +1 -0
  658. package/dist/actions/get-treasury-yields.d.mts +9 -0
  659. package/dist/actions/get-treasury-yields.d.mts.map +1 -0
  660. package/dist/actions/get-treasury-yields.mjs +44 -0
  661. package/dist/actions/get-treasury-yields.mjs.map +1 -0
  662. package/dist/actions/get-v1-meta-crypto-exchanges.cjs +25 -0
  663. package/dist/actions/get-v1-meta-crypto-exchanges.cjs.map +1 -0
  664. package/dist/actions/get-v1-meta-crypto-exchanges.d.cts +9 -0
  665. package/dist/actions/get-v1-meta-crypto-exchanges.d.cts.map +1 -0
  666. package/dist/actions/get-v1-meta-crypto-exchanges.d.mts +9 -0
  667. package/dist/actions/get-v1-meta-crypto-exchanges.d.mts.map +1 -0
  668. package/dist/actions/get-v1-meta-crypto-exchanges.mjs +24 -0
  669. package/dist/actions/get-v1-meta-crypto-exchanges.mjs.map +1 -0
  670. package/dist/actions/get10-k-sections.cjs +39 -0
  671. package/dist/actions/get10-k-sections.cjs.map +1 -0
  672. package/dist/actions/get10-k-sections.d.cts +9 -0
  673. package/dist/actions/get10-k-sections.d.cts.map +1 -0
  674. package/dist/actions/get10-k-sections.d.mts +9 -0
  675. package/dist/actions/get10-k-sections.d.mts.map +1 -0
  676. package/dist/actions/get10-k-sections.mjs +38 -0
  677. package/dist/actions/get10-k-sections.mjs.map +1 -0
  678. package/dist/actions/index.cjs +179 -0
  679. package/dist/actions/index.d.cts +90 -0
  680. package/dist/actions/index.d.mts +90 -0
  681. package/dist/actions/index.mjs +90 -0
  682. package/dist/actions/last-quote-for-a-symbol.cjs +30 -0
  683. package/dist/actions/last-quote-for-a-symbol.cjs.map +1 -0
  684. package/dist/actions/last-quote-for-a-symbol.d.cts +9 -0
  685. package/dist/actions/last-quote-for-a-symbol.d.cts.map +1 -0
  686. package/dist/actions/last-quote-for-a-symbol.d.mts +9 -0
  687. package/dist/actions/last-quote-for-a-symbol.d.mts.map +1 -0
  688. package/dist/actions/last-quote-for-a-symbol.mjs +29 -0
  689. package/dist/actions/last-quote-for-a-symbol.mjs.map +1 -0
  690. package/dist/actions/last-trade-for-a-currency-pair.cjs +30 -0
  691. package/dist/actions/last-trade-for-a-currency-pair.cjs.map +1 -0
  692. package/dist/actions/last-trade-for-a-currency-pair.d.cts +9 -0
  693. package/dist/actions/last-trade-for-a-currency-pair.d.cts.map +1 -0
  694. package/dist/actions/last-trade-for-a-currency-pair.d.mts +9 -0
  695. package/dist/actions/last-trade-for-a-currency-pair.d.mts.map +1 -0
  696. package/dist/actions/last-trade-for-a-currency-pair.mjs +29 -0
  697. package/dist/actions/last-trade-for-a-currency-pair.mjs.map +1 -0
  698. package/dist/actions/list-filing-files.cjs +46 -0
  699. package/dist/actions/list-filing-files.cjs.map +1 -0
  700. package/dist/actions/list-filing-files.d.cts +9 -0
  701. package/dist/actions/list-filing-files.d.cts.map +1 -0
  702. package/dist/actions/list-filing-files.d.mts +9 -0
  703. package/dist/actions/list-filing-files.d.mts.map +1 -0
  704. package/dist/actions/list-filing-files.mjs +45 -0
  705. package/dist/actions/list-filing-files.mjs.map +1 -0
  706. package/dist/actions/list-options-contracts.cjs +57 -0
  707. package/dist/actions/list-options-contracts.cjs.map +1 -0
  708. package/dist/actions/list-options-contracts.d.cts +9 -0
  709. package/dist/actions/list-options-contracts.d.cts.map +1 -0
  710. package/dist/actions/list-options-contracts.d.mts +9 -0
  711. package/dist/actions/list-options-contracts.d.mts.map +1 -0
  712. package/dist/actions/list-options-contracts.mjs +56 -0
  713. package/dist/actions/list-options-contracts.mjs.map +1 -0
  714. package/dist/actions/list-sec-filings.cjs +61 -0
  715. package/dist/actions/list-sec-filings.cjs.map +1 -0
  716. package/dist/actions/list-sec-filings.d.cts +9 -0
  717. package/dist/actions/list-sec-filings.d.cts.map +1 -0
  718. package/dist/actions/list-sec-filings.d.mts +9 -0
  719. package/dist/actions/list-sec-filings.d.mts.map +1 -0
  720. package/dist/actions/list-sec-filings.mjs +60 -0
  721. package/dist/actions/list-sec-filings.mjs.map +1 -0
  722. package/dist/app.cjs +9 -0
  723. package/dist/app.cjs.map +1 -0
  724. package/dist/app.d.cts +5 -0
  725. package/dist/app.d.cts.map +1 -0
  726. package/dist/app.d.mts +5 -0
  727. package/dist/app.d.mts.map +1 -0
  728. package/dist/app.mjs +10 -0
  729. package/dist/app.mjs.map +1 -0
  730. package/dist/catalog.cjs +15 -0
  731. package/dist/catalog.cjs.map +1 -0
  732. package/dist/catalog.d.cts +14 -0
  733. package/dist/catalog.d.cts.map +1 -0
  734. package/dist/catalog.d.mts +14 -0
  735. package/dist/catalog.d.mts.map +1 -0
  736. package/dist/catalog.mjs +15 -0
  737. package/dist/catalog.mjs.map +1 -0
  738. package/dist/execute.cjs +18 -0
  739. package/dist/execute.cjs.map +1 -0
  740. package/dist/execute.mjs +18 -0
  741. package/dist/execute.mjs.map +1 -0
  742. package/dist/index.cjs +184 -0
  743. package/dist/index.d.cts +92 -0
  744. package/dist/index.d.mts +92 -0
  745. package/dist/index.mjs +93 -0
  746. package/package.json +49 -0
@@ -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 PolygonGetForexRealTimeCurrencyConversionInput = 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 PolygonGetForexRealTimeCurrencyConversion_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 polygonGetForexRealTimeCurrencyConversion = action("POLYGON_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION", {
17
+ slug: "polygon-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: PolygonGetForexRealTimeCurrencyConversionInput,
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: PolygonGetForexRealTimeCurrencyConversion_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 { polygonGetForexRealTimeCurrencyConversion };
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 PolygonGetForexRealTimeCurrencyConversionInput: 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 PolygonGetForexRealTimeCurrencyConversion_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 PolygonGetForexRealTimeCurrencyConversionOutput: 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: PolygonGetForexRealTimeCurrencyConversion_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 polygonGetForexRealTimeCurrencyConversion = action(\"POLYGON_GET_FOREX_REAL_TIME_CURRENCY_CONVERSION\", {\n slug: \"polygon-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: PolygonGetForexRealTimeCurrencyConversionInput,\n output: PolygonGetForexRealTimeCurrencyConversionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+D,EAAE,OAAO;CACnF,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,4DAA0E,EAAE,OAAO;CACvF,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,4CAA4C,OAAO,mDAAmD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB2E,EAAE,OAAO;EACpF,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,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpF,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 PolygonGetForexRsiInput = 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 PolygonGetForexRsi_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 PolygonGetForexRsi_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 PolygonGetForexRsi_RSIResultsSchema = zod.z.object({
38
+ values: zod.z.array(PolygonGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
+ underlying: PolygonGetForexRsi_UnderlyingSchema.nullable().optional()
40
+ });
41
+ const PolygonGetForexRsiOutput = zod.z.object({
42
+ status: zod.z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
43
+ results: PolygonGetForexRsi_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 polygonGetForexRsi = require_action.action("POLYGON_GET_FOREX_RSI", {
48
+ slug: "polygon-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: PolygonGetForexRsiInput,
52
+ output: PolygonGetForexRsiOutput
53
+ });
54
+ //#endregion
55
+ exports.polygonGetForexRsi = polygonGetForexRsi;
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 PolygonGetForexRsiInput: 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 PolygonGetForexRsi_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 PolygonGetForexRsi_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 PolygonGetForexRsi_RSIResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonGetForexRsiOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetForexRsi_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 polygonGetForexRsi = action(\"POLYGON_GET_FOREX_RSI\", {\n slug: \"polygon-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: PolygonGetForexRsiInput,\n output: PolygonGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,SAAS;CAC5J,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAU;E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AAC,CAAC,SAAS;CACvJ,YAAY,oCAAoC,SAAS,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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 PolygonGetForexRsiInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexRsiOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexRsi };
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,uBAAA,EAAyB,CAAA,CAAE,UAciD;AAAA,cAY5E,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAEW,kBAAA,gCAAkB,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 PolygonGetForexRsiInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexRsiOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexRsi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexRsi };
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,uBAAA,EAAyB,CAAA,CAAE,UAciD;AAAA,cAY5E,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAEW,kBAAA,gCAAkB,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 PolygonGetForexRsiInput = 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 PolygonGetForexRsi_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 PolygonGetForexRsi_UnderlyingSchema = z.object({ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.") });
37
+ const PolygonGetForexRsi_RSIResultsSchema = z.object({
38
+ values: z.array(PolygonGetForexRsi_RSIValueSchema).describe("An array of RSI value objects with timestamps and indicator values.").nullable().optional(),
39
+ underlying: PolygonGetForexRsi_UnderlyingSchema.nullable().optional()
40
+ });
41
+ const polygonGetForexRsi = action("POLYGON_GET_FOREX_RSI", {
42
+ slug: "polygon-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: PolygonGetForexRsiInput,
46
+ output: z.object({
47
+ status: z.string().describe("The status of this request's response (e.g., 'OK').").nullable().optional(),
48
+ results: PolygonGetForexRsi_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 { polygonGetForexRsi };
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 PolygonGetForexRsiInput: 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 PolygonGetForexRsi_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 PolygonGetForexRsi_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 PolygonGetForexRsi_RSIResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonGetForexRsi_RSIValueSchema).describe(\"An array of RSI value objects with timestamps and indicator values.\").nullable().optional(),\n underlying: PolygonGetForexRsi_UnderlyingSchema.nullable().optional(),\n});\nexport const PolygonGetForexRsiOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK').\").nullable().optional(),\n results: PolygonGetForexRsi_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 polygonGetForexRsi = action(\"POLYGON_GET_FOREX_RSI\", {\n slug: \"polygon-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: PolygonGetForexRsiInput,\n output: PolygonGetForexRsiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,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,oCAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC3L,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF;AACzH,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO,EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACjH,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,YAAY,oCAAoC,SAAS,CAAC,CAAC,SAAS;AACtE,CAAC;AAQD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,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 PolygonGetForexSmaInput = 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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
49
+ });
50
+ const PolygonGetForexSma_SMAResultsSchema = zod.z.object({
51
+ values: zod.z.array(PolygonGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
52
+ underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional()
53
+ });
54
+ const PolygonGetForexSmaOutput = zod.z.object({
55
+ status: zod.z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
56
+ results: PolygonGetForexSma_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 polygonGetForexSma = require_action.action("POLYGON_GET_FOREX_SMA", {
61
+ slug: "polygon-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: PolygonGetForexSmaInput,
65
+ output: PolygonGetForexSmaOutput
66
+ });
67
+ //#endregion
68
+ exports.polygonGetForexSma = polygonGetForexSma;
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 PolygonGetForexSmaInput: 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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonGetForexSma_SMAResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetForexSmaOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonGetForexSma = action(\"POLYGON_GET_FOREX_SMA\", {\n slug: \"polygon-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexSmaInput,\n output: PolygonGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAO;CAAO,CAAC,CAAC,CAA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ED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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 PolygonGetForexSmaInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexSmaOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexSma };
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,uBAAA,EAAyB,CAAA,CAAE,UAc+C;AAAA,cAuB1E,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAEW,kBAAA,gCAAkB,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 PolygonGetForexSmaInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexSmaOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexSma: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexSma };
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,uBAAA,EAAyB,CAAA,CAAE,UAc+C;AAAA,cAuB1E,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,69 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-forex-sma.ts
4
+ const PolygonGetForexSmaInput = z.object({
5
+ limit: z.number().int().default(10).describe("Limit the number of results returned. Defaults to 10. Maximum is 5000.").optional(),
6
+ 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(),
7
+ 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(),
8
+ adjusted: 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: 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: 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 SMA. 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 Simple Moving Average (SMA) for a forex pair.");
32
+ const PolygonGetForexSma_SMAValueSchema = z.object({
33
+ value: z.number().describe("The SMA indicator value for this period."),
34
+ timestamp: z.number().int().describe("The Unix millisecond timestamp from the last aggregate used in this calculation.")
35
+ });
36
+ const PolygonGetForexSma_AggregateBarSchema = z.object({
37
+ c: z.number().describe("The close price for the aggregate window.").nullable().optional(),
38
+ h: z.number().describe("The high price for the aggregate window.").nullable().optional(),
39
+ l: z.number().describe("The low price for the aggregate window.").nullable().optional(),
40
+ n: z.number().int().describe("The number of transactions in the aggregate window.").nullable().optional(),
41
+ o: z.number().describe("The open price for the aggregate window.").nullable().optional(),
42
+ t: z.number().int().describe("The Unix millisecond timestamp for the end of the aggregate window.").nullable().optional(),
43
+ v: z.number().describe("The trading volume for the aggregate window.").nullable().optional(),
44
+ vw: z.number().describe("The volume weighted average price for the aggregate window.").nullable().optional()
45
+ });
46
+ const PolygonGetForexSma_UnderlyingDataSchema = z.object({
47
+ url: z.string().describe("The URL which can be used to request the underlying aggregates used in this request.").nullable().optional(),
48
+ aggregates: z.array(PolygonGetForexSma_AggregateBarSchema).describe("Array of aggregate objects containing price and volume data.").nullable().optional()
49
+ });
50
+ const PolygonGetForexSma_SMAResultsSchema = z.object({
51
+ values: z.array(PolygonGetForexSma_SMAValueSchema).describe("Array of SMA indicator values.").nullable().optional(),
52
+ underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional()
53
+ });
54
+ const polygonGetForexSma = action("POLYGON_GET_FOREX_SMA", {
55
+ slug: "polygon-get-forex-sma",
56
+ name: "Get Forex SMA",
57
+ 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.",
58
+ input: PolygonGetForexSmaInput,
59
+ output: z.object({
60
+ status: z.string().describe("The status of this request's response (e.g., 'OK', 'ERROR').").nullable().optional(),
61
+ results: PolygonGetForexSma_SMAResultsSchema.nullable().optional(),
62
+ next_url: z.string().describe("If present, this value can be used to fetch the next page of data.").nullable().optional(),
63
+ request_id: z.string().describe("A request id assigned by the server.").nullable().optional()
64
+ })
65
+ });
66
+ //#endregion
67
+ export { polygonGetForexSma };
68
+
69
+ //# sourceMappingURL=get-forex-sma.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-sma.mjs","names":[],"sources":["../../src/actions/get-forex-sma.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSmaInput: z.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 PolygonGetForexSma_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 PolygonGetForexSma_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 PolygonGetForexSma_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(PolygonGetForexSma_AggregateBarSchema).describe(\"Array of aggregate objects containing price and volume data.\").nullable().optional(),\n});\nconst PolygonGetForexSma_SMAResultsSchema: z.ZodTypeAny = z.object({\n values: z.array(PolygonGetForexSma_SMAValueSchema).describe(\"Array of SMA indicator values.\").nullable().optional(),\n underlying: PolygonGetForexSma_UnderlyingDataSchema.nullable().optional(),\n});\nexport const PolygonGetForexSmaOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"The status of this request's response (e.g., 'OK', 'ERROR').\").nullable().optional(),\n results: PolygonGetForexSma_SMAResultsSchema.nullable().optional(),\n next_url: z.string().describe(\"If present, this value can be used to fetch the next page of data.\").nullable().optional(),\n request_id: z.string().describe(\"A request id assigned by the server.\").nullable().optional(),\n});\n\nexport const polygonGetForexSma = action(\"POLYGON_GET_FOREX_SMA\", {\n slug: \"polygon-get-forex-sma\",\n name: \"Get Forex SMA\",\n description: \"Tool to calculate Simple Moving Average (SMA) technical indicator for a forex pair. Use when you need trend analysis or moving average calculations for currency pairs.\",\n input: PolygonGetForexSmaInput,\n output: PolygonGetForexSmaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC9N,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvM,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5J,UAAU,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;EAAS;EAAW;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9K,WAAW,EAAE,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1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-forex-snapshot-losers.ts
4
+ const PolygonGetForexSnapshotLosersInput = zod.z.object({}).describe("Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.");
5
+ const PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = zod.z.object({
6
+ c: zod.z.number().describe("Close price for the period."),
7
+ h: zod.z.number().describe("Highest price for the period."),
8
+ l: zod.z.number().describe("Lowest price for the period."),
9
+ n: zod.z.number().int().describe("Number of transactions in the period.").nullable().optional(),
10
+ o: zod.z.number().describe("Open price for the period."),
11
+ t: zod.z.number().int().describe("Unix millisecond timestamp for start of period."),
12
+ v: zod.z.number().describe("Trading volume during the period."),
13
+ vw: zod.z.number().describe("Volume weighted average price for the period.").nullable().optional()
14
+ }).describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
15
+ const PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = zod.z.object({
16
+ a: zod.z.number().describe("Ask price"),
17
+ b: zod.z.number().describe("Bid price"),
18
+ t: zod.z.number().int().describe("Quote timestamp in Unix milliseconds"),
19
+ x: zod.z.number().int().describe("Exchange ID of the quote")
20
+ }).describe("The most recent bid/ask quote for a forex pair.");
21
+ const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = zod.z.object({
22
+ day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
23
+ fmv: zod.z.number().describe("Fair market value (if available).").nullable().optional(),
24
+ min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
25
+ ticker: zod.z.string().describe("Currency pair symbol, e.g., 'EURUSD'."),
26
+ prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
27
+ updated: zod.z.number().int().describe("Last updated timestamp."),
28
+ lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),
29
+ todaysChange: zod.z.number().describe("Value change since previous day."),
30
+ todaysChangePerc: zod.z.number().describe("Percent change since previous day.")
31
+ }).describe("Snapshot item representing a forex pair and its snapshot data.");
32
+ const PolygonGetForexSnapshotLosersOutput = zod.z.object({
33
+ status: zod.z.string().describe("API response status."),
34
+ tickers: zod.z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe("List of snapshot items for top forex losers.").nullable().optional()
35
+ }).describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.");
36
+ const polygonGetForexSnapshotLosers = require_action.action("POLYGON_GET_FOREX_SNAPSHOT_LOSERS", {
37
+ slug: "polygon-get-forex-snapshot-losers",
38
+ name: "Get Forex Snapshot Losers",
39
+ description: "Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.",
40
+ input: PolygonGetForexSnapshotLosersInput,
41
+ output: PolygonGetForexSnapshotLosersOutput
42
+ });
43
+ //#endregion
44
+ exports.polygonGetForexSnapshotLosers = polygonGetForexSnapshotLosers;
45
+
46
+ //# sourceMappingURL=get-forex-snapshot-losers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-snapshot-losers.cjs","names":["z","action"],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"Close price for the period.\"),\n h: z.number().describe(\"Highest price for the period.\"),\n l: z.number().describe(\"Lowest price for the period.\"),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\"),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\"),\n v: z.number().describe(\"Trading volume during the period.\"),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema: z.ZodTypeAny = z.object({\n a: z.number().describe(\"Ask price\"),\n b: z.number().describe(\"Bid price\"),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\"),\n x: z.number().int().describe(\"Exchange ID of the quote\"),\n}).describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema: z.ZodTypeAny = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\"),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\"),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\"),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\"),\n}).describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API response status.\"),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EA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K,qDAAqD,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACnE,SAAS,qDAAqD,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CAC5D,WAAW,mDAAmD,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACpE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC5E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAClD,SAASA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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-snapshot-losers.d.ts
4
+ declare const PolygonGetForexSnapshotLosersInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexSnapshotLosersOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexSnapshotLosers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexSnapshotLosers };
9
+ //# sourceMappingURL=get-forex-snapshot-losers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-snapshot-losers.d.cts","names":[],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAoI;AAAA,cA4B1K,mCAAA,EAAqC,CAAA,CAAE,UAGkC;AAAA,cAEzE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-forex-snapshot-losers.d.ts
4
+ declare const PolygonGetForexSnapshotLosersInput: z.ZodTypeAny;
5
+ declare const PolygonGetForexSnapshotLosersOutput: z.ZodTypeAny;
6
+ declare const polygonGetForexSnapshotLosers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { polygonGetForexSnapshotLosers };
9
+ //# sourceMappingURL=get-forex-snapshot-losers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-snapshot-losers.d.mts","names":[],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAoI;AAAA,cA4B1K,mCAAA,EAAqC,CAAA,CAAE,UAGkC;AAAA,cAEzE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-forex-snapshot-losers.ts
4
+ const PolygonGetForexSnapshotLosersInput = z.object({}).describe("Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.");
5
+ const PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema = z.object({
6
+ c: z.number().describe("Close price for the period."),
7
+ h: z.number().describe("Highest price for the period."),
8
+ l: z.number().describe("Lowest price for the period."),
9
+ n: z.number().int().describe("Number of transactions in the period.").nullable().optional(),
10
+ o: z.number().describe("Open price for the period."),
11
+ t: z.number().int().describe("Unix millisecond timestamp for start of period."),
12
+ v: z.number().describe("Trading volume during the period."),
13
+ vw: z.number().describe("Volume weighted average price for the period.").nullable().optional()
14
+ }).describe("Model for a single aggregate bar (daily, minute, or previous day bar).");
15
+ const PolygonGetForexSnapshotLosers_ForexLastQuoteSchema = z.object({
16
+ a: z.number().describe("Ask price"),
17
+ b: z.number().describe("Bid price"),
18
+ t: z.number().int().describe("Quote timestamp in Unix milliseconds"),
19
+ x: z.number().int().describe("Exchange ID of the quote")
20
+ }).describe("The most recent bid/ask quote for a forex pair.");
21
+ const PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema = z.object({
22
+ day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
23
+ fmv: z.number().describe("Fair market value (if available).").nullable().optional(),
24
+ min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
25
+ ticker: z.string().describe("Currency pair symbol, e.g., 'EURUSD'."),
26
+ prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),
27
+ updated: z.number().int().describe("Last updated timestamp."),
28
+ lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),
29
+ todaysChange: z.number().describe("Value change since previous day."),
30
+ todaysChangePerc: z.number().describe("Percent change since previous day.")
31
+ }).describe("Snapshot item representing a forex pair and its snapshot data.");
32
+ const polygonGetForexSnapshotLosers = action("POLYGON_GET_FOREX_SNAPSHOT_LOSERS", {
33
+ slug: "polygon-get-forex-snapshot-losers",
34
+ name: "Get Forex Snapshot Losers",
35
+ description: "Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.",
36
+ input: PolygonGetForexSnapshotLosersInput,
37
+ output: z.object({
38
+ status: z.string().describe("API response status."),
39
+ tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe("List of snapshot items for top forex losers.").nullable().optional()
40
+ }).describe("Response model for GET /v2/snapshot/locale/global/markets/forex/losers.")
41
+ });
42
+ //#endregion
43
+ export { polygonGetForexSnapshotLosers };
44
+
45
+ //# sourceMappingURL=get-forex-snapshot-losers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-forex-snapshot-losers.mjs","names":[],"sources":["../../src/actions/get-forex-snapshot-losers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PolygonGetForexSnapshotLosersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v2/snapshot/locale/global/markets/forex/losers. No parameters required.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema: z.ZodTypeAny = z.object({\n c: z.number().describe(\"Close price for the period.\"),\n h: z.number().describe(\"Highest price for the period.\"),\n l: z.number().describe(\"Lowest price for the period.\"),\n n: z.number().int().describe(\"Number of transactions in the period.\").nullable().optional(),\n o: z.number().describe(\"Open price for the period.\"),\n t: z.number().int().describe(\"Unix millisecond timestamp for start of period.\"),\n v: z.number().describe(\"Trading volume during the period.\"),\n vw: z.number().describe(\"Volume weighted average price for the period.\").nullable().optional(),\n}).describe(\"Model for a single aggregate bar (daily, minute, or previous day bar).\");\nconst PolygonGetForexSnapshotLosers_ForexLastQuoteSchema: z.ZodTypeAny = z.object({\n a: z.number().describe(\"Ask price\"),\n b: z.number().describe(\"Bid price\"),\n t: z.number().int().describe(\"Quote timestamp in Unix milliseconds\"),\n x: z.number().int().describe(\"Exchange ID of the quote\"),\n}).describe(\"The most recent bid/ask quote for a forex pair.\");\nconst PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema: z.ZodTypeAny = z.object({\n day: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n fmv: z.number().describe(\"Fair market value (if available).\").nullable().optional(),\n min: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n ticker: z.string().describe(\"Currency pair symbol, e.g., 'EURUSD'.\"),\n prevDay: PolygonGetForexSnapshotLosers_ForexSnapshotBarSchema.nullable(),\n updated: z.number().int().describe(\"Last updated timestamp.\"),\n lastQuote: PolygonGetForexSnapshotLosers_ForexLastQuoteSchema.nullable(),\n todaysChange: z.number().describe(\"Value change since previous day.\"),\n todaysChangePerc: z.number().describe(\"Percent change since previous day.\"),\n}).describe(\"Snapshot item representing a forex pair and its snapshot data.\");\nexport const PolygonGetForexSnapshotLosersOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API response status.\"),\n tickers: z.array(PolygonGetForexSnapshotLosers_ForexSnapshotTickerSchema).describe(\"List of snapshot items for top forex losers.\").nullable().optional(),\n}).describe(\"Response model for GET /v2/snapshot/locale/global/markets/forex/losers.\");\n\nexport const polygonGetForexSnapshotLosers = action(\"POLYGON_GET_FOREX_SNAPSHOT_LOSERS\", {\n slug: \"polygon-get-forex-snapshot-losers\",\n name: \"Get Forex Snapshot Losers\",\n description: \"Tool to retrieve the current snapshot of the top losers in the forex market. Use when you need up-to-date information on the worst-performing forex pairs.\",\n input: PolygonGetForexSnapshotLosersInput,\n output: PolygonGetForexSnapshotLosersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gGAAgG;AACtL,MAAM,uDAAqE,EAAE,OAAO;CAClF,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACpD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACrD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACnD,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CA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