pinets 0.2.1 → 0.5.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 (189) hide show
  1. package/README.md +38 -18
  2. package/dist/pinets.dev.browser.js +6029 -2997
  3. package/dist/pinets.dev.cjs +5982 -2783
  4. package/dist/pinets.dev.cjs.map +1 -1
  5. package/dist/pinets.dev.es.js +5368 -2186
  6. package/dist/pinets.dev.es.js.map +1 -1
  7. package/dist/pinets.min.browser.js +15 -12
  8. package/dist/pinets.min.cjs +15 -12
  9. package/dist/pinets.min.es.js +5 -2
  10. package/dist/types/Context.class.d.ts +73 -16
  11. package/dist/types/PineTS.class.d.ts +89 -5
  12. package/dist/types/Series.d.ts +10 -0
  13. package/dist/types/TimeSeries.class.d.ts +49 -0
  14. package/dist/types/TimeSeries.d.ts +15 -0
  15. package/dist/types/marketData/Mock/MockProvider.class.d.ts +77 -0
  16. package/dist/types/marketData/Provider.class.d.ts +6 -3
  17. package/dist/types/namespaces/Core.d.ts +1 -0
  18. package/dist/types/namespaces/array/PineArrayObject.d.ts +5 -0
  19. package/dist/types/namespaces/array/array.index.d.ts +135 -0
  20. package/dist/types/namespaces/array/methods/abs.d.ts +2 -0
  21. package/dist/types/namespaces/array/methods/avg.d.ts +2 -0
  22. package/dist/types/namespaces/array/methods/clear.d.ts +2 -0
  23. package/dist/types/namespaces/array/methods/concat.d.ts +2 -0
  24. package/dist/types/namespaces/array/methods/copy.d.ts +2 -0
  25. package/dist/types/namespaces/array/methods/covariance.d.ts +2 -0
  26. package/dist/types/namespaces/array/methods/every.d.ts +2 -0
  27. package/dist/types/namespaces/array/methods/fill.d.ts +2 -0
  28. package/dist/types/namespaces/array/methods/first.d.ts +2 -0
  29. package/dist/types/namespaces/array/methods/from.d.ts +2 -0
  30. package/dist/types/namespaces/array/methods/get.d.ts +2 -0
  31. package/dist/types/namespaces/array/methods/includes.d.ts +2 -0
  32. package/dist/types/namespaces/array/methods/indexof.d.ts +2 -0
  33. package/dist/types/namespaces/array/methods/insert.d.ts +2 -0
  34. package/dist/types/namespaces/array/methods/join.d.ts +2 -0
  35. package/dist/types/namespaces/array/methods/last.d.ts +2 -0
  36. package/dist/types/namespaces/array/methods/lastindexof.d.ts +2 -0
  37. package/dist/types/namespaces/array/methods/max.d.ts +2 -0
  38. package/dist/types/namespaces/array/methods/min.d.ts +2 -0
  39. package/dist/types/namespaces/array/methods/new.d.ts +2 -0
  40. package/dist/types/namespaces/array/methods/new_bool.d.ts +2 -0
  41. package/dist/types/namespaces/array/methods/new_float.d.ts +2 -0
  42. package/dist/types/namespaces/array/methods/new_int.d.ts +2 -0
  43. package/dist/types/namespaces/array/methods/new_string.d.ts +2 -0
  44. package/dist/types/namespaces/array/methods/param.d.ts +1 -0
  45. package/dist/types/namespaces/array/methods/pop.d.ts +2 -0
  46. package/dist/types/namespaces/array/methods/push.d.ts +2 -0
  47. package/dist/types/namespaces/array/methods/range.d.ts +2 -0
  48. package/dist/types/namespaces/array/methods/remove.d.ts +2 -0
  49. package/dist/types/namespaces/array/methods/reverse.d.ts +2 -0
  50. package/dist/types/namespaces/array/methods/set.d.ts +2 -0
  51. package/dist/types/namespaces/array/methods/shift.d.ts +2 -0
  52. package/dist/types/namespaces/array/methods/size.d.ts +2 -0
  53. package/dist/types/namespaces/array/methods/slice.d.ts +2 -0
  54. package/dist/types/namespaces/array/methods/some.d.ts +2 -0
  55. package/dist/types/namespaces/array/methods/sort.d.ts +2 -0
  56. package/dist/types/namespaces/array/methods/sort_indices.d.ts +2 -0
  57. package/dist/types/namespaces/array/methods/standardize.d.ts +2 -0
  58. package/dist/types/namespaces/array/methods/stdev.d.ts +2 -0
  59. package/dist/types/namespaces/array/methods/sum.d.ts +2 -0
  60. package/dist/types/namespaces/array/methods/unshift.d.ts +2 -0
  61. package/dist/types/namespaces/array/methods/variance.d.ts +2 -0
  62. package/dist/types/namespaces/input/input.index.d.ts +53 -0
  63. package/dist/types/namespaces/input/methods/any.d.ts +2 -0
  64. package/dist/types/namespaces/input/methods/bool.d.ts +2 -0
  65. package/dist/types/namespaces/input/methods/color.d.ts +2 -0
  66. package/dist/types/namespaces/input/methods/enum.d.ts +2 -0
  67. package/dist/types/namespaces/input/methods/float.d.ts +2 -0
  68. package/dist/types/namespaces/input/methods/int.d.ts +2 -0
  69. package/dist/types/namespaces/input/methods/param.d.ts +1 -0
  70. package/dist/types/namespaces/input/methods/price.d.ts +2 -0
  71. package/dist/types/namespaces/input/methods/session.d.ts +2 -0
  72. package/dist/types/namespaces/input/methods/source.d.ts +2 -0
  73. package/dist/types/namespaces/input/methods/string.d.ts +2 -0
  74. package/dist/types/namespaces/input/methods/symbol.d.ts +2 -0
  75. package/dist/types/namespaces/input/methods/text_area.d.ts +2 -0
  76. package/dist/types/namespaces/input/methods/time.d.ts +2 -0
  77. package/dist/types/namespaces/input/methods/timeframe.d.ts +2 -0
  78. package/dist/types/namespaces/input/types.d.ts +4 -0
  79. package/dist/types/namespaces/math/math.index.d.ts +77 -0
  80. package/dist/types/namespaces/math/methods/__eq.d.ts +1 -0
  81. package/dist/types/namespaces/math/methods/abs.d.ts +1 -0
  82. package/dist/types/namespaces/math/methods/acos.d.ts +1 -0
  83. package/dist/types/namespaces/math/methods/asin.d.ts +1 -0
  84. package/dist/types/namespaces/math/methods/atan.d.ts +1 -0
  85. package/dist/types/namespaces/math/methods/avg.d.ts +1 -0
  86. package/dist/types/namespaces/math/methods/ceil.d.ts +1 -0
  87. package/dist/types/namespaces/math/methods/cos.d.ts +1 -0
  88. package/dist/types/namespaces/math/methods/exp.d.ts +1 -0
  89. package/dist/types/namespaces/math/methods/floor.d.ts +1 -0
  90. package/dist/types/namespaces/math/methods/ln.d.ts +1 -0
  91. package/dist/types/namespaces/math/methods/log.d.ts +1 -0
  92. package/dist/types/namespaces/math/methods/log10.d.ts +1 -0
  93. package/dist/types/namespaces/math/methods/max.d.ts +1 -0
  94. package/dist/types/namespaces/math/methods/min.d.ts +1 -0
  95. package/dist/types/namespaces/math/methods/param.d.ts +1 -0
  96. package/dist/types/namespaces/math/methods/pow.d.ts +1 -0
  97. package/dist/types/namespaces/math/methods/random.d.ts +1 -0
  98. package/dist/types/namespaces/math/methods/round.d.ts +1 -0
  99. package/dist/types/namespaces/math/methods/sin.d.ts +1 -0
  100. package/dist/types/namespaces/math/methods/sqrt.d.ts +1 -0
  101. package/dist/types/namespaces/math/methods/sum.d.ts +1 -0
  102. package/dist/types/namespaces/math/methods/tan.d.ts +1 -0
  103. package/dist/types/namespaces/request/methods/param.d.ts +1 -0
  104. package/dist/types/namespaces/request/methods/security.d.ts +1 -0
  105. package/dist/types/namespaces/request/request.index.d.ts +14 -0
  106. package/dist/types/namespaces/request/types/barmerge.type.d.ts +7 -0
  107. package/dist/types/namespaces/request/utils/TIMEFRAMES.d.ts +1 -0
  108. package/dist/types/namespaces/request/utils/findLTFContextIdx.d.ts +1 -0
  109. package/dist/types/namespaces/request/utils/findSecContextIdx.d.ts +1 -0
  110. package/dist/types/namespaces/ta/getters/obv.d.ts +12 -0
  111. package/dist/types/namespaces/ta/getters/tr.d.ts +1 -0
  112. package/dist/types/namespaces/ta/methods/accdist.d.ts +7 -0
  113. package/dist/types/namespaces/ta/methods/alma.d.ts +18 -0
  114. package/dist/types/namespaces/ta/methods/atr.d.ts +1 -0
  115. package/dist/types/namespaces/ta/methods/barssince.d.ts +6 -0
  116. package/dist/types/namespaces/ta/methods/bb.d.ts +17 -0
  117. package/dist/types/namespaces/ta/methods/bbw.d.ts +9 -0
  118. package/dist/types/namespaces/ta/methods/cci.d.ts +20 -0
  119. package/dist/types/namespaces/ta/methods/change.d.ts +1 -0
  120. package/dist/types/namespaces/ta/methods/cmo.d.ts +17 -0
  121. package/dist/types/namespaces/ta/methods/cog.d.ts +18 -0
  122. package/dist/types/namespaces/ta/methods/correlation.d.ts +7 -0
  123. package/dist/types/namespaces/ta/methods/cross.d.ts +15 -0
  124. package/dist/types/namespaces/ta/methods/crossover.d.ts +1 -0
  125. package/dist/types/namespaces/ta/methods/crossunder.d.ts +1 -0
  126. package/dist/types/namespaces/ta/methods/cum.d.ts +14 -0
  127. package/dist/types/namespaces/ta/methods/dev.d.ts +1 -0
  128. package/dist/types/namespaces/ta/methods/dmi.d.ts +24 -0
  129. package/dist/types/namespaces/ta/methods/ema.d.ts +1 -0
  130. package/dist/types/namespaces/ta/methods/falling.d.ts +15 -0
  131. package/dist/types/namespaces/ta/methods/highest.d.ts +1 -0
  132. package/dist/types/namespaces/ta/methods/highestbars.d.ts +7 -0
  133. package/dist/types/namespaces/ta/methods/hma.d.ts +1 -0
  134. package/dist/types/namespaces/ta/methods/iii.d.ts +7 -0
  135. package/dist/types/namespaces/ta/methods/kc.d.ts +12 -0
  136. package/dist/types/namespaces/ta/methods/kcw.d.ts +11 -0
  137. package/dist/types/namespaces/ta/methods/linreg.d.ts +1 -0
  138. package/dist/types/namespaces/ta/methods/lowest.d.ts +1 -0
  139. package/dist/types/namespaces/ta/methods/lowestbars.d.ts +7 -0
  140. package/dist/types/namespaces/ta/methods/macd.d.ts +18 -0
  141. package/dist/types/namespaces/ta/methods/median.d.ts +1 -0
  142. package/dist/types/namespaces/ta/methods/mfi.d.ts +15 -0
  143. package/dist/types/namespaces/ta/methods/mode.d.ts +6 -0
  144. package/dist/types/namespaces/ta/methods/mom.d.ts +1 -0
  145. package/dist/types/namespaces/ta/methods/nvi.d.ts +10 -0
  146. package/dist/types/namespaces/ta/methods/obv.d.ts +12 -0
  147. package/dist/types/namespaces/ta/methods/param.d.ts +2 -0
  148. package/dist/types/namespaces/ta/methods/percentile_linear_interpolation.d.ts +6 -0
  149. package/dist/types/namespaces/ta/methods/percentile_nearest_rank.d.ts +7 -0
  150. package/dist/types/namespaces/ta/methods/percentrank.d.ts +6 -0
  151. package/dist/types/namespaces/ta/methods/pivothigh.d.ts +1 -0
  152. package/dist/types/namespaces/ta/methods/pivotlow.d.ts +1 -0
  153. package/dist/types/namespaces/ta/methods/pvi.d.ts +10 -0
  154. package/dist/types/namespaces/ta/methods/pvt.d.ts +12 -0
  155. package/dist/types/namespaces/ta/methods/range.d.ts +7 -0
  156. package/dist/types/namespaces/ta/methods/rising.d.ts +15 -0
  157. package/dist/types/namespaces/ta/methods/rma.d.ts +1 -0
  158. package/dist/types/namespaces/ta/methods/roc.d.ts +1 -0
  159. package/dist/types/namespaces/ta/methods/rsi.d.ts +1 -0
  160. package/dist/types/namespaces/ta/methods/sar.d.ts +12 -0
  161. package/dist/types/namespaces/ta/methods/sma.d.ts +1 -0
  162. package/dist/types/namespaces/ta/methods/stdev.d.ts +1 -0
  163. package/dist/types/namespaces/ta/methods/stoch.d.ts +21 -0
  164. package/dist/types/namespaces/ta/methods/supertrend.d.ts +24 -0
  165. package/dist/types/namespaces/ta/methods/swma.d.ts +14 -0
  166. package/dist/types/namespaces/ta/methods/tr.d.ts +1 -0
  167. package/dist/types/namespaces/ta/methods/tsi.d.ts +17 -0
  168. package/dist/types/namespaces/ta/methods/valuewhen.d.ts +6 -0
  169. package/dist/types/namespaces/ta/methods/variance.d.ts +1 -0
  170. package/dist/types/namespaces/ta/methods/vwap.d.ts +14 -0
  171. package/dist/types/namespaces/ta/methods/vwma.d.ts +1 -0
  172. package/dist/types/namespaces/ta/methods/wad.d.ts +11 -0
  173. package/dist/types/namespaces/ta/methods/wma.d.ts +1 -0
  174. package/dist/types/namespaces/ta/methods/wpr.d.ts +17 -0
  175. package/dist/types/namespaces/ta/methods/wvad.d.ts +7 -0
  176. package/dist/types/namespaces/ta/ta.index.d.ts +199 -0
  177. package/dist/types/namespaces/ta/utils/pivothigh.d.ts +1 -0
  178. package/dist/types/namespaces/ta/utils/pivotlow.d.ts +1 -0
  179. package/dist/types/transpiler/analysis/AnalysisPass.d.ts +5 -0
  180. package/dist/types/transpiler/analysis/ScopeManager.d.ts +47 -0
  181. package/dist/types/transpiler/index.d.ts +4 -1
  182. package/dist/types/transpiler/transformers/ExpressionTransformer.d.ts +7 -0
  183. package/dist/types/transpiler/transformers/InjectionTransformer.d.ts +6 -0
  184. package/dist/types/transpiler/transformers/MainTransformer.d.ts +6 -0
  185. package/dist/types/transpiler/transformers/NormalizationTransformer.d.ts +15 -0
  186. package/dist/types/transpiler/transformers/StatementTransformer.d.ts +9 -0
  187. package/dist/types/transpiler/transformers/WrapperTransformer.d.ts +9 -0
  188. package/dist/types/transpiler/utils/ASTFactory.d.ts +20 -0
  189. package/package.json +12 -3

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.