@refinitiv-ui/efx-grid 6.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (837) hide show
  1. package/LICENSE +17 -0
  2. package/README.md +61 -0
  3. package/lib/column-format-dialog/index.d.ts +1 -0
  4. package/lib/column-format-dialog/index.js +1 -0
  5. package/lib/column-format-dialog/lib/column-format-dialog.d.ts +64 -0
  6. package/lib/column-format-dialog/lib/column-format-dialog.js +2713 -0
  7. package/lib/column-format-dialog/lib/locale/translation-de.d.ts +7 -0
  8. package/lib/column-format-dialog/lib/locale/translation-de.js +94 -0
  9. package/lib/column-format-dialog/lib/locale/translation-en.d.ts +7 -0
  10. package/lib/column-format-dialog/lib/locale/translation-en.js +94 -0
  11. package/lib/column-format-dialog/lib/locale/translation-ja.d.ts +7 -0
  12. package/lib/column-format-dialog/lib/locale/translation-ja.js +94 -0
  13. package/lib/column-format-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  14. package/lib/column-format-dialog/lib/locale/translation-zh-hant.js +94 -0
  15. package/lib/column-format-dialog/lib/locale/translation-zh.d.ts +7 -0
  16. package/lib/column-format-dialog/lib/locale/translation-zh.js +94 -0
  17. package/lib/column-format-dialog/lib/locale/translation.d.ts +11 -0
  18. package/lib/column-format-dialog/lib/locale/translation.js +18 -0
  19. package/lib/column-format-dialog/lib/preview-table.d.ts +151 -0
  20. package/lib/column-format-dialog/lib/preview-table.js +995 -0
  21. package/lib/column-format-dialog/themes/base.less +429 -0
  22. package/lib/column-format-dialog/themes/elemental/column-format-dialog.less +1 -0
  23. package/lib/column-format-dialog/themes/elemental/dark/column-format-dialog.js +4 -0
  24. package/lib/column-format-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  25. package/lib/column-format-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
  26. package/lib/column-format-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
  27. package/lib/column-format-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
  28. package/lib/column-format-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  29. package/lib/column-format-dialog/themes/elemental/dark.js +16 -0
  30. package/lib/column-format-dialog/themes/elemental/defaults.less +1 -0
  31. package/lib/column-format-dialog/themes/elemental/index.less +5 -0
  32. package/lib/column-format-dialog/themes/elemental/light/column-format-dialog.js +4 -0
  33. package/lib/column-format-dialog/themes/elemental/light/css/native-elements.css +0 -0
  34. package/lib/column-format-dialog/themes/elemental/light/es5/all-elements.js +2 -0
  35. package/lib/column-format-dialog/themes/elemental/light/imports/all-elements.js +1 -0
  36. package/lib/column-format-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
  37. package/lib/column-format-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  38. package/lib/column-format-dialog/themes/elemental/light.js +16 -0
  39. package/lib/column-format-dialog/themes/halo/column-format-dialog.less +6 -0
  40. package/lib/column-format-dialog/themes/halo/dark/column-format-dialog.js +4 -0
  41. package/lib/column-format-dialog/themes/halo/dark/css/native-elements.css +0 -0
  42. package/lib/column-format-dialog/themes/halo/dark/es5/all-elements.js +2 -0
  43. package/lib/column-format-dialog/themes/halo/dark/imports/all-elements.js +1 -0
  44. package/lib/column-format-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
  45. package/lib/column-format-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  46. package/lib/column-format-dialog/themes/halo/dark.js +16 -0
  47. package/lib/column-format-dialog/themes/halo/defaults.less +1 -0
  48. package/lib/column-format-dialog/themes/halo/index.less +5 -0
  49. package/lib/column-format-dialog/themes/halo/light/column-format-dialog.js +4 -0
  50. package/lib/column-format-dialog/themes/halo/light/css/native-elements.css +0 -0
  51. package/lib/column-format-dialog/themes/halo/light/es5/all-elements.js +2 -0
  52. package/lib/column-format-dialog/themes/halo/light/imports/all-elements.js +1 -0
  53. package/lib/column-format-dialog/themes/halo/light/imports/custom-elements.js +1 -0
  54. package/lib/column-format-dialog/themes/halo/light/imports/native-elements.js +0 -0
  55. package/lib/column-format-dialog/themes/halo/light.js +16 -0
  56. package/lib/column-format-dialog/themes/luna/column-format-dialog.less +1 -0
  57. package/lib/column-format-dialog/themes/luna/default/column-format-dialog.js +4 -0
  58. package/lib/column-format-dialog/themes/luna/default/css/native-elements.css +0 -0
  59. package/lib/column-format-dialog/themes/luna/default/es5/all-elements.js +2 -0
  60. package/lib/column-format-dialog/themes/luna/default/imports/all-elements.js +1 -0
  61. package/lib/column-format-dialog/themes/luna/default/imports/custom-elements.js +1 -0
  62. package/lib/column-format-dialog/themes/luna/default/imports/native-elements.js +0 -0
  63. package/lib/column-format-dialog/themes/luna/defaults.less +1 -0
  64. package/lib/column-format-dialog/themes/luna/index.less +5 -0
  65. package/lib/column-format-dialog/themes/solar/charcoal/column-format-dialog.js +4 -0
  66. package/lib/column-format-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  67. package/lib/column-format-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
  68. package/lib/column-format-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
  69. package/lib/column-format-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
  70. package/lib/column-format-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  71. package/lib/column-format-dialog/themes/solar/charcoal.js +16 -0
  72. package/lib/column-format-dialog/themes/solar/column-format-dialog.less +6 -0
  73. package/lib/column-format-dialog/themes/solar/defaults.less +1 -0
  74. package/lib/column-format-dialog/themes/solar/index.less +5 -0
  75. package/lib/column-format-dialog/themes/solar/pearl/column-format-dialog.js +4 -0
  76. package/lib/column-format-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  77. package/lib/column-format-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
  78. package/lib/column-format-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
  79. package/lib/column-format-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
  80. package/lib/column-format-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  81. package/lib/column-format-dialog/themes/solar/pearl.js +16 -0
  82. package/lib/column-selection-dialog/index.d.ts +1 -0
  83. package/lib/column-selection-dialog/index.js +1 -0
  84. package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +41 -0
  85. package/lib/column-selection-dialog/lib/column-selection-dialog.js +1410 -0
  86. package/lib/column-selection-dialog/lib/locale/translation-de.d.ts +7 -0
  87. package/lib/column-selection-dialog/lib/locale/translation-de.js +19 -0
  88. package/lib/column-selection-dialog/lib/locale/translation-en.d.ts +7 -0
  89. package/lib/column-selection-dialog/lib/locale/translation-en.js +19 -0
  90. package/lib/column-selection-dialog/lib/locale/translation-ja.d.ts +7 -0
  91. package/lib/column-selection-dialog/lib/locale/translation-ja.js +19 -0
  92. package/lib/column-selection-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  93. package/lib/column-selection-dialog/lib/locale/translation-zh-hant.js +19 -0
  94. package/lib/column-selection-dialog/lib/locale/translation-zh.d.ts +7 -0
  95. package/lib/column-selection-dialog/lib/locale/translation-zh.js +19 -0
  96. package/lib/column-selection-dialog/lib/locale/translation.d.ts +11 -0
  97. package/lib/column-selection-dialog/lib/locale/translation.js +18 -0
  98. package/lib/column-selection-dialog/themes/base.less +189 -0
  99. package/lib/column-selection-dialog/themes/elemental/column-selection-dialog.less +1 -0
  100. package/lib/column-selection-dialog/themes/elemental/dark/column-selection-dialog.js +4 -0
  101. package/lib/column-selection-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  102. package/lib/column-selection-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
  103. package/lib/column-selection-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
  104. package/lib/column-selection-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
  105. package/lib/column-selection-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  106. package/lib/column-selection-dialog/themes/elemental/dark.js +6 -0
  107. package/lib/column-selection-dialog/themes/elemental/defaults.less +1 -0
  108. package/lib/column-selection-dialog/themes/elemental/index.less +5 -0
  109. package/lib/column-selection-dialog/themes/elemental/light/column-selection-dialog.js +4 -0
  110. package/lib/column-selection-dialog/themes/elemental/light/css/native-elements.css +0 -0
  111. package/lib/column-selection-dialog/themes/elemental/light/es5/all-elements.js +2 -0
  112. package/lib/column-selection-dialog/themes/elemental/light/imports/all-elements.js +1 -0
  113. package/lib/column-selection-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
  114. package/lib/column-selection-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  115. package/lib/column-selection-dialog/themes/elemental/light.js +6 -0
  116. package/lib/column-selection-dialog/themes/halo/column-selection-dialog.less +22 -0
  117. package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +4 -0
  118. package/lib/column-selection-dialog/themes/halo/dark/css/native-elements.css +0 -0
  119. package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +2 -0
  120. package/lib/column-selection-dialog/themes/halo/dark/imports/all-elements.js +1 -0
  121. package/lib/column-selection-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
  122. package/lib/column-selection-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  123. package/lib/column-selection-dialog/themes/halo/dark.js +6 -0
  124. package/lib/column-selection-dialog/themes/halo/defaults.less +1 -0
  125. package/lib/column-selection-dialog/themes/halo/index.less +6 -0
  126. package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +4 -0
  127. package/lib/column-selection-dialog/themes/halo/light/css/native-elements.css +0 -0
  128. package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +2 -0
  129. package/lib/column-selection-dialog/themes/halo/light/imports/all-elements.js +1 -0
  130. package/lib/column-selection-dialog/themes/halo/light/imports/custom-elements.js +1 -0
  131. package/lib/column-selection-dialog/themes/halo/light/imports/native-elements.js +0 -0
  132. package/lib/column-selection-dialog/themes/halo/light.js +6 -0
  133. package/lib/column-selection-dialog/themes/solar/charcoal/column-selection-dialog.js +4 -0
  134. package/lib/column-selection-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  135. package/lib/column-selection-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
  136. package/lib/column-selection-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
  137. package/lib/column-selection-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
  138. package/lib/column-selection-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  139. package/lib/column-selection-dialog/themes/solar/charcoal.js +6 -0
  140. package/lib/column-selection-dialog/themes/solar/column-selection-dialog.less +1 -0
  141. package/lib/column-selection-dialog/themes/solar/defaults.less +1 -0
  142. package/lib/column-selection-dialog/themes/solar/index.less +6 -0
  143. package/lib/column-selection-dialog/themes/solar/pearl/column-selection-dialog.js +4 -0
  144. package/lib/column-selection-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  145. package/lib/column-selection-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
  146. package/lib/column-selection-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
  147. package/lib/column-selection-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
  148. package/lib/column-selection-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  149. package/lib/column-selection-dialog/themes/solar/pearl.js +6 -0
  150. package/lib/core/dist/core.css +1 -0
  151. package/lib/core/dist/core.js +28075 -0
  152. package/lib/core/dist/core.min.js +1 -0
  153. package/lib/core/es6/data/ColumnStats.d.ts +42 -0
  154. package/lib/core/es6/data/ColumnStats.js +428 -0
  155. package/lib/core/es6/data/DataCache.d.ts +81 -0
  156. package/lib/core/es6/data/DataCache.js +1317 -0
  157. package/lib/core/es6/data/DataTable.d.ts +125 -0
  158. package/lib/core/es6/data/DataTable.js +1655 -0
  159. package/lib/core/es6/data/DataView.d.ts +280 -0
  160. package/lib/core/es6/data/DataView.js +3654 -0
  161. package/lib/core/es6/data/Segment.d.ts +38 -0
  162. package/lib/core/es6/data/Segment.js +193 -0
  163. package/lib/core/es6/data/SegmentCollection.d.ts +58 -0
  164. package/lib/core/es6/data/SegmentCollection.js +431 -0
  165. package/lib/core/es6/grid/Core.d.ts +387 -0
  166. package/lib/core/es6/grid/Core.js +4939 -0
  167. package/lib/core/es6/grid/ILayoutGrid.d.ts +204 -0
  168. package/lib/core/es6/grid/ILayoutGrid.js +658 -0
  169. package/lib/core/es6/grid/LayoutGrid.d.ts +23 -0
  170. package/lib/core/es6/grid/LayoutGrid.js +2602 -0
  171. package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +18 -0
  172. package/lib/core/es6/grid/VirtualizedLayoutGrid.js +907 -0
  173. package/lib/core/es6/grid/components/Cell.d.ts +50 -0
  174. package/lib/core/es6/grid/components/Cell.js +740 -0
  175. package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +19 -0
  176. package/lib/core/es6/grid/components/CellFloatingPanel.js +123 -0
  177. package/lib/core/es6/grid/components/CellSpan.d.ts +18 -0
  178. package/lib/core/es6/grid/components/CellSpan.js +99 -0
  179. package/lib/core/es6/grid/components/CellSpans.d.ts +38 -0
  180. package/lib/core/es6/grid/components/CellSpans.js +341 -0
  181. package/lib/core/es6/grid/components/Column.d.ts +22 -0
  182. package/lib/core/es6/grid/components/Column.js +612 -0
  183. package/lib/core/es6/grid/components/ElementWrapper.d.ts +125 -0
  184. package/lib/core/es6/grid/components/ElementWrapper.js +714 -0
  185. package/lib/core/es6/grid/components/HScrollbar.d.ts +24 -0
  186. package/lib/core/es6/grid/components/HScrollbar.js +222 -0
  187. package/lib/core/es6/grid/components/Scrollbar.d.ts +61 -0
  188. package/lib/core/es6/grid/components/Scrollbar.js +1374 -0
  189. package/lib/core/es6/grid/components/StretchedCells.d.ts +17 -0
  190. package/lib/core/es6/grid/components/StretchedCells.js +328 -0
  191. package/lib/core/es6/grid/components/VScrollbar.d.ts +18 -0
  192. package/lib/core/es6/grid/components/VScrollbar.js +139 -0
  193. package/lib/core/es6/grid/components/VirtualItems.d.ts +12 -0
  194. package/lib/core/es6/grid/components/VirtualItems.js +51 -0
  195. package/lib/core/es6/grid/event/EventDispatcher.d.ts +16 -0
  196. package/lib/core/es6/grid/event/EventDispatcher.js +138 -0
  197. package/lib/core/es6/grid/event/EventListeners.d.ts +34 -0
  198. package/lib/core/es6/grid/event/EventListeners.js +163 -0
  199. package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.d.ts +24 -0
  200. package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.js +615 -0
  201. package/lib/core/es6/grid/plugins/Plugin.d.ts +28 -0
  202. package/lib/core/es6/grid/plugins/Plugin.js +272 -0
  203. package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +127 -0
  204. package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +1707 -0
  205. package/lib/core/es6/grid/util/Conflator.d.ts +32 -0
  206. package/lib/core/es6/grid/util/Conflator.js +191 -0
  207. package/lib/core/es6/grid/util/ElementFrameWork.d.ts +18 -0
  208. package/lib/core/es6/grid/util/ElementFrameWork.js +227 -0
  209. package/lib/core/es6/grid/util/HttpRequest.d.ts +53 -0
  210. package/lib/core/es6/grid/util/HttpRequest.js +371 -0
  211. package/lib/core/es6/grid/util/PercentBar.d.ts +43 -0
  212. package/lib/core/es6/grid/util/PercentBar.js +390 -0
  213. package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +41 -0
  214. package/lib/core/es6/grid/util/PercentBarRenderer.js +316 -0
  215. package/lib/core/es6/grid/util/RangeBar.d.ts +25 -0
  216. package/lib/core/es6/grid/util/RangeBar.js +255 -0
  217. package/lib/core/es6/grid/util/Reverter.d.ts +14 -0
  218. package/lib/core/es6/grid/util/Reverter.js +79 -0
  219. package/lib/core/es6/grid/util/SectionSettings.d.ts +79 -0
  220. package/lib/core/es6/grid/util/SectionSettings.js +674 -0
  221. package/lib/core/es6/grid/util/SelectionList.d.ts +50 -0
  222. package/lib/core/es6/grid/util/SelectionList.js +422 -0
  223. package/lib/core/es6/grid/util/TrackLayout.d.ts +84 -0
  224. package/lib/core/es6/grid/util/TrackLayout.js +850 -0
  225. package/lib/core/es6/grid/util/Virtualizer.d.ts +40 -0
  226. package/lib/core/es6/grid/util/Virtualizer.js +340 -0
  227. package/lib/core/es6/grid/util/util.d.ts +18 -0
  228. package/lib/core/es6/grid/util/util.js +450 -0
  229. package/lib/core/es6/index.d.ts +84 -0
  230. package/lib/core/es6/index.js +132 -0
  231. package/lib/core/es6/tr-grid-theme.d.ts +5 -0
  232. package/lib/core/es6/tr-grid-theme.js +5 -0
  233. package/lib/filter-dialog/index.d.ts +1 -0
  234. package/lib/filter-dialog/index.js +1 -0
  235. package/lib/filter-dialog/lib/checkbox-list.d.ts +27 -0
  236. package/lib/filter-dialog/lib/checkbox-list.js +336 -0
  237. package/lib/filter-dialog/lib/filter-dialog.d.ts +53 -0
  238. package/lib/filter-dialog/lib/filter-dialog.js +860 -0
  239. package/lib/filter-dialog/lib/locale/translation-de.d.ts +7 -0
  240. package/lib/filter-dialog/lib/locale/translation-de.js +37 -0
  241. package/lib/filter-dialog/lib/locale/translation-en.d.ts +7 -0
  242. package/lib/filter-dialog/lib/locale/translation-en.js +37 -0
  243. package/lib/filter-dialog/lib/locale/translation-ja.d.ts +7 -0
  244. package/lib/filter-dialog/lib/locale/translation-ja.js +37 -0
  245. package/lib/filter-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
  246. package/lib/filter-dialog/lib/locale/translation-zh-hant.js +37 -0
  247. package/lib/filter-dialog/lib/locale/translation-zh.d.ts +7 -0
  248. package/lib/filter-dialog/lib/locale/translation-zh.js +37 -0
  249. package/lib/filter-dialog/lib/locale/translation.d.ts +11 -0
  250. package/lib/filter-dialog/lib/locale/translation.js +18 -0
  251. package/lib/filter-dialog/themes/base-checkbox.less +37 -0
  252. package/lib/filter-dialog/themes/base.less +102 -0
  253. package/lib/filter-dialog/themes/elemental/checkbox-list.less +3 -0
  254. package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +4 -0
  255. package/lib/filter-dialog/themes/elemental/dark/css/native-elements.css +0 -0
  256. package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +4 -0
  257. package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +5 -0
  258. package/lib/filter-dialog/themes/elemental/dark/imports/all-elements.js +2 -0
  259. package/lib/filter-dialog/themes/elemental/dark/imports/custom-elements.js +2 -0
  260. package/lib/filter-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
  261. package/lib/filter-dialog/themes/elemental/dark.js +11 -0
  262. package/lib/filter-dialog/themes/elemental/defaults.less +3 -0
  263. package/lib/filter-dialog/themes/elemental/filter-dialog.less +1 -0
  264. package/lib/filter-dialog/themes/elemental/index.less +6 -0
  265. package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +4 -0
  266. package/lib/filter-dialog/themes/elemental/light/css/native-elements.css +0 -0
  267. package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +4 -0
  268. package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +5 -0
  269. package/lib/filter-dialog/themes/elemental/light/imports/all-elements.js +2 -0
  270. package/lib/filter-dialog/themes/elemental/light/imports/custom-elements.js +2 -0
  271. package/lib/filter-dialog/themes/elemental/light/imports/native-elements.js +0 -0
  272. package/lib/filter-dialog/themes/elemental/light.js +11 -0
  273. package/lib/filter-dialog/themes/halo/checkbox-list.less +3 -0
  274. package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +4 -0
  275. package/lib/filter-dialog/themes/halo/dark/css/native-elements.css +0 -0
  276. package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +4 -0
  277. package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +5 -0
  278. package/lib/filter-dialog/themes/halo/dark/imports/all-elements.js +2 -0
  279. package/lib/filter-dialog/themes/halo/dark/imports/custom-elements.js +2 -0
  280. package/lib/filter-dialog/themes/halo/dark/imports/native-elements.js +0 -0
  281. package/lib/filter-dialog/themes/halo/dark.js +11 -0
  282. package/lib/filter-dialog/themes/halo/defaults.less +3 -0
  283. package/lib/filter-dialog/themes/halo/filter-dialog.less +9 -0
  284. package/lib/filter-dialog/themes/halo/index.less +6 -0
  285. package/lib/filter-dialog/themes/halo/light/checkbox-list.js +4 -0
  286. package/lib/filter-dialog/themes/halo/light/css/native-elements.css +0 -0
  287. package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +4 -0
  288. package/lib/filter-dialog/themes/halo/light/filter-dialog.js +5 -0
  289. package/lib/filter-dialog/themes/halo/light/imports/all-elements.js +2 -0
  290. package/lib/filter-dialog/themes/halo/light/imports/custom-elements.js +2 -0
  291. package/lib/filter-dialog/themes/halo/light/imports/native-elements.js +0 -0
  292. package/lib/filter-dialog/themes/halo/light.js +11 -0
  293. package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +4 -0
  294. package/lib/filter-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
  295. package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +4 -0
  296. package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +5 -0
  297. package/lib/filter-dialog/themes/solar/charcoal/imports/all-elements.js +2 -0
  298. package/lib/filter-dialog/themes/solar/charcoal/imports/custom-elements.js +2 -0
  299. package/lib/filter-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
  300. package/lib/filter-dialog/themes/solar/charcoal.js +11 -0
  301. package/lib/filter-dialog/themes/solar/checkbox-list.less +3 -0
  302. package/lib/filter-dialog/themes/solar/defaults.less +3 -0
  303. package/lib/filter-dialog/themes/solar/filter-dialog.less +5 -0
  304. package/lib/filter-dialog/themes/solar/index.less +6 -0
  305. package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +4 -0
  306. package/lib/filter-dialog/themes/solar/pearl/css/native-elements.css +0 -0
  307. package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +4 -0
  308. package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +5 -0
  309. package/lib/filter-dialog/themes/solar/pearl/imports/all-elements.js +2 -0
  310. package/lib/filter-dialog/themes/solar/pearl/imports/custom-elements.js +2 -0
  311. package/lib/filter-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
  312. package/lib/filter-dialog/themes/solar/pearl.js +11 -0
  313. package/lib/formatters/es6/CoralButtonFormatter.d.ts +22 -0
  314. package/lib/formatters/es6/CoralButtonFormatter.js +40 -0
  315. package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +12 -0
  316. package/lib/formatters/es6/CoralCheckboxFormatter.js +45 -0
  317. package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +23 -0
  318. package/lib/formatters/es6/CoralComboBoxFormatter.js +102 -0
  319. package/lib/formatters/es6/CoralIconFormatter.d.ts +23 -0
  320. package/lib/formatters/es6/CoralIconFormatter.js +45 -0
  321. package/lib/formatters/es6/CoralInputFormatter.d.ts +12 -0
  322. package/lib/formatters/es6/CoralInputFormatter.js +40 -0
  323. package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +22 -0
  324. package/lib/formatters/es6/CoralRadioButtonFormatter.js +80 -0
  325. package/lib/formatters/es6/CoralSelectFormatter.d.ts +23 -0
  326. package/lib/formatters/es6/CoralSelectFormatter.js +66 -0
  327. package/lib/formatters/es6/CoralToggleFormatter.d.ts +12 -0
  328. package/lib/formatters/es6/CoralToggleFormatter.js +47 -0
  329. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
  330. package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.js +119 -0
  331. package/lib/formatters/es6/EFButtonFormatter.d.ts +22 -0
  332. package/lib/formatters/es6/EFButtonFormatter.js +40 -0
  333. package/lib/formatters/es6/EFCheckboxFormatter.d.ts +12 -0
  334. package/lib/formatters/es6/EFCheckboxFormatter.js +45 -0
  335. package/lib/formatters/es6/EFComboBoxFormatter.d.ts +23 -0
  336. package/lib/formatters/es6/EFComboBoxFormatter.js +68 -0
  337. package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +13 -0
  338. package/lib/formatters/es6/EFDateTimePickerFormatter.js +55 -0
  339. package/lib/formatters/es6/EFIconFormatter.d.ts +23 -0
  340. package/lib/formatters/es6/EFIconFormatter.js +45 -0
  341. package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +12 -0
  342. package/lib/formatters/es6/EFNumberFieldFormatter.js +40 -0
  343. package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +22 -0
  344. package/lib/formatters/es6/EFRadioButtonFormatter.js +80 -0
  345. package/lib/formatters/es6/EFSelectFormatter.d.ts +23 -0
  346. package/lib/formatters/es6/EFSelectFormatter.js +66 -0
  347. package/lib/formatters/es6/EFTextFieldFormatter.d.ts +12 -0
  348. package/lib/formatters/es6/EFTextFieldFormatter.js +40 -0
  349. package/lib/formatters/es6/EFToggleFormatter.d.ts +12 -0
  350. package/lib/formatters/es6/EFToggleFormatter.js +47 -0
  351. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
  352. package/lib/formatters/es6/EmeraldDateTimePickerFormatter.js +55 -0
  353. package/lib/formatters/es6/FormatterBuilder.d.ts +22 -0
  354. package/lib/formatters/es6/FormatterBuilder.js +334 -0
  355. package/lib/formatters/es6/NumericInputFormatter.d.ts +13 -0
  356. package/lib/formatters/es6/NumericInputFormatter.js +64 -0
  357. package/lib/formatters/es6/PercentBarFormatter.d.ts +25 -0
  358. package/lib/formatters/es6/PercentBarFormatter.js +62 -0
  359. package/lib/formatters/es6/SimpleImageFormatter.d.ts +21 -0
  360. package/lib/formatters/es6/SimpleImageFormatter.js +64 -0
  361. package/lib/formatters/es6/SimpleInputFormatter.d.ts +12 -0
  362. package/lib/formatters/es6/SimpleInputFormatter.js +40 -0
  363. package/lib/formatters/es6/SimpleLinkFormatter.d.ts +21 -0
  364. package/lib/formatters/es6/SimpleLinkFormatter.js +48 -0
  365. package/lib/formatters/es6/SimpleTickerFormatter.d.ts +25 -0
  366. package/lib/formatters/es6/SimpleTickerFormatter.js +65 -0
  367. package/lib/formatters/es6/SimpleToggleFormatter.d.ts +22 -0
  368. package/lib/formatters/es6/SimpleToggleFormatter.js +132 -0
  369. package/lib/formatters/es6/TextFormatter.d.ts +12 -0
  370. package/lib/formatters/es6/TextFormatter.js +30 -0
  371. package/lib/formatters/es6/index.d.ts +43 -0
  372. package/lib/formatters/es6/index.js +67 -0
  373. package/lib/grid/index.d.ts +1 -0
  374. package/lib/grid/index.js +2 -0
  375. package/lib/grid/lib/efx-grid.d.ts +32 -0
  376. package/lib/grid/lib/efx-grid.js +469 -0
  377. package/lib/grid/themes/base.less +134 -0
  378. package/lib/grid/themes/halo/dark/css/native-elements.css +0 -0
  379. package/lib/grid/themes/halo/dark/efx-grid.js +4 -0
  380. package/lib/grid/themes/halo/dark/es5/all-elements.js +2 -0
  381. package/lib/grid/themes/halo/dark/imports/all-elements.js +1 -0
  382. package/lib/grid/themes/halo/dark/imports/custom-elements.js +1 -0
  383. package/lib/grid/themes/halo/dark/imports/native-elements.js +0 -0
  384. package/lib/grid/themes/halo/dark.js +3 -0
  385. package/lib/grid/themes/halo/efx-grid.less +92 -0
  386. package/lib/grid/themes/halo/index.less +3 -0
  387. package/lib/grid/themes/halo/light/css/native-elements.css +0 -0
  388. package/lib/grid/themes/halo/light/efx-grid.js +4 -0
  389. package/lib/grid/themes/halo/light/es5/all-elements.js +2 -0
  390. package/lib/grid/themes/halo/light/imports/all-elements.js +1 -0
  391. package/lib/grid/themes/halo/light/imports/custom-elements.js +1 -0
  392. package/lib/grid/themes/halo/light/imports/native-elements.js +0 -0
  393. package/lib/grid/themes/halo/light.js +3 -0
  394. package/lib/grid/themes/solar/charcoal/css/native-elements.css +0 -0
  395. package/lib/grid/themes/solar/charcoal/efx-grid.js +4 -0
  396. package/lib/grid/themes/solar/charcoal/es5/all-elements.js +2 -0
  397. package/lib/grid/themes/solar/charcoal/imports/all-elements.js +1 -0
  398. package/lib/grid/themes/solar/charcoal/imports/custom-elements.js +1 -0
  399. package/lib/grid/themes/solar/charcoal/imports/native-elements.js +0 -0
  400. package/lib/grid/themes/solar/charcoal.js +3 -0
  401. package/lib/grid/themes/solar/efx-grid.less +27 -0
  402. package/lib/grid/themes/solar/index.less +3 -0
  403. package/lib/grid/themes/solar/pearl/css/native-elements.css +0 -0
  404. package/lib/grid/themes/solar/pearl/efx-grid.js +4 -0
  405. package/lib/grid/themes/solar/pearl/es5/all-elements.js +2 -0
  406. package/lib/grid/themes/solar/pearl/imports/all-elements.js +1 -0
  407. package/lib/grid/themes/solar/pearl/imports/custom-elements.js +1 -0
  408. package/lib/grid/themes/solar/pearl/imports/native-elements.js +0 -0
  409. package/lib/grid/themes/solar/pearl.js +3 -0
  410. package/lib/index.d.ts +102 -0
  411. package/lib/index.js +102 -0
  412. package/lib/row-segmenting/es6/RowSegmenting.d.ts +83 -0
  413. package/lib/row-segmenting/es6/RowSegmenting.js +592 -0
  414. package/lib/row-segmenting/es6/index.d.ts +1 -0
  415. package/lib/row-segmenting/es6/index.js +1 -0
  416. package/lib/rt-grid/dist/rt-grid.js +44672 -0
  417. package/lib/rt-grid/dist/rt-grid.min.js +1 -0
  418. package/lib/rt-grid/es6/ColumnDefinition.d.ts +141 -0
  419. package/lib/rt-grid/es6/ColumnDefinition.js +1074 -0
  420. package/lib/rt-grid/es6/DataConnector.d.ts +37 -0
  421. package/lib/rt-grid/es6/DataConnector.js +266 -0
  422. package/lib/rt-grid/es6/FieldDefinition.d.ts +20 -0
  423. package/lib/rt-grid/es6/FieldDefinition.js +418 -0
  424. package/lib/rt-grid/es6/Grid.d.ts +261 -0
  425. package/lib/rt-grid/es6/Grid.js +2893 -0
  426. package/lib/rt-grid/es6/PredefinedFormula.d.ts +16 -0
  427. package/lib/rt-grid/es6/PredefinedFormula.js +33 -0
  428. package/lib/rt-grid/es6/ReferenceCounter.d.ts +38 -0
  429. package/lib/rt-grid/es6/ReferenceCounter.js +230 -0
  430. package/lib/rt-grid/es6/RowDefinition.d.ts +120 -0
  431. package/lib/rt-grid/es6/RowDefinition.js +873 -0
  432. package/lib/rt-grid/es6/SnapshotFiller.d.ts +21 -0
  433. package/lib/rt-grid/es6/SnapshotFiller.js +252 -0
  434. package/lib/rt-grid/es6/StyleLoader.d.ts +17 -0
  435. package/lib/rt-grid/es6/StyleLoader.js +47 -0
  436. package/lib/rt-grid/es6/index.d.ts +8 -0
  437. package/lib/rt-grid/es6/index.js +43 -0
  438. package/lib/statistics-row/es6/StatisticsRow.d.ts +67 -0
  439. package/lib/statistics-row/es6/StatisticsRow.js +786 -0
  440. package/lib/statistics-row/es6/index.d.ts +1 -0
  441. package/lib/statistics-row/es6/index.js +1 -0
  442. package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.d.ts +45 -0
  443. package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.js +431 -0
  444. package/lib/tr-grid-auto-tooltip/es6/index.d.ts +1 -0
  445. package/lib/tr-grid-auto-tooltip/es6/index.js +1 -0
  446. package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +67 -0
  447. package/lib/tr-grid-cell-selection/es6/CellSelection.js +1777 -0
  448. package/lib/tr-grid-cell-selection/es6/index.d.ts +1 -0
  449. package/lib/tr-grid-cell-selection/es6/index.js +1 -0
  450. package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +69 -0
  451. package/lib/tr-grid-checkbox/es6/Checkbox.js +1476 -0
  452. package/lib/tr-grid-checkbox/es6/index.d.ts +1 -0
  453. package/lib/tr-grid-checkbox/es6/index.js +1 -0
  454. package/lib/tr-grid-column-fitter/es6/ColumnFitter.d.ts +56 -0
  455. package/lib/tr-grid-column-fitter/es6/ColumnFitter.js +1000 -0
  456. package/lib/tr-grid-column-fitter/es6/index.d.ts +1 -0
  457. package/lib/tr-grid-column-fitter/es6/index.js +1 -0
  458. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +89 -0
  459. package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +615 -0
  460. package/lib/tr-grid-column-formatting/es6/index.d.ts +1 -0
  461. package/lib/tr-grid-column-formatting/es6/index.js +1 -0
  462. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +60 -0
  463. package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +913 -0
  464. package/lib/tr-grid-column-grouping/es6/index.d.ts +1 -0
  465. package/lib/tr-grid-column-grouping/es6/index.js +1 -0
  466. package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +68 -0
  467. package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1013 -0
  468. package/lib/tr-grid-column-resizing/es6/index.d.ts +1 -0
  469. package/lib/tr-grid-column-resizing/es6/index.js +1 -0
  470. package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +70 -0
  471. package/lib/tr-grid-column-selection/es6/ColumnSelection.js +928 -0
  472. package/lib/tr-grid-column-selection/es6/index.d.ts +1 -0
  473. package/lib/tr-grid-column-selection/es6/index.js +1 -0
  474. package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +76 -0
  475. package/lib/tr-grid-column-stack/es6/ColumnStack.js +1227 -0
  476. package/lib/tr-grid-column-stack/es6/index.d.ts +1 -0
  477. package/lib/tr-grid-column-stack/es6/index.js +1 -0
  478. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +70 -0
  479. package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +947 -0
  480. package/lib/tr-grid-conditional-coloring/es6/index.d.ts +1 -0
  481. package/lib/tr-grid-conditional-coloring/es6/index.js +1 -0
  482. package/lib/tr-grid-content-wrap/es6/ContentWrap.d.ts +43 -0
  483. package/lib/tr-grid-content-wrap/es6/ContentWrap.js +478 -0
  484. package/lib/tr-grid-content-wrap/es6/index.d.ts +1 -0
  485. package/lib/tr-grid-content-wrap/es6/index.js +1 -0
  486. package/lib/tr-grid-contextmenu/es6/ContextMenu.d.ts +83 -0
  487. package/lib/tr-grid-contextmenu/es6/ContextMenu.js +471 -0
  488. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +22 -0
  489. package/lib/tr-grid-contextmenu/es6/MenuEventAPI.js +133 -0
  490. package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +39 -0
  491. package/lib/tr-grid-contextmenu/es6/MenuItem.js +245 -0
  492. package/lib/tr-grid-contextmenu/es6/PopupMenu.d.ts +29 -0
  493. package/lib/tr-grid-contextmenu/es6/PopupMenu.js +292 -0
  494. package/lib/tr-grid-contextmenu/es6/index.d.ts +1 -0
  495. package/lib/tr-grid-contextmenu/es6/index.js +1 -0
  496. package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +57 -0
  497. package/lib/tr-grid-filter-input/es6/FilterInput.js +928 -0
  498. package/lib/tr-grid-filter-input/es6/index.d.ts +1 -0
  499. package/lib/tr-grid-filter-input/es6/index.js +1 -0
  500. package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +44 -0
  501. package/lib/tr-grid-heat-map/es6/HeatMap.js +394 -0
  502. package/lib/tr-grid-heat-map/es6/index.d.ts +1 -0
  503. package/lib/tr-grid-heat-map/es6/index.js +1 -0
  504. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +129 -0
  505. package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +1977 -0
  506. package/lib/tr-grid-in-cell-editing/es6/index.d.ts +1 -0
  507. package/lib/tr-grid-in-cell-editing/es6/index.js +1 -0
  508. package/lib/tr-grid-pagination/es6/Pagination.d.ts +57 -0
  509. package/lib/tr-grid-pagination/es6/Pagination.js +427 -0
  510. package/lib/tr-grid-pagination/es6/index.d.ts +1 -0
  511. package/lib/tr-grid-pagination/es6/index.js +1 -0
  512. package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +60 -0
  513. package/lib/tr-grid-percent-bar/es6/PercentBar.js +801 -0
  514. package/lib/tr-grid-percent-bar/es6/index.d.ts +1 -0
  515. package/lib/tr-grid-percent-bar/es6/index.js +1 -0
  516. package/lib/tr-grid-printer/es6/CellWriter.d.ts +49 -0
  517. package/lib/tr-grid-printer/es6/CellWriter.js +226 -0
  518. package/lib/tr-grid-printer/es6/ColumnWriter.d.ts +12 -0
  519. package/lib/tr-grid-printer/es6/ColumnWriter.js +21 -0
  520. package/lib/tr-grid-printer/es6/GridPrinter.d.ts +32 -0
  521. package/lib/tr-grid-printer/es6/GridPrinter.js +761 -0
  522. package/lib/tr-grid-printer/es6/PrintTrait.d.ts +38 -0
  523. package/lib/tr-grid-printer/es6/PrintTrait.js +481 -0
  524. package/lib/tr-grid-printer/es6/SectionWriter.d.ts +54 -0
  525. package/lib/tr-grid-printer/es6/SectionWriter.js +205 -0
  526. package/lib/tr-grid-printer/es6/index.d.ts +1 -0
  527. package/lib/tr-grid-printer/es6/index.js +1 -0
  528. package/lib/tr-grid-range-bar/es6/RangeBar.d.ts +39 -0
  529. package/lib/tr-grid-range-bar/es6/RangeBar.js +353 -0
  530. package/lib/tr-grid-range-bar/es6/index.d.ts +1 -0
  531. package/lib/tr-grid-range-bar/es6/index.js +1 -0
  532. package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +53 -0
  533. package/lib/tr-grid-row-dragging/es6/RowDragging.js +794 -0
  534. package/lib/tr-grid-row-dragging/es6/index.d.ts +1 -0
  535. package/lib/tr-grid-row-dragging/es6/index.js +1 -0
  536. package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +118 -0
  537. package/lib/tr-grid-row-filtering/es6/RowFiltering.js +1884 -0
  538. package/lib/tr-grid-row-filtering/es6/index.d.ts +1 -0
  539. package/lib/tr-grid-row-filtering/es6/index.js +1 -0
  540. package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +109 -0
  541. package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1541 -0
  542. package/lib/tr-grid-row-grouping/es6/index.d.ts +1 -0
  543. package/lib/tr-grid-row-grouping/es6/index.js +1 -0
  544. package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +74 -0
  545. package/lib/tr-grid-row-selection/es6/RowSelection.js +1202 -0
  546. package/lib/tr-grid-row-selection/es6/index.d.ts +1 -0
  547. package/lib/tr-grid-row-selection/es6/index.js +1 -0
  548. package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +60 -0
  549. package/lib/tr-grid-rowcoloring/es6/RowColoring.js +611 -0
  550. package/lib/tr-grid-rowcoloring/es6/index.d.ts +1 -0
  551. package/lib/tr-grid-rowcoloring/es6/index.js +1 -0
  552. package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +77 -0
  553. package/lib/tr-grid-textformatting/es6/TextFormatting.js +574 -0
  554. package/lib/tr-grid-textformatting/es6/index.d.ts +1 -0
  555. package/lib/tr-grid-textformatting/es6/index.js +1 -0
  556. package/lib/tr-grid-titlewrap/es6/TitleWrap.d.ts +29 -0
  557. package/lib/tr-grid-titlewrap/es6/TitleWrap.js +431 -0
  558. package/lib/tr-grid-titlewrap/es6/index.d.ts +1 -0
  559. package/lib/tr-grid-titlewrap/es6/index.js +1 -0
  560. package/lib/tr-grid-util/es6/CellPainter.d.ts +136 -0
  561. package/lib/tr-grid-util/es6/CellPainter.js +1128 -0
  562. package/lib/tr-grid-util/es6/Conflator.d.ts +34 -0
  563. package/lib/tr-grid-util/es6/Conflator.js +193 -0
  564. package/lib/tr-grid-util/es6/CoralItems.d.ts +10 -0
  565. package/lib/tr-grid-util/es6/CoralItems.js +42 -0
  566. package/lib/tr-grid-util/es6/DateTime.d.ts +57 -0
  567. package/lib/tr-grid-util/es6/DateTime.js +508 -0
  568. package/lib/tr-grid-util/es6/Deferred.d.ts +14 -0
  569. package/lib/tr-grid-util/es6/Deferred.js +98 -0
  570. package/lib/tr-grid-util/es6/Delay.d.ts +20 -0
  571. package/lib/tr-grid-util/es6/Delay.js +85 -0
  572. package/lib/tr-grid-util/es6/Dom.d.ts +32 -0
  573. package/lib/tr-grid-util/es6/Dom.js +346 -0
  574. package/lib/tr-grid-util/es6/ElementObserver.d.ts +10 -0
  575. package/lib/tr-grid-util/es6/ElementObserver.js +101 -0
  576. package/lib/tr-grid-util/es6/ElementWrapper.d.ts +23 -0
  577. package/lib/tr-grid-util/es6/ElementWrapper.js +83 -0
  578. package/lib/tr-grid-util/es6/ElfDate.d.ts +26 -0
  579. package/lib/tr-grid-util/es6/ElfDate.js +163 -0
  580. package/lib/tr-grid-util/es6/ElfUtil.d.ts +33 -0
  581. package/lib/tr-grid-util/es6/ElfUtil.js +458 -0
  582. package/lib/tr-grid-util/es6/EventDispatcher.d.ts +26 -0
  583. package/lib/tr-grid-util/es6/EventDispatcher.js +161 -0
  584. package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +27 -0
  585. package/lib/tr-grid-util/es6/ExpanderIcon.js +169 -0
  586. package/lib/tr-grid-util/es6/Ext.d.ts +10 -0
  587. package/lib/tr-grid-util/es6/Ext.js +52 -0
  588. package/lib/tr-grid-util/es6/FieldFormatter.d.ts +55 -0
  589. package/lib/tr-grid-util/es6/FieldFormatter.js +432 -0
  590. package/lib/tr-grid-util/es6/FilterBuilder.d.ts +48 -0
  591. package/lib/tr-grid-util/es6/FilterBuilder.js +521 -0
  592. package/lib/tr-grid-util/es6/FilterOperators.d.ts +41 -0
  593. package/lib/tr-grid-util/es6/FilterOperators.js +181 -0
  594. package/lib/tr-grid-util/es6/GridPlugin.d.ts +72 -0
  595. package/lib/tr-grid-util/es6/GridPlugin.js +747 -0
  596. package/lib/tr-grid-util/es6/Icon.d.ts +14 -0
  597. package/lib/tr-grid-util/es6/Icon.js +61 -0
  598. package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +42 -0
  599. package/lib/tr-grid-util/es6/MouseDownTrait.js +237 -0
  600. package/lib/tr-grid-util/es6/MultiTableManager.d.ts +32 -0
  601. package/lib/tr-grid-util/es6/MultiTableManager.js +506 -0
  602. package/lib/tr-grid-util/es6/NumberFormatter.d.ts +83 -0
  603. package/lib/tr-grid-util/es6/NumberFormatter.js +471 -0
  604. package/lib/tr-grid-util/es6/PercentBar.d.ts +71 -0
  605. package/lib/tr-grid-util/es6/PercentBar.js +600 -0
  606. package/lib/tr-grid-util/es6/Perf.d.ts +32 -0
  607. package/lib/tr-grid-util/es6/Perf.js +162 -0
  608. package/lib/tr-grid-util/es6/Popup.d.ts +84 -0
  609. package/lib/tr-grid-util/es6/Popup.js +818 -0
  610. package/lib/tr-grid-util/es6/RangeBar.d.ts +33 -0
  611. package/lib/tr-grid-util/es6/RangeBar.js +259 -0
  612. package/lib/tr-grid-util/es6/RequestQueue.d.ts +30 -0
  613. package/lib/tr-grid-util/es6/RequestQueue.js +239 -0
  614. package/lib/tr-grid-util/es6/RowPainter.d.ts +23 -0
  615. package/lib/tr-grid-util/es6/RowPainter.js +188 -0
  616. package/lib/tr-grid-util/es6/SubTable.d.ts +74 -0
  617. package/lib/tr-grid-util/es6/SubTable.js +558 -0
  618. package/lib/tr-grid-util/es6/Table.d.ts +125 -0
  619. package/lib/tr-grid-util/es6/Table.js +790 -0
  620. package/lib/tr-grid-util/es6/TextHighlighter.d.ts +18 -0
  621. package/lib/tr-grid-util/es6/TextHighlighter.js +273 -0
  622. package/lib/tr-grid-util/es6/TickCodes.d.ts +8 -0
  623. package/lib/tr-grid-util/es6/TickCodes.js +33 -0
  624. package/lib/tr-grid-util/es6/Timer.d.ts +16 -0
  625. package/lib/tr-grid-util/es6/Timer.js +49 -0
  626. package/lib/tr-grid-util/es6/TouchProxy.d.ts +46 -0
  627. package/lib/tr-grid-util/es6/TouchProxy.js +212 -0
  628. package/lib/tr-grid-util/es6/Util.d.ts +65 -0
  629. package/lib/tr-grid-util/es6/Util.js +528 -0
  630. package/lib/tr-grid-util/es6/formula/ADCService.d.ts +11 -0
  631. package/lib/tr-grid-util/es6/formula/ADCService.js +72 -0
  632. package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +17 -0
  633. package/lib/tr-grid-util/es6/formula/ADCSubscription.js +317 -0
  634. package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +12 -0
  635. package/lib/tr-grid-util/es6/formula/AdFinService.js +61 -0
  636. package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +19 -0
  637. package/lib/tr-grid-util/es6/formula/AdFinSubscription.js +310 -0
  638. package/lib/tr-grid-util/es6/formula/Engine.d.ts +56 -0
  639. package/lib/tr-grid-util/es6/formula/Engine.js +592 -0
  640. package/lib/tr-grid-util/es6/formula/Formula.d.ts +68 -0
  641. package/lib/tr-grid-util/es6/formula/Formula.js +882 -0
  642. package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +16 -0
  643. package/lib/tr-grid-util/es6/formula/IntervalSubscription.js +165 -0
  644. package/lib/tr-grid-util/es6/formula/Realtime.d.ts +18 -0
  645. package/lib/tr-grid-util/es6/formula/Realtime.js +279 -0
  646. package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +18 -0
  647. package/lib/tr-grid-util/es6/formula/RealtimeService.js +203 -0
  648. package/lib/tr-grid-util/es6/formula/TSIService.d.ts +11 -0
  649. package/lib/tr-grid-util/es6/formula/TSIService.js +51 -0
  650. package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +18 -0
  651. package/lib/tr-grid-util/es6/formula/TSISubscription.js +1015 -0
  652. package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +30 -0
  653. package/lib/tr-grid-util/es6/formula/VariableToken.js +314 -0
  654. package/lib/tr-grid-util/es6/formula/functions/AdFin.d.ts +9 -0
  655. package/lib/tr-grid-util/es6/formula/functions/AdFin.js +1778 -0
  656. package/lib/tr-grid-util/es6/formula/functions/Excel.d.ts +8 -0
  657. package/lib/tr-grid-util/es6/formula/functions/Excel.js +21 -0
  658. package/lib/tr-grid-util/es6/formula/functions/Info.d.ts +8 -0
  659. package/lib/tr-grid-util/es6/formula/functions/Info.js +192 -0
  660. package/lib/tr-grid-util/es6/formula/functions/Internal.d.ts +8 -0
  661. package/lib/tr-grid-util/es6/formula/functions/Internal.js +90 -0
  662. package/lib/tr-grid-util/es6/formula/functions/Logic.d.ts +12 -0
  663. package/lib/tr-grid-util/es6/formula/functions/Logic.js +176 -0
  664. package/lib/tr-grid-util/es6/formula/functions/Math.d.ts +18 -0
  665. package/lib/tr-grid-util/es6/formula/functions/Math.js +1624 -0
  666. package/lib/tr-grid-util/es6/formula/functions/Statistics.d.ts +18 -0
  667. package/lib/tr-grid-util/es6/formula/functions/Statistics.js +234 -0
  668. package/lib/tr-grid-util/es6/formula/functions/Text.d.ts +10 -0
  669. package/lib/tr-grid-util/es6/formula/functions/Text.js +676 -0
  670. package/lib/tr-grid-util/es6/index.d.ts +63 -0
  671. package/lib/tr-grid-util/es6/index.js +99 -0
  672. package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +28 -0
  673. package/lib/tr-grid-util/es6/jet/CollectionDict.js +141 -0
  674. package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +114 -0
  675. package/lib/tr-grid-util/es6/jet/DataGenerator.js +827 -0
  676. package/lib/tr-grid-util/es6/jet/DataSet.d.ts +8 -0
  677. package/lib/tr-grid-util/es6/jet/DataSet.js +392 -0
  678. package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +21 -0
  679. package/lib/tr-grid-util/es6/jet/MockArchive.js +56 -0
  680. package/lib/tr-grid-util/es6/jet/MockJET.d.ts +25 -0
  681. package/lib/tr-grid-util/es6/jet/MockJET.js +63 -0
  682. package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +37 -0
  683. package/lib/tr-grid-util/es6/jet/MockQuotes.js +199 -0
  684. package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +72 -0
  685. package/lib/tr-grid-util/es6/jet/MockQuotes2.js +564 -0
  686. package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +8 -0
  687. package/lib/tr-grid-util/es6/jet/MockRTK.js +43 -0
  688. package/lib/tr-grid-util/es6/jet/index.d.ts +9 -0
  689. package/lib/tr-grid-util/es6/jet/index.js +18 -0
  690. package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +11 -0
  691. package/lib/tr-grid-util/es6/jet/mockDataAPI.js +131 -0
  692. package/lib/tr-grid-util/es6/locale/translation-de.d.ts +7 -0
  693. package/lib/tr-grid-util/es6/locale/translation-de.js +51 -0
  694. package/lib/tr-grid-util/es6/locale/translation-en.d.ts +7 -0
  695. package/lib/tr-grid-util/es6/locale/translation-en.js +51 -0
  696. package/lib/tr-grid-util/es6/locale/translation-ja.d.ts +7 -0
  697. package/lib/tr-grid-util/es6/locale/translation-ja.js +51 -0
  698. package/lib/tr-grid-util/es6/locale/translation-zh-hant.d.ts +7 -0
  699. package/lib/tr-grid-util/es6/locale/translation-zh-hant.js +51 -0
  700. package/lib/tr-grid-util/es6/locale/translation-zh.d.ts +7 -0
  701. package/lib/tr-grid-util/es6/locale/translation-zh.js +51 -0
  702. package/lib/tr-grid-util/es6/locale/translation.d.ts +11 -0
  703. package/lib/tr-grid-util/es6/locale/translation.js +18 -0
  704. package/lib/types/es6/AutoTooltip.d.ts +45 -0
  705. package/lib/types/es6/CellSelection.d.ts +67 -0
  706. package/lib/types/es6/Checkbox.d.ts +69 -0
  707. package/lib/types/es6/ColumnFitter.d.ts +56 -0
  708. package/lib/types/es6/ColumnFormatting.d.ts +90 -0
  709. package/lib/types/es6/ColumnGrouping.d.ts +60 -0
  710. package/lib/types/es6/ColumnResizing.d.ts +68 -0
  711. package/lib/types/es6/ColumnSelection.d.ts +70 -0
  712. package/lib/types/es6/ColumnStack.d.ts +76 -0
  713. package/lib/types/es6/CompositeGrid/CollapsibleHeaderPlugin.d.ts +11 -0
  714. package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +38 -0
  715. package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +45 -0
  716. package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +287 -0
  717. package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +22 -0
  718. package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +44 -0
  719. package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +30 -0
  720. package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +42 -0
  721. package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +24 -0
  722. package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +46 -0
  723. package/lib/types/es6/CompositeGrid/index.d.ts +9 -0
  724. package/lib/types/es6/ConditionalColoring.d.ts +70 -0
  725. package/lib/types/es6/ContentWrap.d.ts +43 -0
  726. package/lib/types/es6/ContextMenu.d.ts +83 -0
  727. package/lib/types/es6/CoralButtonFormatter.d.ts +22 -0
  728. package/lib/types/es6/CoralCheckboxFormatter.d.ts +12 -0
  729. package/lib/types/es6/CoralComboBoxFormatter.d.ts +23 -0
  730. package/lib/types/es6/CoralIconFormatter.d.ts +23 -0
  731. package/lib/types/es6/CoralInputFormatter.d.ts +12 -0
  732. package/lib/types/es6/CoralRadioButtonFormatter.d.ts +22 -0
  733. package/lib/types/es6/CoralSelectFormatter.d.ts +23 -0
  734. package/lib/types/es6/CoralToggleFormatter.d.ts +12 -0
  735. package/lib/types/es6/Core/data/ColumnStats.d.ts +42 -0
  736. package/lib/types/es6/Core/data/DataCache.d.ts +81 -0
  737. package/lib/types/es6/Core/data/DataTable.d.ts +125 -0
  738. package/lib/types/es6/Core/data/DataView.d.ts +280 -0
  739. package/lib/types/es6/Core/data/Segment.d.ts +38 -0
  740. package/lib/types/es6/Core/data/SegmentCollection.d.ts +58 -0
  741. package/lib/types/es6/Core/grid/Core.d.ts +387 -0
  742. package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +204 -0
  743. package/lib/types/es6/Core/grid/LayoutGrid.d.ts +23 -0
  744. package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +18 -0
  745. package/lib/types/es6/Core/grid/components/Cell.d.ts +50 -0
  746. package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +19 -0
  747. package/lib/types/es6/Core/grid/components/CellSpan.d.ts +18 -0
  748. package/lib/types/es6/Core/grid/components/CellSpans.d.ts +38 -0
  749. package/lib/types/es6/Core/grid/components/Column.d.ts +22 -0
  750. package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +125 -0
  751. package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +24 -0
  752. package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +61 -0
  753. package/lib/types/es6/Core/grid/components/StretchedCells.d.ts +17 -0
  754. package/lib/types/es6/Core/grid/components/VScrollbar.d.ts +18 -0
  755. package/lib/types/es6/Core/grid/components/VirtualItems.d.ts +12 -0
  756. package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +16 -0
  757. package/lib/types/es6/Core/grid/event/EventListeners.d.ts +34 -0
  758. package/lib/types/es6/Core/grid/plugins/DragAndDropTitlePlugin.d.ts +24 -0
  759. package/lib/types/es6/Core/grid/plugins/Plugin.d.ts +28 -0
  760. package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +127 -0
  761. package/lib/types/es6/Core/grid/util/Conflator.d.ts +32 -0
  762. package/lib/types/es6/Core/grid/util/ElementFrameWork.d.ts +18 -0
  763. package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +53 -0
  764. package/lib/types/es6/Core/grid/util/PercentBar.d.ts +43 -0
  765. package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +41 -0
  766. package/lib/types/es6/Core/grid/util/RangeBar.d.ts +25 -0
  767. package/lib/types/es6/Core/grid/util/Reverter.d.ts +14 -0
  768. package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +79 -0
  769. package/lib/types/es6/Core/grid/util/SelectionList.d.ts +50 -0
  770. package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +84 -0
  771. package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +40 -0
  772. package/lib/types/es6/Core/grid/util/util.d.ts +18 -0
  773. package/lib/types/es6/Core/index.d.ts +84 -0
  774. package/lib/types/es6/Core/tr-grid-theme.d.ts +5 -0
  775. package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
  776. package/lib/types/es6/EFButtonFormatter.d.ts +22 -0
  777. package/lib/types/es6/EFCheckboxFormatter.d.ts +12 -0
  778. package/lib/types/es6/EFComboBoxFormatter.d.ts +23 -0
  779. package/lib/types/es6/EFDateTimePickerFormatter.d.ts +13 -0
  780. package/lib/types/es6/EFIconFormatter.d.ts +23 -0
  781. package/lib/types/es6/EFNumberFieldFormatter.d.ts +12 -0
  782. package/lib/types/es6/EFRadioButtonFormatter.d.ts +22 -0
  783. package/lib/types/es6/EFSelectFormatter.d.ts +23 -0
  784. package/lib/types/es6/EFTextFieldFormatter.d.ts +12 -0
  785. package/lib/types/es6/EFToggleFormatter.d.ts +12 -0
  786. package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
  787. package/lib/types/es6/ExtensionColumnOptions.d.ts +41 -0
  788. package/lib/types/es6/ExtensionOptions.d.ts +52 -0
  789. package/lib/types/es6/Extensions.d.ts +61 -0
  790. package/lib/types/es6/FilterInput.d.ts +57 -0
  791. package/lib/types/es6/FormatterBuilder.d.ts +22 -0
  792. package/lib/types/es6/GridFormatter.d.ts +63 -0
  793. package/lib/types/es6/HeatMap.d.ts +44 -0
  794. package/lib/types/es6/InCellEditing.d.ts +129 -0
  795. package/lib/types/es6/MenuEventAPI.d.ts +22 -0
  796. package/lib/types/es6/MenuItem.d.ts +39 -0
  797. package/lib/types/es6/NumericInputFormatter.d.ts +13 -0
  798. package/lib/types/es6/Pagination.d.ts +57 -0
  799. package/lib/types/es6/PercentBar.d.ts +60 -0
  800. package/lib/types/es6/PercentBarFormatter.d.ts +25 -0
  801. package/lib/types/es6/PopupMenu.d.ts +29 -0
  802. package/lib/types/es6/RangeBar.d.ts +39 -0
  803. package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +143 -0
  804. package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +37 -0
  805. package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +20 -0
  806. package/lib/types/es6/RealtimeGrid/Grid.d.ts +263 -0
  807. package/lib/types/es6/RealtimeGrid/PredefinedFormula.d.ts +16 -0
  808. package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +38 -0
  809. package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +120 -0
  810. package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +21 -0
  811. package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +17 -0
  812. package/lib/types/es6/RealtimeGrid/index.d.ts +8 -0
  813. package/lib/types/es6/RowColoring.d.ts +60 -0
  814. package/lib/types/es6/RowDragging.d.ts +53 -0
  815. package/lib/types/es6/RowFiltering.d.ts +118 -0
  816. package/lib/types/es6/RowGrouping.d.ts +109 -0
  817. package/lib/types/es6/RowSegmenting.d.ts +83 -0
  818. package/lib/types/es6/RowSelection.d.ts +74 -0
  819. package/lib/types/es6/SimpleImageFormatter.d.ts +21 -0
  820. package/lib/types/es6/SimpleInputFormatter.d.ts +12 -0
  821. package/lib/types/es6/SimpleLinkFormatter.d.ts +21 -0
  822. package/lib/types/es6/SimpleTickerFormatter.d.ts +25 -0
  823. package/lib/types/es6/SimpleToggleFormatter.d.ts +22 -0
  824. package/lib/types/es6/StatisticsRow.d.ts +67 -0
  825. package/lib/types/es6/TextFormatter.d.ts +12 -0
  826. package/lib/types/es6/TextFormatting.d.ts +77 -0
  827. package/lib/types/es6/TitleWrap.d.ts +29 -0
  828. package/lib/types/es6/Zoom.d.ts +51 -0
  829. package/lib/types/es6/index.d.ts +76 -0
  830. package/lib/types/index.d.ts +1 -0
  831. package/lib/versions.json +36 -0
  832. package/lib/window-exporter.js +13 -0
  833. package/lib/zoom/es6/Zoom.d.ts +51 -0
  834. package/lib/zoom/es6/Zoom.js +419 -0
  835. package/lib/zoom/es6/index.d.ts +1 -0
  836. package/lib/zoom/es6/index.js +1 -0
  837. package/package.json +42 -0
@@ -0,0 +1,1778 @@
1
+ import AdFinService from"../AdFinService.js";
2
+ import DateTime from "../../DateTime.js";
3
+
4
+ /**
5
+ * @namespace AdFin
6
+ * @description
7
+ * {lang=en} AdFin data access function
8
+ * {lang=ja} AdFin data access function
9
+ * {lang=zh} AdFin 数据访问函数
10
+ * {lang=hant} AdFin 數據訪問函數
11
+ * {lang=ko} AdFin 데이터 액세스 함수
12
+ * {lang=ru} AdFin data access function
13
+ * {lang=de} AdFin-Daten Zugriffsfunktion
14
+ */
15
+ var AdFin = {};
16
+
17
+ /**
18
+ * @ignore
19
+ * @private
20
+ * @param {number} seconds number of seconds since 01 Jan 1970 UTC (realtime date number) or days number since 1 Jan, 1900 UTC (AdFin date number)
21
+ * @return {boolean} true if parameter is number of seconds since 01 JAN 1970 UTC (realtime date number), false otherwise
22
+ */
23
+ AdFin._dateIsSecondsSince1970 = function (seconds) {
24
+ var milliseconds = seconds * 1000;
25
+ if (('' + milliseconds).indexOf(".") !== -1) return false;
26
+ var jsDate = new Date(milliseconds);
27
+ if (isNaN(jsDate.getTime())) return false;
28
+ if (jsDate.getFullYear() === 1970) return false;
29
+ return true;
30
+ };
31
+
32
+ /**
33
+ * @ignore
34
+ * @private
35
+ * @param {number} value days number since 1 Jan, 1900 UTC (AdFin date number)
36
+ * @return {string|null} string date JJMMMYYYY
37
+ */
38
+ AdFin._convertDaysSince1900UTCToJJMMMYYYY = function (value) {
39
+ try {
40
+ return (DateTime.format(value, "DDMMMYYYY").toUpperCase());
41
+ } catch (e) {
42
+ return null;
43
+ }
44
+ };
45
+
46
+ /**
47
+ * @ignore
48
+ * @private
49
+ * @param {number} value number of seconds since 01 JAN 1970 UTC (realtime date number)
50
+ * @return {number|null} days number since 1 Jan, 1900 UTC
51
+ */
52
+ AdFin._convertSecondsSince1970ToDaysSince1900 = function (value) {
53
+ var jsDate = new Date(value * 1000);
54
+ if (isNaN(jsDate.getTime())) return null; // invalid date
55
+ if (jsDate.getFullYear() === 1970) return null;
56
+ return DateTime.toDateNumber(jsDate); // days number since 1 Jan, 1900
57
+ };
58
+
59
+ /**
60
+ * @ignore
61
+ * @private
62
+ * @param {number} value number of seconds since 01 JAN 1970 UTC
63
+ * @return {string|null} string date JJMMMYYYY
64
+ */
65
+ AdFin._convertSecondsSince1970UTCToJJMMMYYYY = function (value) {
66
+ var days = AdFin._convertSecondsSince1970ToDaysSince1900(value);
67
+ if (days == null) return null;
68
+ return AdFin._convertDaysSince1900UTCToJJMMMYYYY(days);
69
+ };
70
+
71
+ /** @type {Object.<string,Array.<{name:string, type:string}>>} */
72
+ AdFin.Definitions = {
73
+ // StylesFunction
74
+ "StylesFunction.AdStyleAttribute": [
75
+ { "name": "StyleTable", "type": "string" },
76
+ { "name": "StyleCode", "type": "string" },
77
+ { "name": "StyleAttribute", "type": "string" }
78
+ ],
79
+ // BdFunction
80
+ "BdFunction.AdBondDeriv": [
81
+ { "name": "SettlementDate", "type": "JJMMMYYYY" },
82
+ { "name": "RateArray", "type": "number" },
83
+ { "name": "Maturity", "type": "JJMMMYYYY" },
84
+ { "name": "Coupon", "type": "number" },
85
+ { "name": "Spread", "type": "number" },
86
+ { "name": "BondStructure", "type": "string" },
87
+ { "name": "RateStructure", "type": "string" },
88
+ { "name": "CalcStructure", "type": "string" },
89
+ { "name": "AdMode", "type": "string" }
90
+ ],
91
+ "BdFunction.AdBondYield": [
92
+ { "name": "SettlementDate", "type": "JJMMMYYYY" },
93
+ { "name": "Price", "type": "number" },
94
+ { "name": "Maturity", "type": "JJMMMYYYY" },
95
+ { "name": "Coupon", "type": "number" },
96
+ { "name": "BondStructure", "type": "string" },
97
+ { "name": "RateStructure", "type": "string" },
98
+ { "name": "AdMode", "type": "string" }
99
+ ],
100
+ "BdFunction.BdSettle": [
101
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
102
+ { "name": "BondStructure", "type": "string" },
103
+ { "name": "Maturity", "type": "JJMMMYYYY" }
104
+ ],
105
+ "BdFunction.Accrued": [
106
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
107
+ { "name": "Maturity", "type": "JJMMMYYYY" },
108
+ { "name": "Coupon", "type": "number" },
109
+ { "name": "BondStructure", "type": "string" },
110
+ { "name": "AdMode", "type": "string" }
111
+ ],
112
+ // CfFunction
113
+ "CfFunction.CfYld": [
114
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
115
+ { "name": "GrossPrice", "type": "number" },
116
+ { "name": "CfDates", "type": "daysFrom1900" },
117
+ { "name": "Cf", "type": "number" },
118
+ { "name": "CalcMethod", "type": "string" }
119
+ ],
120
+ // DfFunction
121
+ "DfFunction.DfFormatDate": [
122
+ { "name": "CalcDate", "type": "daysFrom1900" }
123
+ ],
124
+ "DfFunction.DfAddWD": [
125
+ { "name": "Calendars", "type": "string" },
126
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
127
+ { "name": "NbDays", "type": "number" },
128
+ { "name": "DfMode", "type": "string" }
129
+ ],
130
+ "DfFunction.DfAddPeriod": [
131
+ { "name": "Calendars", "type": "string" },
132
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
133
+ { "name": "Period", "type": "string" },
134
+ { "name": "DfMode", "type": "string" }
135
+ ],
136
+ "DfFunction.DfAddMonths": [
137
+ { "name": "Calendars", "type": "string" },
138
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
139
+ { "name": "NbMonths", "type": "number" },
140
+ { "name": "DfMode", "type": "string" }
141
+ ],
142
+ "DfFunction.DfAddYears": [
143
+ { "name": "Calendars", "type": "string" },
144
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
145
+ { "name": "NbYears", "type": "number" },
146
+ { "name": "DfMode", "type": "string" }
147
+ ],
148
+ "DfFunction.DfAdjustToWD": [
149
+ { "name": "Calendars", "type": "string" },
150
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
151
+ { "name": "AdjMode", "type": "number" },
152
+ { "name": "DfMode", "type": "string" }
153
+ ],
154
+ "DfFunction.DfLastWD": [
155
+ { "name": "Calendars", "type": "string" },
156
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
157
+ { "name": "DfMode", "type": "string" }
158
+ ],
159
+ "DfFunction.DfFindDateD": [
160
+ { "name": "Number", "type": "number" },
161
+ { "name": "Day", "type": "string" },
162
+ { "name": "Direction", "type": "string" },
163
+ { "name": "RefDate", "type": "JJMMMYYYY" }
164
+ ],
165
+ "DfFunction.DfCountDays": [
166
+ { "name": "StartDate", "type": "JJMMMYYYY" },
167
+ { "name": "EndDate", "type": "JJMMMYYYY" },
168
+ { "name": "DfMode", "type": "string" }
169
+ ],
170
+ "DfFunction.DfCountWD": [
171
+ { "name": "Calendars", "type": "string" },
172
+ { "name": "StartDate", "type": "JJMMMYYYY" },
173
+ { "name": "EndDate", "type": "JJMMMYYYY" },
174
+ { "name": "DfMode", "type": "string" }
175
+ ],
176
+ // FxFunction
177
+ "FxFunction.AdFxSwpToDep": [
178
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
179
+ { "name": "PeriodArray", "type": "string" },
180
+ { "name": "Cur1Cur2", "type": "string" },
181
+ { "name": "Spot1BA", "type": "number" },
182
+ { "name": "Spot2BA", "type": "number" },
183
+ { "name": "Swp1Array", "type": "number" },
184
+ { "name": "Swp2Array", "type": "number" },
185
+ { "name": "DepArray", "type": "number" },
186
+ { "name": "CalcStructure", "type": "string" },
187
+ { "name": "AdMode", "type": "string" }
188
+ ],
189
+ "FxFunction.FxCalcPeriod": [
190
+ { "name": "CalcDate", "type": "JJMMMYYYY" },
191
+ { "name": "Cur1Cur2", "type": "string" },
192
+ { "name": "Period", "type": "string" },
193
+ { "name": "FxMode", "type": "string" }
194
+ ],
195
+ // OpFunction
196
+ "OpFunction.OpCalcDeriv": [
197
+ { "name": "CalcDate", "type": "daysFrom1900" },
198
+ { "name": "ExpiryDate", "type": "daysFrom1900" },
199
+ { "name": "SpotPrice", "type": "number" },
200
+ { "name": "StrikePrice", "type": "number" },
201
+ { "name": "Volatility", "type": "number" },
202
+ { "name": "RiskFreeRateArray", "type": "number" },
203
+ { "name": "ReturnArray", "type": "number" },
204
+ { "name": "OptionStructure", "type": "string" },
205
+ { "name": "RateStructure", "type": "string" },
206
+ { "name": "CalcStructure", "type": "string" },
207
+ { "name": "AdMode", "type": "string" }
208
+ ],
209
+ "OpFunction.OpImpliedVol": [
210
+ { "name": "CalcDate", "type": "daysFrom1900" },
211
+ { "name": "ExpiryDate", "type": "daysFrom1900" },
212
+ { "name": "SpotPrice", "type": "number" },
213
+ { "name": "StrikePrice", "type": "number" },
214
+ { "name": "Premium", "type": "number" },
215
+ { "name": "RiskFreeRateArray", "type": "number" },
216
+ { "name": "ReturnArray", "type": "number" },
217
+ { "name": "OptionStructure", "type": "string" },
218
+ { "name": "RateStructure", "type": "string" },
219
+ { "name": "CalcStructure", "type": "string" }
220
+ ],
221
+ // UtFunction
222
+ "UtFunction.AdFormat": [
223
+ { "name": "Data", "type": "number" },
224
+ { "name": "BidDecimals", "type": "number" },
225
+ { "name": "AskDigits", "type": "number" },
226
+ { "name": "FormatMode", "type": "string" }
227
+ ],
228
+ "UtFunction.AdHistoryValue": [
229
+ { "name": "IndexName", "type": "string" },
230
+ { "name": "StyleMode", "type": "string" }
231
+ ]
232
+ };
233
+
234
+ // eslint-disable-next-line
235
+ /** @private
236
+ * @this {Formula} TR method is an extension to Formula object. this.addField is a method from Formula object.
237
+ * @memberof {AdFin}
238
+ * @returns {*}
239
+ */
240
+ AdFin._genericFunction = function (name, args) {
241
+
242
+ /** @type {Array.<{name:string, type:string}>} */ var definitions = AdFin.Definitions[name];
243
+ /** @type {Array.<Array.<string|number|null>>} */ var parameters = [];
244
+
245
+ for (var i = 0, length = args.length; i < length; ++i) {
246
+ if (args[i] != null) {
247
+ if ((definitions[i].type === "JJMMMYYYY") && (typeof (args[i]) === "number")) {
248
+ if (AdFin._dateIsSecondsSince1970(args[i])) {
249
+ parameters.push([definitions[i].name, AdFin._convertSecondsSince1970UTCToJJMMMYYYY(args[i])]);
250
+ } else {
251
+ parameters.push([definitions[i].name, AdFin._convertDaysSince1900UTCToJJMMMYYYY(args[i])]);
252
+ }
253
+ } else if ((definitions[i].type === "daysFrom1900") && (typeof (args[i]) === "number")) {
254
+ if (AdFin._dateIsSecondsSince1970(args[i])) {
255
+ parameters.push([definitions[i].name, AdFin._convertSecondsSince1970ToDaysSince1900(args[i])]);
256
+ } else { // JavaScript date = day number for 1900
257
+ parameters.push([definitions[i].name, args[i]]);
258
+ }
259
+ } else {
260
+ parameters.push([definitions[i].name, args[i]]);
261
+ }
262
+ }
263
+ }
264
+
265
+ var adfinService = this.getIntervalService("AdFin");
266
+ if (!adfinService) {
267
+ adfinService = AdFinService.create();
268
+ if (!adfinService) {
269
+ this.setDataError("Pending data");
270
+ return null;
271
+ }
272
+ this.setIntervalService("AdFin", adfinService);
273
+ }
274
+
275
+ var res = adfinService["call"](name, parameters);
276
+ if (res === "...") {
277
+ this.setDataError("Pending - no erase"); // Data update is pending - do not erase previous value
278
+ }
279
+ return res;
280
+ };
281
+
282
+ /**
283
+ * @function ADSTYLEATTRIBUTE
284
+ * @memberof AdFin
285
+ * @description
286
+ * {lang=en} Returns the value of a style attribute.
287
+ * {lang=ja} Returns the value of a style attribute.
288
+ * {lang=zh} 返回样式属性的值。
289
+ * {lang=hant} 返回樣式屬性的值。
290
+ * {lang=ko} 스타일 특성값을 반환합니다.
291
+ * {lang=ru} Returns the value of a style attribute.
292
+ * {lang=de} Ergibt den Wert eines Stil Attributs.
293
+ * @param {string=} styleTable
294
+ * {lang=en} It identifies a style table in the Adfin style database. For any existing style table, for example CLDR, the style database stores definitions of particular styles, for example a definition of a UK calendar or a definition of a US calendar.
295
+ * {lang=ja} It identifies a style table in the Adfin style database. For any existing style table, for example CLDR, the style database stores definitions of particular styles, for example a definition of a UK calendar or a definition of a US calendar.
296
+ * {lang=zh} 这识别 Adfin 样式数据库中的样式表格。对于任意既有样式表格,例如 CLDR,样式数据库存储特定样式的定义,例如英国日历的定义或美国日历的定义。
297
+ * {lang=hant} 這識別 Adfin 樣式數據庫中的樣式表格。對於任意既有樣式表格,例如 CLDR,樣式數據庫存儲特定樣式的定義,例如英國日曆的定義或美國日曆的定義。
298
+ * {lang=ko} Adfin 스타일 데이터베이스에서 스타일 테이블을 식별합니다. CLDR과 같은 기존 스타일 테이블의 경우, 스타일 데이터베이스는 영국 캘린더의 정의 또는 미국 캘린더의 정의와 같은 특정 스타일의 정의를 저장합니다.
299
+ * {lang=ru} It identifies a style table in the Adfin style database. For any existing style table, for example CLDR, the style database stores definitions of particular styles, for example a definition of a UK calendar or a definition of a US calendar.
300
+ * {lang=de} Es identifiziert eine Stiltabelle in der Adfin-Stildatenbank. Für jede vorhandene Stiltabelle, z. B. CLDR, speichert die Stildatenbank Definitionen bestimmter Stile, z. B. eine Definition eines britischen Kalenders oder eine Definition eines US-amerikanischen Kalenders.
301
+ * @param {string=} styleCode
302
+ * {lang=en} String argument used to request information about a style.
303
+ * {lang=ja} String argument used to request information about a style.
304
+ * {lang=zh} 字符串参数,用于请求关于样式的信息。
305
+ * {lang=hant} 字符串參數,用於請求關於樣式的信息。
306
+ * {lang=ko} 스타일에 대한 정보를 요청하는 데 사용되는 문자열 인수입니다.
307
+ * {lang=ru} String argument used to request information about a style.
308
+ * {lang=de} Zeichenfolge-Argument wird zum Anfordern von Informationen über einen Stil verwendet.
309
+ * @param {string=} styleAttribute
310
+ * {lang=en} Keyword, identifying the style attribute to return, for example “YB” to return the year basis for the index
311
+ * {lang=ja} Keyword, identifying the style attribute to return, for example “YB” to return the year basis for the index
312
+ * {lang=zh} 关键字,辨识要返回的样式属性,例如 “YB” 返回指数的年基准
313
+ * {lang=hant} 關鍵字,辨識要返回的樣式屬性,例如 “YB” 返回指數的年基準
314
+ * {lang=ko} 반환할 스타일 특성을 식별하는 키워드로 예를 들어 “YB”는 인덱스의 연도 기준을 반환
315
+ * {lang=ru} Keyword, identifying the style attribute to return, for example “YB” to return the year basis for the index
316
+ * {lang=de} Stichwort das das Stilattribut identifiziert, z.B. “YB”, um die Jahresbasis fürden Index anzugeben
317
+ * @return {*}
318
+ * {lang=en} Returns the value of a style attribute
319
+ * {lang=ja} Returns the value of a style attribute
320
+ * {lang=zh} 返回样式属性的值
321
+ * {lang=hant} 返回樣式屬性的值
322
+ * {lang=ko} 스타일 특성값을 반환
323
+ * {lang=ru} Returns the value of a style attribute
324
+ * {lang=de} Ergibt den Wert eines Stil Attributs.
325
+ * @example
326
+ * This example shows how to use ADSTYLEATTRIBUTE to obtain the value of a style attribute.
327
+ * The call to ADSTYLEATTRIBUTE looks like:
328
+ * =ADSTYLEATTRIBUTE("CUR","EUR","QM")
329
+ * Where
330
+ * CUR: Style table
331
+ * EUR: ISO code of the currency
332
+ * QM: Style attribute which specifies the quotation mode in the EUR style
333
+ */
334
+ AdFin["ADSTYLEATTRIBUTE"] = function (styleTable, styleCode, styleAttribute) {
335
+ return AdFin._genericFunction.call(this, "StylesFunction.AdStyleAttribute", arguments);
336
+ };
337
+ /**
338
+ * @function ADBONDDERIV
339
+ * @memberof AdFin
340
+ * @description
341
+ * {lang=en} Calculates the sensitivity ratios of a bond using a bond structure.
342
+ * {lang=ja} Calculates the sensitivity ratios of a bond using a bond structure.
343
+ * {lang=zh} 使用债券结构计算债券的敏感度比率。
344
+ * {lang=hant} 使用債券結構計算債券的敏感度比率。
345
+ * {lang=ko} 채권 구조를 사용해 채권의 감도 비율을 계산합니다.
346
+ * {lang=ru} Calculates the sensitivity ratios of a bond using a bond structure.
347
+ * {lang=de} Kalkuliert die Sensitivitäts-Ratio einer Anleihe mit Hilfe der Bondstruktur
348
+ * @param {(string|number)=} settlementDate
349
+ * {lang=en} Date on which cash is paid and the security is delivered
350
+ * {lang=ja} Date on which cash is paid and the security is delivered
351
+ * {lang=zh} 现金支付且证券交割的日期
352
+ * {lang=hant} 現金支付且證券交割的日期
353
+ * {lang=ko} 현금을 지불하고 증권을 인계한 날짜
354
+ * {lang=de} Datum, zu dem Zahlungen erfolgen und das Wertpapier geliefert wird* {lang=en} Datum an dem Zahlungen erfolgen und das Wertpapier geliefert wird.
355
+ * @param {number=} rateArray
356
+ * {lang=en} Term structure or data array related to the rate model used to price the instrument. The format of the data array depends on the rate model you specify in RateStructure
357
+ * {lang=ja} Term structure or data array related to the rate model used to price the instrument. The format of the data array depends on the rate model you specify in RateStructure
358
+ * {lang=zh} 与利率模型相关的期限结构或数据数组,用于对金融工具定价。数据数组的格式取决于您在 RateStructure 中指定的利率模型
359
+ * {lang=hant} 與利率模型相關的期限結構或數據數組,用於對金融工具定價。數據數組的格式取決於您在 RateStructure 中指定的利率模型
360
+ * {lang=ko} 상품 가격을 책정하기 위해 사용된 이자율 모델과 관련된 조건 구조 또는 데이터 배열. 데이터 배열 형식은 RateStructure에 지정한 이자율 모델에 따라 다름
361
+ * {lang=ru} Term structure or data array related to the rate model used to price the instrument. The format of the data array depends on the rate model you specify in RateStructure
362
+ * {lang=de} Laufzeitstuktur oder Daten-Array für das zur Preisstellung des Instruments verwendete Zinsmodell Das Format des Daten-Arrays hängt von dem Zinsmodell ab, das Sie in der Ratestructure definieren
363
+ * @param {(string|number)=} maturity
364
+ * {lang=en} Maturity date of the bond or FRN (expressed as a date)
365
+ * {lang=ja} Maturity date of the bond or FRN (expressed as a date)
366
+ * {lang=zh} 债券或 FRN 的到期日 (表示为日期)
367
+ * {lang=hant} 債券或 FRN 的到期日 (表示為日期)
368
+ * {lang=ko} 채권 또는 FRN의 만기일(날짜로 표시)
369
+ * {lang=ru} Maturity date of the bond or FRN (expressed as a date)
370
+ * {lang=de} Fälligkeitsdatum der Anleihe oder FRN (als Datum ausgedrückt)
371
+ * @param {number=} coupon
372
+ * {lang=en} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
373
+ * {lang=ja} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
374
+ * {lang=zh} 名义票息率,表示为百分比 (例如 0.07 是 7%)
375
+ * {lang=hant} 名義票息率,表示為百分比 (例如 0.07 是 7%)
376
+ * {lang=ko} 명목 이자율, 백분율로 표시(예: 0.07은 7%)
377
+ * {lang=ru} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
378
+ * {lang=de} Nominaler Zinskupon, ausgewiesen in Prozent (z.B. 0,07 entspricht 7%)
379
+ * @param {number=} spread
380
+ * {lang=en} Depending on the rate model, the spread will either be: added to a yield (RM:YTM), added to every zero-coupon rate in a yield curve (RM:YC, RM:VF), an option adjusted spread (RM:BDT)
381
+ * {lang=ja} Depending on the rate model, the spread will either be: added to a yield (RM:YTM), added to every zero-coupon rate in a yield curve (RM:YC, RM:VF), an option adjusted spread (RM:BDT)
382
+ * {lang=zh} 根据利率模型,价差可能添加到收益率 (RM:YTM),添加到收益率曲线中的每个零息率 (RM:YC, RM:VF),或者是期权调整价差 (RM:BDT)
383
+ * {lang=hant} 根據利率模型,價差可能添加到收益率 (RM:YTM),添加到收益率曲線中的每個零息率 (RM:YC, RM:VF),或者是期權調整價差 (RM:BDT)
384
+ * {lang=ko} 이자율 모델에 따라 스프레드는 다음 중 하나가 됩니다. 수익률에 추가(RM:YTM), 수익률 곡선의 모든 제로쿠폰 이자율에 추가(RM:YC, RM:VF), 옵션 조정 스프레드(RM:BDT)
385
+ * {lang=ru} Depending on the rate model, the spread will either be: added to a yield (RM:YTM), added to every zero-coupon rate in a yield curve (RM:YC, RM:VF), an option adjusted spread (RM:BDT)
386
+ * {lang=de} Abhängig vom Zinsmodell wird der Spread entweder: zu einer Rendite addiert (RM:YTM), zu jedem Nullkupon-Satz in einer Renditekurve addiert (RM:YC, RM:VF), ein optionsbereinigter Spread (RM:BDT)
387
+ * @param {string=} bondStructure
388
+ * {lang=en} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
389
+ * {lang=ja} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
390
+ * {lang=zh} 作为 Adfin 债券函数中的参数,用于定义债券的结构。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
391
+ * {lang=hant} 作為 Adfin 債券函數中的參數,用於定義債券的結構。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
392
+ * {lang=ko} Adfin Bonds 함수의 인수로 사용되어 채권의 구조를 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
393
+ * {lang=ru} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
394
+ * {lang=de} Wird als ein Argument in Adfin-Anleihen-Funktionen verwendet, um die Struktur einer Anleihe zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
395
+ * @param {string=} rateStructure
396
+ * {lang=en} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
397
+ * {lang=ja} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
398
+ * {lang=zh} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
399
+ * {lang=hant} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
400
+ * {lang=ko} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
401
+ * {lang=ru} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
402
+ * {lang=de} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
403
+ * @param {string=} calcStructure
404
+ * {lang=en} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
405
+ * {lang=ja} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
406
+ * {lang=zh} 作为 Adfin 函数中的参数,用于定义对金融工具定价的计算方法。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
407
+ * {lang=hant} 作為 Adfin 函數中的參數,用於定義對金融工具定價的計算方法。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
408
+ * {lang=ko} Adfin 함수의 인수로 사용되어 상품 가격 책정에 사용 가능한 계산 방법을 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
409
+ * {lang=ru} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
410
+ * {lang=de} Wird als Argument in Adfin-Funktionen verwendet, um die verfügbaren Berechnungsmethoden für die Preisstellung von Wertpapieren zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
411
+ * @param {string=} adMode
412
+ * {lang=en} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
413
+ * {lang=ja} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
414
+ * {lang=zh} 用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
415
+ * {lang=hant} 用來自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
416
+ * {lang=ko} 반환된 값을 사용자 지정하기 위해 사용합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
417
+ * {lang=ru} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
418
+ * {lang=de} Wird zum Anpassen der ausgegebenen Werte verwendet. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
419
+ * @return {*}
420
+ * {lang=en} The return value depends on the value of AdMode. The default value is a vertical eight-cell array containing: Price, Option Free Price, Volatility, PVBP, Duration, Average Life, Convexity, Yield to worst/Yield to best date,
421
+ * {lang=ja} The return value depends on the value of AdMode. The default value is a vertical eight-cell array containing: Price, Option Free Price, Volatility, PVBP, Duration, Average Life, Convexity, Yield to worst/Yield to best date,
422
+ * {lang=zh} 返回值取决于 AdMode 的值。默认值是一个垂直的8元素数据,包含: 价格、无权价格、波动率、PVBP、久期、平均期限、凸性、最差收益率/最优收益率日期,
423
+ * {lang=hant} 返回值取決於 AdMode 的值。默認值是一個垂直的8元素數據,包含: 價格、無權價格、波動率、PVBP、久期、平均期限、凸性、最差收益率/最優收益率日期,
424
+ * {lang=ko} 반환값은 AdMode 값에 따라 다릅니다. 기본값은 다음을 포함하는 수직 8셀 배열입니다. 가격, 무옵션 가격, 변동성, PVBP, 듀레이션, 평균 만기, 컨벡시티, 옵션행사 Worst수익률/옵션행사 Best수익률,
425
+ * {lang=ru} The return value depends on the value of AdMode. The default value is a vertical eight-cell array containing: Price, Option Free Price, Volatility, PVBP, Duration, Average Life, Convexity, Yield to worst/Yield to best date,
426
+ * {lang=de} Der ausgegebene Wert ist abhänig vom Wert AdModes Der Standardwert ist ein vertikales Array mit acht Zellen: Preis, Optionsfreier Preis, Volatilität, PVBP, Dauer, Durchschnittliche Laufzeit, Konvexität, Ertrag zum schlechtesten/Ertrag zum besten Datum,
427
+ * @example
428
+ * This example calculates the price and derivatives using a constant yield curve of 5.2%.
429
+ * =ADBONDDERIV("11APR99",0.052,"06MAY05",0.08,0,"FRQ:1 ACC:AA PX:G","RM:YTM RATETYPE:CMP DCB:AA CLDRADJ:CLDR","CMT:FORM","LAY:V RET:B")
430
+ */
431
+ AdFin["ADBONDDERIV"] = function (settlementDate, rateArray, maturity, coupon, spread, bondStructure, rateStructure, calcStructure, adMode) {
432
+ return AdFin._genericFunction.call(this, "BdFunction.AdBondDeriv", arguments);
433
+ };
434
+ /**
435
+ * @function ADBONDYIELD
436
+ * @memberof AdFin
437
+ * @description
438
+ * {lang=en} This function calculates the yield to maturity of non-optionable bonds. For optionable bonds this function calculates the yields at call/put dates.
439
+ * {lang=ja} This function calculates the yield to maturity of non-optionable bonds. For optionable bonds this function calculates the yields at call/put dates.
440
+ * {lang=zh} 这个函数计算不可进行期权交易的债券的到期收益率。对于可以进行期权交易的债券,这个函数计算买权/卖权日期的收益率。
441
+ * {lang=hant} 這個函數計算不可進行期權交易的債券的到期收益率。對於可以進行期權交易的債券,這個函數計算買權/賣權日期的收益率。
442
+ * {lang=ko} 이 함수는 옵션 불가능 채권의 만기 수익률을 계산합니다. 옵션 가능 채권의 경우 이 함수는 콜/풋 행사일의 수익률을 계산합니다.
443
+ * {lang=ru} This function calculates the yield to maturity of non-optionable bonds. For optionable bonds this function calculates the yields at call/put dates.
444
+ * {lang=de} Diese Funktion berechnet den Ertrag bis zur Fälligkeit von nicht optionsfähigen Anleihen. Für optionsfähige Anleihen berechnet diese Funktion die Renditen zum Stichtag/Verkaufstermin.
445
+ * @param {(string|number)=} settlementDate
446
+ * {lang=en} Date on which cash is paid and the security is delivered
447
+ * {lang=ja} Date on which cash is paid and the security is delivered
448
+ * {lang=zh} 现金支付且证券交割的日期
449
+ * {lang=hant} 現金支付且證券交割的日期
450
+ * {lang=ko} 현금을 지불하고 증권을 인계한 날짜
451
+ * {lang=ru} Date on which cash is paid and the security is delivered
452
+ * {lang=en} Date on which cash is paid and the security is delivered
453
+ * @param {number=} price
454
+ * {lang=en} Market price of the bond, expressed as a percentage (for example, 0.07 is 7%)
455
+ * {lang=ja} Market price of the bond, expressed as a percentage (for example, 0.07 is 7%)
456
+ * {lang=zh} 债券的市场价格,表示为百分比 (例如 0.07 是 7%)
457
+ * {lang=hant} 債券的市場價格,表示為百分比 (例如 0.07 是 7%)
458
+ * {lang=ko} 채권의 시장 가격, 백분율로 표시(예: 0.07은 7%)
459
+ * {lang=ru} Market price of the bond, expressed as a percentage (for example, 0.07 is 7%)
460
+ * {lang=de} Marktpreis der Anleihe, in Prozent ausgewiesen (z. B. 0,07 entspricht 7 %)
461
+ * @param {(string|number)=} maturity
462
+ * {lang=en} Maturity date of the bond or FRN (expressed as a date)
463
+ * {lang=ja} Maturity date of the bond or FRN (expressed as a date)
464
+ * {lang=zh} 债券或 FRN 的到期日 (表示为日期)
465
+ * {lang=hant} 債券或 FRN 的到期日 (表示為日期)
466
+ * {lang=ko} 채권 또는 FRN의 만기일(날짜로 표시)
467
+ * {lang=ru} Maturity date of the bond or FRN (expressed as a date)
468
+ * {lang=de} Fälligkeitsdatum der Anleihe oder FRN (als Datum ausgedrückt)
469
+ * @param {number=} coupon
470
+ * {lang=en} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
471
+ * {lang=ja} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
472
+ * {lang=zh} 名义票息率,表示为百分比 (例如 0.07 是 7%)
473
+ * {lang=hant} 名目票息率,表示為百分比 (例如 0.07 是 7%)
474
+ * {lang=ko} 명목 이자율, 백분율로 표시(예: 0.07은 7%)
475
+ * {lang=ru} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
476
+ * {lang=de} Nominaler Zinskupon, ausgewiesen in Prozent (z.B. 0,07 entspricht 7%)
477
+ * @param {string=} bondStructure
478
+ * {lang=en} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
479
+ * {lang=ja} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
480
+ * {lang=zh} 作为 Adfin 债券函数中的参数,用于定义债券的结构。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
481
+ * {lang=zh-hant} 作為 Adfin 債券函數中的參數,用於定義債券的結構。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
482
+ * {lang=ko} Adfin Bonds 함수의 인수로 사용되어 채권의 구조를 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
483
+ * {lang=ru} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
484
+ * {lang=de} Wird als ein Argument in Adfin-Anleihen-Funktionen verwendet, um die Struktur einer Anleihe zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
485
+ * @param {string=} rateStructure
486
+ * {lang=en} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
487
+ * {lang=ja} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
488
+ * {lang=zh} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
489
+ * {lang=hant} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
490
+ * {lang=ko} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
491
+ * {lang=ru} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
492
+ * {lang=de} cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_ratestructure.htm
493
+ * @param {string=} adMode
494
+ * {lang=en} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
495
+ * {lang=ja} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
496
+ * {lang=zh} 用于自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
497
+ * {lang=hant} 用於自定義返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
498
+ * {lang=ko} 반환된 값을 사용자 지정하기 위해 사용합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
499
+ * {lang=ru} Is used to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
500
+ * {lang=de} Wird zum Anpassen der ausgegebenen Werte verwendet. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
501
+ * @return {*}
502
+ * {lang=en} The return value depends on the value of AdMode. For non-optionable bonds, the return value is the yield to maturity. For optionable bonds, the default value is a seven-by-n array, where n is the total number of call/put/sink options, plus two (one for the yield to maturity, and one for the selected yield which is repeated at the top according to the value of the RM keyword in the RateStructure argument). These values are returned for each redemption event: Yield, Option date, Strike price, Yield type, Non-adjusted strike, Accrued, Date type (for American exercise): exercise date or cash flow date. The selected yield is repeated as the top row of the yield schedule table. This is an array function. Scalar output is the yield selected by the RM keyword in the RateStructure argument.
503
+ * {lang=ja} The return value depends on the value of AdMode. For non-optionable bonds, the return value is the yield to maturity. For optionable bonds, the default value is a seven-by-n array, where n is the total number of call/put/sink options, plus two (one for the yield to maturity, and one for the selected yield which is repeated at the top according to the value of the RM keyword in the RateStructure argument). These values are returned for each redemption event: Yield, Option date, Strike price, Yield type, Non-adjusted strike, Accrued, Date type (for American exercise): exercise date or cash flow date. The selected yield is repeated as the top row of the yield schedule table. This is an array function. Scalar output is the yield selected by the RM keyword in the RateStructure argument.
504
+ * {lang=zh} 根据 AdMode 的值返回值。对于不可进行期权交易的债券,返回值是到期收益率。对于可进行期权交易的债券,默认值是7乘以n的数组,其中 n 是看涨期权/看跌期权/偿债期权的总数,再加2 (一个是到期收益率,一个所选收益率,在首行重复,根据 RateStructure 参数中 RM 关键字的值)。这些值为每个赎回事件返回: 收益率、期权日期、执行价、收益率类型、未调整执行价、应计、日期类型 (用于美式执行): 执行日期或现金流日期。所选收益率在收益率进度表的首行重复。这是数组函数。标量输出是 RateStructure 参数中的 RM 关键字选择的收益率。
505
+ * {lang=hant} 根據 AdMode 的值返回值。對於不可進行期權交易的債券,返回值是到期收益率。對於可進行期權交易的債券,默認值是7乘以n的數組,其中n 是看漲期權/看跌期權/償債期權的總數,再加2 (一個是到期收益率,一個所選收益率,在首行重複,根據RateStructure 參數中RM 關鍵字的值)。這些值為每個贖回事件返回: 收益率、期權日期、執行價、收益率類型、未調整執行價、應計、日期類型 (用於美式執行): 執行日期或現金流日期。所選收益率在收益率進度表的首行重複。這是數組函數。標量輸出是 RateStructure 參數中的 RM 關鍵字選擇的收益率。
506
+ * {lang=ko} 반환값은 AdMode 값에 따라 다릅니다. 옵션 불가능 채권의 경우 반환값은 만기수익률입니다. 옵션 가능 채권의 경우 기본값은 7 x n 배열입니다. 여기에서 n은 콜/풋/감채 옵션의 총 수에 2(1은 만기수익률, 1은 RateStructure 인수의 RM 키워드 값에 따라 맨 위에서 반복되는 선택한 수익률)를 더한 값입니다. 이 값은 다음 각 상환 이벤트에 대해 반환됩니다. 수익률, 옵션 날짜, 권리행사가격, 수익률 종류, 조정되지 않은 권리행사, 경과이자, 날짜 유형(미국식 행사의 경우): 행사일 또는 현금 흐름 날짜. 선택한 수익률은 수익률 스케줄 테이블의 맨 위 행으로 반복됩니다. 이것은 배열 함수입니다. 스칼라 출력은 RateStructure 인수에서 RM 키워드에 의해 선택된 수익률입니다.
507
+ * {lang=ru} The return value depends on the value of AdMode. For non-optionable bonds, the return value is the yield to maturity. For optionable bonds, the default value is a seven-by-n array, where n is the total number of call/put/sink options, plus two (one for the yield to maturity, and one for the selected yield which is repeated at the top according to the value of the RM keyword in the RateStructure argument). These values are returned for each redemption event: Yield, Option date, Strike price, Yield type, Non-adjusted strike, Accrued, Date type (for American exercise): exercise date or cash flow date. The selected yield is repeated as the top row of the yield schedule table. This is an array function. Scalar output is the yield selected by the RM keyword in the RateStructure argument.
508
+ * {lang=de} Der ausgegebene Wert ist abhänig vom Wert AdModes Bei nicht optionsfähigen Anleihen ist der Ertragswert die Rendite bis zur Fälligkeit. Für optionsfähige Anleihen ist der Standardwert ein sieben-mal-n-Array, wobei n die Gesamtzahl der Kauf-/Put-/Sink-Optionen plus zwei ist (eine für die Rendite bis zur Fälligkeit und eine für die ausgewählte Rendite, die entsprechend dem Wert des RM-Schlüsselworts im Argument RateStructure oben wiederholt wird). Diese Werte werden für jedes Rückzahlungsereignis ausgegeben Ertrag, Optionsdatum, Ausübungspreis, Ertragstyp, Nicht angepasster Ausübungspreis, Aufgelaufen, Datumsart (bei amerikanischer Ausübung): Ausübungsdatum oder Kapitalfluss-Datum. Der ausgewählte Ertrag wird als oberste Zeile der Tabelle zur Ertragsplanung wiederholt. Dies ist eine Array-Funktion. Skalare Ausgabe ist der Ertrag, der durch das RM-Schlüsselwort im Argument RateStructure ausgewählt wird.
509
+ * @example
510
+ * These examples show the use of ADBONDYIELD in different calculations.
511
+ * To calculate a Japanese yield:
512
+ * =ADBONDYIELD("09APR1993", 1, "20SEP2000", 0.05, "JGB", "EY:2 LLP:A5:2 RATETYPE:SIMPLEJAP RATEFRQ:ZERO DCB:JAP")
513
+ * where JGB (Japanese Government Bonds) is the bond style defined in the style database and used to describe the BondStructure.
514
+ * To calculate a Street Convention yield:
515
+ * =ADBONDYIELD("05DEC1997", 0.99362180, "15AUG1999", 0.08, "UST", "RATETYPE:CMP RATEFRQ:FRQ DCB:AA EY:2 LLP:AA")
516
+ * where UST (US Treasury) is the bond style defined in the style database and used to describe the BondStructure.
517
+ */
518
+ AdFin["ADBONDYIELD"] = function (settlementDate, price, maturity, coupon, bondStructure, rateStructure, adMode) {
519
+ return AdFin._genericFunction.call(this, "BdFunction.AdBondYield", arguments);
520
+ };
521
+ /**
522
+ * @function BDSETTLE
523
+ * @memberof AdFin
524
+ * @description
525
+ * {lang=en} Calculates the settlement date using a bond structure. The maturity argument is mandatory only if the LOCK keyword is used in BondStructure.
526
+ * {lang=ja} Calculates the settlement date using a bond structure. The maturity argument is mandatory only if the LOCK keyword is used in BondStructure.
527
+ * {lang=zh} 使用债券结构计算结算日期。只有 LOCK 关键字被使用在 BondStructure 中时,到期日参数为必需。
528
+ * {lang=hant} 使用債券結構計算結算日期。只有 LOCK 關鍵字被使用在 BondStructure 中時,到期日參數為必需。
529
+ * {lang=ko} 채권 구조를 사용해 결제일을 계산합니다. 만기 인수는 BondStructure에서 LOCK 키워드를 사용할 경우에만 필수입니다.
530
+ * {lang=ru} Calculates the settlement date using a bond structure. The maturity argument is mandatory only if the LOCK keyword is used in BondStructure.
531
+ * {lang=de} Berechnet das Abrechnungsdatum anhand einer Anleihenstruktur. Das Fälligkeitsargument ist nur dann obligatorisch, wenn das Schlüsselwort SPERREN in BondStructure verwendet wird.
532
+ * @param {(string|number)=} calcDate
533
+ * {lang=en} Calculation date
534
+ * {lang=ja} Calculation date
535
+ * {lang=zh} 计算日
536
+ * {lang=hant} 計算日
537
+ * {lang=ko} 계산 날짜
538
+ * {lang=ru} Calculation date
539
+ * {lang=de} Berechnungsdatum
540
+ * @param {string=} bondStructure
541
+ * {lang=en} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
542
+ * {lang=ja} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
543
+ * {lang=zh} 作为 Adfin 债券函数中的参数,用于定义债券的结构。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
544
+ * {lang=hant} 作為 Adfin 債券函數中的參數,用於定義債券的結構。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
545
+ * {lang=ko} Adfin Bonds 함수의 인수로 사용되어 채권의 구조를 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
546
+ * {lang=ru} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
547
+ * {lang=de} Wird als ein Argument in Adfin-Anleihen-Funktionen verwendet, um die Struktur einer Anleihe zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
548
+ * @param {(string|number)=} maturity
549
+ * {lang=en} Maturity date of the bond or FRN (expressed as a date)
550
+ * {lang=ja} Maturity date of the bond or FRN (expressed as a date)
551
+ * {lang=zh} 债券或 FRN 的到期日 (表示为日期)
552
+ * {lang=hant} 債券或 FRN 的到期日 (表示為日期)
553
+ * {lang=ko} 채권 또는 FRN의 만기일(날짜로 표시)
554
+ * {lang=ru} Maturity date of the bond or FRN (expressed as a date)
555
+ * {lang=de} Fälligkeitsdatum der Anleihe oder FRN (als Datum ausgedrückt)
556
+ * @return {number}
557
+ * {lang=en} The bond settlement date
558
+ * {lang=ja} The bond settlement date
559
+ * {lang=zh} 债券结算日期
560
+ * {lang=hant} 債券結算日期
561
+ * {lang=ko} 채권 결제일
562
+ * {lang=ru} The bond settlement date
563
+ * {lang=de} Das Bond-Abrechnungsdatum
564
+ * @example
565
+ * This example shows how to use BDSETTLE to calculate the settlement date of a bond.
566
+ * The call to BDSETTLE looks like:
567
+ * =BDSETTLE("24MAY2005", "ACC:AA CFADJ:NO CLDR:EMU_FI DATED:12MAR1998 FRCD:15APR1999 FRQ:1 ISSUE:12MAR1998 NOTIONAL:1 PX:C PXRND:1E-5:DOWN REFDATE:MATURITY RP:1 SETTLE:3WD XD:NO")
568
+ * Where:
569
+ * ACC:AA specifies the Actual/Actual accrued interest calculation method
570
+ * FRQ:2 specifies a semi-annual coupon frequency
571
+ * ISSUE specifies the issue date
572
+ * FRCD specifies the first regular coupon date
573
+ * PX:C defines a clean price
574
+ * REFDATE:MATURITY specifies that the reference date for the cash flow generation is the maturity date of the bond
575
+ * Another example with the LOCK keyword:
576
+ * =BDSETTLE("24MAY2005", "ACC:AA CFADJ:NO CLDR:EMU_FI DATED:12MAR1998 FRCD:15APR1999 FRQ:1 ISSUE:12MAR1998 NOTIONAL:1 PX:C PXRND:1E-5:DOWN REFDATE:MATURITY RP:1 SETTLE:3WD LOCK:3D XD:NO", "12MAR06")
577
+ */
578
+ AdFin["BDSETTLE"] = function (calcDate, bondStructure, maturity) {
579
+ return AdFin._genericFunction.call(this, "BdFunction.BdSettle", arguments);
580
+ };
581
+ /**
582
+ * @function ACCRUED
583
+ * @memberof AdFin
584
+ * @description
585
+ * {lang=en} Calculates the accrued using a bond structure.
586
+ * {lang=ja} Calculates the accrued using a bond structure.
587
+ * {lang=zh} 使用债券结构计算应计金额。
588
+ * {lang=hant} 使用債券結構計算應計金額。
589
+ * {lang=ko} 채권 구조를 사용해 경과이자를 계산합니다.
590
+ * {lang=ru} Calculates the accrued using a bond structure.
591
+ * {lang=de} Berechnet die aufgelaufenen Kosten unter Verwendung einer Anleihenstruktur.
592
+ * @param {(string|number)=} calcDate
593
+ * {lang=en} Calculation date
594
+ * {lang=ja} 計算日
595
+ * {lang=zh} 计算日
596
+ * {lang=hant} 計算日
597
+ * {lang=ko} 계산 날짜
598
+ * {lang=ru} Calculation date
599
+ * {lang=de} Berechnungsdatum
600
+ * @param {(string|number)=} maturity
601
+ * {lang=en} Maturity date of the bond or FRN (expressed as a date)
602
+ * {lang=ja} Maturity date of the bond or FRN (expressed as a date)
603
+ * {lang=zh} 债券或 FRN 的到期日 (表示为日期)
604
+ * {lang=hant} 債券或 FRN 的到期日 (表示為日期)
605
+ * {lang=ko} 채권 또는 FRN의 만기일(날짜로 표시)
606
+ * {lang=ru} Maturity date of the bond or FRN (expressed as a date)
607
+ * {lang=de} Fälligkeitsdatum der Anleihe oder FRN (als Datum ausgedrückt)
608
+ * @param {number=} coupon
609
+ * {lang=en} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
610
+ * {lang=ja} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
611
+ * {lang=zh} 名义票息率,表示为百分比 (例如 0.07 是 7%)
612
+ * {lang=hant} 名目票息率,表示為百分比 (例如 0.07 是 7%)
613
+ * {lang=ko} 명목 이자율, 백분율로 표시(예: 0.07은 7%)
614
+ * {lang=ru} Nominal coupon rate, expressed as a percentage (for example, 0.07 is 7%)
615
+ * {lang=de} Nominaler Zinskupon, ausgewiesen in Prozent (z.B. 0,07 entspricht 7%)
616
+ * @param {string=} bondStructure
617
+ * {lang=en} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
618
+ * {lang=ja} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
619
+ * {lang=zh} 作为 Adfin 债券函数中的参数,用于定义债券的结构。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
620
+ * {lang=hant} 作為 Adfin 債券函數中的參數,用於定義債券的結構。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
621
+ * {lang=ko} Adfin Bonds 함수의 인수로 사용되어 채권의 구조를 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
622
+ * {lang=ru} Is used as an argument in Adfin Bonds functions to define the structure of a bond. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
623
+ * {lang=de} Wird als ein Argument in Adfin-Anleihen-Funktionen verwendet, um die Struktur einer Anleihe zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_bondstructure.htm
624
+ * @param {string=} adMode
625
+ * {lang=en} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Use these values with the RES keyword: - RES:INTACC to display the accrued interest, - RES:CAPACC to display the capitalized accrued (for capitalized bonds), - RES:ACC to display the total accrued (accrued interest and capitalized accrued). The default value is RES:ACC. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
626
+ * {lang=ja} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Use these values with the RES keyword: - RES:INTACC to display the accrued interest, - RES:CAPACC to display the capitalized accrued (for capitalized bonds), - RES:ACC to display the total accrued (accrued interest and capitalized accrued). The default value is RES:ACC. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
627
+ * {lang=zh} 这些参数或者特定于这个函数,或者以特定方式用作通用参数。与 RES 关键字一起使用这些值: - RES:INTACC 显示应计利息, - RES:CAPACC 显示资本化应计金额 (用于资本化债券), - RES:ACC 显示应计金额合计 (应计利息与资本化应计金额)。默认值是 RES:ACC。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
628
+ * {lang=hant} 這些參數或者特定於這個函數,或者以特定方式用作通用參數。與RES 關鍵字一起使用這些值: - RES:INTACC 顯示應計利息, - RES:CAPACC 顯示資本化應計金額(用於資本化債券), - RES:ACC 顯示應計金額合計(應計利息與資本化應計金額)。默認值是 RES:ACC。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
629
+ * {lang=ko} 이 인수는 이 함수에만 고유하거나 특정 방법으로 사용되는 공통 인수입니다. 이 값을 다음 RES 키워드와 함께 사용합니다. - RES:INTACC 경과이자 표시, - RES:CAPACC 자본화 경과이자 표시(자본화 채권에 대한), - RES:ACC 총 경과이자 표시(경과이자와 자본화 경과이자). 기본값은 RES:ACC입니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
630
+ * {lang=ru} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Use these values with the RES keyword: - RES:INTACC to display the accrued interest, - RES:CAPACC to display the capitalized accrued (for capitalized bonds), - RES:ACC to display the total accrued (accrued interest and capitalized accrued). The default value is RES:ACC. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
631
+ * {lang=de} Diese Argumente sind entweder spezifisch für diese Funktion, oder sie sind gängige Argumente, die auf eine bestimmte Art und Weise verwendet werden. Verwenden Sie diese Werte mit dem RES-Schlüsselwort: - RES:INTACC zur Anzeige der aufgelaufenen Zinsen, - RES:CAPACC zur Anzeige der kapitalisierten aufgelaufenen Zinsen (für kapitalisierte Anleihen), - RES:ACC zur Anzeige der gesamten aufgelaufenen Zinsen (aufgelaufene Zinsen und kapitalisierte aufgelaufene Zinsen). Der Standardwert ist RES:ACC. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
632
+ * @return {*}
633
+ * {lang=en} The return value depends on the value of AdMode. It can represent: accrued interest, capitalized accrued, total accrued
634
+ * {lang=ja} The return value depends on the value of AdMode. It can represent: accrued interest, capitalized accrued, total accrued
635
+ * {lang=zh} 返回值取决于 AdMode 的值。这可以代表: 应计利息、资本化应计金额、应计金额合计
636
+ * {lang=hant} 返回值取決於 AdMode 的值。這可以代表: 應計利息、資本化應計金額、應計金額合計
637
+ * {lang=ko} 반환값은 AdMode 값에 따라 다릅니다. 경과이자, 자본화 경과이자, 총 경과이자를 나타낼 수 있습니다.
638
+ * {lang=ru} The return value depends on the value of AdMode. It can represent: accrued interest, capitalized accrued, total accrued
639
+ * {lang=de} Der ausgegebene Wert ist abhänig vom Wert AdModes Er kann Folgendes darstellen: aufgelaufene Zinsen, kapitalisierte aufgelaufene Zinsen, insgesamt aufgelaufene Zinsen
640
+ * @example
641
+ * This example shows how to use ACCRUED. It calculates the accrued interest of a fixed-rate bond underthe actual/actual day count convention. This bond has a long first coupon (the FRCD keyword defines its end date), and a coupon rate of 5%.
642
+ * The call to ACCRUED looks like this:
643
+ * =ACCRUED("27MAY2005", "15APR2008", 0.05, "ACC:AA CFADJ:NO CLDR:EMU_FI DATED:12MAR1998 FRCD:15APR1999 FRQ:1 ISSUE:12MAR1998 NOTIONAL:1 PX:C ARND:1E-5:DOWN REFDATE:MATURITY RP:1 SETTLE:3WD XD:NO")
644
+ */
645
+ AdFin["ACCRUED"] = function (calcDate, maturity, coupon, bondStructure, adMode) {
646
+ return AdFin._genericFunction.call(this, "BdFunction.Accrued", arguments);
647
+ };
648
+ /**
649
+ * @function CFYLD
650
+ * @memberof AdFin
651
+ * @description
652
+ * {lang=en} Calculates the yield from price using cash flows.
653
+ * {lang=ja} Calculates the yield from price using cash flows.
654
+ * {lang=zh} 使用现金流由价格计算收益率。
655
+ * {lang=hant} 使用现金流由价格计算收益率。
656
+ * {lang=ko} 현금 흐름을 사용해 가격에서 수익률을 계산합니다.
657
+ * {lang=ru} Calculates the yield from price using cash flows.
658
+ * {lang=de} Berechnet die Rendite aus dem Preis durch Cash-flows
659
+ * @param {(string|number)=} calcDate
660
+ * {lang=en} Calculation date
661
+ * {lang=ja} Calculation date
662
+ * {lang=zh} 计算日
663
+ * {lang=hant} 計算日
664
+ * {lang=ko} 계산 날짜
665
+ * {lang=ru} Calculation date
666
+ * {lang=de} Berechnungsdatum
667
+ * @param {number=} grossPrice
668
+ * {lang=en} Clean price plus accrued interest expressed in the same unit as cash flows
669
+ * {lang=ja} Clean price plus accrued interest expressed in the same unit as cash flows
670
+ * {lang=zh} 净价加应计利息,以现金流相同单位表示
671
+ * {lang=hant} 淨價加應計利息,以現金流相同單位表示
672
+ * {lang=ko} 경과이자 제외 가격과 경과이자를 더해 현금 흐름과 동일한 단위로 표시
673
+ * {lang=ru} Clean price plus accrued interest expressed in the same unit as cash flows
674
+ * {lang=de} Bereinigter Preis plus aufgelaufene Zinsen, ausgedrückt in der gleichen Einheit wie Kapitalflüsse
675
+ * @param {number=} cfDates
676
+ * {lang=en} Array of cash flow dates corresponding to the bond principal reimbursement
677
+ * {lang=ja} Array of cash flow dates corresponding to the bond principal reimbursement
678
+ * {lang=zh} 对应债券本金偿还的现金流日期数组
679
+ * {lang=hant} 對應債券本金償還的現金流日期數組
680
+ * {lang=ko} 채권 원금 상환에 해당하는 현금 흐름 날짜 배열
681
+ * {lang=ru} Array of cash flow dates corresponding to the bond principal reimbursement
682
+ * {lang=de} Anordnung der Kapitalflussdaten entsprechend der Rückzahlung des Anleihekapitals
683
+ * @param {number=} cf
684
+ * {lang=en} Array of cash flow values corresponding to the bond principal reimbursement
685
+ * {lang=ja} Array of cash flow values corresponding to the bond principal reimbursement
686
+ * {lang=zh} 对应债券本金偿还的现金流值的数组
687
+ * {lang=hant} 對應債券本金償還的現金流值的數組
688
+ * {lang=ko} 채권 원금 상환에 해당하는 현금 흐름 값 배열
689
+ * {lang=ru} Array of cash flow values corresponding to the bond principal reimbursement
690
+ * {lang=de} Anordnung der Kapitalflusswerte entsprechend der Rückzahlung des Anleihekapitals
691
+ * @param {number=} calcMethod
692
+ * {lang=en} You can use CalcMethod as an argument in Adfin functions to define the calculation method. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcmethod.htm
693
+ * {lang=ja} You can use CalcMethod as an argument in Adfin functions to define the calculation method. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcmethod.htm
694
+ * {lang=zh} 您可以将 CalcMethod 作为 Adfin 函数中的一个参数使用,来定义计算方法。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcmethod.htm
695
+ * {lang=ko} CalcMethod를 Adfin 함수의 인수로 사용하여 계산 방법을 정의할 수 있습니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
696
+ * {lang=ru} You can use CalcMethod as an argument in Adfin functions to define the calculation method. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcmethod.htm
697
+ * @return {number}
698
+ * {lang=en} The yield to maturity of the bond. See FRN Yield to Maturity. The function only takes the cash flows into account that still have to occur.
699
+ * {lang=ja} The yield to maturity of the bond. See FRN Yield to Maturity. The function only takes the cash flows into account that still have to occur.
700
+ * {lang=zh} 债券的到期收益率。请参看 FRN 到期收益率。该函数仅考虑仍然必须发生的现金流。
701
+ * {lang=hant} 債券的到期收益率。請參看 FRN 到期收益率。該函數僅考慮仍然必鬚髮生的現金流。
702
+ * {lang=ko} 채권의 만기수익률. FRN 만기수익률을 참조하십시오. 이 함수는 계속해서 발생해야 하는 현금 흐름만 고려합니다.
703
+ * {lang=ru} The yield to maturity of the bond. See FRN Yield to Maturity. The function only takes the cash flows into account that still have to occur.
704
+ * {lang=de} Die Rendite bis zur Fälligkeit der Anleihe Siehe FRN Ertrag bis zur Fälligkeit. Die Funktion berücksichtigt nur die noch ausstehenden Zahlungsströme.
705
+ * @example
706
+ * This example shows how to use CfYld to calculate the yield.
707
+ * These are examples of dates to use for the CfDates argument.
708
+ * Note: Column headings are for descriptive purposes and should not be used as input.
709
+ * CfDates 21-Jan-08, 21-Jan-09, 21-Jan-10, 21-Jan-11, 23-Jan-12
710
+ * These are examples of dates to use for the Cf argument.
711
+ * Note: Column headings are for descriptive purposes and should not be used as input.
712
+ * Cf 0.0675, 0.0675, 0.0675, 0.0675, 1.0675
713
+ * The call to CfYld looks like:
714
+ * =CFYLD("24MAY2005",1.1071, 40931, 1.0675, "CLDR:EMU CM:AA")
715
+ */
716
+ AdFin["CFYLD"] = function (calcDate, grossPrice, cfDates, cf, calcMethod) {
717
+ return AdFin._genericFunction.call(this, "CfFunction.CfYld", arguments);
718
+ };
719
+ /**
720
+ * @function DFFORMATDATE
721
+ * @memberof AdFin
722
+ * @description
723
+ * {lang=en} Converts a date specified as a serial number to the string format DDMMMYY
724
+ * {lang=ja} Converts a date specified as a serial number to the string format DDMMMYY
725
+ * {lang=zh} 将指定为序列号的日期转换为字符串格式 DDMMMYY
726
+ * {lang=hant} 將指定為序列號的日期轉換為字符串格式 DDMMMYY
727
+ * {lang=ko} 일련 번호로 지정된 날짜를 문자열 형식 DDMMMYY로 변환
728
+ * {lang=ru} Converts a date specified as a serial number to the string format DDMMMYY
729
+ * {lang=de} Konvertiert ein als Seriennummer angegebenes Datum in das Zeichenkettenformat DDMMMYY um
730
+ * @param {number=} calcDate
731
+ * {lang=en} Calculation date
732
+ * {lang=ja} Calculation date
733
+ * {lang=zh} 计算日
734
+ * {lang=hant} 計算日
735
+ * {lang=ko} 계산 날짜
736
+ * {lang=ru} Calculation date
737
+ * {lang=de} Berechnungsdatum
738
+ * @return {string}
739
+ * {lang=en} The corresponding string.
740
+ * {lang=ja} The corresponding string.
741
+ * {lang=zh} 相应的字符串。
742
+ * {lang=hant} 相應的字符串。
743
+ * {lang=ko} 해당 문자열.
744
+ * {lang=ru} The corresponding string.
745
+ * {lang=de} Die entsprechende Zeichenfolge.
746
+ * @example
747
+ * This example shows how to use DfFormatDate to convert a date specified as a serial number to the string format.
748
+ * The call to DfFormatDate looks like:
749
+ * =DFFORMATDATE(42921)
750
+ * Returns the value "05JUL17" (1 stands for January 1st 1900).
751
+ */
752
+ AdFin["DFFORMATDATE"] = function (calcDate) {
753
+ return AdFin._genericFunction.call(this, "DfFunction.DfFormatDate", arguments);
754
+ };
755
+ /**
756
+ * @function DFADDWD
757
+ * @memberof AdFin
758
+ * @description
759
+ * {lang=en} Adds the number of working days to a date.
760
+ * {lang=ja} Adds the number of working days to a date.
761
+ * {lang=zh} 添加工作日天数到某个日期。
762
+ * {lang=hant} 添加工作日天數到某個日期。
763
+ * {lang=ko} 날짜에 영업일수를 더합니다.
764
+ * {lang=ru} Adds the number of working days to a date.
765
+ * {lang=de} Fügt die Anzahl der Arbeitstage zu einem Datum hinzu.
766
+ * @param {string=} calendars
767
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
768
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
769
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
770
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
771
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
772
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
773
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
774
+ * @param {(string|number)=} calcDate
775
+ * {lang=en} Calculation date
776
+ * {lang=ja} Calculation date
777
+ * {lang=zh} 计算日
778
+ * {lang=hant} 計算日
779
+ * {lang=ko} 계산 날짜
780
+ * {lang=ru} Calculation date
781
+ * {lang=de} Berechnungsdatum
782
+ * @param {number=} nbDays
783
+ * {lang=en} Number of working days (from: 0 to 366)
784
+ * {lang=ja} Number of working days (from: 0 to 366)
785
+ * {lang=zh} 工作日天数 (从: 0 到 366)
786
+ * {lang=hant} 工作日天數 (從: 0 到 366)
787
+ * {lang=ko} 영업일수(0부터 366까지)
788
+ * {lang=ru} Number of working days (from: 0 to 366)
789
+ * {lang=de} Anzahl der Arbeitstage (von: 0 bis 366)
790
+ * @param {string=} dfMode
791
+ * {lang=en} # not currently used - leave blank #
792
+ * {lang=ja} # not currently used - leave blank #
793
+ * {lang=zh} # 当前未使用的数目 - 留空白 #
794
+ * {lang=hant} # 當前未使用的數目 - 留空白 #
795
+ * {lang=ko} # 현재 사용되지 않음 - 공백으로 둠 #
796
+ * {lang=ru} # not currently used - leave blank #
797
+ * {lang=de} # derzeit nicht verwendet - leer lassen #
798
+ * @return {number}
799
+ * {lang=en} The NbDays-th working day following CalcDate is first calculated independently for all listed calendars. The greatest of the calculated dates is returned if it is working day for all calendars. Otherwise, the next working day common to all listed calendars is returned.
800
+ * {lang=ja} The NbDays-th working day following CalcDate is first calculated independently for all listed calendars. The greatest of the calculated dates is returned if it is working day for all calendars. Otherwise, the next working day common to all listed calendars is returned.
801
+ * {lang=zh} CalcDate 之后的 NbDays-th 工作日首先计算,独立于全部列出的日历。如果对全部日历都是工作日,则返回计算出的日期中最大的。否则,则返回通用于全部列出的日历的下一工作日。
802
+ * {lang=hant} CalcDate 之後的 NbDays-th 工作日首先計算,獨立於全部列出的日曆。如果對全部日曆都是工作日,則返回計算出的日期中最大的。否則,則返回通用於全部列出的日曆的下一工作日。
803
+ * {lang=ko} CalcDate 이후의 NbDays-th 영업일은 먼저 나열된 모든 캘린더에 대해 독립적으로 계산됩니다. 계산한 날짜 중 가장 큰 날짜가 모든 캘린더의 영업일인 경우 반환합니다. 그렇지 않으면 나열된 모든 캘린더에 공통된 다음 영업일을 반환합니다.
804
+ * {lang=ru} The NbDays-th working day following CalcDate is first calculated independently for all listed calendars. The greatest of the calculated dates is returned if it is working day for all calendars. Otherwise, the next working day common to all listed calendars is returned.
805
+ * {lang=de} Der auf CalcDate folgende NbDays-te Arbeitstag wird zunächst unabhängig für alle aufgelisteten Kalender berechnet. Das größte der berechneten Daten wird ausgegeben, wenn es für alle Kalender ein Werktag ist. Andernfalls wird der nächste Arbeitstag, der allen aufgelisteten Kalendern gemeinsam ist, ausgegeben.
806
+ * @example
807
+ * This example shows how to use DFADDWD to add the number of working days to a date.
808
+ * The call to DFADDWD looks like:
809
+ * =DFADDWD("USA","30JUN2017",2,"")
810
+ * This function equals July 5th 2017 (July 4th 2017 is the American Independence Day so the date is moved to the next working day).
811
+ */
812
+ AdFin["DFADDWD"] = function (calendars, calcDate, nbDays, dfMode) {
813
+ return AdFin._genericFunction.call(this, "DfFunction.DfAddWD", arguments);
814
+ };
815
+ /**
816
+ * @function DFADDPERIOD
817
+ * @memberof AdFin
818
+ * @description
819
+ * {lang=en} Adds a period (number of calendar days, working days,weeks, months or years) to a date.
820
+ * {lang=ja} Adds a period (number of calendar days, working days,weeks, months or years) to a date.
821
+ * {lang=zh} 添加一个期间 (日历日天数、工作日数、星期数、月份数或年数) 到某个日期。
822
+ * {lang=hant} 添加一個期間 (日曆日天數、工作日數、星期數、月份數或年數) 到某個日期。
823
+ * {lang=ko} 날짜에 기간(역일 수, 영업일, 주, 월 또는 연도)을 추가합니다.
824
+ * {lang=ru} Adds a period (number of calendar days, working days,weeks, months or years) to a date.
825
+ * {lang=de} Fügt einem Datum einen Zeitraum (Anzahl der Kalendertage, Arbeitstage, Wochen, Monate oder Jahre) hinzu.
826
+ * @param {string=} calendars
827
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
828
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
829
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
830
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
831
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
832
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
833
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
834
+ * @param {(string|number)=} calcDate
835
+ * {lang=en} Calculation date
836
+ * {lang=ja} Calculation date
837
+ * {lang=zh} 计算日
838
+ * {lang=hant} 計算日
839
+ * {lang=ko} 계산 날짜
840
+ * {lang=ru} Calculation date
841
+ * {lang=de} Berechnungsdatum
842
+ * @param {string=} period
843
+ * {lang=en} Period code {iD, iM, iW, iWD, iY} with i as integer: iDi calendar days, iMi months, iWi weeks, iWDi working days (from -366 to 366), iYi years
844
+ * {lang=ja} Period code {iD, iM, iW, iWD, iY} with i as integer: iDi calendar days, iMi months, iWi weeks, iWDi working days (from -366 to 366), iYi years
845
+ * {lang=zh} 期间代码 {iD, iM, iW, iWD, iY} 其中 i 是整数: iDi 日历日, iMi 月, iWi 星期, iWDi 工作日 (从 -366 到 366), iYi 年
846
+ * {lang=hant} 期間代碼 {iD, iM, iW, iWD, iY} 其中 i 是整數: iDi 日曆日, iMi 月, iWi 星期, iWDi 工作日 (從 -366 到 366), iYi 年
847
+ * {lang=ko} 기간 코드 {iD, iM, iW, iWD, iY}, i는 정수: iDi 역일, iMi 월, iWi 주, iWDi 영업일(-366에서 366), iYi 연도
848
+ * {lang=ru} Period code {iD, iM, iW, iWD, iY} with i as integer: iDi calendar days, iMi months, iWi weeks, iWDi working days (from -366 to 366), iYi years
849
+ * {lang=de} Zeitraumcode {iD, iM, iW, iWD, iY} mit i als Ganzzahl: iDi Kalendertage, iMi Monate, iWi Wochen, IwDi Werktage (von -366 bis 366), iYi Jahre
850
+ * @param {string=} dfMode
851
+ * {lang=en} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
852
+ * {lang=ja} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
853
+ * {lang=zh} 作为 Adfin 通用模块中的函数的参数,用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
854
+ * {lang=hant} 作為 Adfin 通用模塊中的函數的參數,用來自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
855
+ * {lang=ko} Adfin Common 모듈의 함수에서 인수로 사용되어 반환한 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
856
+ * {lang=ru} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
857
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
858
+ * @return {number}
859
+ * {lang=en} Date calculated by adding Period to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
860
+ * {lang=ja} Date calculated by adding Period to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
861
+ * {lang=zh} 通过添加期间到D CalcDate 计算的日期。如果计算日落在非工作日,则用 DMC 关键字在 DfMode 中指定的日期移动惯例 (如果未指定,则为默认值) 适用。 如果 CalcDate 落在该月的最后一个工作日,则返回日期也可不同,取决于默认的,或用 EMC 关键字在 DfMode 中指定的月末惯例。
862
+ * {lang=hant} 通過添加期間到D CalcDate 計算的日期。如果計算日落在非工作日,則用 DMC 關鍵字在 DfMode 中指定的日期移動慣例 (如果未指定,則為默認值) 適用。如果 CalcDate 落在該月的最後一個工作日,則返回日期也可不同,取決於默認的,或用 EMC 關鍵字在 DfMode 中指定的月末慣例。
863
+ * {lang=ko} Period를 CalcDate에 추가하여 계산한 날짜. 계산한 날짜가 비영업일인 경우 DMC 키워드(또는 지정되지 않은 경우 기본값)를 사용하여 DfMode에 지정된 날짜 이동 규약이 적용됩니다. CalcDate가 해당 월의 마지막 영업일인 경우 반환 날짜는 기본값으로 정의되거나 DfMode에 EMC 키워드로 지정된 월말 규약에 따라 달라질 수 있습니다.
864
+ * {lang=ru} Date calculated by adding Period to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
865
+ * {lang=de} Datum wird berechnet, indem Zeitraum zum CalcDate hinzugefügt wird. Wenn das berechnete Datum auf einen arbeitsfreien Tag fällt, gilt die im DfMode mit dem DMC-Schlüsselwort angegebene Date Moving Convention (oder der Standardwert, wenn nicht angegeben). Wenn CalcDate auf den letzten Arbeitstag des Monats fällt, kann das Rückgabedatum auch abhängig von der als Standard definierten oder im DfMode mit dem EMC-Schlüsselwort angegebenen Monatsende-Konvention variieren.
866
+ * @example
867
+ * This example shows how to use DFADDPERIOD to add a period to a date.
868
+ * The call to DFADDPERIOD looks like:
869
+ * =DFADDPERIOD("FRA","30JUL04","1M","EMC:S")
870
+ * This function returns August 30th 2004 (August 31st 2004 is the last working day of the month but the same day end-of-month convention applies).
871
+ */
872
+ AdFin["DFADDPERIOD"] = function (calendars, calcDate, period, dfMode) {
873
+ return AdFin._genericFunction.call(this, "DfFunction.DfAddPeriod", arguments);
874
+ };
875
+ /**
876
+ * @function DFADDMONTHS
877
+ * @memberof AdFin
878
+ * @description
879
+ * {lang=en} Adds the number of months to a date.
880
+ * {lang=ja} Adds the number of months to a date.
881
+ * {lang=zh} 添加月份数到某个日期。
882
+ * {lang=hant} 添加月份數到某個日期。
883
+ * {lang=ko} 날짜에 월 수를 더합니다.
884
+ * {lang=ru} Adds the number of months to a date.
885
+ * {lang=de} Fügt die Anzahl der Monate zu einem Datum hinzu.
886
+ * @param {string=} calendars
887
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
888
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
889
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
890
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
891
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
892
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
893
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
894
+ * @param {(string|number)=} calcDate
895
+ * {lang=en} Calculation date
896
+ * {lang=ja} Calculation date
897
+ * {lang=zh} 计算日
898
+ * {lang=hant} 計算日
899
+ * {lang=ko} 계산 날짜
900
+ * {lang=ru} Calculation date
901
+ * {lang=de} Berechnungsdatum
902
+ * @param {number=} nbMonths
903
+ * {lang=en} Number of months
904
+ * {lang=ja} Number of months
905
+ * {lang=zh} 月份数
906
+ * {lang=hant} 月份數
907
+ * {lang=ko} 월의 수
908
+ * {lang=ru} Number of months
909
+ * {lang=de} Anzahl der Monate
910
+ * @param {string=} dfMode
911
+ * {lang=en} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
912
+ * {lang=ja} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
913
+ * {lang=zh} 作为 Adfin 通用模块的函数中的参数,用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
914
+ * {lang=hant} 作為 Adfin 通用模塊的函數中的參數,用來自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
915
+ * {lang=ko} Adfin Common 모듈의 함수에서 인수로 사용되어 반환한 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
916
+ * {lang=ru} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
917
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
918
+ * @return {number}
919
+ * {lang=en} The date calculated by adding NbMonths to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
920
+ * {lang=ja} The date calculated by adding NbMonths to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
921
+ * {lang=zh} 通过添加 NbMonths 到 CalcDate 计算出的日期。如果计算出的日期落在非工作日,则用 DMC 关键字在 DfMode 中指定的日期移动惯例 (如果未指定,则为默认值) 适用。如果 CalcDate 落在该月的最后一个工作日,则返回日期也可改变,取决于默认的或者用 EMC 关键字在 DfMode 中指定的月末惯例。
922
+ * {lang=hant} 通過添加 NbMonths 到 CalcDate 計算出的日期。如果計算出的日期落在非工作日,則用 DMC 關鍵字在 DfMode 中指定的日期移動慣例 (如果未指定,則為默認值) 適用。如果 CalcDate 落在該月的最後一個工作日,則返回日期也可改變,取決於默認的或者用 EMC 關鍵字在 DfMode 中指定的月末慣例。
923
+ * {lang=ko} NbMonth를 CalcDate에 추가하여 계산한 날짜. 계산한 날짜가 비영업일인 경우 DMC 키워드(또는 지정되지 않은 경우 기본값)를 사용하여 DfMode에 지정된 날짜 이동 규약이 적용됩니다. CalcDate가 해당 월의 마지막 영업일인 경우 반환 날짜는 기본값으로 정의되거나 DfMode에 EMC 키워드로 지정된 월말 규약에 따라 달라질 수 있습니다.
924
+ * {lang=ru} The date calculated by adding NbMonths to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
925
+ * {lang=de} Das Datum, das berechnet wird, indem NbMonths zu CalcDate hinzugefügt wird. Wenn das berechnete Datum auf einen arbeitsfreien Tag fällt, gilt die im DfMode mit dem DMC-Schlüsselwort angegebene Datumsverschiebungskonvention (oder der Standardwert, wenn nicht angegeben). Wenn CalcDate auf den letzten Arbeitstag des Monats fällt, kann das Rückgabedatum auch abhängig von der als Standard definierten oder im DfMode mit dem EMC-Schlüsselwort angegebenen Monatsende-Konvention variieren.
926
+ * @example
927
+ * This example shows how to use DFADDMONTHS to add the number of months to a date.
928
+ * The call to DFADDMONTHS looks like:
929
+ * =DFADDMONTHS("GER","25NOV2004",1,"DMC:P")
930
+ * This function returns December 24th 2004 (December 25th 2004 is Christmas holiday so the date is set to the first working day preceding this date).
931
+ */
932
+ AdFin["DFADDMONTHS"] = function (calendars, calcDate, nbMonths, dfMode) {
933
+ return AdFin._genericFunction.call(this, "DfFunction.DfAddMonths", arguments);
934
+ };
935
+ /**
936
+ * @function DFADDYEARS
937
+ * @memberof AdFin
938
+ * @description
939
+ * {lang=en} Adds a number of years to a date.
940
+ * {lang=ja} Adds a number of years to a date.
941
+ * {lang=zh} 添加年数到某个日期。
942
+ * {lang=hant} 添加年數到某個日期。
943
+ * {lang=ko} 날짜에 연도 수를 더합니다.
944
+ * {lang=ru} Adds a number of years to a date.
945
+ * {lang=de} Fügt einem Datum eine Anzahl von Jahren hinzu.
946
+ * @param {string=} calendars
947
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
948
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
949
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
950
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
951
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
952
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
953
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
954
+ * @param {(string|number)=} calcDate
955
+ * {lang=en} Calculation date
956
+ * {lang=ja} Calculation date
957
+ * {lang=zh} 计算日
958
+ * {lang=hant} 計算日
959
+ * {lang=ko} 계산 날짜
960
+ * {lang=ru} Calculation date
961
+ * {lang=de} Berechnungsdatum
962
+ * @param {number=} nbYears
963
+ * {lang=en} Number of years
964
+ * {lang=ja} Number of years
965
+ * {lang=zh} 年数
966
+ * {lang=hant} 年數
967
+ * {lang=ko} 연도의 수
968
+ * {lang=ru} Number of years
969
+ * {lang=de} Anzahl der Jahre
970
+ * @param {string=} dfMode
971
+ * {lang=en} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
972
+ * {lang=ja} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
973
+ * {lang=zh} 作为 Adfin 通用模块的函数中的参数,用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
974
+ * {lang=hant} 作為 Adfin 通用模塊的函數中的參數,用來自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
975
+ * {lang=ko} Adfin Common 모듈의 함수에서 인수로 사용되어 반환한 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
976
+ * {lang=ru} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
977
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
978
+ * @return {number}
979
+ * {lang=en} The date calculated by adding NbYears to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
980
+ * {lang=ja} The date calculated by adding NbYears to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
981
+ * {lang=zh} 通过添加 NbYears 到 CalcDate 计算出的日期。如果计算出的日期落在非工作日,则用 DMC 关键字在 DfMode 中指定的日期移动惯例 (如果未指定,则为默认值) 适用。如果 CalcDate 落在该月的最后一个工作日,则返回日期也可改变,取决于默认的或者用 EMC 关键字在 DfMode 中指定的月末惯例。
982
+ * {lang=hant} 通過添加 NbYears 到 CalcDate 計算出的日期。如果計算出的日期落在非工作日,則用 DMC 關鍵字在 DfMode 中指定的日期移動慣例 (如果未指定,則為默認值) 適用。如果 CalcDate 落在該月的最後一個工作日,則返回日期也可改變,取決於默認的或者用 EMC 關鍵字在 DfMode 中指定的月末慣例。
983
+ * {lang=ko} NbYears를 CalcDate에 추가하여 계산한 날짜. 계산한 날짜가 비영업일인 경우 DMC 키워드(또는 지정되지 않은 경우 기본값)를 사용하여 DfMode에 지정된 날짜 이동 규약이 적용됩니다. CalcDate가 해당 월의 마지막 영업일인 경우 반환 날짜는 기본값으로 정의되거나 DfMode에 EMC 키워드로 지정된 월말 규약에 따라 달라질 수 있습니다.
984
+ * {lang=ru} The date calculated by adding NbYears to CalcDate. If the calculated date falls on a non-working day, the Date Moving Convention specified in DfMode with the DMC keyword (or the default value if not specified) applies. If CalcDate falls on the last working day of the month, the return date may also vary depending on the End-of-Month Convention defined as default or specified in DfMode with the EMC keyword.
985
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
986
+ * @example
987
+ * This example shows how to use DFADDYEARS to add a number of years to a date.
988
+ * The call to DFADDYEARS looks like:
989
+ * =DFADDYEARS("UKG","30AUG04",4,"DMC:F EMC:S")
990
+ * This function equals September 1st 2008 (August 31st 2008 is a Sunday so the date moving convention overwrites the same day end-of-month convention).
991
+ */
992
+ AdFin["DFADDYEARS"] = function (calendars, calcDate, nbYears, dfMode) {
993
+ return AdFin._genericFunction.call(this, "DfFunction.DfAddYears", arguments);
994
+ };
995
+ /**
996
+ * @function DFADJUSTTOWD
997
+ * @memberof AdFin
998
+ * @description
999
+ * {lang=en} Adjusts a holiday date to the previous or next working day.
1000
+ * {lang=ja} Adjusts a holiday date to the previous or next working day.
1001
+ * {lang=zh} 调整节假日日期到前一或下一工作日。
1002
+ * {lang=hant} 調整節假日日期到前一或下一工作日。
1003
+ * {lang=ko} 휴일 날짜를 이전 영업일 또는 다음 영업일로 조정합니다.
1004
+ * {lang=ru} Adjusts a holiday date to the previous or next working day.
1005
+ * {lang=de} Stellt ein Feiertagsdatum auf den vorherigen oder nächsten Werktag um.
1006
+ * @param {string=} calendars
1007
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
1008
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
1009
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
1010
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
1011
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
1012
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
1013
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
1014
+ * @param {(string|number)=} calcDate
1015
+ * {lang=en} Calculation date
1016
+ * {lang=ja} Calculation date
1017
+ * {lang=zh} 计算日
1018
+ * {lang=hant} 計算日
1019
+ * {lang=ko} 계산 날짜
1020
+ * {lang=ru} Calculation date
1021
+ * {lang=de} Berechnungsdatum
1022
+ * @param {number=} adjMode
1023
+ * {lang=en} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Adjustment mode {0, 1, -1}: 0 to adjust the date according to the date moving convention specified in DfMode with the DMC keyword, 1 to adjust the date to the next day, -1 to adjust the date to the previous day
1024
+ * {lang=ja} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Adjustment mode {0, 1, -1}: 0 to adjust the date according to the date moving convention specified in DfMode with the DMC keyword, 1 to adjust the date to the next day, -1 to adjust the date to the previous day
1025
+ * {lang=zh} 这些参数或者特定于这个函数,或者以特定方式用作通用参数。调整模式 {0, 1, -1}: 0 根据用 DMC 关键字在 DfMode 中指定的日期移动惯例调整日期,1 调整日期到下一日,-1 调整日期到前一日
1026
+ * {lang=hant} 這些參數或者特定於這個函數,或者以特定方式用作通用參數。調整模式 {0, 1, -1}: 0 根據用 DMC 關鍵字在 DfMode 中指定的日期移動慣例調整日期,1 調整日期到下一日,-1 調整日期到前一日
1027
+ * {lang=ko} 이 인수는 이 함수에만 고유하거나 특정 방법으로 사용되는 공통 인수입니다. 조정 모드 {0, 1, -1}: 0은 DMC 키워드로 DfMode에 지정된 날짜 이동 규칙에 따라 날짜를 조정, 1은 날짜를 다음 날로 조정, -1은 날짜를 전날로 조정
1028
+ * {lang=ru} These arguments are either specific to this function, or they are common arguments that are used in a specific way. Adjustment mode {0, 1, -1}: 0 to adjust the date according to the date moving convention specified in DfMode with the DMC keyword, 1 to adjust the date to the next day, -1 to adjust the date to the previous day
1029
+ * {lang=de} Diese Argumente sind entweder spezifisch für diese Funktion, oder sie sind gängige Argumente, die auf eine bestimmte Art und Weise verwendet werden. Anpassungsmodus {0, 1, -1}: 0 zum Anpassen des Datums entsprechend der im DfMode mit dem DMC-Schlüsselwort angegebenen Datumsverschiebungskonvention, 1 zum Anpassen des Datums an den nächsten Tag, -1 zum Anpassen des Datums an den Vortag um das Datum am vorherigen Tag anzupassen
1030
+ * @param {string=} dfMode
1031
+ * {lang=en} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1032
+ * {lang=ja} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1033
+ * {lang=zh} 作为 Adfin 通用模块的函数中的参数,用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1034
+ * {lang=hant} 作为 Adfin 通用模块的函数中的参数,用来自定义返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1035
+ * {lang=ko} Adfin Common 모듈의 함수에서 인수로 사용되어 반환한 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1036
+ * {lang=ru} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1037
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1038
+ * @return {number}
1039
+ * {lang=en} The same date if it is a working day, otherwise the previous (DMC:P) or the next (DMC:F) working day common to all listed calendars.
1040
+ * {lang=ja} The same date if it is a working day, otherwise the previous (DMC:P) or the next (DMC:F) working day common to all listed calendars.
1041
+ * {lang=zh} 如果是工作日,则是相同日期,否则为通用于全部列出的日历的前一 (DMC:P) 或下一 (DMC:F) 工作日。
1042
+ * {lang=hant} 如果是工作日,則是相同日期,否則為通用於全部列出的日曆的前一 (DMC:P) 或下一 (DMC:F) 工作日。
1043
+ * {lang=ko} 영업일인 경우 같은 날짜로, 비영업일인 경우 나열된 모든 캘린더에 공통된 근무일의 전날(DMC : P) 또는 다음날(DMC : F).
1044
+ * {lang=ru} The same date if it is a working day, otherwise the previous (DMC:P) or the next (DMC:F) working day common to all listed calendars.
1045
+ * {lang=de} Dasselbe Datum, wenn es sich um einen Werktag handelt, andernfalls der vorherige (DMC:P) oder der nächste (DMC:F) Werktag, der allen aufgelisteten Kalendern gemeinsam ist.
1046
+ * @example
1047
+ * This example shows how to use DFADJUSTTOWD to adjusts a holiday date to the previous or next working day.
1048
+ * The call to DFADJUSTTOWD looks like:
1049
+ * =DFADJUSTTOWD("FRA","01MAY2017",0,"DMC:F")
1050
+ * This function equals May 2nd 2017 (May 1st 2017 is a French National holiday so the date is moved to the following working day as specified with DMC keyword).
1051
+ */
1052
+ AdFin["DFADJUSTTOWD"] = function (calendars, calcDate, adjMode, dfMode) {
1053
+ return AdFin._genericFunction.call(this, "DfFunction.DfAdjustToWD", arguments);
1054
+ };
1055
+ /**
1056
+ * @function DFLASTWD
1057
+ * @memberof AdFin
1058
+ * @description
1059
+ * {lang=en} Calculates the last working day of a month.
1060
+ * {lang=ja} Calculates the last working day of a month.
1061
+ * {lang=zh} 计算某月的最后工作日。
1062
+ * {lang=hant} 計算某月的最後工作日。
1063
+ * {lang=ko} 한 달의 마지막 영업일을 계산합니다.
1064
+ * {lang=ru} Calculates the last working day of a month.
1065
+ * {lang=de} Berechnet den letzten Arbeitstag eines Monats.
1066
+ * @param {string=} calendars
1067
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
1068
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
1069
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
1070
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
1071
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
1072
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
1073
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
1074
+ * @param {(string|number)=} calcDate
1075
+ * {lang=en} Calculation date
1076
+ * {lang=ja} Calculation date
1077
+ * {lang=zh} 计算日
1078
+ * {lang=hant} 計算日
1079
+ * {lang=ko} 계산 날짜
1080
+ * {lang=ru} Calculation date
1081
+ * {lang=de} Berechnungsdatum
1082
+ * @param {string=} dfMode
1083
+ * {lang=en} # not currently used - leave blank #
1084
+ * {lang=ja} # not currently used - leave blank #
1085
+ * {lang=zh} # 当前未使用数目 - 留空白 #
1086
+ * {lang=hant} # 當前未使用數目 - 留空白 #
1087
+ * {lang=ko} # 현재 사용되지 않음 - 공백으로 둠 #
1088
+ * {lang=ru} # not currently used - leave blank #
1089
+ * {lang=de} # derzeit nicht verwendet - leer lassen #
1090
+ * @return {number}
1091
+ * {lang=en} The last working day in the month of CalcDate common to all listed calendars.
1092
+ * {lang=ja} The last working day in the month of CalcDate common to all listed calendars.
1093
+ * {lang=zh} CalcDate 的月份中通用于全部列出的日历的最后工作日。
1094
+ * {lang=hant} CalcDate 的月份中通用於全部列出的日曆的最後工作日。
1095
+ * {lang=ko} 나열된 모든 캘린더에 공통된 CalcDate 월의 마지막 영업일.
1096
+ * {lang=ru} The last working day in the month of CalcDate common to all listed calendars.
1097
+ * {lang=de} Der letzte Arbeitstag im Monat von CalcDate, der allen aufgelisteten Kalendern gemeinsam ist.
1098
+ * @example
1099
+ * =DFLASTWD("FRA USA","18DEC2017","")
1100
+ * This function equals December 29th 2017 (December 31st 2017 is the New Years's Eve holiday in US so the date is moved to the last common working day).
1101
+ */
1102
+ AdFin["DFLASTWD"] = function (calendars, calcDate, dfMode) {
1103
+ return AdFin._genericFunction.call(this, "DfFunction.DfLastWD", arguments);
1104
+ };
1105
+ /**
1106
+ * @function DFFINDDATED
1107
+ * @memberof AdFin
1108
+ * @description
1109
+ * {lang=en} Finds a date from a rule based on a reference date.
1110
+ * {lang=ja} Finds a date from a rule based on a reference date.
1111
+ * {lang=zh} 基于参考日期用某规则查找某日期。
1112
+ * {lang=hant} 基於參考日期用某規則查找某日期。
1113
+ * {lang=ko} 참조일을 기준으로 규칙에서 날짜를 찾습니다.
1114
+ * {lang=ru} Finds a date from a rule based on a reference date.
1115
+ * {lang=de} Findet ein Datum aus einer Regel basierend auf einem Referenzdatum.
1116
+ * @param {number=} number
1117
+ * {lang=en} Integer representing either the number of days or a particular day of the week.
1118
+ * {lang=ja} Integer representing either the number of days or a particular day of the week.
1119
+ * {lang=zh} 整数,代表该星期中特定一天或天数。
1120
+ * {lang=hant} 整數,代表該星期中特定一天或天數。
1121
+ * {lang=ko} 일수 또는 특정 요일을 나타내는 정수입니다.
1122
+ * {lang=ru} Integer representing either the number of days or a particular day of the week.
1123
+ * {lang=de} Ganzzahl, die entweder die Anzahl der Tage oder einen bestimmten Wochentag darstellt.
1124
+ * @param {number=} day
1125
+ * {lang=en} String representing the day. {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1126
+ * {lang=ja} String representing the day. {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1127
+ * {lang=zh} 代表该日的字符串。{Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1128
+ * {lang=hant} 代表該日的字符串。 {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1129
+ * {lang=ko} 요일을 나타내는 문자열. {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1130
+ * {lang=ru} String representing the day. {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1131
+ * {lang=de} Zeichenfolge, die den Tag repräsentiert. {Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
1132
+ * @param {number=} direction
1133
+ * {lang=en} String representing the direction. {Of, Before, After}
1134
+ * {lang=ja} String representing the direction. {Of, Before, After}
1135
+ * {lang=zh} 代表该方向的字符串。{Of, Before, After}
1136
+ * {lang=hant} 代表該方向的字符串。 {Of, Before, After}
1137
+ * {lang=ko} 방향을 나타내는 문자열. {의, 전, 후}
1138
+ * {lang=ru} String representing the direction. {Of, Before, After}
1139
+ * {lang=de} Zeichenfolge, die die Richtung repräsentiert. {Of, Before, After}
1140
+ * @param {number=} refDate
1141
+ * {lang=en} Reference date
1142
+ * {lang=ja} Reference date
1143
+ * {lang=zh} 参考日期
1144
+ * {lang=hant} 參考日期
1145
+ * {lang=ko} 참조 데이터
1146
+ * {lang=ru} Reference date
1147
+ * {lang=de} Referenzdatum
1148
+ * @return {number}
1149
+ * {lang=en} The calculated date.
1150
+ * {lang=ja} The calculated date.
1151
+ * {lang=zh} 计算出的日期。
1152
+ * {lang=hant} 計算出的日期。
1153
+ * {lang=ko} 계산한 날짜.
1154
+ * {lang=ru} The calculated date.
1155
+ * {lang=de} Das berechnete Datum.
1156
+ * @example
1157
+ * This example shows how to use DFFINDDATED to find a date from a rule based on a reference date.
1158
+ * The call to DFFINDDATED looks like:
1159
+ * =DFFINDDATED(1,"mon","aft","30JAN95")
1160
+ * This function equals Mon, February 6th 1995 (first Monday after January 30th 1995).
1161
+ */
1162
+ AdFin["DFFINDDATED"] = function (number, day, direction, refDate) {
1163
+ return AdFin._genericFunction.call(this, "DfFunction.DfFindDateD", arguments);
1164
+ };
1165
+ /**
1166
+ * @function DFCOUNTDAYS
1167
+ * @memberof AdFin
1168
+ * @description
1169
+ * {lang=en} Calculates the number of days between two dates according to the day count basis specified in DfMode with the DCB keyword.
1170
+ * {lang=ja} Calculates the number of days between two dates according to the day count basis specified in DfMode with the DCB keyword.
1171
+ * {lang=zh} 根据用 DCB 关键字在 DfMode 中指定的日计数基准计算两个日期间的天数。
1172
+ * {lang=hant} 根據用 DCB 關鍵字在 DfMode 中指定的日計數基準計算兩個日期間的天數。
1173
+ * {lang=ko} DCB 키워드로 DfMode에 지정된 일수 기준에 따라 두 날짜 사이의 일수를 계산합니다.
1174
+ * {lang=ru} Calculates the number of days between two dates according to the day count basis specified in DfMode with the DCB keyword.
1175
+ * @param {(string|number)=} startDate
1176
+ * {lang=en} Period start date.
1177
+ * {lang=ja} Period start date.
1178
+ * {lang=zh} 期间开始日期。
1179
+ * {lang=hant} 期間開始日期。
1180
+ * {lang=ko} 기간 개시일.
1181
+ * {lang=ru} Period start date.
1182
+ * {lang=de} Anfangsdatum des Zeitraums
1183
+ * @param {(string|number)=} endDate
1184
+ * {lang=en} Period end date.
1185
+ * {lang=ja} Period end date.
1186
+ * {lang=zh} 期间结束日期。
1187
+ * {lang=hant} 期間結束日期。
1188
+ * {lang=ko} 기간 종료일.
1189
+ * {lang=ru} Period end date.
1190
+ * {lang=de} Enddatum des Zeitraums
1191
+ * @param {string=} dfMode
1192
+ * {lang=en} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1193
+ * {lang=ja} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1194
+ * {lang=zh} 作为 Adfin 通用模块的函数中的参数,用来自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1195
+ * {lang=hant} 作為 Adfin 通用模塊的函數中的參數,用來自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1196
+ * {lang=ko} Adfin Common 모듈의 함수에서 인수로 사용되어 반환한 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1197
+ * {lang=ru} Is used as an argument in functions of the Adfin Common module to customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_dfmode.htm
1198
+ * {lang=de} Wird als Argument in Funktionen des Adfin Common-Moduls verwendet, um ausgegebene Werte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1199
+ * @return {number}
1200
+ * {lang=en} The number of days calculated according to the chosen basis.
1201
+ * {lang=ja} The number of days calculated according to the chosen basis.
1202
+ * {lang=zh} 根据所选基准计算出的天数。
1203
+ * {lang=hant} 根據所選基準計算出的天數。
1204
+ * {lang=ko} 선택한 기준에 따라 계산한 일수입니다.
1205
+ * {lang=ru} The number of days calculated according to the chosen basis.
1206
+ * {lang=de} Die Anzahl der Tage, die nach der gewählten Basis berechnet wurden.
1207
+ * @example
1208
+ * This example shows how to use DFCOUNTDAYS to calculate the number of days between two dates according to the day count basis specified.
1209
+ * The call to DFCOUNTDAYS looks like:
1210
+ * =DFCOUNTDAYS("30JAN04","30JAN05","DCB:00")
1211
+ * This function equals 360 (basis 30/360).
1212
+ */
1213
+ AdFin["DFCOUNTDAYS"] = function (startDate, endDate, dfMode) {
1214
+ return AdFin._genericFunction.call(this, "DfFunction.DfCountDays", arguments);
1215
+ };
1216
+ /**
1217
+ * @function DFCOUNTWD
1218
+ * @memberof AdFin
1219
+ * @description
1220
+ * {lang=en} Calculates the number of working days between two dates.
1221
+ * {lang=ja} Calculates the number of working days between two dates.
1222
+ * {lang=zh} 计算两个日期间工作日的天数。
1223
+ * {lang=hant} 計算兩個日期間工作日的天數。
1224
+ * {lang=ko} 두 날짜 간 영업일수를 계산합니다.
1225
+ * {lang=ru} Calculates the number of working days between two dates.
1226
+ * {lang=de} Berechnet die Anzahl der Arbeitstage zwischen zwei Tagen.
1227
+ * @param {string=} calendars
1228
+ * {lang=en} A list of one or more calendar codes (for example, FRA or UKG).
1229
+ * {lang=ja} A list of one or more calendar codes (for example, FRA or UKG).
1230
+ * {lang=zh} 一个或多个日历代码的列表 (例如 FRA 或 UKG)。
1231
+ * {lang=hant} 一個或多個日曆代碼的列表 (例如 FRA 或 UKG)。
1232
+ * {lang=ko} 하나 이상의 캘린더 코드 목록(예: FRA 또는 UKG).
1233
+ * {lang=ru} A list of one or more calendar codes (for example, FRA or UKG).
1234
+ * {lang=de} Eine Liste mit einem oder mehreren Kalendercodes (z. B. FRA oder UKG).
1235
+ * @param {(string|number)=} startDate
1236
+ * {lang=en} Period start date.
1237
+ * {lang=ja} Period start date.
1238
+ * {lang=zh} 期间开始日期。
1239
+ * {lang=hant} 期間開始日期。
1240
+ * {lang=ko} 기간 개시일.
1241
+ * {lang=ru} Period start date.
1242
+ * {lang=de} Anfangsdatum des Zeitraums.
1243
+ * @param {(string|number)=} endDate
1244
+ * {lang=en} Period end date.
1245
+ * {lang=ja} Period end date.
1246
+ * {lang=zh} 期间结束日期。
1247
+ * {lang=hant} 期間結束日期。
1248
+ * {lang=ko} 기간 종료일.
1249
+ * {lang=ru} Period end date.
1250
+ * {lang=de} Enddatum des Zeitraums
1251
+ * @param {string=} dfMode
1252
+ * {lang=en} # not currently used - leave blank #
1253
+ * {lang=ja} # not currently used - leave blank #
1254
+ * {lang=zh} # 当前未使用 - 留空白 #
1255
+ * {lang=hant} # 當前未使用 - 留空白 #
1256
+ * {lang=ko} # 현재 사용되지 않음 - 공백으로 둠 #
1257
+ * {lang=ru} # not currently used - leave blank #
1258
+ * {lang=de} # derzeit nicht verwendet - leer lassen #
1259
+ * @return {number}
1260
+ * {lang=en} The number of working days common to all listed calendars between StartDate and EndDate. The market convention used counts Saturdays as working days. You can specify whether the start date is included or excluded by means of the WDC keyword. By default, only the start date is counted if it is a working day. The end date is not taken into account.
1261
+ * {lang=ja} The number of working days common to all listed calendars between StartDate and EndDate. The market convention used counts Saturdays as working days. You can specify whether the start date is included or excluded by means of the WDC keyword. By default, only the start date is counted if it is a working day. The end date is not taken into account.
1262
+ * {lang=zh} 在 StartDate 与 EndDate 之间通用于全部列出的日历的工作日天数。使用的市场惯例将星期六计委工作日。您可以通过 WDC 关键字指定是否包括开始日期。默认仅开始日期为工作日时,计入开始日期。结束日期不包括。
1263
+ * {lang=hant} 在 StartDate 與 EndDate 之間通用於全部列出的日曆的工作日天數。使用的市場慣例將星期六計委工作日。您可以通過 WDC 關鍵字指定是否包括開始日期。默認僅開始日期為工作日時,計入開始日期。結束日期不包括。
1264
+ * {lang=ko} StartDate와 EndDate 사이의 모든 나열된 캘린더에 공통된 영업일수. 토요일을 영업일로 계산하는 데 사용된 시장 규약. WDC 키워드를 사용하여 개시일의 포함 또는 제외 여부를 지정할 수 있습니다. 기본적으로 개시일은 영업일인 경우에만 계산됩니다. 종료일은 고려하지 않습니다.
1265
+ * {lang=ru} The number of working days common to all listed calendars between StartDate and EndDate. The market convention used counts Saturdays as working days. You can specify whether the start date is included or excluded by means of the WDC keyword. By default, only the start date is counted if it is a working day. The end date is not taken into account.
1266
+ * {lang=de} Die Anzahl der Arbeitstage, die allen aufgelisteten Kalendern zwischen StartDate und EndDate gemeinsam sind. Die verwendete Marktkonvention zählt Samstage als Arbeitstage. Mit dem Schlüsselwort WDC können Sie festlegen, ob das Anfangsdatum eingeschlossen oder ausgeschlossen wird. Standardmäig wird nur das Anfangsdatum gezählt, wenn es sich um einen Arbeitstag handelt. Das Enddatum wird nicht berücksichtigt.
1267
+ * @example
1268
+ * =DFCOUNTWD("USA", "30JAN2004","30JAN2005","")
1269
+ * This function equals 361
1270
+ */
1271
+ AdFin["DFCOUNTWD"] = function (calendars, startDate, endDate, dfMode) {
1272
+ return AdFin._genericFunction.call(this, "DfFunction.DfCountWD", arguments);
1273
+ };
1274
+ /**
1275
+ * @function ADFXSWPTODEP
1276
+ * @memberof AdFin
1277
+ * @description
1278
+ * {lang=en} Calculates the deposit rates of a currency, given the deposit rates of another currency, the cross spot rate and the swap points of the cross currency. The function also calculates the FX spot and FX swap points of the two currencies.
1279
+ * {lang=ja} Calculates the deposit rates of a currency, given the deposit rates of another currency, the cross spot rate and the swap points of the cross currency. The function also calculates the FX spot and FX swap points of the two currencies.
1280
+ * {lang=zh} 计算货币的存款利率,给定另一货币的存款利率,交叉货币的交叉即期汇率与掉期点。函数也计算两个货币的外汇即期与外汇掉期点。
1281
+ * {lang=hant} 計算貨幣的存款利率,給定另一貨幣的存款利率,交叉貨幣的交叉即期匯率與掉期點。函數也計算兩個貨幣的外匯即期與外匯掉期點。
1282
+ * {lang=ko} 다른 통화의 예금이율, 교차 직물환율 및 교차 통화 스왑포인트를 고려할 때 통화의 예금이율을 계산합니다. 이 함수는 두 통화의 FX spot 및 FX 스왑포인트도 계산합니다.
1283
+ * {lang=ru} Calculates the deposit rates of a currency, given the deposit rates of another currency, the cross spot rate and the swap points of the cross currency. The function also calculates the FX spot and FX swap points of the two currencies.
1284
+ * {lang=de} Berechnet den Einlagenzinssatz einer Währung unter Berücksichtigung der Depositenkurse einer anderen Währung, des Cross-Spot-Kurses und der Swap-Punkte der Cross-Währung. Die Funktion berechnet auch die FX-Spot- und FX-Swap-Punkte der zwei Währungen.
1285
+ * @param {(string|number)=} calcDate
1286
+ * {lang=en} Calculation date (contract or trading date). This argument can include the time of day.
1287
+ * {lang=ja} Calculation date (contract or trading date). This argument can include the time of day.
1288
+ * {lang=zh} 计算日 (合约或交易日期)。这个参数可以包括该日的时间。
1289
+ * {lang=hant} 計算日 (合約或交易日期)。這個參數可以包括該日的時間。
1290
+ * {lang=ko} 계산일(계약 또는 거래일) 이 인수는 시간을 포함할 수 있습니다.
1291
+ * {lang=ru} Calculation date (contract or trading date). This argument can include the time of day.
1292
+ * {lang=de} Berechnungsdatum (Vertrag oder Handelstag). Dieses Argument kann die Tageszeit beinhalten.
1293
+ * @param {string=} periodArray
1294
+ * {lang=en} A single column array of periods (or dates) for which you want to calculate deposit rates.
1295
+ * {lang=ja} A single column array of periods (or dates) for which you want to calculate deposit rates.
1296
+ * {lang=zh} 您想要计算存款利率的期间数组的单一列 (或日期)。
1297
+ * {lang=hant} 您想要計算存款利率的期間數組的單一列 (或日期)。
1298
+ * {lang=ko} 예금이율을 계산하고 싶은 기간(또는 날짜)의 단일 열 배열입니다.
1299
+ * {lang=ru} A single column array of periods (or dates) for which you want to calculate deposit rates.
1300
+ * {lang=de} Ein einspaltiges Array von Zeiträumen (oder Datumsangaben), für die Sie Einlagenzinsen berechnen möchten.
1301
+ * @param {string=} cur1Cur2
1302
+ * {lang=en} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1303
+ * {lang=ja} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1304
+ * {lang=zh} 交叉货币代码 (例如 EURGBP),选用后接空格与 CrossStructure 参数。如果两种货币中任一种为 USD,您可以在 Cur1Cur2 参数中直接使用另一货币代码 (例如 EUR)。相似地,如果基准货币不是 USD,您可以使用中间包括基准货币的9位字符代码 (例如 EURJPYGBP)。
1305
+ * {lang=hant} 交叉貨幣代碼 (例如 EURGBP),選用後接空格與 CrossStructure 參數。如果兩種貨幣中任一種為 USD,您可以在 Cur1Cur2 參數中直接使用另一貨幣代碼 (例如 EUR)。相似地,如果基準貨幣不是 USD,您可以使用中間包括基準貨幣的9位字符代碼 (例如 EURJPYGBP)。
1306
+ * {lang=ko} 교차 통화 코드(예 : EURGBP), 뒤에 공백과 CrossStructure 인수를 붙일 수 있습니다. 두 통화 중 하나가 USD인 경우 Cur1Cur2 인수에 다른 통화 코드를 직접 사용할 수 있습니다(예 : EUR). 마찬가지로 기본 통화가 USD가 아닌 경우 기본 통화가 가운데에 포함된 9자로 된 코드를 사용할 수 있습니다(예 : EURJPYGBP).
1307
+ * {lang=ru} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1308
+ * {lang=de} Währungsübergreifender Code (z. B. EURGBP), optional gefolgt von einem Leerzeichen und einem CrossStructure-Argument. Wenn eine der beiden Währungen der USD ist, können Sie den anderen Währungscode direkt im Argument Cur1Cur2 verwenden (z. B. EUR). Wenn die Basiswährung nicht der USD ist, können Sie auch einen neunstelligen Code verwenden, der die Basiswährung in der Mitte beinhaltet (z.B. EURJPYGBP).
1309
+ * @param {number=} spot1BA
1310
+ * {lang=en} Cur1 spot rates (array Bid/Ask)
1311
+ * {lang=ja} Cur1 spot rates (array Bid/Ask)
1312
+ * {lang=zh} Cur1 即期汇率 (数组买价/卖价)
1313
+ * {lang=hant} Cur1 即期匯率 (數組買價/賣價)
1314
+ * {lang=ko} Cur1 직물환율(배열 매수/매도)
1315
+ * {lang=ru} Cur1 spot rates (array Bid/Ask)
1316
+ * {lang=de} Cur1-Spotpreise (Array-Geld/Brief)
1317
+ * @param {number=} spot2BA
1318
+ * {lang=en} In the case of a mono-currency, for example EUR, the Spot2BA argument is optional. See Forex & MM Functions: Common Arguments for more information.
1319
+ * {lang=ja} In the case of a mono-currency, for example EUR, the Spot2BA argument is optional. See Forex & MM Functions: Common Arguments for more information.
1320
+ * {lang=zh} 在单货币情况下,例如 EUR,Spot2BA 参数为可选。请参看外汇与货币市场函数: 通用参数了解更多信息。
1321
+ * {lang=hant} 在單貨幣情況下,例如 EUR,Spot2BA 參數為可選。請參看外匯與貨幣市場函數: 通用參數了解更多信息。
1322
+ * {lang=ko} 단일 통화(예 : EUR)의 경우 Spot2BA 인수는 선택 사항입니다. 자세한 내용은 Forex & MM 함수: 공통 인수를 참조하십시오.
1323
+ * {lang=ru} In the case of a mono-currency, for example EUR, the Spot2BA argument is optional. See Forex & MM Functions: Common Arguments for more information.
1324
+ * {lang=de} Im Falle einer Monowährung, zum Beispiel EUR, ist das Spot2BA-Argument optional. Siehe Forex- und MM-Funktionen: Allgemeine Argumente für weitere Informationen.
1325
+ * @param {number=} swp1Array
1326
+ * {lang=en} Cur1 array of periods (or dates) and Bid/Ask swap points. Note: Must be sorted by date order.
1327
+ * {lang=ja} Cur1 array of periods (or dates) and Bid/Ask swap points. Note: Must be sorted by date order.
1328
+ * {lang=zh} Cur1 的期间 (或日期) 的与买价/卖价掉期点数组。注意:必须按日期顺序排序。
1329
+ * {lang=hant} Cur1 的期間 (或日期) 的與買價/賣價掉期點數組。注意:必須按日期順序排序。
1330
+ * {lang=ko} Cur1 기간(또는 날짜) 배열과 매수/매도 스왑포인트. 주의: 날짜순으로 정렬해야 합니다.
1331
+ * {lang=ru} Cur1 array of periods (or dates) and Bid/Ask swap points. Note: Must be sorted by date order.
1332
+ * {lang=de} Cur1-Array von Zeiträumen (oder Daten) und Geld/Brief-Swap-Punkten. Hinweis: Muss nach Datumsreihenfolge sortiert werden.
1333
+ * @param {number=} swp2Array
1334
+ * {lang=en} Cur2 array of periods (or dates) and Bid/Ask swap points. Must be sorted by date order. In the case of a mono-currency, for example EUR, the Swp2Array argument is optional.
1335
+ * {lang=ja} Cur2 array of periods (or dates) and Bid/Ask swap points. Must be sorted by date order. In the case of a mono-currency, for example EUR, the Swp2Array argument is optional.
1336
+ * {lang=zh} Cur2 的期间 (或日期) 的与买价/卖价掉期点数组。必须按日期顺序排序。在单货币情况下,例如 EUR,Swp2Array 参数为可选。
1337
+ * {lang=hant} Cur2 的期間 (或日期) 的與買價/賣價掉期點數組。必須按日期順序排序。在單貨幣情況下,例如 EUR,Swp2Array 參數為可選。
1338
+ * {lang=ko} Cur2 기간(또는 날짜) 배열과 매수/매도 스왑포인트. 날짜순으로 정렬해야 합니다. 단일 통화(예 : EUR)의 경우 Swp2Array 인수는 선택 사항입니다.
1339
+ * {lang=ru} Cur2 array of periods (or dates) and Bid/Ask swap points. Must be sorted by date order. In the case of a mono-currency, for example EUR, the Swp2Array argument is optional.
1340
+ * {lang=de} Cur2-Array von Zeiträumen (oder Daten) und Geld/Brief-Swap-Punkten. Muss nach Datumsreihenfolge sortiert werden. Im Falle einer Monowährung, zum Beispiel EUR, ist das Swp2Array-Argument optional.
1341
+ * @param {string=} depArray
1342
+ * {lang=en} Array of periods (or dates) and deposit rates (Bid/Ask) for the known currency. Note: Must be sorted by date order. See Forex & MM Functions: Common Arguments for more information.
1343
+ * {lang=ja} Array of periods (or dates) and deposit rates (Bid/Ask) for the known currency. Note: Must be sorted by date order. See Forex & MM Functions: Common Arguments for more information.
1344
+ * {lang=zh} 已知货币的期间 (或日期) 与存款利率 (买价/卖价) 的数组。注意:必须按日期顺序排序。请参看外汇与货币市场函数: 通用参数了解更多信息。
1345
+ * {lang=hant} 已知貨幣的期間 (或日期) 與存款利率 (買價/賣價) 的數組。注意:必須按日期順序排序。請參看外匯與貨幣市場函數: 通用參數了解更多信息。
1346
+ * {lang=ko} 알려진 통화에 대한 기간(또는 날짜) 배열과 예금이율(매수/매도). 주의: 날짜순으로 정렬해야 합니다. 자세한 내용은 Forex & MM 함수: 공통 인수를 참조하십시오.
1347
+ * {lang=ru} Array of periods (or dates) and deposit rates (Bid/Ask) for the known currency. Note: Must be sorted by date order. See Forex & MM Functions: Common Arguments for more information.
1348
+ * {lang=de} Anzahl der Zeiträume (oder Daten) und Einlagensätze (Geld/Brief) für die bekannte Währung. Hinweis: Muss nach Datumsreihenfolge sortiert werden. Siehe Forex- und MM-Funktionen: Allgemeine Argumente für weitere Informationen.
1349
+ * @param {string=} calcStructure
1350
+ * {lang=en} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1351
+ * {lang=ja} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1352
+ * {lang=zh} 作为 Adfin 函数的参数使用,用于定义对金融工具定价的计算方法。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1353
+ * {lang=hant} 作為 Adfin 函數的參數使用,用於定義對金融工具定價的計算方法。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1354
+ * {lang=ko} Adfin 함수의 인수로 사용되어 상품 가격 책정에 사용 가능한 계산 방법을 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1355
+ * {lang=ru} Is used as an argument in Adfin functions to define the calculation methods available for pricing instruments. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1356
+ * {lang=de} Wird als Argument in Adfin-Funktionen verwendet, um die verfügbaren Berechnungsmethoden für die Preisstellung von Wertpapieren zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_calcstructure.htm
1357
+ * @param {string=} adMode
1358
+ * {lang=en} You must specify the RES keyword. See AdMode for more information. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1359
+ * {lang=ja} You must specify the RES keyword. See AdMode for more information. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1360
+ * {lang=zh} 您必须指定 RES 关键字。请参看 AdMode 了解更多信息。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1361
+ * {lang=hant} 您必須指定 RES 關鍵字。請參看 AdMode 了解更多信息。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1362
+ * {lang=ko} RES 키워드를 지정해야 합니다. 자세한 내용은 AdMode를 참조하십시오. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1363
+ * {lang=ru} You must specify the RES keyword. See AdMode for more information. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1364
+ * {lang=de} Sie müssen das RES-Schlüsselwort angeben. Weitere Informationen finden Sie unter AdMode. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1365
+ * @return {*}
1366
+ * {lang=en} The return value is an array with one row for each period or date from the PeriodArray argument. Each row contains six cells. DepBid: Bid side of the deposit, DepAsk: Ask side of the deposit, StartDate: Start date of the period, EndDate: End date of the period, DepInputBid: Bid deposit of the input currency in the period, DepInputAsk: Ask deposit fo the input currency in the period
1367
+ * {lang=ja} The return value is an array with one row for each period or date from the PeriodArray argument. Each row contains six cells. DepBid: Bid side of the deposit, DepAsk: Ask side of the deposit, StartDate: Start date of the period, EndDate: End date of the period, DepInputBid: Bid deposit of the input currency in the period, DepInputAsk: Ask deposit fo the input currency in the period
1368
+ * {lang=zh} 返回值是 PeriodArray 参数的每个期间或日期一行的数组。每行包含六个元素。DepBid: 存款的买面, DepAsk: 存款的卖面, StartDate: 期间的开始日期, EndDate: 期间的结束日期, DepInputBid: 期间中输入货币的存款买价存款, DepInputAsk: 期间中输入货币的卖价存款
1369
+ * {lang=hant} 返回值是 PeriodArray 參數的每個期間或日期一行的數組。每行包含六個元素。 DepBid: 存款的買麵, DepAsk: 存款的賣麵, StartDate: 期間的開始日期, EndDate: 期間的結束日期, DepInputBid: 期間中輸入貨幣的存款買價存款, DepInputAsk: 期間中輸入貨幣的賣價存款
1370
+ * {lang=ko} 반환값은 PeriodArray 인수의 각 기간 또는 날짜에 대해 하나의 행을 갖는 배열입니다. 각 행은 여섯 개의 셀을 포함합니다. DepBid: 예금의 매수측, DepAsk: 예금의 매도측, StartDate: 해당 기간의 개시일, EndDate: 해당 기간의 종료일, DepInputBid: 기간 중 입력 통화의 매수 예금, DepInputAsk: 기간 중 입력 통화의 매도 예금
1371
+ * {lang=ru} The return value is an array with one row for each period or date from the PeriodArray argument. Each row contains six cells. DepBid: Bid side of the deposit, DepAsk: Ask side of the deposit, StartDate: Start date of the period, EndDate: End date of the period, DepInputBid: Bid deposit of the input currency in the period, DepInputAsk: Ask deposit fo the input currency in the period
1372
+ * {lang=de} Der ausgegebene Wert ist ein Array mit einer Zeile für jeden Zeitraum oder Datum aus dem PeriodArray-Argument. Jede Zeile enthält sechs Zellen. DepBid: Geld-Seite der Einlage, DepAsk: Brief-Seite der Einlage, StartDate Anfangsdatum des Zeitraums, EndDate: Enddatum des Zeitraums, DepInputBid: Geld-Anzahlung der Eingangswährung im Zeitraum, DepInputAsk Brief-Anzahlung der Eingangswährung im Zeitraum
1373
+ * @example
1374
+ * cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#adfxswptodep.htm
1375
+ * =ADFXSWPTODEP("04FEB2005", "1M", "GBPEUR", 1.8841, 1.297, -31.8, 4.5, "1M", "", "RES:DEP2")
1376
+ */
1377
+ AdFin["ADFXSWPTODEP"] = function (calcDate, periodArray, cur1Cur2, spot1BA, spot2BA, swp1Array, swp2Array, depArray, calcStructure, adMode) {
1378
+ return AdFin._genericFunction.call(this, "FxFunction.AdFxSwpToDep", arguments);
1379
+ };
1380
+ /**
1381
+ * @function FXCALCPERIOD
1382
+ * @memberof AdFin
1383
+ * @description
1384
+ * {lang=en} Calculates the start date and the end date of a period. By default, the CalcDate argument stands for the trading date. To calculate the period end date directly from the spot date (for example when applying an offset to the spot date), or to choose between the Forex and the Money markets, use the FROM keyword in FxMode.
1385
+ * {lang=ja} Calculates the start date and the end date of a period. By default, the CalcDate argument stands for the trading date. To calculate the period end date directly from the spot date (for example when applying an offset to the spot date), or to choose between the Forex and the Money markets, use the FROM keyword in FxMode.
1386
+ * {lang=zh} 计算期间的开始日期和结束日期。默认 CalcDate 参数代表交易日期。要从即期日期直接计算期间结束日 (例如对即期日应用调整时), 或要在外汇与货币市场之间选择,请使用 FxMode 中的 FROM 关键字。
1387
+ * {lang=hant} 計算期間的開始日期和結束日期。默認 CalcDate 參數代表交易日期。要從即期日期直接計算期間結束日 (例如對即期日應用調整時), 或要在外匯與貨幣市場之間選擇,請使用 FxMode 中的 FROM 關鍵字。
1388
+ * {lang=ko} 기간의 개시일과 종료일을 계산합니다. 기본적으로 CalcDate 인수는 거래일을 나타냅니다. 스폿 날짜에서 직접 기간 종료일을 계산하거나(예 : 스폿 날짜에 오프셋을 적용하는 경우) Forex와 단기 금융 시장 중에서 선택하려면 FxMode에서 FROM 키워드를 사용합니다.
1389
+ * {lang=ru} Calculates the start date and the end date of a period. By default, the CalcDate argument stands for the trading date. To calculate the period end date directly from the spot date (for example when applying an offset to the spot date), or to choose between the Forex and the Money markets, use the FROM keyword in FxMode.
1390
+ * {lang=de} Berechnet das Anfangs- und Enddatum eines Zeitraums Standardmäßig steht das CalcDate-Argument für das Handelsdatum. Um das Enddatum direkt aus dem Kassadatum zu berechnen ( z.B. bei Anwendung eines Offsets auf das Kassadatum) oder um zwischen dem Devisen- und Geldmarkt zu wählen, verwenden Sie das FROM-Stichwort im FxMode.
1391
+ * @param {(string|number)=} calcDate
1392
+ * {lang=en} Calculation date (contract or trading date). This argument can include the time of day.
1393
+ * {lang=ja} Calculation date (contract or trading date). This argument can include the time of day.
1394
+ * {lang=zh} 计算日 (合约或交易日期)。这个参数可以包括该日的时间。
1395
+ * {lang=hant} 計算日 (合約或交易日期)。這個參數可以包括該日的時間。
1396
+ * {lang=ko} 계산일(계약 또는 거래일) 이 인수는 시간을 포함할 수 있습니다.
1397
+ * {lang=ru} Calculation date (contract or trading date). This argument can include the time of day.
1398
+ * {lang=de} Berechnungsdatum (Vertrag oder Handelstag). Dieses Argument kann die Tageszeit beinhalten.
1399
+ * @param {string=} cur1Cur2
1400
+ * {lang=en} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1401
+ * {lang=ja} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1402
+ * {lang=zh} 交叉货币代码 (例如 EURGBP),选用后接空格与 CrossStructure 参数。如果两种货币中任一种为 USD,您可以在 Cur1Cur2 参数中直接使用另一货币代码 (例如 EUR)。相似地,如果基准货币不是 USD,您可以使用中间包括基准货币的9位字符代码 (例如 EURJPYGBP)。
1403
+ * {lang=hant} 交叉貨幣代碼 (例如 EURGBP),選用後接空格與 CrossStructure 參數。如果兩種貨幣中任一種為 USD,您可以在 Cur1Cur2 參數中直接使用另一貨幣代碼 (例如 EUR)。相似地,如果基準貨幣不是 USD,您可以使用中間包括基準貨幣的9位字符代碼 (例如 EURJPYGBP)。
1404
+ * {lang=ko} 교차 통화 코드(예 : EURGBP), 뒤에 공백과 CrossStructure 인수를 붙일 수 있습니다. 두 통화 중 하나가 USD인 경우 Cur1Cur2 인수에 다른 통화 코드를 직접 사용할 수 있습니다(예 : EUR). 마찬가지로 기본 통화가 USD가 아닌 경우 기본 통화가 가운데에 포함된 9자로 된 코드를 사용할 수 있습니다(예 : EURJPYGBP).
1405
+ * {lang=ru} Cross currency code (for example EURGBP), optionally followed by a space and a CrossStructure argument. If either of the two currencies is the USD, you can use the other currency code directly in the Cur1Cur2 argument (for example EUR). Similarly, if the base currency is not the USD, you can use a nine-character code that includes the base currency in the middle (for example EURJPYGBP).
1406
+ * {lang=de} Währungsübergreifender Code (z. B. EURGBP), optional gefolgt von einem Leerzeichen und einem CrossStructure-Argument. Wenn eine der beiden Währungen der USD ist, können Sie den anderen Währungscode direkt im Argument Cur1Cur2 verwenden (z. B. EUR). Wenn die Basiswährung nicht der USD ist, können Sie auch einen neunstelligen Code verwenden, der die Basiswährung in der Mitte beinhaltet (z.B. EURJPYGBP).
1407
+ * @param {string=} period
1408
+ * {lang=en} Period code (for example 1M)
1409
+ * {lang=ja} Period code (for example 1M)
1410
+ * {lang=zh} 期间代码 (例如 1M)
1411
+ * {lang=hant} 期間代碼 (例如 1M)
1412
+ * {lang=ko} 기간 코드(예: 1M)
1413
+ * {lang=ru} Period code (for example 1M)
1414
+ * {lang=de} Zeitraumcode (z. B. 1M)
1415
+ * @param {string=} fxMode
1416
+ * {lang=en} FxMode is used as an argument &fmv1; Forex & MM functions to define input parameters and customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1417
+ * {lang=ja} FxMode is used as an argument &fmv1; Forex & MM functions to define input parameters and customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1418
+ * {lang=zh} FxMode 作为参数 &fmv1 使用; 外汇与货币市场函数定义输入参数并自定义返回的值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1419
+ * {lang=hant} FxMode 作為參數 &fmv1 使用; 外匯與貨幣市場函數定義輸入參數並自定義返回的值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1420
+ * {lang=ko} FxMode는 & fmv1 인수로 사용됩니다. Forex & MM 함수는 입력 매개변수를 정의하고 반환된 값을 사용자 지정합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1421
+ * {lang=ru} FxMode is used as an argument &fmv1; Forex & MM functions to define input parameters and customize returned values. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1422
+ * {lang=de} FxMode wird als ein Argument &fmv1; Forex & MM-Funktionen verwendet, um Eingabeparameter zu definieren und Rückgabewerte anzupassen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_fxmode.htm
1423
+ * @return {number}
1424
+ * {lang=en} The return value depends on the value of FxMode. The default value is a four-cell array containing: StartDate: Period start date, EndDate: Period end date, Adjustement: String indicated why StartDate and EndDate were adjusted if applicable, Non-Adjusted: Non adjusted period EndDate. When you use this array function within the spreadsheet as a standard function, Adfin returns just the first element. To get the second element, for example, use RET:2 in FxMode.
1425
+ * {lang=ja} The return value depends on the value of FxMode. The default value is a four-cell array containing: StartDate: Period start date, EndDate: Period end date, Adjustement: String indicated why StartDate and EndDate were adjusted if applicable, Non-Adjusted: Non adjusted period EndDate. When you use this array function within the spreadsheet as a standard function, Adfin returns just the first element. To get the second element, for example, use RET:2 in FxMode.
1426
+ * {lang=zh} 返回值取决于 FxMode 的值。默认值是四个元素的数组,包含: StartDate: 期间开始日期, EndDate: 期间结束日期, Adjustement: 若适用则表示为什么调整 StartDate 和 EndDate 的字符串, Non-Adjusted: 未经调整的期间 EndDate。当您在 spreadsheet 内使用这个数组函数作为标准函数时,Adfin 仅返回第一个元素。要获得第二个元素,请使用 FxMode 中的 RET:2。
1427
+ * {lang=hant} 返回值取決於 FxMode 的值。默認值是四個元素的數組,包含: StartDate: 期間開始日期, EndDate: 期間結束日期, Adjustement: 若適用則表示為什麼調整 StartDate 和 EndDate 的字符串, Non-Adjusted: 未經調整的期間 EndDate。當您在 spreadsheet 內使用這個數組函數作為標準函數時,Adfin 僅返回第一個元素。要獲得第二個元素,請使用 FxMode 中的 RET:2。
1428
+ * {lang=ko} 반환값은 FxMode 값에 따라 다릅니다. 기본값은 다음을 포함하는 4셀 배열입니다. StartDate: 기간 개시일, EndDate: 기간 종료일, Adjustement: 해당되는 경우 StartDate 및 EndDate가 조정된 이유를 나타내는 문자열, Non-Adjusted: 조정되지 않은 기간 EndDate. 스프레드시트에서 이 배열 함수를 표준 함수로 사용하면 Adfin은 첫 번째 요소만 반환합니다. 두 번째 요소를 가져오려면 예를 들어 FxMode에서 RET:2를 사용합니다.
1429
+ * {lang=ru} The return value depends on the value of FxMode. The default value is a four-cell array containing: StartDate: Period start date, EndDate: Period end date, Adjustement: String indicated why StartDate and EndDate were adjusted if applicable, Non-Adjusted: Non adjusted period EndDate. When you use this array function within the spreadsheet as a standard function, Adfin returns just the first element. To get the second element, for example, use RET:2 in FxMode.
1430
+ * {lang=de} Der ausgegebene Wert hängt vom Wert von FxMode ab. Der Standardwert ist ein vierzelliges Array mit: StartDate: Anfangsdatum des Zeitraums, EndDate: Enddatum des Zeitraums, Anpassung: Zeichenfolge angegeben, warum StartDate und EndDate ggf. angepasst wurden, nicht bereinigt: Nicht angepasstes Enddatum des Zeitraums Wenn Sie diese Array-Funktion innerhalb der Tabelle als Standardfunktion verwenden, gibt Adfin nur das erste Element an. Um das zweite Element zu erhalten, z. B. RET:2 im FxMode verwenden.
1431
+ * @example
1432
+ * This example shows how to use FxCalcPeriod to calculate the start date and the end date of a period.
1433
+ * The call to FxCalcPeriod looks like:
1434
+ * =FXCALCPERIOD("24MAY2005", "EUR", "6M", "")
1435
+ */
1436
+ AdFin["FXCALCPERIOD"] = function (calcDate, cur1Cur2, period, fxMode) {
1437
+ return AdFin._genericFunction.call(this, "FxFunction.FxCalcPeriod", arguments);
1438
+ };
1439
+ /**
1440
+ * @function OPCALCDERIV
1441
+ * @memberof AdFin
1442
+ * @description
1443
+ * {lang=en} Returns the derivatives (delta, gamma, rho, theta, and vega) of an option on a security (index, stock), a future, a commodity, or a currency. The derivatives are organized in a vertical array. In some cases additional results are available. For example, this function also calculates the break-even time and gearing for warrants, and foreign derivatives for currencies. See Derivatives, Gearing, and Break-Even Time.
1444
+ * {lang=ja} Returns the derivatives (delta, gamma, rho, theta, and vega) of an option on a security (index, stock), a future, a commodity, or a currency. The derivatives are organized in a vertical array. In some cases additional results are available. For example, this function also calculates the break-even time and gearing for warrants, and foreign derivatives for currencies. See Derivatives, Gearing, and Break-Even Time.
1445
+ * {lang=zh} 返回基于某证券 (指数、股票)、期货、商品或货币的期权的衍生品 (delta, gamma, rho, theta 和 vega)。衍生品组织成垂直数组。在一些情况下,额外结果可用。例如,这个函数也计算权证的盈亏平衡时间与杠杆率,以及货币的外国衍生品。请参看衍生品、杠杆率与盈亏平衡时间。
1446
+ * {lang=hant} 返回基於某證券 (指數、股票)、期貨、商品或貨幣的期權的衍生品 (delta, gamma, rho, theta 和 vega)。衍生品組織成垂直數組。在一些情況下,額外結果可用。例如,這個函數也計算權證的盈虧平衡時間與槓桿率,以及貨幣的外國衍生品。請參看衍生品、槓桿率與盈虧平衡時間。
1447
+ * {lang=ko} 증권(인덱스, 주식), 선물, 원자재 상품 또는 통화에 대한 옵션의 파생상품(델타, 감마, 로, 세타 및 베가)을 반환합니다. 파생상품은 수직 배열로 구성됩니다. 경우에 따라 추가 결과를 사용할 수 있습니다. 예를 들어, 이 함수는 손익분기 시점과 신주인수권 및 환율에 대한 해외 파생상품 기어링도 계산합니다. 파생상품과 기어링, 손익분기 시점을 참조하십시오.
1448
+ * {lang=ru} Returns the derivatives (delta, gamma, rho, theta, and vega) of an option on a security (index, stock), a future, a commodity, or a currency. The derivatives are organized in a vertical array. In some cases additional results are available. For example, this function also calculates the break-even time and gearing for warrants, and foreign derivatives for currencies. See Derivatives, Gearing, and Break-Even Time.
1449
+ * {lang=de} Gibt die Derivate (Delta, Gamma, Rho, Theta und Vega) einer Option auf ein Wertpapier (Index, Aktie), einen Future, eine Commodity oder eine Währung aus. Die Derivate sind in einem vertikalen Array angeordnet. In einigen Fällen sind zusätzliche Ergebnisse verfügbar. Diese Funktion berechnet beispielsweise die Gewinnschwellen-Zeit und die Verschuldung für Optionsscheine und Fremdderivate für Währungen. Siehe Derivate, Verschuldung und Gewinnschwellen-Zeit.
1450
+ * @param {number=} calcDate
1451
+ * {lang=en} Calculation date
1452
+ * {lang=ja} Calculation date
1453
+ * {lang=zh} 计算日
1454
+ * {lang=hant} 計算日
1455
+ * {lang=ko} 계산 날짜
1456
+ * {lang=ru} Calculation date
1457
+ * {lang=de} Berechnungsdatum
1458
+ * @param {number=} expiryDate
1459
+ * {lang=en} Expiry date of the option
1460
+ * {lang=ja} Expiry date of the option
1461
+ * {lang=zh} 期权的到期日
1462
+ * {lang=hant} 期權的到期日
1463
+ * {lang=ko} 옵션 만기일
1464
+ * {lang=ru} Expiry date of the option
1465
+ * {lang=de} Ablaufdatum der Option
1466
+ * @param {number=} spotPrice
1467
+ * {lang=en} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1468
+ * {lang=ja} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1469
+ * {lang=zh} 标的金融工具的市场或即期价格。在信用违约掉期期权的情况下,这是标的远期开始信用违约掉期的即期价差。如果未定义,则函数用信用模型计算。
1470
+ * {lang=hant} 標的金融工具的市場或即期價格。在信用違約掉期期權的情況下,這是標的遠期開始信用違約掉期的即期價差。如果未定義,則函數用信用模型計算。
1471
+ * {lang=ko} 기초 자산의 시장 또는 현물 가격. 크레딧디폴트스왑 옵션의 경우 기초 forward-starting 크레딧디폴트스왑의 스팟 스프레드입니다. 이를 정의하지 않으면 함수는 크레딧 모델에서 계산합니다.
1472
+ * {lang=ru} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1473
+ * {lang=de} Markt- oder Spotpreis des zugrunde liegenden Wertpapiers. Im Falle einer Credit Default Swap-Option handelt es sich um den Kassaspread des Basiswerts des Forward Starting Credit Default Swaps. Wenn dieser nicht definiert ist, berechnet die Funktion sie vom Kreditmodell.
1474
+ * @param {number=} strikePrice
1475
+ * {lang=en} Strike price of the option.
1476
+ * {lang=ja} Strike price of the option.
1477
+ * {lang=zh} 期权的执行价。
1478
+ * {lang=hant} 期權的執行價。
1479
+ * {lang=ko} 옵션의 권리행사가격.
1480
+ * {lang=ru} Strike price of the option.
1481
+ * {lang=de} Ausübungspreis der Option.
1482
+ * @param {string=} volatility
1483
+ * {lang=en} Volatility of the underlying instrument
1484
+ * {lang=ja} Volatility of the underlying instrument
1485
+ * {lang=zh} 标的金融工具的波动率
1486
+ * {lang=hant} 標的金融工具的波動率
1487
+ * {lang=ko} 기초 자산의 변동성
1488
+ * {lang=ru} Volatility of the underlying instrument
1489
+ * {lang=de} Volatilität des zugrundeliegenden Wertpapiers
1490
+ * @param {number=} riskFreeRateArray
1491
+ * {lang=en} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a constant yield to maturity, and requires a single value, RM:YC uses a yield curve, and requires a two-column array with: dates, zero coupon rates or discount factors
1492
+ * {lang=ja} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a constant yield to maturity, and requires a single value, RM:YC uses a yield curve, and requires a two-column array with: dates, zero coupon rates or discount factors
1493
+ * {lang=zh} 数组的形式取决于您指定的利率模型。使用 RateStructure 参数中的关键字 RM (利率模型) 来指定该模型。最常使用的模型是: RM:YTM 使用常数到期收益率,并且要求单一值,RM:YC 使用收益率曲线,并且要求两列数组: 日期、零票息或贴现因子
1494
+ * {lang=ko} 배열 형식은 지정한 이자율 모델에 따라 다릅니다. RateStructure 인수에 키워드 RM(이자율 모델)을 사용해 모델을 지정합니다. 가장 흔하게 사용되는 모델: RM:YTM은 일정한 만기수익률을 사용하며 단일 값이 필요, RM:YC는 수익률 곡선을 사용하며 날짜, 제로쿠폰율 또는 할인 계수가 포함된 2열 배열이 필요
1495
+ * {lang=ru} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a constant yield to maturity, and requires a single value, RM:YC uses a yield curve, and requires a two-column array with: dates, zero coupon rates or discount factors
1496
+ * @param {string=} returnArray
1497
+ * {lang=en} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock
1498
+ * {lang=ja} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock
1499
+ * {lang=zh} 更多年化利率 (单一值) 或两列股息数组 (第一列是日期,第二列是值)。 ReturnArray 代表: 在基于商品的期权的情况下,是持有成本,在基于货币的期权的情况下,是外汇的无风险利率,对于基于期货的期权,是 0,在基于股票的期权的情况下,是年证券收益率
1500
+ * {lang=hant} 更多年化利率 (單一值) 或兩列股息數組 (第一列是日期,第二列是值)。 ReturnArray 代表: 在基於商品的期權的情況下,是持有成本,在基於貨幣的期權的情況下,是外彙的無風險利率,對於基於期貨的期權,是0,在基於股票的期權的情況下,是年證券收益率
1501
+ * {lang=ko} 추가 연율(단일값) 또는 2열 배당 배열(첫 번째 열의 날짜 및 두 번째 열의 값). ReturnArray는 상품 옵션인 경우 보유비용, 통화 옵션인 경우 외화의 무위험 이자율, 선물 옵션인 경우 0, 주식 옵션인 경우 연간 증권 수익률을 나타냄
1502
+ * {lang=ru} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock
1503
+ * {lang=de} Die Form des Arrays hängt von dem Zinsmodell ab, das Sie definieren Verwenden Sie das Schlüsselwort RM (Zinsmodell) im RateStructure-Argument, um das Modell festzulegen. Die am häufigsten verwendeten Modelle sind: RM:YTM verwendet einen konstanten Ertrag bis zum Fälligkeitsdatum und erfordert einen einzelnen Wert, RM:YC verwendet eine Renditekurve und erfordert ein Zweispalten-Array mit: Daten, Null-Zinssätzen oder Rabattfaktoren
1504
+ * @param {string=} optionStructure
1505
+ * {lang=en} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1506
+ * {lang=ja} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1507
+ * {lang=zh} 您必须在这个参数中至少包括期权类型,使用 CALL 或 PUT 关键字。请参看 OptionStructure 了解更多信息。
1508
+ * {lang=hant} 您必須在這個參數中至少包括期權類型,使用 CALL 或 PUT 關鍵字。請參看 OptionStructure 了解更多信息。
1509
+ * {lang=ko} 이 인수에 CALL 또는 PUT 키워드로 최소한 옵션 종류를 포함해야 합니다. 자세한 내용은 OptionStructure를 참조하십시오.
1510
+ * {lang=ru} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1511
+ * {lang=de} Sie müssen mindestens den Optionstyp in dieses Argument aufnehmen, indem Sie das Schlüsselwort CALL oder PUT verwenden. Weitere Informationen finden Sie unter Optionstruktur.
1512
+ * @param {string=} rateStructure
1513
+ * {lang=en} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1514
+ * {lang=ja} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1515
+ * {lang=zh} 使用模型中的一个: RM:YTM, RM:YC 请参看 RateStructure 了解更多信息。
1516
+ * {lang=hant} 使用模型中的一個: RM:YTM, RM:YC 請參看 RateStructure 了解更多信息。
1517
+ * {lang=ko} 다음 모델 중 하나 사용: RM:YTM, RM:YC 자세한 내용은 RateStructure를 참조하십시오.
1518
+ * {lang=ru} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1519
+ * {lang=de} Verwenden Sie eines der Modelle: RM:YTM, RM:YC Siehe RateStruktur für weitere Informationen.
1520
+ * @param {string=} calcStructure
1521
+ * {lang=en} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1522
+ * {lang=ja} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1523
+ * {lang=zh} 要获得外国衍生品,您必须在这个参数内设置 FT:BS。请参看 CalcStructure 了解更多信息。
1524
+ * {lang=hant} 要獲得外國衍生品,您必須在這個參數內設置 FT:BS。請參看 CalcStructure 了解更多信息。
1525
+ * {lang=ko} 해외 파생상품을 가져오려면 이 인수에 FT:BS를 설정해야 합니다. 자세한 내용은 CalcStructure를 참조하십시오.
1526
+ * {lang=ru} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1527
+ * {lang=de} Um die ausländischen Derivate zu erhalten, müssen Sie FT:BS in diesem Argument festlegen. Siehe bitte CalcStructure für weitere Informationen
1528
+ * @param {string=} adMode
1529
+ * {lang=en} To calculate only one derivative, specify the derivative to calculate using the RES keyword in AdMode, for example RES:GAMMA. See AdMode for more information.
1530
+ * {lang=ja} To calculate only one derivative, specify the derivative to calculate using the RES keyword in AdMode, for example RES:GAMMA. See AdMode for more information.
1531
+ * {lang=zh} 若仅计算一个衍生品,请指定使用 AdMode 中的 RES 关键字要计算的衍生品,例如 RES:GAMMA。请参看 AdMode 了解更多信息。
1532
+ * {lang=hant} 若僅計算一個衍生品,請指定使用 AdMode 中的 RES 關鍵字要計算的衍生品,例如 RES:GAMMA。請參看 AdMode 了解更多信息。
1533
+ * {lang=ko} 파생상품을 하나만 계산하려면 AdMode에서 RES 키워드(예 : RES:GAMMA)를 사용하여 계산할 파생상품을 지정합니다. 자세한 내용은 AdMode를 참조하십시오.
1534
+ * {lang=ru} To calculate only one derivative, specify the derivative to calculate using the RES keyword in AdMode, for example RES:GAMMA. See AdMode for more information.
1535
+ * {lang=de} Um nur ein Derivat zu berechnen, geben Sie das zu berechnende Derivat unter Verwendung des RES-Stichwortes im AdMode an, z. B. RES:GAMMA. Siehe AdMode für weitere Informationen.
1536
+ * @return {*}
1537
+ * {lang=en} The return value depends on the value of AdMode. The default value is a vertical five-cell array containing: Delta Delta ratio, Gamma Gamma ratio, Rho Rho ratio, Theta Theta ratio, Vega Vega ratio. For warrants, Adfin returns these additional derivatives: Gearing Gearing, BreakEvenTime Break even time. For currency options, Adfin returns these additional values: ForeignDelta Delta ratio in the foreign currency, ForeignRho Rho ratio in the foreign currency, ForeignTheta Theta ratio in the foreign currency, ForeignVega Vega ratio in the foreign currency, ForeignGamma Gamma ratio in the foreign currency, GammaHedge Gamma hedge ratio, ForeignGammaHedge Gamma hedge ratio in the foreign currency
1538
+ * {lang=ja} The return value depends on the value of AdMode. The default value is a vertical five-cell array containing: Delta Delta ratio, Gamma Gamma ratio, Rho Rho ratio, Theta Theta ratio, Vega Vega ratio. For warrants, Adfin returns these additional derivatives: Gearing Gearing, BreakEvenTime Break even time. For currency options, Adfin returns these additional values: ForeignDelta Delta ratio in the foreign currency, ForeignRho Rho ratio in the foreign currency, ForeignTheta Theta ratio in the foreign currency, ForeignVega Vega ratio in the foreign currency, ForeignGamma Gamma ratio in the foreign currency, GammaHedge Gamma hedge ratio, ForeignGammaHedge Gamma hedge ratio in the foreign currency
1539
+ * {lang=zh} 返回值取决于 AdMode 的值。默认值是垂直的五个元素的数组,包含: Delta Delta ratio, Gamma Gamma ratio, Rho Rho ratio, Theta Theta ratio, Vega Vega ratio。对于权证,Adfin 返回这些额外的衍生品: Gearing 杠杆率, BreakEvenTime 盈亏平衡时间。对于货币期权,Adfin 返回这些额外值: 外货货币中的 ForeignDelta Delta 比率,外货货币中的 ForeignRho Rho 比率,外国货币中的 ForeignTheta Theta 比率,外国货币中的 ForeignVega Vega 比率,外国货币中的 ForeignGamma Gamma 比率,外国货币中的 GammaHedge Gamma 对冲比率,外国货币中的 ForeignGammaHedge Gamma 对冲比率
1540
+ * {lang=hant} 返回值取決於 AdMode 的值。默認值是垂直的五個元素的數組,包含: Delta Delta ratio, Gamma Gamma ratio, Rho Rho ratio, Theta Theta ratio, Vega Vega ratio。對於權證,Adfin 返回這些額外的衍生品: Gearing 槓桿率, BreakEvenTime 盈虧平衡時間。對於貨幣期權,Adfin 返回這些額外值: 外貨貨幣中的ForeignDelta Delta 比率,外貨貨幣中的ForeignRho Rho 比率,外國貨幣中的ForeignTheta Theta 比率,外國貨幣中的ForeignVega Vega 比率,外國貨幣中的ForeignGamma Gamma比率,外國貨幣中的GammaHedge Gamma 對沖比率,外國貨幣中的ForeignGammaHedge Gamma 對沖比率
1541
+ * {lang=ko} 반환값은 AdMode 값에 따라 다릅니다. 기본값은 다음을 포함하는 수직 5셀 배열입니다. Delta 델타 비율, Gamma 감마 비율, Rho 로 비율, Theta 세타 비율, Vega 베가 비율. 신주인수권의 경우 Adfin은 다음 추가 파생상품을 반환합니다. Gearing 기어링, BreakEvenTime 손익분기 시점. 통화 옵션의 경우 Adfin은 다음 추가 값을 반환합니다. ForeignDelta 외화 델타비, ForeignRho 외화 로비, ForeignTheta 외화 세타비, ForeignVega 외화 베가비, ForeignGamma 외화 감마비, GammaHedge 감마 헤지 비율, ForeignGammaHedge 외화 감마 헤지 비율
1542
+ * {lang=ru} The return value depends on the value of AdMode. The default value is a vertical five-cell array containing: Delta Delta ratio, Gamma Gamma ratio, Rho Rho ratio, Theta Theta ratio, Vega Vega ratio. For warrants, Adfin returns these additional derivatives: Gearing Gearing, BreakEvenTime Break even time. For currency options, Adfin returns these additional values: ForeignDelta Delta ratio in the foreign currency, ForeignRho Rho ratio in the foreign currency, ForeignTheta Theta ratio in the foreign currency, ForeignVega Vega ratio in the foreign currency, ForeignGamma Gamma ratio in the foreign currency, GammaHedge Gamma hedge ratio, ForeignGammaHedge Gamma hedge ratio in the foreign currency
1543
+ * {lang=de} Der ausgegebene Wert ist abhänig vom Wert AdModes Der Standardwert ist ein vertikales Array mit fünf Zellen: Delta-Delta-Verhältnis, Gamma-Gamma-Verhältnis, Rho-Rho-Verhältnis, Theta-Theta-Verhältnis, Vega-Vega-Verhältnis. Für Optionsscheine gibt Adfin diese zusätzlichen Derivate aus: Gearing Gearing, BreakEvenTime BreakEvenTime. Für Währungsoptionen gibt Adfin diese zusätzlichen Werte aus: ForeignDelta-Delta-Verhältnis in der Fremdwährung, ForeignRho-Rho-Verhältnis in der Fremdwährung, ForeignTheta-Theta-Verhältnis in der Fremdwährung, ForeignVega-Vega-Verhältnis in der Fremdwährung, ForeignGamma-Gamma-Verhältnis in der Fremdwährung, GammaHedge-Gamma-Hedge-Verhältnis, ForeignGammaHedge-Gamma-Hedge-Verhältnis in der Fremdwährung
1544
+ * @example
1545
+ * The function calculates the derivatives of an American call option on a security, using the Cox, Ross & Rubinstein model.
1546
+ * The call to OPCALCDERIV looks like:
1547
+ * =OPCALCDERIV(41754,42060, 1690, 1550, 0.197620, 0.018, 0.0207, "CALL EXM:AMER UI:SEC","","CMT:TREE TITER:31","LAY:V RET:B5")
1548
+ * The function returns the array:
1549
+ * Delta 0.708
1550
+ * Gamma 0.001
1551
+ * Rho 648.870
1552
+ * Theta -0.156
1553
+ * Vega 548.848
1554
+ */
1555
+ AdFin["OPCALCDERIV"] = function (calcDate, expiryDate, spotPrice, strikePrice, volatility, riskFreeRateArray, returnArray, optionStructure, rateStructure, calcStructure, adMode) {
1556
+ return AdFin._genericFunction.call(this, "OpFunction.OpCalcDeriv", arguments);
1557
+ };
1558
+ /**
1559
+ * @function OPIMPLIEDVOL
1560
+ * @memberof AdFin
1561
+ * @description
1562
+ * {lang=en} Calculates the implied volatility of an option on a security (index, stock), a future, a commodity, or a currency, from the option premium.
1563
+ * {lang=ja} Calculates the implied volatility of an option on a security (index, stock), a future, a commodity, or a currency, from the option premium.
1564
+ * {lang=zh} 从期权费计算基于某证券 (指数、股票)、期货、商品或货币的期权的隐含波动率。
1565
+ * {lang=hant} 從期權費計算基於某證券 (指數、股票)、期貨、商品或貨幣的期權的隱含波動率。
1566
+ * {lang=ko} 옵션 프리미엄에서 증권(인덱스, 주식), 선물, 원자재 상품 또는 통화에 대한 옵션의 내재변동성을 계산합니다.
1567
+ * {lang=ru} Calculates the implied volatility of an option on a security (index, stock), a future, a commodity, or a currency, from the option premium.
1568
+ * {lang=de} Berechnet die implizite Volatilität einer Option auf ein Wertpapier (Index, Aktie), einen Future, ein Commodity oder eine Währung aus der Optionsprämie.
1569
+ * @param {number=} calcDate
1570
+ * {lang=en} Calculation date
1571
+ * {lang=ja} Calculation date
1572
+ * {lang=zh} 计算日
1573
+ * {lang=hant} 計算日
1574
+ * {lang=ko} 계산 날짜
1575
+ * {lang=ru} Calculation date
1576
+ * {lang=de} Berechnungsdatum
1577
+ * @param {number=} expiryDate
1578
+ * {lang=en} Expiry date of the option
1579
+ * {lang=ja} Expiry date of the option
1580
+ * {lang=zh} 期权的到期日
1581
+ * {lang=hant} 期權的到期日
1582
+ * {lang=ko} 옵션 만기일
1583
+ * {lang=ru} Expiry date of the option
1584
+ * {lang=de} Ablaufdatum der Option
1585
+ * @param {number=} spotPrice
1586
+ * {lang=en} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1587
+ * {lang=ja} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1588
+ * {lang=zh} 标的金融工具的市场或即期价格。在信用违约掉期期权的情况下,这是标的远期开始信用违约掉期的即期价差。如果未定义,则函数用信用模型计算。
1589
+ * {lang=hant} 標的金融工具的市場或即期價格。在信用違約掉期期權的情況下,這是標的遠期開始信用違約掉期的即期價差。如果未定義,則函數用信用模型計算。
1590
+ * {lang=ko} 기초 자산의 시장 또는 현물 가격. 크레딧디폴트스왑 옵션의 경우 기초 forward-starting 크레딧디폴트스왑의 스팟 스프레드입니다. 이를 정의하지 않으면 함수는 크레딧 모델에서 계산합니다.
1591
+ * {lang=ru} Market or spot price of the underlying instrument. In the case of a credit default swap option it is the spot spread of the underlying forward-starting credit default swap. If it is not defined, the function calculates it from the credit model.
1592
+ * {lang=de} Markt- oder Spotpreis des zugrunde liegenden Wertpapiers. Im Falle einer Credit Default Swap-Option handelt es sich um den Kassaspread des Basiswerts des Forward Starting Credit Default Swaps. Wenn dieser nicht definiert ist, berechnet die Funktion sie vom Kreditmodell.
1593
+ * @param {number=} strikePrice
1594
+ * {lang=en} Strike price of the option.
1595
+ * {lang=ja} Strike price of the option.
1596
+ * {lang=zh} 期权的执行价。
1597
+ * {lang=hant} 期權的執行價。
1598
+ * {lang=ko} 옵션의 권리행사가격.
1599
+ * {lang=ru} Strike price of the option.
1600
+ * {lang=de} Ausübungspreis der Option.
1601
+ * @param {number=} premium
1602
+ * {lang=en} Premium of the option
1603
+ * {lang=ja} Premium of the option
1604
+ * {lang=zh} 期权费
1605
+ * {lang=hant} 期權費
1606
+ * {lang=ko} 옵션의 프리미엄
1607
+ * {lang=ru} Premium of the option
1608
+ * {lang=de} Aufschlag der Option
1609
+ * @param {number=} riskFreeRateArray
1610
+ * {lang=en} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a yield, and requires a single value array, RM:YC uses a yield curve and requires a two-column array containing: the dates, the values for the zero coupon rates or discount factors
1611
+ * {lang=ja} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a yield, and requires a single value array, RM:YC uses a yield curve and requires a two-column array containing: the dates, the values for the zero coupon rates or discount factors
1612
+ * {lang=zh} 数组的形式取决于您指定的利率模型。使用 RateStructure 参数中的关键字 RM (利率模型) 来指定该模型。最常使用的模型是: RM:YTM 使用收益率,并且要求单一值数组,RM:YC 使用收益率曲线,并且要求两列数组,包含: 日期、零票息率或贴现因子的值
1613
+ * {lang=hant} 數組的形式取決於您指定的利率模型。使用 RateStructure 參數中的關鍵字 RM (利率模型) 來指定該模型。最常使用的模型是: RM:YTM 使用收益率,並且要求單一值數組,RM:YC 使用收益率曲線,並且要求兩列數組,包含: 日期、零票息率或貼現因子的值
1614
+ * {lang=ko} 배열 형식은 지정한 이자율 모델에 따라 다릅니다. RateStructure 인수에 키워드 RM(이자율 모델)을 사용해 모델을 지정합니다. 가장 흔하게 사용되는 모델: RM:YTM 수익률을 사용하며 단일 값 배열이 필요, RM:YC 수익률 곡선을 사용하며 날짜, 제로쿠폰율 값 또는 할인 계수가 포함된 2열 배열이 필요
1615
+ * {lang=ru} The form of the array depends on the rate model you specify. Use the keyword RM (rate model) in the RateStructure argument to specify the model. The most commonly used models are: RM:YTM uses a yield, and requires a single value array, RM:YC uses a yield curve and requires a two-column array containing: the dates, the values for the zero coupon rates or discount factors
1616
+ * {lang=de} Die Form des Arrays hängt von dem definierten Zinsmodell ab Verwenden Sie das Schlüsselwort RM (Zinsmodell) im RateStructure-Argument, um das Modell festzulegen. Die am häufigsten verwendeten Modelle sind: RM:YTM verwendet eine Rendite und erfordert ein Array mit einem Einzelwert, RM:YC verwendet eine Renditekurve und erfordert ein zweispaltiges Array, das Folgendes enthält: die Daten, die Werte für die Zero-Kupon Zinssätze oder Diskontfaktoren
1617
+ * @param {string=} returnArray
1618
+ * {lang=en} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock. See ReturnArray for more information. You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1619
+ * {lang=ja} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock. See ReturnArray for more information. You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1620
+ * {lang=zh} 更多年化利率 (单一值) 或两列股息数组 (第一列是日期,第二列是值)。 ReturnArray 代表: 在基于商品的期权的情况下,是持有成本,在基于货币的期权的情况下,是外汇的无风险利率,对于基于期货的期权,是 0,在基于股票的期权的情况下,是年证券收益率。请参看 ReturnArray 了解更多信息。您必须在这个参数中至少包括期权类型,使用 CALL 或 PUT 关键字。请参看 OptionStructure 了解更多信息。
1621
+ * {lang=hant} 更多年化利率 (單一值) 或兩列股息數組 (第一列是日期,第二列是值)。 ReturnArray 代表: 在基於商品的期權的情況下,是持有成本,在基於貨幣的期權的情況下,是外彙的無風險利率,對於基於期貨的期權,是0,在基於股票的期權的情況下,是年證券收益率。請參看 ReturnArray 了解更多信息。您必須在這個參數中至少包括期權類型,使用 CALL 或 PUT 關鍵字。請參看 OptionStructure 了解更多信息。
1622
+ * {lang=ko} 추가 연율(단일값) 또는 2열 배당 배열(첫 번째 열의 날짜 및 두 번째 열의 값). ReturnArray는 상품 옵션인 경우 보유비용, 통화 옵션인 경우 외화의 무위험 이자율, 선물 옵션인 경우 0, 주식 옵션인 경우 연간 증권 수익률을 나타냄 자세한 내용은 ReturnArray를 참조하십시오. 이 인수에 CALL 또는 PUT 키워드로 최소한 옵션 종류를 포함해야 합니다. 자세한 내용은 OptionStructure를 참조하십시오.
1623
+ * {lang=ru} Additional annualized rate (single value) or two-column dividend array (dates in the first column and values in the second column). The ReturnArray represents: the carrying costs, in the case of an option on a commodity, the risk-free rate of the foreign currency, in the case of an option on a currency, 0 in the case of an option on a future, the annual security yield, in the case of an option on a stock. See ReturnArray for more information. You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1624
+ * {lang=de} Zusätzlicher annualisierter Satz (Einzelwert) oder zweispaltiges Dividenden-Array (Daten in der ersten Spalte und Werte in der zweiten Spalte). Das ReturnArray repräsentiert: die Refinanzierungskosten, im Falle einer Option auf ein Commodity, den risikofreien Kurs der Fremdwährung, im Falle einer Option auf eine Währung, 0 im Falle einer Option auf einen Future, den jährlichen Wertpapierertrag im Falle einer Option auf eine Aktie. Weitere Informationen finden Sie unter ReturnArray. Sie müssen mindestens den Optionstyp in dieses Argument aufnehmen, indem Sie das Schlüsselwort CALL oder PUT verwenden. Weitere Informationen finden Sie unter Optionstruktur.
1625
+ * @param {string=} optionStructure
1626
+ * {lang=en} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1627
+ * {lang=ja} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1628
+ * {lang=zh} 您必须在这个参数中至少包括期权类型,使用 CALL 或 PUT 关键字。请参看 OptionStructure 了解更多信息。
1629
+ * {lang=hant} 您必須在這個參數中至少包括期權類型,使用 CALL 或 PUT 關鍵字。請參看 OptionStructure 了解更多信息。
1630
+ * {lang=ko} 이 인수에 CALL 또는 PUT 키워드로 최소한 옵션 종류를 포함해야 합니다. 자세한 내용은 OptionStructure를 참조하십시오.
1631
+ * {lang=ru} You must include at least the option type in this argument, using the CALL or PUT keyword. See OptionStructure for more information.
1632
+ * {lang=de} Sie müssen mindestens den Optionstyp in dieses Argument aufnehmen, indem Sie das Schlüsselwort CALL oder PUT verwenden. Weitere Informationen finden Sie unter Optionstruktur.
1633
+ * @param {string=} rateStructure
1634
+ * {lang=en} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1635
+ * {lang=ja} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1636
+ * {lang=zh} 使用模型中的一个: RM:YTM, RM:YC 请参看 RateStructure 了解更多信息。
1637
+ * {lang=hant} 使用模型中的一個: RM:YTM, RM:YC 請參看 RateStructure 了解更多信息。
1638
+ * {lang=ko} 다음 모델 중 하나 사용: RM:YTM, RM:YC 자세한 내용은 RateStructure를 참조하십시오.
1639
+ * {lang=ru} Use one of the models: RM:YTM, RM:YC See RateStructure for more information.
1640
+ * {lang=de} Verwenden Sie eines der Modelle: RM:YTM, RM:YC Siehe RateStruktur für weitere Informationen.
1641
+ * @param {string=} calcStructure
1642
+ * {lang=en} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1643
+ * {lang=ja} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1644
+ * {lang=zh} 要获得外国衍生品,您必须在这个参数内设置 FT:BS。请参看 CalcStructure 了解更多信息。
1645
+ * {lang=hant} 要獲得外國衍生品,您必須在這個參數內設置 FT:BS。請參看 CalcStructure 了解更多信息。
1646
+ * {lang=ko} 해외 파생상품을 가져오려면 이 인수에 FT:BS를 설정해야 합니다. 자세한 내용은 CalcStructure를 참조하십시오.
1647
+ * {lang=ru} To get the foreign derivatives you must set FT:BS in this argument. See CalcStructure for more information.
1648
+ * {lang=de} Um die ausländischen Derivate zu erhalten, müssen Sie FT:BS in diesem Argument festlegen. Siehe bitte CalcStructure für weitere Informationen
1649
+ * @return {number}
1650
+ * {lang=en} The implied volatility of the option.
1651
+ * {lang=ja} The implied volatility of the option.
1652
+ * {lang=zh} 期权的隐含波动率。
1653
+ * {lang=hant} 期權的隱含波動率。
1654
+ * {lang=ko} 옵션의 내재변동성.
1655
+ * {lang=ru} The implied volatility of the option.
1656
+ * {lang=de} Die implizierte Volatilität der Option.
1657
+ * @example
1658
+ * This example shows how to use OPIMPLIEDVOL to calculate the implied volatility of an option on a security (index, stock), from the option premium.
1659
+ * The call to OPIMPLIEDVOL looks like:
1660
+ * =OPIMPLIEDVOL(38505, 38793, 22.61, 20, 10, 0.0218, 0.0357, "CALL EXM:EUR UI:SEC", "RATETYPE:CONT", "CMT:FORM FT:BS")
1661
+ * Where
1662
+ * EXM:EUR European exercise mode
1663
+ * UI:SEC Underlying asset which is a security
1664
+ * RATETYPE:CONT Continuous yield/rate
1665
+ * CMT:FORM FT:BS The model type which is a Black and Scholes formula
1666
+ */
1667
+ AdFin["OPIMPLIEDVOL"] = function (calcDate, expiryDate, spotPrice, strikePrice, premium, riskFreeRateArray, returnArray, optionStructure, rateStructure, calcStructure) {
1668
+ return AdFin._genericFunction.call(this, "OpFunction.OpImpliedVol", arguments);
1669
+ };
1670
+ /**
1671
+ * @function ADFORMAT
1672
+ * @memberof AdFin
1673
+ * @description
1674
+ * {lang=en} Converts a decimal number to a fraction or displays a bid/ask array as a string using the bid/ask format.
1675
+ * {lang=ja} Converts a decimal number to a fraction or displays a bid/ask array as a string using the bid/ask format.
1676
+ * {lang=zh} 将小数转换成分数或将买价/卖价数组显示为字符串,使用买价/卖价格式。
1677
+ * {lang=zh=Hant} 將小數轉換成分數或將買價/賣價數組顯示為字符串,使用買價/賣價格式。
1678
+ * {lang=ko} 십진수를 분수로 변환하거나 매수/매도 형식을 사용하여 매수/매도 배열을 문자열로 표시합니다.
1679
+ * {lang=ru} Converts a decimal number to a fraction or displays a bid/ask array as a string using the bid/ask format.
1680
+ * {lang=de} Konvertiert eine Dezimalzahl in einen Bruchteil oder zeigt ein GeldIBrief-Array als Zeichenfolge unter Verwendung des Geld/Brief-Formats an.
1681
+ * @param {number=} data
1682
+ * {lang=en} Decimal number or array of bid and ask values to format
1683
+ * {lang=ja} Decimal number or array of bid and ask values to format
1684
+ * {lang=zh} 要设置格式的买价与卖价值的小数或数组
1685
+ * {lang=hant} 要設置格式的買價與賣價值的小數或數組
1686
+ * {lang=ko} 형식을 만들 십진수 또는 매수/매도 값 배열
1687
+ * {lang=ru} Decimal number or array of bid and ask values to format
1688
+ * {lang=de} Zu formatierende Dezimalzahl oder Array von Geld- und Briefwerten
1689
+ * @param {number=} bidDecimals
1690
+ * {lang=en} Number of decimals of the fractional component (for fraction formatting) or of the bid side (for bid/ask formatting)
1691
+ * {lang=ja} Number of decimals of the fractional component (for fraction formatting) or of the bid side (for bid/ask formatting)
1692
+ * {lang=zh} 分数部分 (用于分数格式设置) 或买面 (用于买价/卖价格式设置) 的小数位数
1693
+ * {lang=hant} 分數部分 (用於分數格式設置) 或買麵 (用於買價/賣價格式設置) 的小數位數
1694
+ * {lang=ko} 분수 구성 요소(분수 형식 설정의 경우) 또는 매수측(매수/매도 형식 설정의 경우)의 십진수
1695
+ * {lang=ru} Number of decimals of the fractional component (for fraction formatting) or of the bid side (for bid/ask formatting)
1696
+ * {lang=de} Anzahl der Dezimalstellen der Bruchteilkomponente (bei Bruchteilformatierung) oder der Geld-Seite (bei Geld/Brief-Formatierung)
1697
+ * @param {number=} askDigits
1698
+ * {lang=en} Number of last digits of the ask side (applicable for bid/ask formatting only)
1699
+ * {lang=ja} Number of last digits of the ask side (applicable for bid/ask formatting only)
1700
+ * {lang=zh} 卖面的最后位数 (仅适用于买价/卖价格式设置)
1701
+ * {lang=de} Anzahl der letzten Stellen der Brief-Seite (gilt nur für die Geld./Brief-Formatierung)
1702
+ * {lang=ko} 매도측의 마지막 자릿수(매수/매도 형식 설정의 경우에만 해당)
1703
+ * {lang=ru} Number of last digits of the ask side (applicable for bid/ask formatting only)
1704
+ * {lang=hant} 賣麵的最後位數 (僅適用於買價/賣價格式設置)
1705
+ * @param {number=} formatMode
1706
+ * {lang=en} FormatMode is used as an argument in Adfin Common functions to define the formatting mode. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1707
+ * {lang=ja} FormatMode is used as an argument in Adfin Common functions to define the formatting mode. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1708
+ * {lang=zh} FormatMode 作为 Adfin 通用函数中的参数使用,用于定义格式模式。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1709
+ * {lang=hant} FormatMode 作為 Adfin 通用函數中的參數使用,用於定義格式模式。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1710
+ * {lang=ko} FormatMode는 Adfin Common 함수의 인수로 사용되어 형식 설정 모드를 정의합니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1711
+ * {lang=ru} FormatMode is used as an argument in Adfin Common functions to define the formatting mode. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_formatmode.htm
1712
+ * {lang=de} FormatMode wird als Argument in Adfin Common-Funktionen verwendet, um den Formatierungsmodus zu definieren. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_admode.htm
1713
+ * @return {string}
1714
+ * {lang=en} The formatted string.
1715
+ * {lang=ja} The formatted string.
1716
+ * {lang=zh} 已设置格式的字符串。
1717
+ * {lang=hant} 已設置格式的字符串。
1718
+ * {lang=ko} 형식 설정 문자열.
1719
+ * {lang=ru} The formatted string.
1720
+ * {lang=de} Die formatierte Zeichenfolge.
1721
+ * @example
1722
+ * This function returns the string "7 * 16".
1723
+ * =ADFORMAT(7.5,0,0,"FD:32")
1724
+ * This function returns the string "7 - 16/32".
1725
+ * =ADFORMAT(7.5,0,0,"FD:32 FSEP:^-^ FSHOW")
1726
+ * This function returns the string "1.235-64".
1727
+ * =ADFORMAT({1.235,1.264},3,2,"BASEP:-")
1728
+ */
1729
+ AdFin["ADFORMAT"] = function (data, bidDecimals, askDigits, formatMode) {
1730
+ return AdFin._genericFunction.call(this, "UtFunction.AdFormat", arguments);
1731
+ };
1732
+ /**
1733
+ * @function ADHISTORYVALUE
1734
+ * @memberof AdFin
1735
+ * @description
1736
+ * {lang=en} Retrieves the latest historical value available in the database for an index history style.
1737
+ * {lang=ja} Retrieves the latest historical value available in the database for an index history style.
1738
+ * {lang=zh} 获取某指数历史风格在数据库中可用的最新历史值。
1739
+ * {lang=hant} 獲取某指數歷史風格在數據庫中可用的最新歷史值。
1740
+ * {lang=ko} 인덱스 히스토리 스타일에 대해 데이터베이스에서 사용 가능한 최신 히스토리 값을 검색합니다.
1741
+ * {lang=ru} Retrieves the latest historical value available in the database for an index history style.
1742
+ * {lang=de} Ruft den neuesten in der Datenbank verfügbaren historischen Wert für einen Index-Historienstil ab.
1743
+ * @param {string=} indexName
1744
+ * {lang=en} Index history style name.
1745
+ * {lang=ja} Index history style name.
1746
+ * {lang=zh} 指数历史风格名称。
1747
+ * {lang=hant} 指數歷史風格名稱。
1748
+ * {lang=ko} 인덱스 히스토리 스타일 이름.
1749
+ * {lang=ru} Index history style name.
1750
+ * {lang=de} Name des Indexverlaufsstils.
1751
+ * @param {string=} styleMode
1752
+ * {lang=en} You can use StyleMode as an argument in functions of the Common module to define the creation and modification of a new style. You can also use it to retrieve the latest value of an index history style. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1753
+ * {lang=ja} You can use StyleMode as an argument in functions of the Common module to define the creation and modification of a new style. You can also use it to retrieve the latest value of an index history style. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1754
+ * {lang=zh} 您可以使用 StyleMode 作为通用模块的函数中的参数,来定义新风格的创建与修改。您也可以使用它来获取某指数历史风格的最新值。cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1755
+ * {lang=hant} 您可以使用 StyleMode 作為通用模塊的函數中的參數,來定義新風格的創建與修改。您也可以使用它來獲取某指數歷史風格的最新值。 cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1756
+ * {lang=ko} StyleMode를 Common 모듈 함수의 인수로 사용하여 새 스타일의 생성 및 수정을 정의할 수 있습니다. 인덱스 히스토리 스타일의 최신 값을 검색하는 데 사용할 수도 있습니다. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1757
+ * {lang=ru} You can use StyleMode as an argument in functions of the Common module to define the creation and modification of a new style. You can also use it to retrieve the latest value of an index history style. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1758
+ * {lang=de} Sie können StyleMode als Argument in Funktionen des gemeinsamen Moduls verwenden, um die Erstellung und Änderung eines neuen Stils zu definieren. Sie können auch den neuesten Wert eines Index-Verlaufsstils abrufen. cpurl://apps.cp./Apps/AdfinLibrary/1.4.5/Default.htm#ex_arg_stylemode.htm
1759
+ * @return {*}
1760
+ * {lang=en} The return value depends on the value of StyleMode. The default value is a two-cell array containing: LatestDate Date corresponding to the latest historical value available, LatestValue Value of the index for that date
1761
+ * {lang=ja} The return value depends on the value of StyleMode. The default value is a two-cell array containing: LatestDate Date corresponding to the latest historical value available, LatestValue Value of the index for that date
1762
+ * {lang=zh} 返回值取决于 StyleMode 的值。默认值是两个元素的数组,包含: LatestDate 对应最新可用历史值的日期,LatestValue 该日期指数的值
1763
+ * {lang=hant} 返回值取決於 StyleMode 的值。默認值是兩個元素的數組,包含: LatestDate 對應最新可用歷史值的日期,LatestValue 該日期指數的值
1764
+ * {lang=ko} 반환값은 StyleMode 값에 따라 다릅니다. 기본값은 다음을 포함하는 2셀 배열입니다. LatestDate 사용 가능한 최신 히스토리 값에 해당되는 날짜, LatestValue 해당 날짜의 인덱스 값
1765
+ * {lang=ru} The return value depends on the value of StyleMode. The default value is a two-cell array containing: LatestDate Date corresponding to the latest historical value available, LatestValue Value of the index for that date
1766
+ * {lang=de} Der ausgegebene Wert hängt vom Wert von StyleMode ab. Der Standardwert ist ein zweizelliges Array mit: LatestDate-Date, das dem letzten verfügbaren historischen Wert entspricht, LatestValue Wert des Index für dieses Datum
1767
+ * @example
1768
+ * A call to ADHISTORYVALUE looks like:
1769
+ * =ADHISTORYVALUE("AUSCPI","RET:B")
1770
+ * The return array is:
1771
+ * 30APR2017
1772
+ */
1773
+ AdFin["ADHISTORYVALUE"] = function (indexName, styleMode) {
1774
+ return AdFin._genericFunction.call(this, "UtFunction.AdHistoryValue", arguments);
1775
+ };
1776
+
1777
+ export default AdFin;
1778
+ export { AdFin };