binbot-charts 0.7.1 → 0.7.2

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 (325) hide show
  1. package/package.json +21 -5
  2. package/babel.config.json +0 -13
  3. package/browserslist +0 -31
  4. package/package-lock.json +0 -18327
  5. package/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -2
  6. package/public/charting_library/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
  7. package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.css +0 -0
  8. package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.rtl.css +0 -0
  9. package/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  10. package/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -6
  11. package/public/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.css +0 -1
  12. package/public/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +0 -1
  13. package/public/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  14. package/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  15. package/public/charting_library/bundles/12.ef8057448f3a7ae1c3d8.css +0 -1
  16. package/public/charting_library/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +0 -1
  17. package/public/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  18. package/public/charting_library/bundles/13.9240f13280154f2593b7.css +0 -1
  19. package/public/charting_library/bundles/13.9240f13280154f2593b7.rtl.css +0 -1
  20. package/public/charting_library/bundles/14.8095b40dd1e7deedf401.css +0 -1
  21. package/public/charting_library/bundles/14.8095b40dd1e7deedf401.rtl.css +0 -1
  22. package/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  23. package/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -3
  24. package/public/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  25. package/public/charting_library/bundles/16.d567c9db608f3d98d8de.css +0 -1
  26. package/public/charting_library/bundles/16.d567c9db608f3d98d8de.rtl.css +0 -1
  27. package/public/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  28. package/public/charting_library/bundles/17.ec35a19db935279c5b42.css +0 -1
  29. package/public/charting_library/bundles/17.ec35a19db935279c5b42.rtl.css +0 -1
  30. package/public/charting_library/bundles/18.78de69cfba051874e071.js +0 -4
  31. package/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  32. package/public/charting_library/bundles/19.75c30426f9d3ad5ca0c5.css +0 -1
  33. package/public/charting_library/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +0 -1
  34. package/public/charting_library/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
  35. package/public/charting_library/bundles/2.60931787a6734697ac13.js +0 -4
  36. package/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -4
  37. package/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  38. package/public/charting_library/bundles/21.8153544955cdc47262e3.css +0 -1
  39. package/public/charting_library/bundles/21.8153544955cdc47262e3.rtl.css +0 -1
  40. package/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  41. package/public/charting_library/bundles/22.da9773799a06c6066d1e.css +0 -1
  42. package/public/charting_library/bundles/22.da9773799a06c6066d1e.rtl.css +0 -1
  43. package/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  44. package/public/charting_library/bundles/23.ee754f50171546186397.css +0 -1
  45. package/public/charting_library/bundles/23.ee754f50171546186397.rtl.css +0 -1
  46. package/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  47. package/public/charting_library/bundles/24.e70c1623e0c74477ef2e.css +0 -1
  48. package/public/charting_library/bundles/24.e70c1623e0c74477ef2e.rtl.css +0 -1
  49. package/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -18
  50. package/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  51. package/public/charting_library/bundles/26.69139a843bc1c84f790b.css +0 -1
  52. package/public/charting_library/bundles/26.69139a843bc1c84f790b.rtl.css +0 -1
  53. package/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -3
  54. package/public/charting_library/bundles/28.3140e8cb507ad2593c76.css +0 -1
  55. package/public/charting_library/bundles/28.3140e8cb507ad2593c76.rtl.css +0 -1
  56. package/public/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  57. package/public/charting_library/bundles/29.07af6dca962ea27209f0.css +0 -1
  58. package/public/charting_library/bundles/29.07af6dca962ea27209f0.rtl.css +0 -1
  59. package/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  60. package/public/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  61. package/public/charting_library/bundles/3.eeb90413029441681f91.css +0 -1
  62. package/public/charting_library/bundles/3.eeb90413029441681f91.rtl.css +0 -1
  63. package/public/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -8
  64. package/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -5
  65. package/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -4
  66. package/public/charting_library/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
  67. package/public/charting_library/bundles/33.02ed7df481ae8243d2f2.css +0 -1
  68. package/public/charting_library/bundles/33.02ed7df481ae8243d2f2.rtl.css +0 -1
  69. package/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  70. package/public/charting_library/bundles/34.4b6099931f57311efc1a.css +0 -1
  71. package/public/charting_library/bundles/34.4b6099931f57311efc1a.rtl.css +0 -1
  72. package/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  73. package/public/charting_library/bundles/35.999f0e072062b7369a1a.css +0 -1
  74. package/public/charting_library/bundles/35.999f0e072062b7369a1a.rtl.css +0 -1
  75. package/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  76. package/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  77. package/public/charting_library/bundles/36.f315a19c17d5636af8f7.css +0 -1
  78. package/public/charting_library/bundles/36.f315a19c17d5636af8f7.rtl.css +0 -1
  79. package/public/charting_library/bundles/37.90129e4904155350d6a1.js +0 -8
  80. package/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -3
  81. package/public/charting_library/bundles/39.74a7bc3b464cd284827f.css +0 -1
  82. package/public/charting_library/bundles/39.74a7bc3b464cd284827f.rtl.css +0 -1
  83. package/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  84. package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.css +0 -0
  85. package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
  86. package/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  87. package/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -2
  88. package/public/charting_library/bundles/40566afd832a155e5e370a8bd423de4b.svg +0 -1
  89. package/public/charting_library/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
  90. package/public/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.css +0 -1
  91. package/public/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +0 -1
  92. package/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  93. package/public/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  94. package/public/charting_library/bundles/42.9078fb8f1629e3eee9bd.css +0 -1
  95. package/public/charting_library/bundles/42.9078fb8f1629e3eee9bd.rtl.css +0 -1
  96. package/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  97. package/public/charting_library/bundles/43.8bf90585004742c338c5.css +0 -1
  98. package/public/charting_library/bundles/43.8bf90585004742c338c5.rtl.css +0 -1
  99. package/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -25
  100. package/public/charting_library/bundles/45.12a19785e3864bd62a76.css +0 -1
  101. package/public/charting_library/bundles/45.12a19785e3864bd62a76.rtl.css +0 -1
  102. package/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  103. package/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -3
  104. package/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -4
  105. package/public/charting_library/bundles/48.a3fdb9dd54af71b3bda6.css +0 -1
  106. package/public/charting_library/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +0 -1
  107. package/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  108. package/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  109. package/public/charting_library/bundles/49.d723843c9192493b8c13.css +0 -1
  110. package/public/charting_library/bundles/49.d723843c9192493b8c13.rtl.css +0 -1
  111. package/public/charting_library/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
  112. package/public/charting_library/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
  113. package/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -3
  114. package/public/charting_library/bundles/50.8d5cba5b90176d3d2e3d.css +0 -1
  115. package/public/charting_library/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +0 -1
  116. package/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  117. package/public/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  118. package/public/charting_library/bundles/51.300c3df03ca063ec03a0.css +0 -1
  119. package/public/charting_library/bundles/51.300c3df03ca063ec03a0.rtl.css +0 -1
  120. package/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  121. package/public/charting_library/bundles/52.29cec22b3525b47af67e.css +0 -1
  122. package/public/charting_library/bundles/52.29cec22b3525b47af67e.rtl.css +0 -1
  123. package/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -12
  124. package/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -7
  125. package/public/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -9
  126. package/public/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -4
  127. package/public/charting_library/bundles/57.236996ec416da4c1f683.js +0 -3
  128. package/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -3
  129. package/public/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  130. package/public/charting_library/bundles/59.418f1db161eefae63284.css +0 -1
  131. package/public/charting_library/bundles/59.418f1db161eefae63284.rtl.css +0 -1
  132. package/public/charting_library/bundles/6.2221bb6a5d920bbb4bb2.css +0 -1
  133. package/public/charting_library/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +0 -1
  134. package/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  135. package/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  136. package/public/charting_library/bundles/60.d4583c71cca790a25900.css +0 -1
  137. package/public/charting_library/bundles/60.d4583c71cca790a25900.rtl.css +0 -1
  138. package/public/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -6
  139. package/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -3
  140. package/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  141. package/public/charting_library/bundles/63.898a61bf08239711dc74.css +0 -1
  142. package/public/charting_library/bundles/63.898a61bf08239711dc74.rtl.css +0 -1
  143. package/public/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.css +0 -1
  144. package/public/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +0 -1
  145. package/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  146. package/public/charting_library/bundles/65.556980fc277562af83c8.css +0 -1
  147. package/public/charting_library/bundles/65.556980fc277562af83c8.rtl.css +0 -1
  148. package/public/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  149. package/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  150. package/public/charting_library/bundles/66.84b4001b5c622a569dde.css +0 -1
  151. package/public/charting_library/bundles/66.84b4001b5c622a569dde.rtl.css +0 -1
  152. package/public/charting_library/bundles/67.19c83a0c303c290216d2.css +0 -1
  153. package/public/charting_library/bundles/67.19c83a0c303c290216d2.rtl.css +0 -1
  154. package/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  155. package/public/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  156. package/public/charting_library/bundles/68.fa7424ae9c5fe5483aac.css +0 -1
  157. package/public/charting_library/bundles/68.fa7424ae9c5fe5483aac.rtl.css +0 -1
  158. package/public/charting_library/bundles/69.094b4a764d3dc17820cf.css +0 -1
  159. package/public/charting_library/bundles/69.094b4a764d3dc17820cf.rtl.css +0 -1
  160. package/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  161. package/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -3
  162. package/public/charting_library/bundles/70.c27146ec029eda556108.css +0 -1
  163. package/public/charting_library/bundles/70.c27146ec029eda556108.rtl.css +0 -1
  164. package/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  165. package/public/charting_library/bundles/71.15e639d294c4209f256e.css +0 -1
  166. package/public/charting_library/bundles/71.15e639d294c4209f256e.rtl.css +0 -1
  167. package/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  168. package/public/charting_library/bundles/72.07441fd67b864b86147b.css +0 -1
  169. package/public/charting_library/bundles/72.07441fd67b864b86147b.rtl.css +0 -1
  170. package/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  171. package/public/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.css +0 -1
  172. package/public/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +0 -1
  173. package/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  174. package/public/charting_library/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
  175. package/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  176. package/public/charting_library/bundles/74.8c591c252b2e7ad8f744.css +0 -1
  177. package/public/charting_library/bundles/74.8c591c252b2e7ad8f744.rtl.css +0 -1
  178. package/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  179. package/public/charting_library/bundles/75.fefbc386c59bf7d4f9f7.css +0 -1
  180. package/public/charting_library/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +0 -1
  181. package/public/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  182. package/public/charting_library/bundles/76.f14d71a31295d8cd8d8b.css +0 -1
  183. package/public/charting_library/bundles/76.f14d71a31295d8cd8d8b.rtl.css +0 -1
  184. package/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  185. package/public/charting_library/bundles/77.9c35f7046b848fbfd7f5.css +0 -1
  186. package/public/charting_library/bundles/77.9c35f7046b848fbfd7f5.rtl.css +0 -1
  187. package/public/charting_library/bundles/78.0d502ab4d94441708606.css +0 -1
  188. package/public/charting_library/bundles/78.0d502ab4d94441708606.rtl.css +0 -1
  189. package/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  190. package/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  191. package/public/charting_library/bundles/79.b990749a4839f9123f26.css +0 -1
  192. package/public/charting_library/bundles/79.b990749a4839f9123f26.rtl.css +0 -1
  193. package/public/charting_library/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
  194. package/public/charting_library/bundles/8.e66ab8f27911a033604f.css +0 -1
  195. package/public/charting_library/bundles/8.e66ab8f27911a033604f.rtl.css +0 -1
  196. package/public/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  197. package/public/charting_library/bundles/80.5bdd53d5fc42d40eee28.css +0 -1
  198. package/public/charting_library/bundles/80.5bdd53d5fc42d40eee28.rtl.css +0 -1
  199. package/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  200. package/public/charting_library/bundles/81.552e046aa828739c508b.css +0 -1
  201. package/public/charting_library/bundles/81.552e046aa828739c508b.rtl.css +0 -1
  202. package/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  203. package/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  204. package/public/charting_library/bundles/82.e06fe84c8cdead4bd52e.css +0 -1
  205. package/public/charting_library/bundles/82.e06fe84c8cdead4bd52e.rtl.css +0 -1
  206. package/public/charting_library/bundles/83.e238aa056c5d4827cbdd.css +0 -1
  207. package/public/charting_library/bundles/83.e238aa056c5d4827cbdd.rtl.css +0 -1
  208. package/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  209. package/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  210. package/public/charting_library/bundles/84.bb4fc57627c8626019fd.css +0 -1
  211. package/public/charting_library/bundles/84.bb4fc57627c8626019fd.rtl.css +0 -1
  212. package/public/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  213. package/public/charting_library/bundles/85.e0ba32bafcab02208901.css +0 -1
  214. package/public/charting_library/bundles/85.e0ba32bafcab02208901.rtl.css +0 -1
  215. package/public/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  216. package/public/charting_library/bundles/86.9244fc2bcc2370425a15.css +0 -1
  217. package/public/charting_library/bundles/86.9244fc2bcc2370425a15.rtl.css +0 -1
  218. package/public/charting_library/bundles/87.605cbc508223ec27341c.css +0 -1
  219. package/public/charting_library/bundles/87.605cbc508223ec27341c.rtl.css +0 -1
  220. package/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  221. package/public/charting_library/bundles/88.158dd8a18e176936a343.css +0 -1
  222. package/public/charting_library/bundles/88.158dd8a18e176936a343.rtl.css +0 -1
  223. package/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  224. package/public/charting_library/bundles/89.5f142643917701de773b.css +0 -1
  225. package/public/charting_library/bundles/89.5f142643917701de773b.rtl.css +0 -1
  226. package/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  227. package/public/charting_library/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
  228. package/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  229. package/public/charting_library/bundles/9.8ab09f93a5113a634119.css +0 -1
  230. package/public/charting_library/bundles/9.8ab09f93a5113a634119.rtl.css +0 -1
  231. package/public/charting_library/bundles/90.877114560c4828a97702.css +0 -1
  232. package/public/charting_library/bundles/90.877114560c4828a97702.rtl.css +0 -1
  233. package/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  234. package/public/charting_library/bundles/91.2142b248a2bb29549a99.css +0 -1
  235. package/public/charting_library/bundles/91.2142b248a2bb29549a99.rtl.css +0 -1
  236. package/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  237. package/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  238. package/public/charting_library/bundles/92.e46f0aa06bcdbddf3831.css +0 -1
  239. package/public/charting_library/bundles/92.e46f0aa06bcdbddf3831.rtl.css +0 -1
  240. package/public/charting_library/bundles/93.17d34ca77a7fc85a24d9.css +0 -1
  241. package/public/charting_library/bundles/93.17d34ca77a7fc85a24d9.rtl.css +0 -1
  242. package/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  243. package/public/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  244. package/public/charting_library/bundles/94.b204218cb73b576333a1.css +0 -1
  245. package/public/charting_library/bundles/94.b204218cb73b576333a1.rtl.css +0 -1
  246. package/public/charting_library/bundles/95.51244d1c4baf49d08807.css +0 -1
  247. package/public/charting_library/bundles/95.51244d1c4baf49d08807.rtl.css +0 -1
  248. package/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  249. package/public/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  250. package/public/charting_library/bundles/96.be9ad3d6a7c91501bb55.css +0 -1
  251. package/public/charting_library/bundles/96.be9ad3d6a7c91501bb55.rtl.css +0 -1
  252. package/public/charting_library/bundles/a6506134daec7169f68f563f084a9d41.svg +0 -1
  253. package/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -9
  254. package/public/charting_library/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
  255. package/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -2
  256. package/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -15
  257. package/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -2
  258. package/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -2
  259. package/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -54
  260. package/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -5
  261. package/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -4
  262. package/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -4
  263. package/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -3
  264. package/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -13
  265. package/public/charting_library/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
  266. package/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -2
  267. package/public/charting_library/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
  268. package/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -20
  269. package/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -3
  270. package/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -5
  271. package/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -6
  272. package/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -14
  273. package/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -7
  274. package/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -9
  275. package/public/charting_library/bundles/library.579e6e3fd95b660ad833.css +0 -1
  276. package/public/charting_library/bundles/library.579e6e3fd95b660ad833.rtl.css +0 -1
  277. package/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -756
  278. package/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -29
  279. package/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -4
  280. package/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -4
  281. package/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -102
  282. package/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -24
  283. package/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -1
  284. package/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -17
  285. package/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -2
  286. package/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -19
  287. package/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -58
  288. package/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -45
  289. package/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -9
  290. package/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -27
  291. package/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -5
  292. package/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -2
  293. package/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -1
  294. package/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -1
  295. package/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -1
  296. package/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -6
  297. package/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -2
  298. package/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -7
  299. package/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -5
  300. package/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -4
  301. package/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -11
  302. package/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -4
  303. package/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -1
  304. package/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -2
  305. package/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -42
  306. package/public/charting_library/charting_library.cjs.js +0 -1
  307. package/public/charting_library/charting_library.d.ts +0 -2087
  308. package/public/charting_library/charting_library.esm.js +0 -1
  309. package/public/charting_library/charting_library.js +0 -1
  310. package/public/charting_library/charting_library.standalone.js +0 -1
  311. package/public/charting_library/datafeed-api.d.ts +0 -274
  312. package/public/charting_library/en-tv-chart.f0bc1e45.html +0 -1
  313. package/public/charting_library/package.json +0 -8
  314. package/public/index.html +0 -23
  315. package/src/App.css +0 -26
  316. package/src/App.tsx +0 -89
  317. package/src/charting-library-interfaces.d.ts +0 -36
  318. package/src/datafeed.ts +0 -289
  319. package/src/helpers.ts +0 -53
  320. package/src/index.css +0 -5
  321. package/src/index.tsx +0 -10
  322. package/src/main.tsx +0 -151
  323. package/src/streaming.ts +0 -124
  324. package/tsconfig.json +0 -97
  325. package/tsup.config.ts +0 -10
@@ -1,2087 +0,0 @@
1
- // Generated by dts-bundle-generator v5.3.0
2
-
3
- declare const dateFormatFunctions: {
4
- "dd MMM 'yy": (date: Date, local: boolean) => string;
5
- "MMM dd, yyyy": (date: Date, local: boolean) => string;
6
- "MMM dd": (date: Date, local: boolean) => string;
7
- "yyyy-MM-dd": (date: Date, local: boolean) => string;
8
- "yy-MM-dd": (date: Date, local: boolean) => string;
9
- "yy/MM/dd": (date: Date, local: boolean) => string;
10
- "yyyy/MM/dd": (date: Date, local: boolean) => string;
11
- "dd-MM-yyyy": (date: Date, local: boolean) => string;
12
- "dd-MM-yy": (date: Date, local: boolean) => string;
13
- "dd/MM/yy": (date: Date, local: boolean) => string;
14
- "dd/MM/yyyy": (date: Date, local: boolean) => string;
15
- "MM/dd/yy": (date: Date, local: boolean) => string;
16
- "MM/dd/yyyy": (date: Date, local: boolean) => string;
17
- };
18
- declare enum OrderOrPositionMessageType {
19
- Information = "information",
20
- Warning = "warning",
21
- Error = "error"
22
- }
23
- declare enum StopType {
24
- StopLoss = 0,
25
- TrailingStop = 1
26
- }
27
- export declare const enum ChartStyle {
28
- Bar = 0,
29
- Candle = 1,
30
- Line = 2,
31
- Area = 3,
32
- Renko = 4,
33
- Kagi = 5,
34
- PnF = 6,
35
- LineBreak = 7,
36
- HeikinAshi = 8,
37
- HollowCandle = 9,
38
- Baseline = 10,
39
- HiLo = 12
40
- }
41
- export declare const enum ConnectionStatus {
42
- Connected = 1,
43
- Connecting = 2,
44
- Disconnected = 3,
45
- Error = 4
46
- }
47
- export declare const enum NotificationType {
48
- Error = 0,
49
- Success = 1
50
- }
51
- export declare const enum OrderStatus {
52
- Canceled = 1,
53
- Filled = 2,
54
- Inactive = 3,
55
- Placing = 4,
56
- Rejected = 5,
57
- Working = 6
58
- }
59
- export declare const enum OrderStatusFilter {
60
- All = 0,
61
- Canceled = 1,
62
- Filled = 2,
63
- Inactive = 3,
64
- Rejected = 5,
65
- Working = 6
66
- }
67
- export declare const enum OrderTicketFocusControl {
68
- LimitPrice = 1,
69
- StopPrice = 2,
70
- TakeProfit = 3,
71
- StopLoss = 4,
72
- Quantity = 5
73
- }
74
- export declare const enum OrderType {
75
- Limit = 1,
76
- Market = 2,
77
- Stop = 3,
78
- StopLimit = 4
79
- }
80
- export declare const enum ParentType {
81
- Order = 1,
82
- Position = 2,
83
- Trade = 3
84
- }
85
- export declare const enum PriceScaleMode {
86
- Normal = 0,
87
- Log = 1,
88
- Percentage = 2,
89
- IndexedTo100 = 3
90
- }
91
- export declare const enum SeriesStyle {
92
- Bars = 0,
93
- Candles = 1,
94
- Line = 2,
95
- Area = 3,
96
- HeikenAshi = 8,
97
- HollowCandles = 9,
98
- Baseline = 10,
99
- HiLo = 12,
100
- Renko = 4,
101
- Kagi = 5,
102
- PointAndFigure = 6,
103
- LineBreak = 7
104
- }
105
- export declare const enum Side {
106
- Buy = 1,
107
- Sell = -1
108
- }
109
- export declare const enum StandardFormatterName {
110
- Date = "date",
111
- DateOrDateTime = "dateOrDateTime",
112
- Default = "default",
113
- Fixed = "fixed",
114
- VariablePrecision = "variablePrecision",
115
- FormatQuantity = "formatQuantity",
116
- FormatPrice = "formatPrice",
117
- FormatPriceForexSup = "formatPriceForexSup",
118
- IntegerSeparated = "integerSeparated",
119
- LocalDate = "localDate",
120
- LocalDateOrDateTime = "localDateOrDateTime",
121
- OrderSettings = "orderSettings",
122
- Percentage = "percentage",
123
- Pips = "pips",
124
- Profit = "profit",
125
- ProfitInInstrumentCurrency = "profitInInstrumentCurrency",
126
- PosSettings = "posSettings",
127
- Side = "side",
128
- PositionSide = "positionSide",
129
- Status = "status",
130
- Symbol = "symbol",
131
- Text = "text",
132
- TextNoWrap = "textNoWrap",
133
- TradeSettings = "tradeSettings",
134
- Type = "type",
135
- MarginPercent = "marginPercent"
136
- }
137
- export declare const enum TimeFrameType {
138
- PeriodBack = "period-back",
139
- TimeRange = "time-range"
140
- }
141
- export declare const enum VisibilityType {
142
- AlwaysOn = "alwaysOn",
143
- VisibleOnMouseOver = "visibleOnMouseOver",
144
- AlwaysOff = "alwaysOff"
145
- }
146
- export declare const widget: ChartingLibraryWidgetConstructor;
147
- export declare function version(): string;
148
- export declare type AccountId = Nominal<string, "AccountID">;
149
- export declare type ActionMetaInfo = ActionDescriptionWithCallback | MenuSeparator;
150
- export declare type AvailableSaveloadVersions = "1.0" | "1.1";
151
- export declare type CellAlignment = "left" | "right";
152
- export declare type ChartActionId = "chartProperties" | "compareOrAdd" | "scalesProperties" | "paneObjectTree" | "insertIndicator" | "symbolSearch" | "changeInterval" | "timeScaleReset" | "chartReset" | "seriesHide" | "studyHide" | "lineToggleLock" | "lineHide" | "scaleSeriesOnly" | "drawingToolbarAction" | "stayInDrawingModeAction" | "hideAllMarks" | "showCountdown" | "showSeriesLastValue" | "showSymbolLabelsAction" | "showStudyLastValue" | "showStudyPlotNamesAction" | "undo" | "redo" | "paneRemoveAllStudiesDrawingTools" | "showSymbolInfoDialog";
153
- export declare type DateFormat = keyof typeof dateFormatFunctions;
154
- export declare type Direction = "buy" | "sell";
155
- export declare type DomeCallback = (data: DOMData) => void;
156
- export declare type DrawingEventType = "click" | "move" | "remove" | "hide" | "show";
157
- export declare type DropdownUpdateParams = Partial<Omit<DropdownParams, "align">>;
158
- export declare type EditObjectDialogObjectType = "mainSeries" | "drawing" | "study" | "other";
159
- export declare type EmptyCallback = () => void;
160
- export declare type EntityId = Nominal<string, "EntityId">;
161
- export declare type ErrorCallback = (reason: string) => void;
162
- export declare type FieldDescriptor = TimeFieldDescriptor | UserTimeFieldDescriptor | SeriesFieldDescriptor | StudyFieldDescriptor;
163
- export declare type GetMarksCallback<T> = (marks: T[]) => void;
164
- export declare type GetNewsFunction = (symbol: string, callback: (response: GetNewsResponse) => void) => void;
165
- export declare type GroupLockState = "Locked" | "Unlocked" | "Partial";
166
- export declare type GroupVisibilityState = "Visible" | "Invisible" | "Partial";
167
- export declare type HeaderWidgetButtonsMode = "fullsize" | "compact" | "adaptive";
168
- export declare type HistoryCallback = (bars: Bar[], meta?: HistoryMetadata) => void;
169
- export declare type IBasicDataFeed = IDatafeedChartApi & IExternalDatafeed;
170
- export declare type INumberFormatter = IFormatter<number>;
171
- export declare type InputFieldValidator = (value: any) => InputFieldValidatorResult;
172
- export declare type InputFieldValidatorResult = PositiveBaseInputFieldValidatorResult | NegativeBaseInputFieldValidatorResult;
173
- export declare type LanguageCode = "ar" | "zh" | "cs" | "da_DK" | "nl_NL" | "en" | "et_EE" | "fr" | "de" | "el" | "he_IL" | "hu_HU" | "id_ID" | "it" | "ja" | "ko" | "fa" | "pl" | "pt" | "ro" | "ru" | "sk_SK" | "es" | "sv" | "th" | "tr" | "vi" | "no" | "ms_MY" | "zh_TW";
174
- export declare type LayoutType = SingleChartLayoutType | MultipleChartsLayoutType;
175
- export declare type LegendMode = "horizontal" | "vertical";
176
- export declare type MarkConstColors = "red" | "green" | "blue" | "yellow";
177
- export declare type MultipleChartsLayoutType = "2h" | "2v" | "2-1" | "3s" | "3h" | "3v" | "4" | "6" | "8" | "1-2" | "3r" | "4h" | "4v" | "4s" | "1-3" | "2-2" | "1-4" | "5s" | "6c" | "8c";
178
- /**
179
- * This is the generic type useful for declaring a nominal type,
180
- * which does not structurally matches with the base type and
181
- * the other types declared over the same base type
182
- *
183
- * Usage:
184
- * @example
185
- * type Index = Nominal<number, 'Index'>;
186
- * // let i: Index = 42; // this fails to compile
187
- * let i: Index = 42 as Index; // OK
188
- * @example
189
- * type TagName = Nominal<string, 'TagName'>;
190
- */
191
- export declare type Nominal<T, Name extends string> = T & {
192
- [Symbol.species]: Name;
193
- };
194
- export declare type OnReadyCallback = (configuration: DatafeedConfiguration) => void;
195
- export declare type Order = PlacedOrder | BracketOrder;
196
- export declare type PineJS = any;
197
- export declare type QuoteData = QuoteOkData | QuoteErrorData;
198
- export declare type QuotesCallback = (data: QuoteData[]) => void;
199
- export declare type ResolutionString = Nominal<string, "ResolutionString">;
200
- export declare type ResolveCallback = (symbolInfo: LibrarySymbolInfo) => void;
201
- export declare type RssNewsFeedItem = RssNewsFeedInfo | RssNewsFeedInfo[];
202
- export declare type SearchSymbolsCallback = (items: SearchSymbolResultItem[]) => void;
203
- export declare type SeriesEventType = "price_scale_changed";
204
- export declare type SeriesFormat = "price" | "volume";
205
- export declare type SeriesPriceScale = "new-left" | "new-right" | "no-scale" | EntityId;
206
- export declare type ServerTimeCallback = (serverTime: number) => void;
207
- export declare type SetVisibleTimeRange = Omit<VisibleTimeRange, "to"> & Partial<Pick<VisibleTimeRange, "to">>;
208
- export declare type ShapePoint = StickedPoint | PricedPoint | TimePoint;
209
- export declare type ShapesGroupId = Nominal<string, "ShapesGroupId">;
210
- export declare type SingleChartLayoutType = "s";
211
- export declare type StudyEventType = "remove" | "price_scale_changed";
212
- export declare type StudyInputId = Nominal<string, "StudyInputId">;
213
- export declare type StudyInputValue = string | number | boolean;
214
- export declare type StudyOverrideValueType = string | number | boolean;
215
- export declare type StudyPriceScale = "new-left" | "new-right" | "no-scale" | "as-series";
216
- export declare type SubscribeBarsCallback = (bar: Bar) => void;
217
- export declare type SupportedLineTools = "text" | "anchored_text" | "note" | "anchored_note" | "signpost" | "double_curve" | "arc" | "icon" | "arrow_up" | "arrow_down" | "arrow_left" | "arrow_right" | "price_label" | "price_note" | "arrow_marker" | "flag" | "vertical_line" | "horizontal_line" | "cross_line" | "horizontal_ray" | "trend_line" | "info_line" | "trend_angle" | "arrow" | "ray" | "extended" | "parallel_channel" | "disjoint_angle" | "flat_bottom" | "pitchfork" | "schiff_pitchfork_modified" | "schiff_pitchfork" | "balloon" | "inside_pitchfork" | "pitchfan" | "gannbox" | "gannbox_square" | "gannbox_fixed" | "gannbox_fan" | "fib_retracement" | "fib_trend_ext" | "fib_speed_resist_fan" | "fib_timezone" | "fib_trend_time" | "fib_circles" | "fib_spiral" | "fib_speed_resist_arcs" | "fib_channel" | "xabcd_pattern" | "cypher_pattern" | "abcd_pattern" | "callout" | "triangle_pattern" | "3divers_pattern" | "head_and_shoulders" | "fib_wedge" | "elliott_impulse_wave" | "elliott_triangle_wave" | "elliott_triple_combo" | "elliott_correction" | "elliott_double_combo" | "cyclic_lines" | "time_cycles" | "sine_line" | "long_position" | "short_position" | "forecast" | "date_range" | "price_range" | "date_and_price_range" | "bars_pattern" | "ghost_feed" | "projection" | "rectangle" | "rotated_rectangle" | "ellipse" | "triangle" | "polyline" | "path" | "curve" | "cursor" | "dot" | "arrow_cursor" | "eraser" | "measure" | "zoom" | "brush" | "highlighter" | "regression_trend" | "fixed_range_volume_profile";
218
- export declare type SymbolSearchCompleteOverrideFunction = (symbol: string) => Promise<string>;
219
- export declare type SymbolType = "stock" | "index" | "forex" | "futures" | "bitcoin" | "crypto" | "undefined" | "expression" | "spread" | "cfd" | "economic" | "equity" | "dr" | "bond" | "right" | "warrant" | "fund" | "structured";
220
- export declare type TextInputFieldValidator = (value: string) => InputFieldValidatorResult;
221
- export declare type ThemeName = "Light" | "Dark";
222
- export declare type TickMarkType =
223
- /**
224
- * The start of the year (e.g. it's the first tick mark in a year).
225
- */
226
- "Year"
227
- /**
228
- * The start of the month (e.g. it's the first tick mark in a month).
229
- */
230
- | "Month"
231
- /**
232
- * A day of the month.
233
- */
234
- | "DayOfMonth"
235
- /**
236
- * A time without seconds.
237
- */
238
- | "Time"
239
- /**
240
- * A time with seconds.
241
- */
242
- | "TimeWithSeconds";
243
- export declare type TimeFrameValue = TimeFramePeriodBack | TimeFrameTimeRange;
244
- export declare type Timezone = "Etc/UTC" | CustomTimezones;
245
- export declare type TradableSolutions = ChangeAccountSolution | ChangeSymbolSolution;
246
- export declare type TradingDialogCustomField = TextWithCheckboxFieldMetaInfo | CustomComboBoxMetaInfo;
247
- export declare type WatchListSymbolListAddedCallback = (listId: string, symbols: string[]) => void;
248
- export declare type WatchListSymbolListChangedCallback = (listId: string) => void;
249
- export declare type WatchListSymbolListRemovedCallback = (listId: string) => void;
250
- export declare type WatchListSymbolListRenamedCallback = (listId: string, oldName: string, newName: string) => void;
251
- export declare type WatchedValueCallback<T> = (value: T) => void;
252
- export interface AccessList {
253
- type: "black" | "white";
254
- tools: AccessListItem[];
255
- }
256
- export interface AccessListItem {
257
- name: string;
258
- grayed?: boolean;
259
- }
260
- export interface AccountManagerColumn {
261
- label: string;
262
- alignment?: CellAlignment;
263
- formatter?: StandardFormatterName | "orderSettings" | "posSettings" | string;
264
- property: string;
265
- sortProp?: string;
266
- notSortable?: boolean;
267
- help?: string;
268
- highlightDiff?: boolean;
269
- notHideable?: boolean;
270
- hideByDefault?: boolean;
271
- tooltipProperty?: string;
272
- isCapitalize?: boolean;
273
- showZeroValues?: boolean;
274
- }
275
- export interface AccountManagerInfo {
276
- accountTitle: string;
277
- summary: AccountManagerSummaryField[];
278
- orderColumns: OrderTableColumn[];
279
- orderColumnsSorting?: SortingParameters;
280
- historyColumns?: AccountManagerColumn[];
281
- historyColumnsSorting?: SortingParameters;
282
- positionColumns?: AccountManagerColumn[];
283
- tradeColumns?: AccountManagerColumn[];
284
- pages: AccountManagerPage[];
285
- possibleOrderStatuses?: OrderStatus[];
286
- marginUsed?: IWatchedValue<number>;
287
- contextMenuActions?(contextMenuEvent: MouseEvent | TouchEvent, activePageActions: ActionMetaInfo[]): Promise<ActionMetaInfo[]>;
288
- }
289
- export interface AccountManagerPage {
290
- id: string;
291
- title: string;
292
- tables: AccountManagerTable[];
293
- }
294
- export interface AccountManagerSummaryField {
295
- text: string;
296
- wValue: IWatchedValueReadonly<any>;
297
- formatter?: string;
298
- }
299
- export interface AccountManagerTable {
300
- id: string;
301
- title?: string;
302
- columns: AccountManagerColumn[];
303
- initialSorting?: SortingParameters;
304
- changeDelegate: ISubscription<(data: {}) => void>;
305
- flags?: AccountManagerTableFlags;
306
- getData(paginationLastId?: string | number): Promise<{}[]>;
307
- }
308
- export interface AccountManagerTableFlags {
309
- supportPagination?: boolean;
310
- }
311
- export interface ActionDescription {
312
- text?: "-" | string;
313
- separator?: boolean;
314
- shortcut?: string;
315
- tooltip?: string;
316
- checked?: boolean;
317
- checkedStateSource?: () => boolean;
318
- checkable?: boolean;
319
- enabled?: boolean;
320
- externalLink?: boolean;
321
- icon?: string;
322
- }
323
- export interface ActionDescriptionWithCallback extends ActionDescription {
324
- action: (a?: ActionDescription) => void;
325
- }
326
- export interface AdditionalSymbolInfoField {
327
- title: string;
328
- propertyName: string;
329
- }
330
- export interface AreaStylePreferences {
331
- color1: string;
332
- color2: string;
333
- linecolor: string;
334
- linestyle: number;
335
- linewidth: number;
336
- transparency: number;
337
- }
338
- export interface AvailableZOrderOperations {
339
- bringForwardEnabled: boolean;
340
- bringToFrontEnabled: boolean;
341
- sendBackwardEnabled: boolean;
342
- sendToBackEnabled: boolean;
343
- }
344
- export interface Bar {
345
- time: number;
346
- open: number;
347
- high: number;
348
- low: number;
349
- close: number;
350
- volume?: number;
351
- }
352
- export interface BarStylePreferences {
353
- upColor: string;
354
- downColor: string;
355
- barColorsOnPrevClose: boolean;
356
- dontDrawOpen: boolean;
357
- thinBars: boolean;
358
- }
359
- export interface BaseInputFieldValidatorResult {
360
- valid: boolean;
361
- }
362
- export interface BaselineStylePreferences {
363
- topFillColor1: string;
364
- topFillColor2: string;
365
- bottomFillColor1: string;
366
- bottomFillColor2: string;
367
- topLineColor: string;
368
- bottomLineColor: string;
369
- topLineWidth: number;
370
- bottomLineWidth: number;
371
- transparency: number;
372
- baseLevelPercentage: number;
373
- }
374
- export interface BracketOrder extends PlacedOrder {
375
- parentId: string;
376
- parentType: ParentType;
377
- }
378
- export interface Brackets {
379
- stopLoss?: number;
380
- takeProfit?: number;
381
- trailingStopPips?: number;
382
- }
383
- export interface BrokerConfigFlags {
384
- supportDisplayBrokerNameInSymbolSearch?: boolean;
385
- showQuantityInsteadOfAmount?: boolean;
386
- supportOrderBrackets?: boolean;
387
- supportTrailingStop?: boolean;
388
- supportPositions?: boolean;
389
- supportPositionBrackets?: boolean;
390
- supportTradeBrackets?: boolean;
391
- supportTrades?: boolean;
392
- supportClosePosition?: boolean;
393
- supportCloseTrade?: boolean;
394
- supportEditAmount?: boolean;
395
- supportLevel2Data?: boolean;
396
- supportDOM?: boolean;
397
- supportMultiposition?: boolean;
398
- supportPLUpdate?: boolean;
399
- supportReversePosition?: boolean;
400
- supportNativeReversePosition?: boolean;
401
- supportMarketOrders?: boolean;
402
- supportLimitOrders?: boolean;
403
- supportStopOrders?: boolean;
404
- supportStopLimitOrders?: boolean;
405
- supportDemoLiveSwitcher?: boolean;
406
- supportMarketBrackets?: boolean;
407
- supportSymbolSearch?: boolean;
408
- supportModifyDuration?: boolean;
409
- supportModifyOrder?: boolean;
410
- supportModifyTrailingStop?: boolean;
411
- supportMargin?: boolean;
412
- calculatePLUsingLast?: boolean;
413
- supportPlaceOrderPreview?: boolean;
414
- supportModifyOrderPreview?: boolean;
415
- supportOrdersHistory?: boolean;
416
- supportAddBracketsToExistingOrder?: boolean;
417
- supportBalances?: boolean;
418
- closePositionCancelsOrders?: boolean;
419
- supportOnlyPairPositionBrackets?: boolean;
420
- supportCryptoExchangeOrderTicket?: boolean;
421
- supportConfirmations?: boolean;
422
- /** Does broker need to display position's PL in instrument's currency */
423
- positionPLInInstrumentCurrency?: boolean;
424
- /** Does broker support partial position closing */
425
- supportPartialClosePosition?: boolean;
426
- /** Does broker support partial trade closing */
427
- supportPartialCloseTrade?: boolean;
428
- /** Cancelling a bracket cancels it's oco pair */
429
- supportCancellingBothBracketsOnly?: boolean;
430
- /** Does broker support crypto brackets */
431
- supportCryptoBrackets?: boolean;
432
- /** Does broker need to show notifications log */
433
- showNotificationsLog?: boolean;
434
- /**
435
- * Whether stop orders should behave like Market-if-touched in both directions.
436
- * Enabling this flag removes the direction check from the order dialog.
437
- */
438
- supportStopOrdersInBothDirections?: boolean;
439
- /** Does broker support executions */
440
- supportExecutions?: boolean;
441
- requiresFIFOCloseTrades?: boolean;
442
- /**
443
- * @deprecated
444
- */
445
- supportBrackets?: boolean;
446
- }
447
- export interface BrokerCustomUI {
448
- showOrderDialog?: (order: OrderTemplate | Order, focus?: OrderTicketFocusControl) => Promise<boolean>;
449
- showPositionDialog?: (position: Position | Trade, brackets: Brackets, focus?: OrderTicketFocusControl) => Promise<boolean>;
450
- showCancelOrderDialog?: (order: Order) => Promise<boolean>;
451
- showClosePositionDialog?: (position: Position) => Promise<boolean>;
452
- }
453
- export interface CandleStylePreferences {
454
- upColor: string;
455
- downColor: string;
456
- drawWick: boolean;
457
- drawBorder: boolean;
458
- drawBody: boolean;
459
- borderColor: string;
460
- borderUpColor: string;
461
- borderDownColor: string;
462
- wickColor: string;
463
- wickUpColor: string;
464
- wickDownColor: string;
465
- barColorsOnPrevClose: boolean;
466
- }
467
- export interface ChangeAccountSolution {
468
- changeAccount: AccountId;
469
- }
470
- export interface ChangeSymbolSolution {
471
- changeSymbol: string;
472
- }
473
- export interface ChangeThemeOptions {
474
- disableUndo: boolean;
475
- }
476
- export interface ChartData {
477
- id: string;
478
- name: string;
479
- symbol: string;
480
- resolution: ResolutionString;
481
- content: string;
482
- }
483
- export interface ChartMetaInfo {
484
- id: number;
485
- name: string;
486
- symbol: string;
487
- resolution: ResolutionString;
488
- timestamp: number;
489
- }
490
- export interface ChartingLibraryWidgetConstructor {
491
- new (options: ChartingLibraryWidgetOptions | TradingTerminalWidgetOptions): IChartingLibraryWidget;
492
- }
493
- export interface ChartingLibraryWidgetOptions {
494
- /** @deprecated */
495
- container_id?: string;
496
- container: HTMLElement | string;
497
- datafeed: IBasicDataFeed | (IBasicDataFeed & IDatafeedQuotesApi);
498
- interval: ResolutionString;
499
- symbol?: string;
500
- auto_save_delay?: number;
501
- autosize?: boolean;
502
- debug?: boolean;
503
- disabled_features?: string[];
504
- drawings_access?: AccessList;
505
- enabled_features?: string[];
506
- fullscreen?: boolean;
507
- height?: number;
508
- library_path?: string;
509
- locale: LanguageCode;
510
- numeric_formatting?: NumericFormattingParams;
511
- saved_data?: object;
512
- saved_data_meta_info?: SavedStateMetaInfo;
513
- studies_access?: AccessList;
514
- study_count_limit?: number;
515
- symbol_search_request_delay?: number;
516
- timeframe?: string;
517
- timezone?: "exchange" | Timezone;
518
- toolbar_bg?: string;
519
- width?: number;
520
- charts_storage_url?: string;
521
- charts_storage_api_version?: AvailableSaveloadVersions;
522
- client_id?: string;
523
- user_id?: string;
524
- load_last_chart?: boolean;
525
- studies_overrides?: StudyOverrides;
526
- customFormatters?: CustomFormatters;
527
- custom_formatters?: CustomFormatters;
528
- overrides?: Overrides;
529
- snapshot_url?: string;
530
- preset?: "mobile";
531
- time_frames?: TimeFrameItem[];
532
- custom_css_url?: string;
533
- favorites?: Favorites;
534
- save_load_adapter?: IExternalSaveLoadAdapter;
535
- loading_screen?: LoadingScreenOptions;
536
- settings_adapter?: ISettingsAdapter;
537
- theme?: ThemeName;
538
- compare_symbols?: CompareSymbol[];
539
- custom_indicators_getter?: (PineJS: PineJS) => Promise<readonly CustomIndicator[]>;
540
- additional_symbol_info_fields?: AdditionalSymbolInfoField[];
541
- header_widget_buttons_mode?: HeaderWidgetButtonsMode;
542
- time_scale?: TimeScaleOptions;
543
- symbol_search_complete?: SymbolSearchCompleteOverrideFunction;
544
- }
545
- export interface ClientSnapshotOptions {
546
- backgroundColor: string;
547
- borderColor: string;
548
- font: string;
549
- fontSize: number;
550
- legendMode: LegendMode;
551
- hideResolution: boolean;
552
- }
553
- export interface CompareSymbol {
554
- symbol: string;
555
- title: string;
556
- }
557
- export interface ContextMenuItem {
558
- position: "top" | "bottom";
559
- text: string;
560
- click: EmptyCallback;
561
- }
562
- export interface CreateButtonOptions {
563
- align: "right" | "left";
564
- }
565
- export interface CreateMultipointShapeOptions<TOverrides extends object> extends CreateShapeOptionsBase<TOverrides> {
566
- shape?: Exclude<SupportedLineTools, "cursor" | "dot" | "arrow_cursor" | "eraser" | "measure" | "zoom">;
567
- }
568
- export interface CreateShapeOptions<TOverrides extends object> extends CreateShapeOptionsBase<TOverrides> {
569
- shape?: "arrow_up" | "arrow_down" | "flag" | "vertical_line" | "horizontal_line" | "long_position" | "short_position";
570
- ownerStudyId?: EntityId;
571
- }
572
- export interface CreateShapeOptionsBase<TOverrides extends object> {
573
- text?: string;
574
- lock?: boolean;
575
- disableSelection?: boolean;
576
- disableSave?: boolean;
577
- disableUndo?: boolean;
578
- overrides?: TOverrides;
579
- zOrder?: "top" | "bottom";
580
- showInObjectsTree?: boolean;
581
- ownerStudyId?: EntityId;
582
- }
583
- export interface CreateStudyOptions {
584
- checkLimit?: boolean;
585
- priceScale?: StudyPriceScale;
586
- allowChangeCurrency?: boolean;
587
- allowChangeUnit?: boolean;
588
- disableUndo?: boolean;
589
- }
590
- export interface CreateStudyTemplateOptions {
591
- saveSymbol?: boolean;
592
- saveInterval?: boolean;
593
- }
594
- export interface CrossHairMovedEventParams {
595
- time: number;
596
- price: number;
597
- }
598
- export interface CryptoBalance {
599
- symbol: string;
600
- total: number;
601
- available: number;
602
- reserved?: number;
603
- value?: number;
604
- valueCurrency?: string;
605
- longName?: string;
606
- btcValue?: number;
607
- }
608
- export interface CustomComboBoxItem {
609
- text: string;
610
- value: string;
611
- }
612
- export interface CustomComboBoxMetaInfo extends CustomInputFieldMetaInfo {
613
- inputType: "ComboBox";
614
- items: CustomComboBoxItem[];
615
- }
616
- export interface CustomFields {
617
- [key: string]: any;
618
- }
619
- export interface CustomFormatter {
620
- format(date: Date): string;
621
- formatLocal(date: Date): string;
622
- }
623
- export interface CustomFormatters {
624
- timeFormatter: CustomFormatter;
625
- dateFormatter: CustomFormatter;
626
- tickMarkFormatter?: (date: Date, tickMarkType: TickMarkType) => string;
627
- }
628
- export interface CustomIndicator {
629
- readonly name: string;
630
- readonly metainfo: any;
631
- readonly constructor: any;
632
- }
633
- export interface CustomInputFieldMetaInfo {
634
- inputType: string;
635
- id: string;
636
- title: string;
637
- preventModify?: boolean;
638
- placeHolder?: string;
639
- value?: any;
640
- validator?: InputFieldValidator;
641
- customInfo?: any;
642
- saveToSettings?: boolean;
643
- }
644
- export interface CustomInputFieldsValues {
645
- [fieldId: string]: TextWithCheckboxValue | string | any;
646
- }
647
- export interface DOMData {
648
- snapshot: boolean;
649
- asks: DOMLevel[];
650
- bids: DOMLevel[];
651
- }
652
- export interface DOMLevel {
653
- price: number;
654
- volume: number;
655
- }
656
- export interface DatafeedConfiguration {
657
- exchanges?: Exchange[];
658
- supported_resolutions?: ResolutionString[];
659
- units?: Record<string, Unit[]>;
660
- currency_codes?: string[];
661
- supports_marks?: boolean;
662
- supports_time?: boolean;
663
- supports_timescale_marks?: boolean;
664
- symbols_types?: DatafeedSymbolType[];
665
- }
666
- export interface DatafeedQuoteValues {
667
- ch?: number;
668
- chp?: number;
669
- short_name?: string;
670
- exchange?: string;
671
- description?: string;
672
- lp?: number;
673
- ask?: number;
674
- bid?: number;
675
- spread?: number;
676
- open_price?: number;
677
- high_price?: number;
678
- low_price?: number;
679
- prev_close_price?: number;
680
- volume?: number;
681
- original_name?: string;
682
- [valueName: string]: string | number | undefined;
683
- }
684
- export interface DatafeedSymbolType {
685
- name: string;
686
- value: string;
687
- }
688
- export interface DefaultContextMenuActionsParams {
689
- }
690
- export interface DefaultDropdownActionsParams {
691
- tradingProperties?: boolean;
692
- showHowToUse?: boolean;
693
- restoreConfirmations?: boolean;
694
- }
695
- export interface DialogParams<CallbackType> {
696
- title: string;
697
- body: string;
698
- callback: CallbackType;
699
- }
700
- export interface DropdownItem {
701
- title: string;
702
- onSelect: () => void;
703
- }
704
- export interface DropdownParams {
705
- title: string;
706
- items: DropdownItem[];
707
- tooltip?: string;
708
- icon?: string;
709
- align?: "right" | "left";
710
- }
711
- export interface EditObjectDialogEventParams {
712
- objectType: EditObjectDialogObjectType;
713
- scriptTitle: string;
714
- }
715
- export interface EntityInfo {
716
- id: EntityId;
717
- name: string;
718
- }
719
- export interface ErrorFormatterParseResult extends FormatterParseResult {
720
- error?: string;
721
- res: false;
722
- }
723
- export interface Exchange {
724
- value: string;
725
- name: string;
726
- desc: string;
727
- }
728
- export interface Execution extends CustomFields {
729
- symbol: string;
730
- price: number;
731
- qty: number;
732
- side: Side;
733
- time: number;
734
- }
735
- export interface ExportDataOptions {
736
- from?: number;
737
- to?: number;
738
- includeTime?: boolean;
739
- includeUserTime?: boolean;
740
- includeSeries?: boolean;
741
- includeDisplayedValues?: boolean;
742
- includedStudies: readonly string[] | "all";
743
- }
744
- export interface ExportedData {
745
- schema: FieldDescriptor[];
746
- data: Float64Array[];
747
- displayedData: string[][];
748
- }
749
- export interface Favorites {
750
- intervals: ResolutionString[];
751
- chartTypes: string[];
752
- }
753
- export interface FormatterParseResult {
754
- res: boolean;
755
- }
756
- export interface GetNewsResponse {
757
- title?: string;
758
- newsItems: NewsItem[];
759
- }
760
- export interface GrayedObject {
761
- type: "drawing" | "study";
762
- name: string;
763
- }
764
- export interface HeikinAshiStylePreferences {
765
- upColor: string;
766
- downColor: string;
767
- drawWick: boolean;
768
- drawBorder: boolean;
769
- drawBody: boolean;
770
- borderColor: string;
771
- borderUpColor: string;
772
- borderDownColor: string;
773
- wickColor: string;
774
- wickUpColor: string;
775
- wickDownColor: string;
776
- showRealLastPrice: boolean;
777
- barColorsOnPrevClose: boolean;
778
- }
779
- export interface HiLoStylePreferences {
780
- color: string;
781
- showBorders: boolean;
782
- borderColor: string;
783
- showLabels: boolean;
784
- labelColor: string;
785
- fontSize: number;
786
- drawBody: boolean;
787
- }
788
- export interface HistoryMetadata {
789
- noData?: boolean;
790
- nextTime?: number | null;
791
- }
792
- export interface HollowCandleStylePreferences {
793
- upColor: string;
794
- downColor: string;
795
- drawWick: boolean;
796
- drawBorder: boolean;
797
- drawBody: boolean;
798
- borderColor: string;
799
- borderUpColor: string;
800
- borderDownColor: string;
801
- wickColor: string;
802
- wickUpColor: string;
803
- wickDownColor: string;
804
- }
805
- export interface IBoxedValue<T> extends IBoxedValueReadOnly<T> {
806
- setValue(value: T): void;
807
- }
808
- export interface IBoxedValueReadOnly<T> {
809
- value(): T;
810
- }
811
- export interface IBrokerCommon {
812
- chartContextMenuActions(context: TradeContext, options?: DefaultContextMenuActionsParams): Promise<ActionMetaInfo[]>;
813
- isTradable(symbol: string): Promise<boolean | IsTradableResult>;
814
- connectionStatus(): ConnectionStatus;
815
- orders(): Promise<Order[]>;
816
- ordersHistory?(): Promise<Order[]>;
817
- positions?(): Promise<Position[]>;
818
- trades?(): Promise<Trade[]>;
819
- executions(symbol: string): Promise<Execution[]>;
820
- symbolInfo(symbol: string): Promise<InstrumentInfo>;
821
- accountManagerInfo(): AccountManagerInfo;
822
- formatter?(symbol: string, alignToMinMove: boolean): Promise<INumberFormatter>;
823
- spreadFormatter?(symbol: string): Promise<INumberFormatter>;
824
- quantityFormatter?(symbol: string): Promise<INumberFormatter>;
825
- getOrderDialogOptions?(symbol: string): Promise<OrderDialogOptions | undefined>;
826
- getPositionDialogOptions?(): PositionDialogOptions | undefined;
827
- }
828
- export interface IBrokerConnectionAdapterFactory {
829
- createDelegate<T extends Function>(): IDelegate<T>;
830
- createWatchedValue<T>(value?: T): IWatchedValue<T>;
831
- createPriceFormatter(priceScale?: number, minMove?: number, fractional?: boolean, minMove2?: number): IPriceFormatter;
832
- }
833
- export interface IBrokerConnectionAdapterHost {
834
- factory: IBrokerConnectionAdapterFactory;
835
- defaultFormatter(symbol: string, alignToMinMove: boolean): Promise<INumberFormatter>;
836
- numericFormatter(decimalPlaces: number): Promise<INumberFormatter>;
837
- quantityFormatter(decimalPlaces?: number): Promise<INumberFormatter>;
838
- defaultContextMenuActions(context: TradeContext, params?: DefaultContextMenuActionsParams): Promise<ActionMetaInfo[]>;
839
- defaultDropdownMenuActions(options?: Partial<DefaultDropdownActionsParams>): ActionMetaInfo[];
840
- sellBuyButtonsVisibility(): IWatchedValue<boolean> | null;
841
- domPanelVisibility(): IWatchedValue<boolean> | null;
842
- orderPanelVisibility(): IWatchedValue<boolean> | null;
843
- silentOrdersPlacement(): IWatchedValue<boolean>;
844
- patchConfig(config: Partial<BrokerConfigFlags>): void;
845
- setDurations(durations: OrderDurationMetaInfo[]): void;
846
- orderUpdate(order: Order): void;
847
- orderPartialUpdate(id: string, orderChanges: Partial<Order>): void;
848
- positionUpdate(position: Position, isHistoryUpdate?: boolean): void;
849
- positionPartialUpdate(id: string, positionChanges: Partial<Position>): void;
850
- tradeUpdate(trade: Trade, isHistoryUpdate?: boolean): void;
851
- tradePartialUpdate(id: string, tradeChanges: Partial<Trade>): void;
852
- executionUpdate(execution: Execution): void;
853
- currentAccountUpdate(): void;
854
- realtimeUpdate(symbol: string, data: TradingQuotes): void;
855
- plUpdate(positionId: string, pl: number): void;
856
- pipValueUpdate(symbol: string, pipValues: PipValues): void;
857
- tradePLUpdate(tradeId: string, pl: number): void;
858
- equityUpdate(equity: number): void;
859
- marginAvailableUpdate(marginAvailable: number): void;
860
- cryptoBalanceUpdate(symbol: string, balance: CryptoBalance): void;
861
- domeUpdate(symbol: string, equity: DOMData): void;
862
- showOrderDialog?<T extends PreOrder>(order: T, focus?: OrderTicketFocusControl): Promise<boolean>;
863
- showNotification(title: string, text: string, notificationType?: NotificationType): void;
864
- showCancelOrderDialog(orderId: string, handler: () => Promise<void>): Promise<void>;
865
- showCancelMultipleOrdersDialog(symbol: string, side: Side, qty: number, handler: () => Promise<void>): Promise<void>;
866
- showCancelBracketsDialog(orderId: string, handler: () => Promise<void>): Promise<void>;
867
- showCancelMultipleBracketsDialog(orderId: string, handler: () => Promise<void>): Promise<void>;
868
- showReversePositionDialog(position: string, handler: () => Promise<boolean>): Promise<boolean>;
869
- showPositionBracketsDialog(position: Position | Trade, brackets: Brackets, focus: OrderTicketFocusControl): Promise<boolean>;
870
- setButtonDropdownActions(descriptions: ActionMetaInfo[]): void;
871
- activateBottomWidget(): Promise<void>;
872
- showTradingProperties(): void;
873
- suggestedQty(): SuggestedQuantity;
874
- getSymbolMinTick(symbol: string): Promise<number>;
875
- showMessageDialog(title: string, text: string, textHasHTML: boolean): void;
876
- showConfirmDialog(title: string, content: string | string[], mainButtonText?: string, cancelButtonText?: string, showDisableConfirmationsCheckbox?: boolean): Promise<boolean>;
877
- showSimpleConfirmDialog(title: string, content: string | string[], mainButtonText?: string, cancelButtonText?: string, showDisableConfirmationsCheckbox?: boolean): Promise<boolean>;
878
- }
879
- export interface IBrokerTerminal extends IBrokerWithoutRealtime {
880
- subscribeRealtime(symbol: string): void;
881
- unsubscribeRealtime(symbol: string): void;
882
- }
883
- export interface IBrokerWithoutRealtime extends IBrokerCommon {
884
- subscribeDOME?(symbol: string): void;
885
- unsubscribeDOME?(symbol: string): void;
886
- placeOrder(order: PreOrder, confirmId?: string): Promise<PlaceOrderResult>;
887
- previewOrder?(order: PreOrder): Promise<OrderPreviewResult>;
888
- modifyOrder(order: Order, confirmId?: string): Promise<void>;
889
- cancelOrder(orderId: string): Promise<void>;
890
- cancelOrders(symbol: string, side: Side | undefined, ordersIds: string[]): Promise<void>;
891
- reversePosition?(positionId: string): Promise<void>;
892
- closePosition?(positionId: string, amount?: number): Promise<void>;
893
- closeTrade?(tradeId: string, amount?: number): Promise<void>;
894
- editPositionBrackets?(positionId: string, brackets: Brackets, customFields?: CustomInputFieldsValues): Promise<void>;
895
- editTradeBrackets?(tradeId: string, brackets: Brackets): Promise<void>;
896
- /**
897
- * @deprecated Brokers should always send PL and equity updates
898
- */
899
- subscribePL?(positionId: string): void;
900
- subscribeEquity?(): void;
901
- subscribeMarginAvailable?(symbol: string): void;
902
- subscribePipValue?(symbol: string): void;
903
- unsubscribePipValue?(symbol: string): void;
904
- unsubscribeMarginAvailable?(symbol: string): void;
905
- /**
906
- * @deprecated
907
- */
908
- unsubscribePL?(positionId: string): void;
909
- unsubscribeEquity?(): void;
910
- }
911
- export interface IChartWidgetApi {
912
- onDataLoaded(): ISubscription<() => void>;
913
- onSymbolChanged(): ISubscription<() => void>;
914
- onIntervalChanged(): ISubscription<(interval: ResolutionString, timeFrameParameters: {
915
- timeframe?: TimeFrameValue;
916
- }) => void>;
917
- onVisibleRangeChanged(): ISubscription<(range: VisibleTimeRange) => void>;
918
- onChartTypeChanged(): ISubscription<(chartType: SeriesStyle) => void>;
919
- dataReady(callback: () => void): boolean;
920
- crossHairMoved(): ISubscription<(params: CrossHairMovedEventParams) => void>;
921
- setVisibleRange(range: SetVisibleTimeRange, options?: SetVisibleRangeOptions): Promise<void>;
922
- setSymbol(symbol: string, callback?: () => void): void;
923
- setResolution(resolution: ResolutionString, callback?: () => void): void;
924
- setChartType(type: SeriesStyle, callback?: () => void): void;
925
- resetData(): void;
926
- executeActionById(actionId: ChartActionId): void;
927
- getCheckableActionState(actionId: ChartActionId): boolean;
928
- refreshMarks(): void;
929
- clearMarks(): void;
930
- getAllShapes(): EntityInfo[];
931
- getAllStudies(): EntityInfo[];
932
- getPriceToBarRatio(): number | null;
933
- setPriceToBarRatio(ratio: number, options?: UndoOptions): void;
934
- isPriceToBarRatioLocked(): boolean;
935
- setPriceToBarRatioLocked(value: boolean, options?: UndoOptions): void;
936
- getAllPanesHeight(): number[];
937
- setAllPanesHeight(heights: readonly number[]): void;
938
- availableZOrderOperations(sources: readonly EntityId[]): AvailableZOrderOperations;
939
- sendToBack(entities: readonly EntityId[]): void;
940
- bringToFront(sources: readonly EntityId[]): void;
941
- bringForward(sources: readonly EntityId[]): void;
942
- sendBackward(sources: readonly EntityId[]): void;
943
- /**
944
- * @deprecated Use shape/study API instead ([getStudyById] / [getShapeById])
945
- */
946
- setEntityVisibility(entityId: EntityId, isVisible: boolean): void;
947
- createStudy<TStudyInputValue extends StudyInputValue, TOverrides extends StudyOverrides>(name: string, forceOverlay?: boolean, lock?: boolean, inputs?: TStudyInputValue[], overrides?: TOverrides, options?: CreateStudyOptions): Promise<EntityId | null>;
948
- getStudyById(entityId: EntityId): IStudyApi;
949
- getSeries(): ISeriesApi;
950
- createShape<TOverrides extends object>(point: ShapePoint, options: CreateShapeOptions<TOverrides>): EntityId | null;
951
- createMultipointShape<TOverrides extends object>(points: ShapePoint[], options: CreateMultipointShapeOptions<TOverrides>): EntityId | null;
952
- getShapeById(entityId: EntityId): ILineDataSourceApi;
953
- removeEntity(entityId: EntityId, options?: UndoOptions): void;
954
- removeAllShapes(): void;
955
- removeAllStudies(): void;
956
- selection(): ISelectionApi;
957
- showPropertiesDialog(studyId: EntityId): void;
958
- createStudyTemplate(options: CreateStudyTemplateOptions): object;
959
- applyStudyTemplate(template: object): void;
960
- createOrderLine(options?: UndoOptions): IOrderLineAdapter;
961
- createPositionLine(options?: UndoOptions): IPositionLineAdapter;
962
- createExecutionShape(options?: UndoOptions): IExecutionLineAdapter;
963
- symbol(): string;
964
- symbolExt(): SymbolExt;
965
- resolution(): ResolutionString;
966
- getVisibleRange(): VisibleTimeRange;
967
- /**
968
- * @deprecated Use Price Scale API instead
969
- */
970
- getVisiblePriceRange(): VisiblePriceRange;
971
- scrollPosition(): number;
972
- defaultScrollPosition(): number;
973
- priceFormatter(): INumberFormatter;
974
- chartType(): SeriesStyle;
975
- setTimezone(timezone: "exchange" | Timezone): void;
976
- getTimezone(): "exchange" | Timezone;
977
- getPanes(): IPaneApi[];
978
- exportData(options?: Partial<ExportDataOptions>): Promise<ExportedData>;
979
- canZoomOut(): boolean;
980
- zoomOut(): void;
981
- setZoomEnabled(enabled: boolean): void;
982
- setScrollEnabled(enabled: boolean): void;
983
- shapesGroupController(): IShapesGroupControllerApi;
984
- barTimeToEndOfPeriod(unixTime: number): number;
985
- endOfPeriodToBarTime(unixTime: number): number;
986
- getTimeScale(): ITimeScaleApi;
987
- isSelectBarRequested(): boolean;
988
- requestSelectBar(): Promise<number>;
989
- cancelSelectBar(): void;
990
- }
991
- export interface IChartingLibraryWidget {
992
- headerReady(): Promise<void>;
993
- onChartReady(callback: EmptyCallback): void;
994
- onGrayedObjectClicked(callback: (obj: GrayedObject) => void): void;
995
- onShortcut(shortCut: string | number | (string | number)[], callback: EmptyCallback): void;
996
- subscribe<EventName extends keyof SubscribeEventsMap>(event: EventName, callback: SubscribeEventsMap[EventName]): void;
997
- unsubscribe<EventName extends keyof SubscribeEventsMap>(event: EventName, callback: SubscribeEventsMap[EventName]): void;
998
- chart(index?: number): IChartWidgetApi;
999
- getLanguage(): LanguageCode;
1000
- setSymbol(symbol: string, interval: ResolutionString, callback: EmptyCallback): void;
1001
- remove(): void;
1002
- closePopupsAndDialogs(): void;
1003
- selectLineTool(linetool: SupportedLineTools): void;
1004
- selectedLineTool(): SupportedLineTools;
1005
- save(callback: (state: object) => void): void;
1006
- load(state: object, extendedData?: SavedStateMetaInfo): void;
1007
- getSavedCharts(callback: (chartRecords: SaveLoadChartRecord[]) => void): void;
1008
- loadChartFromServer(chartRecord: SaveLoadChartRecord): void;
1009
- saveChartToServer(onComplete?: EmptyCallback, onFail?: EmptyCallback, options?: SaveChartToServerOptions): void;
1010
- removeChartFromServer(chartId: string, onCompleteCallback: EmptyCallback): void;
1011
- onContextMenu(callback: (unixTime: number, price: number) => ContextMenuItem[]): void;
1012
- createButton(options?: CreateButtonOptions): HTMLElement;
1013
- createDropdown(params: DropdownParams): Promise<IDropdownApi>;
1014
- showNoticeDialog(params: DialogParams<() => void>): void;
1015
- showConfirmDialog(params: DialogParams<(confirmed: boolean) => void>): void;
1016
- showLoadChartDialog(): void;
1017
- showSaveAsChartDialog(): void;
1018
- symbolInterval(): SymbolIntervalResult;
1019
- mainSeriesPriceFormatter(): INumberFormatter;
1020
- getIntervals(): string[];
1021
- getStudiesList(): string[];
1022
- getStudyInputs(studyName: string): StudyInputInfo[];
1023
- addCustomCSSFile(url: string): void;
1024
- applyOverrides<TOverrides extends StudyOverrides>(overrides: TOverrides): void;
1025
- applyStudiesOverrides(overrides: object): void;
1026
- watchList(): Promise<IWatchListApi>;
1027
- news(): Promise<INewsApi>;
1028
- activeChart(): IChartWidgetApi;
1029
- chartsCount(): number;
1030
- layout(): LayoutType;
1031
- setLayout(layout: LayoutType): void;
1032
- layoutName(): string;
1033
- changeTheme(themeName: ThemeName, options?: ChangeThemeOptions): Promise<void>;
1034
- getTheme(): ThemeName;
1035
- takeScreenshot(): void;
1036
- takeClientScreenshot(options?: Partial<ClientSnapshotOptions>): Promise<HTMLCanvasElement>;
1037
- lockAllDrawingTools(): IWatchedValue<boolean>;
1038
- hideAllDrawingTools(): IWatchedValue<boolean>;
1039
- magnetEnabled(): IWatchedValue<boolean>;
1040
- magnetMode(): IWatchedValue<number>;
1041
- symbolSync(): IWatchedValue<boolean>;
1042
- intervalSync(): IWatchedValue<boolean>;
1043
- crosshairSync(): IWatchedValue<boolean>;
1044
- timeSync(): IWatchedValue<boolean>;
1045
- startFullscreen(): void;
1046
- exitFullscreen(): void;
1047
- undoRedoState(): UndoRedoState;
1048
- navigationButtonsVisibility(): IWatchedValue<VisibilityType>;
1049
- paneButtonsVisibility(): IWatchedValue<VisibilityType>;
1050
- dateFormat(): IWatchedValue<DateFormat>;
1051
- }
1052
- export interface IDatafeedChartApi {
1053
- getMarks?(symbolInfo: LibrarySymbolInfo, from: number, to: number, onDataCallback: GetMarksCallback<Mark>, resolution: ResolutionString): void;
1054
- getTimescaleMarks?(symbolInfo: LibrarySymbolInfo, from: number, to: number, onDataCallback: GetMarksCallback<TimescaleMark>, resolution: ResolutionString): void;
1055
- /**
1056
- * This function is called if configuration flag supports_time is set to true when chart needs to know the server time.
1057
- * The charting library expects callback to be called once.
1058
- * The time is provided without milliseconds. Example: 1445324591. It is used to display Countdown on the price scale.
1059
- */
1060
- getServerTime?(callback: ServerTimeCallback): void;
1061
- searchSymbols(userInput: string, exchange: string, symbolType: string, onResult: SearchSymbolsCallback): void;
1062
- resolveSymbol(symbolName: string, onResolve: ResolveCallback, onError: ErrorCallback, extension?: SymbolResolveExtension): void;
1063
- getBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, periodParams: PeriodParams, onResult: HistoryCallback, onError: ErrorCallback): void;
1064
- subscribeBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, onTick: SubscribeBarsCallback, listenerGuid: string, onResetCacheNeededCallback: () => void): void;
1065
- unsubscribeBars(listenerGuid: string): void;
1066
- subscribeDepth?(symbol: string, callback: DomeCallback): string;
1067
- unsubscribeDepth?(subscriberUID: string): void;
1068
- getVolumeProfileResolutionForPeriod?(currentResolution: ResolutionString, from: number, to: number, symbolInfo: LibrarySymbolInfo): ResolutionString;
1069
- }
1070
- export interface IDatafeedQuotesApi {
1071
- getQuotes(symbols: string[], onDataCallback: QuotesCallback, onErrorCallback: (msg: string) => void): void;
1072
- subscribeQuotes(symbols: string[], fastSymbols: string[], onRealtimeCallback: QuotesCallback, listenerGUID: string): void;
1073
- unsubscribeQuotes(listenerGUID: string): void;
1074
- }
1075
- export interface IDelegate<TFunc extends Function> extends ISubscription<TFunc> {
1076
- fire: TFunc;
1077
- }
1078
- export interface IDropdownApi {
1079
- applyOptions(options: DropdownUpdateParams): void;
1080
- remove(): void;
1081
- }
1082
- export interface IExecutionLineAdapter {
1083
- remove(): void;
1084
- getPrice(): number;
1085
- setPrice(value: number): this;
1086
- getTime(): number;
1087
- setTime(value: number): this;
1088
- getDirection(): Direction;
1089
- setDirection(value: Direction): this;
1090
- getText(): string;
1091
- setText(value: string): this;
1092
- getTooltip(): string;
1093
- setTooltip(value: string): this;
1094
- getArrowHeight(): number;
1095
- setArrowHeight(value: number): this;
1096
- getArrowSpacing(): number;
1097
- setArrowSpacing(value: number): this;
1098
- getFont(): string;
1099
- setFont(value: string): this;
1100
- getTextColor(): string;
1101
- setTextColor(value: string): this;
1102
- getArrowColor(): string;
1103
- setArrowColor(value: string): this;
1104
- }
1105
- export interface IExternalDatafeed {
1106
- onReady(callback: OnReadyCallback): void;
1107
- }
1108
- export interface IExternalSaveLoadAdapter {
1109
- getAllCharts(): Promise<ChartMetaInfo[]>;
1110
- removeChart<T extends number | string>(id: T): Promise<void>;
1111
- saveChart(chartData: ChartData): Promise<number>;
1112
- getChartContent(chartId: number): Promise<string>;
1113
- getAllStudyTemplates(): Promise<StudyTemplateMetaInfo[]>;
1114
- removeStudyTemplate(studyTemplateInfo: StudyTemplateMetaInfo): Promise<void>;
1115
- saveStudyTemplate(studyTemplateData: StudyTemplateData): Promise<void>;
1116
- getStudyTemplateContent(studyTemplateInfo: StudyTemplateMetaInfo): Promise<string>;
1117
- getDrawingTemplates(toolName: string): Promise<string[]>;
1118
- loadDrawingTemplate(toolName: string, templateName: string): Promise<string>;
1119
- removeDrawingTemplate(toolName: string, templateName: string): Promise<void>;
1120
- saveDrawingTemplate(toolName: string, templateName: string, content: string): Promise<void>;
1121
- }
1122
- export interface IFormatter<T> {
1123
- format(value?: T): string;
1124
- parse?(value: string): ErrorFormatterParseResult | SuccessFormatterParseResult<T>;
1125
- }
1126
- export interface ILineDataSourceApi {
1127
- isSelectionEnabled(): boolean;
1128
- setSelectionEnabled(enable: boolean): void;
1129
- isSavingEnabled(): boolean;
1130
- setSavingEnabled(enable: boolean): void;
1131
- isShowInObjectsTreeEnabled(): boolean;
1132
- setShowInObjectsTreeEnabled(enabled: boolean): void;
1133
- isUserEditEnabled(): boolean;
1134
- setUserEditEnabled(enabled: boolean): void;
1135
- bringToFront(): void;
1136
- sendToBack(): void;
1137
- getProperties(): Record<string, any>;
1138
- setProperties(newProperties: object): void;
1139
- getPoints(): PricedPoint[];
1140
- setPoints(points: ShapePoint[]): void;
1141
- }
1142
- export interface INewsApi {
1143
- refresh(): void;
1144
- }
1145
- export interface IObservable<T> {
1146
- subscribe(callback: (value: T) => void): void;
1147
- unsubscribe(callback: (value: T) => void): void;
1148
- }
1149
- export interface IObservableValue<T> extends IBoxedValue<T>, IObservable<T> {
1150
- }
1151
- export interface IObservableValueReadOnly<T> extends IBoxedValueReadOnly<T>, IObservable<T> {
1152
- }
1153
- export interface IOrderLineAdapter {
1154
- remove(): void;
1155
- onModify(callback: () => void): this;
1156
- onModify<T>(data: T, callback: (data: T) => void): this;
1157
- onMove(callback: () => void): this;
1158
- onMove<T>(data: T, callback: (data: T) => void): this;
1159
- onCancel(callback: () => void): this;
1160
- onCancel<T>(data: T, callback: (data: T) => void): this;
1161
- getPrice(): number;
1162
- setPrice(value: number): this;
1163
- getText(): string;
1164
- setText(value: string): this;
1165
- getTooltip(): string;
1166
- setTooltip(value: string): this;
1167
- getModifyTooltip(): string;
1168
- setModifyTooltip(value: string): this;
1169
- getCancelTooltip(): string;
1170
- setCancelTooltip(value: string): this;
1171
- getQuantity(): string;
1172
- setQuantity(value: string): this;
1173
- getEditable(): boolean;
1174
- setEditable(value: boolean): this;
1175
- getCancellable(): boolean;
1176
- setCancellable(value: boolean): this;
1177
- getExtendLeft(): boolean;
1178
- setExtendLeft(value: boolean): this;
1179
- getLineLength(): number;
1180
- setLineLength(value: number): this;
1181
- getLineStyle(): number;
1182
- setLineStyle(value: number): this;
1183
- getLineWidth(): number;
1184
- setLineWidth(value: number): this;
1185
- getBodyFont(): string;
1186
- setBodyFont(value: string): this;
1187
- getQuantityFont(): string;
1188
- setQuantityFont(value: string): this;
1189
- getLineColor(): string;
1190
- setLineColor(value: string): this;
1191
- getBodyBorderColor(): string;
1192
- setBodyBorderColor(value: string): this;
1193
- getBodyBackgroundColor(): string;
1194
- setBodyBackgroundColor(value: string): this;
1195
- getBodyTextColor(): string;
1196
- setBodyTextColor(value: string): this;
1197
- getQuantityBorderColor(): string;
1198
- setQuantityBorderColor(value: string): this;
1199
- getQuantityBackgroundColor(): string;
1200
- setQuantityBackgroundColor(value: string): this;
1201
- getQuantityTextColor(): string;
1202
- setQuantityTextColor(value: string): this;
1203
- getCancelButtonBorderColor(): string;
1204
- setCancelButtonBorderColor(value: string): this;
1205
- getCancelButtonBackgroundColor(): string;
1206
- setCancelButtonBackgroundColor(value: string): this;
1207
- getCancelButtonIconColor(): string;
1208
- setCancelButtonIconColor(value: string): this;
1209
- }
1210
- export interface IPaneApi {
1211
- hasMainSeries(): boolean;
1212
- getLeftPriceScales(): readonly IPriceScaleApi[];
1213
- getRightPriceScales(): readonly IPriceScaleApi[];
1214
- getMainSourcePriceScale(): IPriceScaleApi | null;
1215
- getHeight(): number;
1216
- setHeight(height: number): void;
1217
- moveTo(paneIndex: number): void;
1218
- paneIndex(): number;
1219
- }
1220
- export interface IPositionLineAdapter {
1221
- remove(): void;
1222
- onClose(callback: () => void): this;
1223
- onClose<T>(data: T, callback: (data: T) => void): this;
1224
- onModify(callback: () => void): this;
1225
- onModify<T>(data: T, callback: (data: T) => void): this;
1226
- onReverse(callback: () => void): this;
1227
- onReverse<T>(data: T, callback: (data: T) => void): this;
1228
- getPrice(): number;
1229
- setPrice(value: number): this;
1230
- getText(): string;
1231
- setText(value: string): this;
1232
- getTooltip(): string;
1233
- setTooltip(value: string): this;
1234
- getProtectTooltip(): string;
1235
- setProtectTooltip(value: string): this;
1236
- getCloseTooltip(): string;
1237
- setCloseTooltip(value: string): this;
1238
- getReverseTooltip(): string;
1239
- setReverseTooltip(value: string): this;
1240
- getQuantity(): string;
1241
- setQuantity(value: string): this;
1242
- getExtendLeft(): boolean;
1243
- setExtendLeft(value: boolean): this;
1244
- getLineLength(): number;
1245
- setLineLength(value: number): this;
1246
- getLineStyle(): number;
1247
- setLineStyle(value: number): this;
1248
- getLineWidth(): number;
1249
- setLineWidth(value: number): this;
1250
- getBodyFont(): string;
1251
- setBodyFont(value: string): this;
1252
- getQuantityFont(): string;
1253
- setQuantityFont(value: string): this;
1254
- getLineColor(): string;
1255
- setLineColor(value: string): this;
1256
- getBodyBorderColor(): string;
1257
- setBodyBorderColor(value: string): this;
1258
- getBodyBackgroundColor(): string;
1259
- setBodyBackgroundColor(value: string): this;
1260
- getBodyTextColor(): string;
1261
- setBodyTextColor(value: string): this;
1262
- getQuantityBorderColor(): string;
1263
- setQuantityBorderColor(value: string): this;
1264
- getQuantityBackgroundColor(): string;
1265
- setQuantityBackgroundColor(value: string): this;
1266
- getQuantityTextColor(): string;
1267
- setQuantityTextColor(value: string): this;
1268
- getReverseButtonBorderColor(): string;
1269
- setReverseButtonBorderColor(value: string): this;
1270
- getReverseButtonBackgroundColor(): string;
1271
- setReverseButtonBackgroundColor(value: string): this;
1272
- getReverseButtonIconColor(): string;
1273
- setReverseButtonIconColor(value: string): this;
1274
- getCloseButtonBorderColor(): string;
1275
- setCloseButtonBorderColor(value: string): this;
1276
- getCloseButtonBackgroundColor(): string;
1277
- setCloseButtonBackgroundColor(value: string): this;
1278
- getCloseButtonIconColor(): string;
1279
- setCloseButtonIconColor(value: string): this;
1280
- }
1281
- export interface IPriceFormatter extends ISymbolValueFormatter {
1282
- format(price: number, signPositive?: boolean, tailSize?: number, signNegative?: boolean, useRtlFormat?: boolean): string;
1283
- }
1284
- export interface IPriceScaleApi {
1285
- getMode(): PriceScaleMode;
1286
- setMode(newMode: PriceScaleMode): void;
1287
- isInverted(): boolean;
1288
- setInverted(isInverted: boolean): void;
1289
- getVisiblePriceRange(): VisiblePriceRange | null;
1290
- setVisiblePriceRange(range: VisiblePriceRange): void;
1291
- hasMainSeries(): boolean;
1292
- getStudies(): EntityId[];
1293
- }
1294
- export interface ISelectionApi {
1295
- add(entities: EntityId[] | EntityId): void;
1296
- set(entities: EntityId[] | EntityId): void;
1297
- remove(entities: EntityId[]): void;
1298
- contains(entity: EntityId): boolean;
1299
- allSources(): EntityId[];
1300
- isEmpty(): boolean;
1301
- clear(): void;
1302
- onChanged(): ISubscription<() => void>;
1303
- canBeAddedToSelection(entity: EntityId): boolean;
1304
- }
1305
- export interface ISeriesApi {
1306
- isUserEditEnabled(): boolean;
1307
- setUserEditEnabled(enabled: boolean): void;
1308
- mergeUp(): void;
1309
- mergeDown(): void;
1310
- unmergeUp(): void;
1311
- unmergeDown(): void;
1312
- detachToRight(): void;
1313
- detachToLeft(): void;
1314
- detachNoScale(): void;
1315
- changePriceScale(newPriceScale: SeriesPriceScale): void;
1316
- isVisible(): boolean;
1317
- setVisible(visible: boolean): void;
1318
- bringToFront(): void;
1319
- sendToBack(): void;
1320
- entityId(): EntityId;
1321
- chartStyleProperties<T extends ChartStyle>(chartStyle: T): SeriesPreferencesMap[T];
1322
- setChartStyleProperties<T extends ChartStyle>(chartStyle: T, newPrefs: Partial<SeriesPreferencesMap[T]>): void;
1323
- }
1324
- export interface ISettingsAdapter {
1325
- initialSettings?: InitialSettingsMap;
1326
- setValue(key: string, value: string): void;
1327
- removeValue(key: string): void;
1328
- }
1329
- export interface IShapesGroupControllerApi {
1330
- createGroupFromSelection(): ShapesGroupId;
1331
- removeGroup(groupId: ShapesGroupId): void;
1332
- groups(): readonly ShapesGroupId[];
1333
- shapesInGroup(groupId: ShapesGroupId): readonly EntityId[];
1334
- excludeShapeFromGroup(groupId: ShapesGroupId, shapeId: EntityId): void;
1335
- availableZOrderOperations(groupId: ShapesGroupId): AvailableZOrderOperations;
1336
- bringToFront(groupId: ShapesGroupId): void;
1337
- sendToBack(groupId: ShapesGroupId): void;
1338
- bringForward(groupId: ShapesGroupId): void;
1339
- sendBackward(groupId: ShapesGroupId): void;
1340
- insertAfter(groupId: ShapesGroupId, target: ShapesGroupId | EntityId): void;
1341
- insertBefore(groupId: ShapesGroupId, target: ShapesGroupId | EntityId): void;
1342
- setGroupVisibility(groupId: ShapesGroupId, value: boolean): void;
1343
- groupVisibility(groupId: ShapesGroupId): GroupVisibilityState;
1344
- setGroupLock(groupId: ShapesGroupId, value: boolean): void;
1345
- groupLock(groupId: ShapesGroupId): GroupLockState;
1346
- getGroupName(groupId: ShapesGroupId): string;
1347
- setGroupName(groupId: ShapesGroupId, name: string): void;
1348
- canBeGroupped(shapes: readonly EntityId[]): boolean;
1349
- }
1350
- export interface IStudyApi {
1351
- isUserEditEnabled(): boolean;
1352
- setUserEditEnabled(enabled: boolean): void;
1353
- getInputsInfo(): StudyInputInfo[];
1354
- getInputValues(): StudyInputValueItem[];
1355
- setInputValues(values: StudyInputValueItem[]): void;
1356
- mergeUp(): void;
1357
- mergeDown(): void;
1358
- unmergeUp(): void;
1359
- unmergeDown(): void;
1360
- changePriceScale(newPriceScale: StudyPriceScale | EntityId): void;
1361
- isVisible(): boolean;
1362
- setVisible(visible: boolean): void;
1363
- bringToFront(): void;
1364
- sendToBack(): void;
1365
- applyOverrides<TOverrides extends StudyOverrides>(overrides: TOverrides): void;
1366
- applyToEntireLayout(): void;
1367
- onDataLoaded(): ISubscription<() => void>;
1368
- onStudyError(): ISubscription<() => void>;
1369
- }
1370
- export interface ISubscription<TFunc extends Function> {
1371
- subscribe(obj: object | null, member: TFunc, singleshot?: boolean): void;
1372
- unsubscribe(obj: object | null, member: TFunc): void;
1373
- unsubscribeAll(obj: object | null): void;
1374
- }
1375
- export interface ISymbolValueFormatter {
1376
- format(price: number, signPositive?: boolean): string;
1377
- }
1378
- export interface ITimeScaleApi {
1379
- coordinateToTime(x: number): number | null;
1380
- /**
1381
- * This is to detect when the chart has been zoomed in/out
1382
- */
1383
- barSpacingChanged(): ISubscription<(newBarSpacing: number) => void>;
1384
- /**
1385
- * This is to detect when the chart has been scrolled left/right
1386
- */
1387
- rightOffsetChanged(): ISubscription<(rightOffset: number) => void>;
1388
- }
1389
- export interface IWatchListApi {
1390
- defaultList(): string[];
1391
- getList(id?: string): string[] | null;
1392
- getAllLists(): WatchListSymbolListMap | null;
1393
- setActiveList(id: string): void;
1394
- getActiveListId(): string | null;
1395
- setList(symbols: string[]): void;
1396
- updateList(listId: string, symbols: string[]): void;
1397
- renameList(listId: string, newName: string): void;
1398
- createList(listName?: string, symbols?: string[]): WatchListSymbolList | null;
1399
- saveList(list: WatchListSymbolList): boolean;
1400
- deleteList(listId: string): void;
1401
- onListChanged(): ISubscription<WatchListSymbolListChangedCallback>;
1402
- onActiveListChanged(): ISubscription<EmptyCallback>;
1403
- onListAdded(): ISubscription<WatchListSymbolListAddedCallback>;
1404
- onListRemoved(): ISubscription<WatchListSymbolListRemovedCallback>;
1405
- onListRenamed(): ISubscription<WatchListSymbolListRenamedCallback>;
1406
- }
1407
- export interface IWatchedValue<T> extends IWatchedValueReadonly<T>, IObservableValue<T> {
1408
- setValue(value: T, forceUpdate?: boolean): void;
1409
- subscribe(callback: WatchedValueCallback<T>, options?: WatchedValueSubscribeOptions): void;
1410
- unsubscribe(callback?: WatchedValueCallback<T> | null): void;
1411
- }
1412
- export interface IWatchedValueReadonly<T> extends IObservableValueReadOnly<T> {
1413
- subscribe(callback: (value: T) => void, options?: WatchedValueSubscribeOptions): void;
1414
- unsubscribe(callback?: ((value: T) => void) | null): void;
1415
- }
1416
- export interface InitialSettingsMap {
1417
- [key: string]: string;
1418
- }
1419
- export interface InstrumentInfo {
1420
- qty: QuantityMetainfo;
1421
- pipValue: number;
1422
- pipSize: number;
1423
- minTick: number;
1424
- lotSize?: number;
1425
- type?: SymbolType;
1426
- units?: string;
1427
- brokerSymbol?: string;
1428
- description: string;
1429
- domVolumePrecision?: number;
1430
- leverage?: string;
1431
- marginRate?: number;
1432
- limitPriceStep?: number;
1433
- stopPriceStep?: number;
1434
- allowedDurations?: string[];
1435
- currency?: string;
1436
- baseCurrency?: string;
1437
- quoteCurrency?: string;
1438
- bigPointValue?: number;
1439
- }
1440
- export interface IsTradableResult {
1441
- tradable: boolean;
1442
- reason?: string;
1443
- solutions?: TradableSolutions;
1444
- shortReason?: string;
1445
- }
1446
- export interface KagiStylePreferences {
1447
- upColor: string;
1448
- downColor: string;
1449
- upColorProjection: string;
1450
- downColorProjection: string;
1451
- }
1452
- export interface LibrarySymbolInfo {
1453
- /**
1454
- * Symbol Name
1455
- */
1456
- name: string;
1457
- full_name: string;
1458
- base_name?: [
1459
- string
1460
- ];
1461
- /**
1462
- * Unique symbol id
1463
- */
1464
- ticker?: string;
1465
- description: string;
1466
- type: string;
1467
- /**
1468
- * @example "1700-0200"
1469
- */
1470
- session: string;
1471
- session_display?: string;
1472
- /** @deprecated Use session_holidays instead */
1473
- holidays?: string;
1474
- /**
1475
- * @example "20181105,20181107,20181112"
1476
- */
1477
- session_holidays?: string;
1478
- /**
1479
- * @example "1900F4-2350F4,1000-1845:20181113;1000-1400:20181114"
1480
- */
1481
- corrections?: string;
1482
- /**
1483
- * Traded exchange
1484
- * @example "NYSE"
1485
- */
1486
- exchange: string;
1487
- listed_exchange: string;
1488
- timezone: Timezone;
1489
- /**
1490
- * Prices format: "price" or "volume"
1491
- */
1492
- format: SeriesFormat;
1493
- /**
1494
- * Code (Tick)
1495
- * @example 8/16/.../256 (1/8/100 1/16/100 ... 1/256/100) or 1/10/.../10000000 (1 0.1 ... 0.0000001)
1496
- */
1497
- pricescale: number;
1498
- /**
1499
- * The number of units that make up one tick.
1500
- * @example For example, U.S. equities are quotes in decimals, and tick in decimals, and can go up +/- .01. So the tick increment is 1. But the e-mini S&P futures contract, though quoted in decimals, goes up in .25 increments, so the tick increment is 25. (see also Tick Size)
1501
- */
1502
- minmov: number;
1503
- fractional?: boolean;
1504
- /**
1505
- * @example Quarters of 1/32: pricescale=128, minmovement=1, minmovement2=4
1506
- */
1507
- minmove2?: number;
1508
- /**
1509
- * false if DWM only
1510
- */
1511
- has_intraday?: boolean;
1512
- /**
1513
- * An array of resolutions which should be enabled in resolutions picker for this symbol.
1514
- */
1515
- supported_resolutions: ResolutionString[];
1516
- /**
1517
- * @example (for ex.: "1,5,60") - only these resolutions will be requested, all others will be built using them if possible
1518
- */
1519
- intraday_multipliers?: string[];
1520
- has_seconds?: boolean;
1521
- has_ticks?: boolean;
1522
- /**
1523
- * It is an array containing seconds resolutions (in seconds without a postfix) the datafeed builds by itself.
1524
- */
1525
- seconds_multipliers?: string[];
1526
- has_daily?: boolean;
1527
- has_weekly_and_monthly?: boolean;
1528
- has_empty_bars?: boolean;
1529
- has_no_volume?: boolean;
1530
- /**
1531
- * Integer showing typical volume value decimal places for this symbol
1532
- */
1533
- volume_precision?: number;
1534
- data_status?: "streaming" | "endofday" | "pulsed" | "delayed_streaming";
1535
- /**
1536
- * Boolean showing whether this symbol is expired futures contract or not.
1537
- */
1538
- expired?: boolean;
1539
- /**
1540
- * Unix timestamp of expiration date.
1541
- */
1542
- expiration_date?: number;
1543
- sector?: string;
1544
- industry?: string;
1545
- currency_code?: string;
1546
- original_currency_code?: string;
1547
- unit_id?: string;
1548
- original_unit_id?: string;
1549
- unit_conversion_types?: string[];
1550
- }
1551
- export interface LineBreakStylePreferences {
1552
- upColor: string;
1553
- downColor: string;
1554
- borderUpColor: string;
1555
- borderDownColor: string;
1556
- upColorProjection: string;
1557
- downColorProjection: string;
1558
- borderUpColorProjection: string;
1559
- borderDownColorProjection: string;
1560
- }
1561
- export interface LineStylePreferences {
1562
- color: string;
1563
- linestyle: number;
1564
- linewidth: number;
1565
- styleType: number;
1566
- }
1567
- export interface LoadingScreenOptions {
1568
- foregroundColor?: string;
1569
- backgroundColor?: string;
1570
- }
1571
- export interface Mark {
1572
- id: string | number;
1573
- time: number;
1574
- color: MarkConstColors | MarkCustomColor;
1575
- text: string;
1576
- label: string;
1577
- labelFontColor: string;
1578
- minSize: number;
1579
- }
1580
- export interface MarkCustomColor {
1581
- color: string;
1582
- background: string;
1583
- }
1584
- export interface MenuSeparator extends ActionDescription {
1585
- separator: boolean;
1586
- }
1587
- export interface MouseEventParams {
1588
- clientX: number;
1589
- clientY: number;
1590
- pageX: number;
1591
- pageY: number;
1592
- screenX: number;
1593
- screenY: number;
1594
- }
1595
- export interface NegativeBaseInputFieldValidatorResult extends BaseInputFieldValidatorResult {
1596
- valid: false;
1597
- errorMessage: string;
1598
- }
1599
- export interface NewsItem {
1600
- title: string;
1601
- source: string;
1602
- published: number;
1603
- link?: string;
1604
- shortDescription?: string;
1605
- fullDescription?: string;
1606
- }
1607
- export interface NumericFormattingParams {
1608
- decimal_sign: string;
1609
- }
1610
- export interface OrderDialogOptions extends TradingDialogOptions {
1611
- }
1612
- export interface OrderDuration {
1613
- /**
1614
- * type is OrderDurationMetaInfo.value
1615
- */
1616
- type: string;
1617
- datetime?: number;
1618
- }
1619
- export interface OrderDurationMetaInfo {
1620
- hasDatePicker?: boolean;
1621
- hasTimePicker?: boolean;
1622
- default?: boolean;
1623
- name: string;
1624
- value: string;
1625
- supportedOrderTypes?: OrderType[];
1626
- }
1627
- export interface OrderOrPositionMessage {
1628
- type: OrderOrPositionMessageType;
1629
- text: string;
1630
- }
1631
- export interface OrderPreviewResult {
1632
- sections: OrderPreviewSection[];
1633
- confirmId?: string;
1634
- warnings?: string[];
1635
- errors?: string[];
1636
- }
1637
- export interface OrderPreviewSection {
1638
- rows: OrderPreviewSectionRow[];
1639
- header?: string;
1640
- }
1641
- export interface OrderPreviewSectionRow {
1642
- title: string;
1643
- value: string;
1644
- }
1645
- export interface OrderRule {
1646
- id: string;
1647
- severity: "warning" | "error";
1648
- }
1649
- export interface OrderTableColumn extends AccountManagerColumn {
1650
- supportedStatusFilters?: OrderStatusFilter[];
1651
- }
1652
- /**
1653
- * Input value of the order ticket
1654
- * This info is not sufficient to place an order
1655
- */
1656
- export interface OrderTemplate {
1657
- symbol: string;
1658
- type?: OrderType;
1659
- side?: Side;
1660
- qty?: number;
1661
- stopPrice?: number;
1662
- limitPrice?: number;
1663
- takeProfit?: number;
1664
- stopLoss?: number;
1665
- trailingStopPips?: number;
1666
- duration?: OrderDuration;
1667
- customFields?: CustomInputFieldsValues;
1668
- }
1669
- export interface Overrides {
1670
- [key: string]: string | number | boolean;
1671
- }
1672
- export interface PeriodParams {
1673
- from: number;
1674
- to: number;
1675
- countBack: number;
1676
- firstDataRequest: boolean;
1677
- }
1678
- export interface PipValues {
1679
- buyPipValue: number;
1680
- sellPipValue: number;
1681
- }
1682
- export interface PlaceOrderResult {
1683
- orderId?: string;
1684
- }
1685
- /**
1686
- * Info about a placed order
1687
- */
1688
- export interface PlacedOrder extends CustomFields {
1689
- id: string;
1690
- symbol: string;
1691
- type: OrderType;
1692
- side: Side;
1693
- qty: number;
1694
- status: OrderStatus;
1695
- stopLoss?: number;
1696
- trailingStopPips?: number;
1697
- stopType?: StopType;
1698
- takeProfit?: number;
1699
- duration?: OrderDuration;
1700
- customFields?: CustomInputFieldsValues;
1701
- filledQty?: number;
1702
- avgPrice?: number;
1703
- updateTime?: number; /** unix timestamp in milliseconds */
1704
- limitPrice?: number;
1705
- stopPrice?: number;
1706
- message?: OrderOrPositionMessage;
1707
- }
1708
- export interface PlusClickParams extends MouseEventParams {
1709
- symbol: string | null;
1710
- price: number;
1711
- }
1712
- export interface PnFStylePreferences {
1713
- upColor: string;
1714
- downColor: string;
1715
- upColorProjection: string;
1716
- downColorProjection: string;
1717
- }
1718
- export interface Position {
1719
- id: string;
1720
- symbol: string;
1721
- qty: number;
1722
- shortQty?: number;
1723
- longQty?: number;
1724
- side: Side;
1725
- avgPrice: number;
1726
- message?: OrderOrPositionMessage;
1727
- [key: string]: any;
1728
- }
1729
- export interface PositionDialogOptions extends TradingDialogOptions {
1730
- }
1731
- export interface PositiveBaseInputFieldValidatorResult extends BaseInputFieldValidatorResult {
1732
- valid: true;
1733
- }
1734
- /**
1735
- * Output value of the order ticket and input value of the broker's place order command
1736
- * This info is sufficient to place an order
1737
- */
1738
- export interface PreOrder extends OrderTemplate {
1739
- symbol: string;
1740
- type: OrderType;
1741
- side: Side;
1742
- qty: number;
1743
- seenPrice: number | null;
1744
- isClose?: boolean;
1745
- }
1746
- export interface PricedPoint extends TimePoint {
1747
- price: number;
1748
- }
1749
- export interface QuantityMetainfo {
1750
- min: number;
1751
- max: number;
1752
- step: number;
1753
- uiStep?: number;
1754
- default?: number;
1755
- }
1756
- export interface QuoteErrorData {
1757
- s: "error";
1758
- n: string;
1759
- v: object;
1760
- }
1761
- export interface QuoteOkData {
1762
- s: "ok";
1763
- n: string;
1764
- v: DatafeedQuoteValues;
1765
- }
1766
- export interface RenkoStylePreferences {
1767
- upColor: string;
1768
- downColor: string;
1769
- borderUpColor: string;
1770
- borderDownColor: string;
1771
- upColorProjection: string;
1772
- downColorProjection: string;
1773
- borderUpColorProjection: string;
1774
- borderDownColorProjection: string;
1775
- wickUpColor: string;
1776
- wickDownColor: string;
1777
- }
1778
- export interface RestBrokerConnectionInfo {
1779
- url: string;
1780
- access_token: string;
1781
- }
1782
- export interface RssNewsFeedInfo {
1783
- url: string;
1784
- name: string;
1785
- }
1786
- export interface RssNewsFeedParams {
1787
- default: RssNewsFeedItem;
1788
- [symbolType: string]: RssNewsFeedItem;
1789
- }
1790
- export interface SaveChartToServerOptions {
1791
- chartName?: string;
1792
- defaultChartName?: string;
1793
- }
1794
- export interface SaveLoadChartRecord {
1795
- id: string;
1796
- name: string;
1797
- image_url: string;
1798
- modified_iso: number;
1799
- short_symbol: string;
1800
- interval: ResolutionString;
1801
- }
1802
- export interface SavedStateMetaInfo {
1803
- uid: number;
1804
- name: string;
1805
- description: string;
1806
- }
1807
- export interface SearchSymbolResultItem {
1808
- symbol: string;
1809
- full_name: string;
1810
- description: string;
1811
- exchange: string;
1812
- ticker: string;
1813
- type: string;
1814
- }
1815
- export interface SeriesFieldDescriptor {
1816
- type: "value";
1817
- sourceType: "series";
1818
- plotTitle: string;
1819
- sourceTitle: string;
1820
- }
1821
- export interface SeriesPreferencesMap {
1822
- [ChartStyle.Bar]: BarStylePreferences;
1823
- [ChartStyle.Candle]: CandleStylePreferences;
1824
- [ChartStyle.Line]: LineStylePreferences;
1825
- [ChartStyle.Area]: AreaStylePreferences;
1826
- [ChartStyle.Renko]: RenkoStylePreferences;
1827
- [ChartStyle.Kagi]: KagiStylePreferences;
1828
- [ChartStyle.PnF]: PnFStylePreferences;
1829
- [ChartStyle.LineBreak]: LineBreakStylePreferences;
1830
- [ChartStyle.HeikinAshi]: HeikinAshiStylePreferences;
1831
- [ChartStyle.HollowCandle]: HollowCandleStylePreferences;
1832
- [ChartStyle.Baseline]: BaselineStylePreferences;
1833
- [ChartStyle.HiLo]: HiLoStylePreferences;
1834
- }
1835
- export interface SetVisibleRangeOptions {
1836
- applyDefaultRightMargin?: boolean;
1837
- percentRightMargin?: number;
1838
- }
1839
- export interface SingleBrokerMetaInfo {
1840
- configFlags: BrokerConfigFlags;
1841
- customNotificationFields?: string[];
1842
- durations?: OrderDurationMetaInfo[];
1843
- positionDialogOptions?: PositionDialogOptions;
1844
- orderRules?: OrderRule[];
1845
- customUI?: BrokerCustomUI;
1846
- }
1847
- export interface SortingParameters {
1848
- columnId: string;
1849
- asc?: boolean;
1850
- }
1851
- export interface StickedPoint extends TimePoint {
1852
- channel: "open" | "high" | "low" | "close";
1853
- }
1854
- export interface StudyFieldDescriptor {
1855
- type: "value";
1856
- sourceType: "study";
1857
- sourceId: string;
1858
- sourceTitle: string;
1859
- plotTitle: string;
1860
- }
1861
- export interface StudyInputInfo {
1862
- id: StudyInputId;
1863
- name: string;
1864
- type: string;
1865
- localizedName: string;
1866
- }
1867
- export interface StudyInputValueItem {
1868
- id: StudyInputId;
1869
- value: StudyInputValue;
1870
- }
1871
- export interface StudyOrDrawingAddedToChartEventParams {
1872
- value: string;
1873
- }
1874
- export interface StudyOverrides {
1875
- [key: string]: StudyOverrideValueType;
1876
- }
1877
- export interface StudyTemplateData {
1878
- name: string;
1879
- content: string;
1880
- }
1881
- export interface StudyTemplateMetaInfo {
1882
- name: string;
1883
- }
1884
- export interface SubscribeEventsMap {
1885
- toggle_sidebar: (isHidden: boolean) => void;
1886
- indicators_dialog: EmptyCallback;
1887
- toggle_header: (isHidden: boolean) => void;
1888
- edit_object_dialog: (params: EditObjectDialogEventParams) => void;
1889
- chart_load_requested: (savedData: object) => void;
1890
- chart_loaded: EmptyCallback;
1891
- mouse_down: (params: MouseEventParams) => void;
1892
- mouse_up: (params: MouseEventParams) => void;
1893
- drawing: (params: StudyOrDrawingAddedToChartEventParams) => void;
1894
- study: (params: StudyOrDrawingAddedToChartEventParams) => void;
1895
- undo: EmptyCallback;
1896
- redo: EmptyCallback;
1897
- undo_redo_state_changed: (state: UndoRedoState) => void;
1898
- reset_scales: EmptyCallback;
1899
- compare_add: EmptyCallback;
1900
- add_compare: EmptyCallback;
1901
- "load_study template": EmptyCallback;
1902
- onTick: (tick: Bar) => void;
1903
- onAutoSaveNeeded: EmptyCallback;
1904
- onScreenshotReady: (url: string) => void;
1905
- onMarkClick: (markId: Mark["id"]) => void;
1906
- onPlusClick: (params: PlusClickParams) => void;
1907
- onTimescaleMarkClick: (markId: TimescaleMark["id"]) => void;
1908
- onSelectedLineToolChanged: EmptyCallback;
1909
- layout_about_to_be_changed: (newLayoutType: LayoutType) => void;
1910
- layout_changed: EmptyCallback;
1911
- activeChartChanged: (chartIndex: number) => void;
1912
- series_event: (seriesEventType: SeriesEventType) => void;
1913
- study_event: (entityId: EntityId, studyEventType: StudyEventType) => void;
1914
- drawing_event: (sourceId: EntityId, drawingEventType: DrawingEventType) => void;
1915
- study_properties_changed: (id: EntityId) => void;
1916
- series_properties_changed: (id: EntityId) => void;
1917
- panes_height_changed: () => void;
1918
- panes_order_changed: () => void;
1919
- }
1920
- export interface SuccessFormatterParseResult<T> extends FormatterParseResult {
1921
- res: true;
1922
- value: T;
1923
- suggest?: string;
1924
- }
1925
- export interface SuggestedQuantity {
1926
- changed: IDelegate<(symbol: string) => void>;
1927
- value(symbol: string): Promise<number>;
1928
- setValue(symbol: string, value: number): void;
1929
- }
1930
- export interface SymbolExt {
1931
- symbol: string;
1932
- full_name: string;
1933
- exchange: string;
1934
- description: string;
1935
- type: string;
1936
- pro_name: string;
1937
- }
1938
- export interface SymbolIntervalResult {
1939
- symbol: string;
1940
- interval: ResolutionString;
1941
- }
1942
- export interface SymbolResolveExtension {
1943
- currencyCode?: string;
1944
- unitId?: string;
1945
- }
1946
- export interface TextWithCheckboxFieldCustomInfo {
1947
- checkboxTitle: string;
1948
- asterix?: boolean;
1949
- }
1950
- export interface TextWithCheckboxFieldMetaInfo extends CustomInputFieldMetaInfo {
1951
- inputType: "TextWithCheckBox";
1952
- value: TextWithCheckboxValue;
1953
- customInfo: TextWithCheckboxFieldCustomInfo;
1954
- validator?: TextInputFieldValidator;
1955
- }
1956
- export interface TextWithCheckboxValue {
1957
- text: string;
1958
- checked: boolean;
1959
- }
1960
- export interface TimeFieldDescriptor {
1961
- type: "time";
1962
- }
1963
- export interface TimeFrameItem {
1964
- text: string;
1965
- resolution: ResolutionString;
1966
- description?: string;
1967
- title?: string;
1968
- }
1969
- export interface TimeFramePeriodBack {
1970
- type: TimeFrameType.PeriodBack;
1971
- value: string;
1972
- }
1973
- export interface TimeFrameTimeRange {
1974
- type: TimeFrameType.TimeRange;
1975
- from: number;
1976
- to: number;
1977
- }
1978
- export interface TimePoint {
1979
- time: number;
1980
- }
1981
- export interface TimeScaleOptions {
1982
- min_bar_spacing?: number;
1983
- }
1984
- export interface TimescaleMark {
1985
- id: string | number;
1986
- time: number;
1987
- color: MarkConstColors | string;
1988
- label: string;
1989
- tooltip: string[];
1990
- }
1991
- export interface Trade extends CustomFields {
1992
- id: string;
1993
- date: number;
1994
- symbol: string;
1995
- qty: number;
1996
- side: Side;
1997
- price: number;
1998
- }
1999
- export interface TradeContext {
2000
- symbol: string;
2001
- displaySymbol: string;
2002
- value: number | null;
2003
- formattedValue: string;
2004
- last: number;
2005
- }
2006
- export interface TradingCustomization {
2007
- position: Overrides;
2008
- order: Overrides;
2009
- }
2010
- export interface TradingDialogOptions {
2011
- customFields?: TradingDialogCustomField[];
2012
- }
2013
- export interface TradingQuotes {
2014
- trade?: number;
2015
- size?: number;
2016
- bid?: number;
2017
- bid_size?: number;
2018
- ask?: number;
2019
- ask_size?: number;
2020
- spread?: number;
2021
- isDelayed?: boolean;
2022
- }
2023
- export interface TradingTerminalWidgetOptions extends ChartingLibraryWidgetOptions {
2024
- brokerConfig?: SingleBrokerMetaInfo;
2025
- broker_config?: SingleBrokerMetaInfo;
2026
- restConfig?: RestBrokerConnectionInfo;
2027
- widgetbar?: WidgetBarParams;
2028
- rss_news_feed?: RssNewsFeedParams;
2029
- news_provider?: GetNewsFunction;
2030
- trading_customization?: TradingCustomization;
2031
- brokerFactory?(host: IBrokerConnectionAdapterHost): IBrokerWithoutRealtime | IBrokerTerminal;
2032
- broker_factory?(host: IBrokerConnectionAdapterHost): IBrokerWithoutRealtime | IBrokerTerminal;
2033
- }
2034
- export interface UndoOptions {
2035
- disableUndo?: boolean;
2036
- }
2037
- export interface UndoRedoState {
2038
- readonly enableUndo: boolean;
2039
- readonly undoText: string | undefined;
2040
- readonly enableRedo: boolean;
2041
- readonly redoText: string | undefined;
2042
- }
2043
- export interface Unit {
2044
- id: string;
2045
- name: string;
2046
- description: string;
2047
- }
2048
- export interface UserTimeFieldDescriptor {
2049
- type: "userTime";
2050
- }
2051
- export interface VisiblePriceRange {
2052
- from: number;
2053
- to: number;
2054
- }
2055
- export interface VisibleTimeRange {
2056
- from: number;
2057
- to: number;
2058
- }
2059
- export interface WatchListSymbolList extends WatchListSymbolListData {
2060
- id: string;
2061
- }
2062
- export interface WatchListSymbolListData {
2063
- symbols: string[];
2064
- title: string;
2065
- }
2066
- export interface WatchListSymbolListMap {
2067
- [listId: string]: WatchListSymbolList;
2068
- }
2069
- export interface WatchedValueSubscribeOptions {
2070
- once?: boolean;
2071
- callWithLast?: boolean;
2072
- }
2073
- export interface WidgetBarParams {
2074
- details?: boolean;
2075
- watchlist?: boolean;
2076
- news?: boolean;
2077
- datawindow?: boolean;
2078
- watchlist_settings?: {
2079
- default_symbols: string[];
2080
- readonly?: boolean;
2081
- };
2082
- }
2083
- export type CustomTimezones = "Africa/Cairo" | "Africa/Johannesburg" | "Africa/Lagos" | "America/Argentina/Buenos_Aires" | "America/Bogota" | "America/Caracas" | "America/Chicago" | "America/El_Salvador" | "America/Juneau" | "America/Lima" | "America/Los_Angeles" | "America/Mexico_City" | "America/New_York" | "America/Phoenix" | "America/Santiago" | "America/Sao_Paulo" | "America/Toronto" | "America/Vancouver" | "Asia/Almaty" | "Asia/Ashkhabad" | "Asia/Bahrain" | "Asia/Bangkok" | "Asia/Chongqing" | "Asia/Dubai" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Jakarta" | "Asia/Jerusalem" | "Asia/Kathmandu" | "Asia/Kolkata" | "Asia/Kuwait" | "Asia/Muscat" | "Asia/Qatar" | "Asia/Riyadh" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Tehran" | "Asia/Tokyo" | "Atlantic/Reykjavik" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Perth" | "Australia/Sydney" | "Europe/Amsterdam" | "Europe/Athens" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Brussels" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Helsinki" | "Europe/Istanbul" | "Europe/Lisbon" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Moscow" | "Europe/Oslo" | "Europe/Paris" | "Europe/Riga" | "Europe/Rome" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Vilnius" | "Europe/Warsaw" | "Europe/Zurich" | "Pacific/Auckland" | "Pacific/Chatham" | "Pacific/Fakaofo" | "Pacific/Honolulu" | "Pacific/Norfolk" | "US/Mountain";
2084
-
2085
- export as namespace TradingView;
2086
-
2087
- export {};