@trdrs/quickcharts 5.8.0 → 5.10.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.
- package/CHANGELOG.md +26 -0
- package/README.md +204 -26
- package/dist/{ar-N6ZTWN65.js → ar-CFMLQMWS.js} +99 -13
- package/dist/ar-CFMLQMWS.js.map +1 -0
- package/dist/{assets-BFaYQSN_.d.ts → assets-_zQbuobs.d.ts} +149 -18
- package/dist/{ca_ES-VHYHWEYE.js → ca_ES-OTOMJJ2G.js} +99 -13
- package/dist/ca_ES-OTOMJJ2G.js.map +1 -0
- package/dist/{chunk-6OLK55Q2.js → chunk-3GGBHQAE.js} +1 -1
- package/dist/chunk-3GGBHQAE.js.map +1 -0
- package/dist/{chunk-ETG46YGK.js → chunk-NWUGE6XN.js} +57 -69
- package/dist/chunk-NWUGE6XN.js.map +1 -0
- package/dist/{de-IYDL4R7X.js → de-BJ5E7LGZ.js} +98 -12
- package/dist/de-BJ5E7LGZ.js.map +1 -0
- package/dist/drawings.d.ts +2 -2
- package/dist/drawings.js +1 -1
- package/dist/{es-LBKNPA3H.js → es-PO36YPXJ.js} +99 -13
- package/dist/es-PO36YPXJ.js.map +1 -0
- package/dist/feature-manifest.json +84 -1
- package/dist/format.d.ts +2 -2
- package/dist/format.js +1 -1
- package/dist/{fr-MHNDYCBF.js → fr-A4WAZ3K4.js} +99 -13
- package/dist/fr-A4WAZ3K4.js.map +1 -0
- package/dist/{he_IL-BMEFQ3ZN.js → he_IL-Q3BO4MEG.js} +99 -13
- package/dist/he_IL-Q3BO4MEG.js.map +1 -0
- package/dist/{id_ID-TXN53FZX.js → id_ID-K22OKQPH.js} +99 -13
- package/dist/id_ID-K22OKQPH.js.map +1 -0
- package/dist/index.d.ts +506 -229
- package/dist/index.js +1808 -1051
- package/dist/index.js.map +1 -1
- package/dist/{it-OGBC7TOS.js → it-DPPNAWOV.js} +99 -13
- package/dist/it-DPPNAWOV.js.map +1 -0
- package/dist/{ja-53733PVE.js → ja-U7C5N3LG.js} +98 -12
- package/dist/ja-U7C5N3LG.js.map +1 -0
- package/dist/{ko-3VKR42AF.js → ko-5LFLZG7S.js} +99 -13
- package/dist/ko-5LFLZG7S.js.map +1 -0
- package/dist/{ms_MY-MS365YCK.js → ms_MY-H75T2Q5A.js} +99 -13
- package/dist/ms_MY-H75T2Q5A.js.map +1 -0
- package/dist/{pl-LW3WQV2B.js → pl-3YOKB2BS.js} +99 -13
- package/dist/pl-3YOKB2BS.js.map +1 -0
- package/dist/{pt-ODOVBTAY.js → pt-PEX6C6L5.js} +99 -13
- package/dist/pt-PEX6C6L5.js.map +1 -0
- package/dist/quickcharts.css +482 -214
- package/dist/{ru-IPHJS4OI.js → ru-4NPNXA7E.js} +99 -13
- package/dist/ru-4NPNXA7E.js.map +1 -0
- package/dist/{sv-EPVCTIWY.js → sv-BY5AK2AT.js} +99 -13
- package/dist/sv-BY5AK2AT.js.map +1 -0
- package/dist/{symbology-D3SLclrU.d.ts → symbology-BfPxIJjT.d.ts} +8 -5
- package/dist/{symbols-CCYUK8MU.d.ts → symbols-BxtRs6Uu.d.ts} +6 -1
- package/dist/symbols.d.ts +2 -2
- package/dist/{th-QONC4EYZ.js → th-ITZ7VOMZ.js} +99 -13
- package/dist/th-ITZ7VOMZ.js.map +1 -0
- package/dist/theme-manifest.json +163 -20
- package/dist/{tr-JIO34LZJ.js → tr-D4GW77TN.js} +99 -13
- package/dist/tr-D4GW77TN.js.map +1 -0
- package/dist/{vi-6TAWAJKM.js → vi-H4RJW4FL.js} +99 -13
- package/dist/vi-H4RJW4FL.js.map +1 -0
- package/dist/{zh-2BABI2QN.js → zh-3QGRRBGK.js} +98 -12
- package/dist/zh-3QGRRBGK.js.map +1 -0
- package/dist/{zh_TW-L2X3VH4E.js → zh_TW-45CVENDQ.js} +98 -12
- package/dist/zh_TW-45CVENDQ.js.map +1 -0
- package/package.json +1 -1
- package/dist/ar-N6ZTWN65.js.map +0 -1
- package/dist/ca_ES-VHYHWEYE.js.map +0 -1
- package/dist/chunk-6OLK55Q2.js.map +0 -1
- package/dist/chunk-ETG46YGK.js.map +0 -1
- package/dist/de-IYDL4R7X.js.map +0 -1
- package/dist/es-LBKNPA3H.js.map +0 -1
- package/dist/fr-MHNDYCBF.js.map +0 -1
- package/dist/he_IL-BMEFQ3ZN.js.map +0 -1
- package/dist/id_ID-TXN53FZX.js.map +0 -1
- package/dist/it-OGBC7TOS.js.map +0 -1
- package/dist/ja-53733PVE.js.map +0 -1
- package/dist/ko-3VKR42AF.js.map +0 -1
- package/dist/ms_MY-MS365YCK.js.map +0 -1
- package/dist/pl-LW3WQV2B.js.map +0 -1
- package/dist/pt-ODOVBTAY.js.map +0 -1
- package/dist/ru-IPHJS4OI.js.map +0 -1
- package/dist/sv-EPVCTIWY.js.map +0 -1
- package/dist/th-QONC4EYZ.js.map +0 -1
- package/dist/tr-JIO34LZJ.js.map +0 -1
- package/dist/vi-6TAWAJKM.js.map +0 -1
- package/dist/zh-2BABI2QN.js.map +0 -1
- package/dist/zh_TW-L2X3VH4E.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as ChartDatafeed, M as MarkIconId, F as FeedBar, S as SymbolRow, D as DatafeedSearchOptions, a as SearchPage, b as SearchClassNode } from './symbols-
|
|
2
|
-
export { B as BarMark, c as BarsEvent, d as DatafeedConfig, e as FeedUnavailableError, H as HistoryPage, f as MarkColor, g as MarkColorPair, h as MarkColorRole, i as MarkLine, j as MarkLineStyle, k as MarkPlacement, l as MarkShape, O as OlderPageVerdict, P as PricesHandlers, m as SubscribeHandlers, n as SymbolNames, o as SymbolPrices, T as TimescaleMark, p as olderPageVerdict, s as symbolNames } from './symbols-
|
|
3
|
-
import { ao as en, C as ChartMessageKey, G as GlyphSourcePort, M as MagnetMode, d as CursorMode, Q as TextEditFrame, N as TextDraft, L as LineStyle, I as IDrawing, m as DrawingCounts, D as DrawingStyle, $ as VisibilityPreset, X as ToolPreset, Y as ToolTemplate, S as SerializedDrawing, o as DrawingPreferences, l as DrawingAssetPort } from './assets-
|
|
1
|
+
import { C as ChartDatafeed, M as MarkIconId, F as FeedBar, S as SymbolRow, D as DatafeedSearchOptions, a as SearchPage, b as SearchClassNode } from './symbols-BxtRs6Uu.js';
|
|
2
|
+
export { B as BarMark, c as BarsEvent, d as DatafeedConfig, e as FeedUnavailableError, H as HistoryPage, f as MarkColor, g as MarkColorPair, h as MarkColorRole, i as MarkLine, j as MarkLineStyle, k as MarkPlacement, l as MarkShape, O as OlderPageVerdict, P as PricesHandlers, m as SubscribeHandlers, n as SymbolNames, o as SymbolPrices, T as TimescaleMark, p as olderPageVerdict, s as symbolNames } from './symbols-BxtRs6Uu.js';
|
|
3
|
+
import { ao as en, C as ChartMessageKey, W as TimeframeVisibility, G as GlyphSourcePort, M as MagnetMode, d as CursorMode, Q as TextEditFrame, N as TextDraft, L as LineStyle, I as IDrawing, m as DrawingCounts, D as DrawingStyle, $ as VisibilityPreset, X as ToolPreset, Y as ToolTemplate, S as SerializedDrawing, o as DrawingPreferences, l as DrawingAssetPort } from './assets-_zQbuobs.js';
|
|
4
4
|
import { b as ResourceRef, C as ChartSaveLoadAdapter, q as ChartMeta, t as ChartBody, h as DrawingResourceContext, R as ResourceStore, u as DrawingsMeta, j as DrawingsBody, T as TemplateMeta, a as TemplateBody, v as LayoutMeta, w as LayoutBody, e as DrawingContextKind } from './resources-XglhzzW0.js';
|
|
5
5
|
export { c as ChartLocalDrawingContext, D as DRAWING_CONTEXT_VERSION, d as DRAWING_DOCUMENT_VERSION, f as DrawingEntry, g as DrawingGroup, i as DrawingTombstone, L as LayoutSharedDrawingContext, M as MemoryResourcesOptions, x as ResourceAbortError, S as SymbolGlobalDrawingContext, y as TemplateKind, W as WriteOutcome, k as drawingContextKey, l as emptyDrawingDocument, m as liveDrawingEntries, n as liveDrawingGroups, z as memorySaveLoadAdapter, o as mergeDrawingDocuments, p as parseDrawingDocument, r as reviseDrawingDocument, s as sameDrawingContext } from './resources-XglhzzW0.js';
|
|
6
6
|
import { LineData, UTCTimestamp, HistogramData, WhitespaceData, IChartApi, ISeriesApi, CreatePriceLineOptions, PriceLineOptions, ISeriesPrimitive, Time, PriceScaleMode, SeriesType, SeriesAttachedParameter, TickMarkType } from 'lightweight-charts';
|
|
7
|
-
import { D as DataStatus, S as SymbolInfo, P as PriceFormat } from './symbology-
|
|
8
|
-
export { a as Subsession, b as SubsessionId, T as TickBand, p as parseTickBands, t as tickBandFor } from './symbology-
|
|
7
|
+
import { D as DataStatus, S as SymbolInfo, P as PriceFormat } from './symbology-BfPxIJjT.js';
|
|
8
|
+
export { a as Subsession, b as SubsessionId, T as TickBand, p as parseTickBands, t as tickBandFor } from './symbology-BfPxIJjT.js';
|
|
9
9
|
import { PriceFormatter } from './format.js';
|
|
10
10
|
export { NumericPunctuation, PriceFormatterOptions, createPriceFormatter } from './format.js';
|
|
11
11
|
|
|
@@ -55,6 +55,16 @@ declare const THEME_ROLES: readonly [{
|
|
|
55
55
|
readonly family: "canvas";
|
|
56
56
|
readonly kind: "color";
|
|
57
57
|
readonly description: "The divider between stacked panes and around the plot area.";
|
|
58
|
+
}, {
|
|
59
|
+
readonly id: "canvas.paneDivider";
|
|
60
|
+
readonly family: "canvas";
|
|
61
|
+
readonly kind: "color";
|
|
62
|
+
readonly description: "The line between stacked panes.";
|
|
63
|
+
}, {
|
|
64
|
+
readonly id: "canvas.paneDividerHover";
|
|
65
|
+
readonly family: "canvas";
|
|
66
|
+
readonly kind: "color";
|
|
67
|
+
readonly description: "The band over the line between stacked panes while the pointer is on it.";
|
|
58
68
|
}, {
|
|
59
69
|
readonly id: "canvas.watermark";
|
|
60
70
|
readonly family: "canvas";
|
|
@@ -127,12 +137,17 @@ declare const THEME_ROLES: readonly [{
|
|
|
127
137
|
readonly id: "scale.sessionExtended";
|
|
128
138
|
readonly family: "scale";
|
|
129
139
|
readonly kind: "color";
|
|
130
|
-
readonly description: "Shading over
|
|
140
|
+
readonly description: "Shading over overnight and other extended-hours bars.";
|
|
131
141
|
}, {
|
|
132
142
|
readonly id: "scale.sessionAfterHours";
|
|
133
143
|
readonly family: "scale";
|
|
134
144
|
readonly kind: "color";
|
|
135
|
-
readonly description: "Shading over
|
|
145
|
+
readonly description: "Shading over post-market bars.";
|
|
146
|
+
}, {
|
|
147
|
+
readonly id: "scale.sessionElectronic";
|
|
148
|
+
readonly family: "scale";
|
|
149
|
+
readonly kind: "color";
|
|
150
|
+
readonly description: "Shading over the bars of an electronic trading day outside its regular hours.";
|
|
136
151
|
}, {
|
|
137
152
|
readonly id: "scale.sessionClosed";
|
|
138
153
|
readonly family: "scale";
|
|
@@ -634,27 +649,77 @@ declare const THEME_ROLES: readonly [{
|
|
|
634
649
|
readonly id: "status.sessionPreMarket";
|
|
635
650
|
readonly family: "status";
|
|
636
651
|
readonly kind: "color";
|
|
637
|
-
readonly description: "The
|
|
652
|
+
readonly description: "The status mark, the title and the timeline stretch for pre-market.";
|
|
653
|
+
}, {
|
|
654
|
+
readonly id: "status.sessionPreMarketTint";
|
|
655
|
+
readonly family: "status";
|
|
656
|
+
readonly kind: "color";
|
|
657
|
+
readonly description: "The circle behind the pre-market status mark.";
|
|
638
658
|
}, {
|
|
639
659
|
readonly id: "status.sessionOpen";
|
|
640
660
|
readonly family: "status";
|
|
641
661
|
readonly kind: "color";
|
|
642
|
-
readonly description: "The
|
|
662
|
+
readonly description: "The status mark, the title and the timeline stretch while the market is open.";
|
|
663
|
+
}, {
|
|
664
|
+
readonly id: "status.sessionOpenTint";
|
|
665
|
+
readonly family: "status";
|
|
666
|
+
readonly kind: "color";
|
|
667
|
+
readonly description: "The circle behind the open market status mark.";
|
|
643
668
|
}, {
|
|
644
669
|
readonly id: "status.sessionExtended";
|
|
645
670
|
readonly family: "status";
|
|
646
671
|
readonly kind: "color";
|
|
647
|
-
readonly description: "The
|
|
672
|
+
readonly description: "The status mark, the title and the timeline stretch for overnight and extended hours.";
|
|
673
|
+
}, {
|
|
674
|
+
readonly id: "status.sessionExtendedTint";
|
|
675
|
+
readonly family: "status";
|
|
676
|
+
readonly kind: "color";
|
|
677
|
+
readonly description: "The circle behind the overnight and extended-hours status mark.";
|
|
648
678
|
}, {
|
|
649
679
|
readonly id: "status.sessionAfterHours";
|
|
650
680
|
readonly family: "status";
|
|
651
681
|
readonly kind: "color";
|
|
652
|
-
readonly description: "The
|
|
682
|
+
readonly description: "The status mark, the title and the timeline stretch for post-market.";
|
|
683
|
+
}, {
|
|
684
|
+
readonly id: "status.sessionAfterHoursTint";
|
|
685
|
+
readonly family: "status";
|
|
686
|
+
readonly kind: "color";
|
|
687
|
+
readonly description: "The circle behind the post-market status mark.";
|
|
653
688
|
}, {
|
|
654
689
|
readonly id: "status.sessionClosed";
|
|
655
690
|
readonly family: "status";
|
|
656
691
|
readonly kind: "color";
|
|
657
|
-
readonly description: "The
|
|
692
|
+
readonly description: "The status mark and the title while the market is closed, a holiday included.";
|
|
693
|
+
}, {
|
|
694
|
+
readonly id: "status.sessionClosedTint";
|
|
695
|
+
readonly family: "status";
|
|
696
|
+
readonly kind: "color";
|
|
697
|
+
readonly description: "The circle behind the closed market status mark.";
|
|
698
|
+
}, {
|
|
699
|
+
readonly id: "status.sessionTrack";
|
|
700
|
+
readonly family: "status";
|
|
701
|
+
readonly kind: "color";
|
|
702
|
+
readonly description: "The closed stretches of the status popup's timeline.";
|
|
703
|
+
}, {
|
|
704
|
+
readonly id: "status.dataDelayed";
|
|
705
|
+
readonly family: "status";
|
|
706
|
+
readonly kind: "color";
|
|
707
|
+
readonly description: "The status mark and the title for delayed data.";
|
|
708
|
+
}, {
|
|
709
|
+
readonly id: "status.dataDelayedTint";
|
|
710
|
+
readonly family: "status";
|
|
711
|
+
readonly kind: "color";
|
|
712
|
+
readonly description: "The circle behind the delayed data status mark.";
|
|
713
|
+
}, {
|
|
714
|
+
readonly id: "status.dataEndOfDay";
|
|
715
|
+
readonly family: "status";
|
|
716
|
+
readonly kind: "color";
|
|
717
|
+
readonly description: "The status mark and the title for end-of-day data.";
|
|
718
|
+
}, {
|
|
719
|
+
readonly id: "status.dataEndOfDayTint";
|
|
720
|
+
readonly family: "status";
|
|
721
|
+
readonly kind: "color";
|
|
722
|
+
readonly description: "The circle behind the end-of-day data status mark.";
|
|
658
723
|
}, {
|
|
659
724
|
readonly id: "illustration.ink";
|
|
660
725
|
readonly family: "illustration";
|
|
@@ -918,7 +983,7 @@ interface DictionaryLoader<Source extends Catalog, Code extends string = ChartLo
|
|
|
918
983
|
has(code: Code): boolean;
|
|
919
984
|
}
|
|
920
985
|
|
|
921
|
-
declare const KEYS_ADDED_IN_MAJOR: readonly ["chrome.autoScale", "chrome.autoScaleMark", "chrome.currencyAndUnit", "chrome.deletePane", "chrome.logScale", "chrome.logScaleMark", "chrome.paneButtons", "chrome.priceLevelMenu", "chrome.scaleAsk", "chrome.scaleBid", "chrome.scaleHigh", "chrome.scaleLow", "chrome.scaleMenu", "chrome.scaleModes", "command.drawingPlaceHorizontalLine", "command.marksRefresh", "history.changeMovePane", "legend.movePaneDown", "legend.movePaneUp", "menu.autoFitScale", "menu.drawHorizontalLine", "menu.invertScale", "menu.labelBidAsk", "menu.labelExtendedHours", "menu.labelHighLow", "menu.labelIndicatorName", "menu.labelIndicatorValue", "menu.labelPreviousClose", "menu.labelSymbolName", "menu.labelSymbolValue", "menu.lineBidAsk", "menu.lineExtendedHours", "menu.lineHighLow", "menu.linePreviousClose", "menu.linePrice", "menu.moreSettings", "menu.moveScaleLeft", "menu.moveScaleRight", "menu.resetPriceScale", "menu.scaleIndexed", "menu.scaleLabels", "menu.scaleLines", "menu.scaleLogarithmic", "menu.scalePercent", "menu.scalePriceChartOnly", "menu.scaleRegular", "picker.allKinds", "picker.indicators", "picker.kindFilter", "picker.technicals"];
|
|
986
|
+
declare const KEYS_ADDED_IN_MAJOR: readonly ["chrome.autoScale", "chrome.autoScaleMark", "chrome.compareTip", "chrome.currencyAndUnit", "chrome.deletePane", "chrome.fullscreenTip", "chrome.imageTip", "chrome.indicatorsTip", "chrome.logScale", "chrome.logScaleMark", "chrome.paneButtons", "chrome.priceLevelMenu", "chrome.scaleAsk", "chrome.scaleBid", "chrome.scaleHigh", "chrome.scaleLow", "chrome.scaleMenu", "chrome.scaleModes", "chrome.sessionShortAllHours", "chrome.sessionShortExtended", "chrome.sessionShortRegular", "chrome.settingsTip", "command.drawingPlaceHorizontalLine", "command.marksRefresh", "drawing.tipAnnotations", "drawing.tipCursors", "drawing.tipFibGann", "drawing.tipForecast", "drawing.tipHideAll", "drawing.tipHideFavorites", "drawing.tipHideOptions", "drawing.tipKeepDrawing", "drawing.tipMagnet", "drawing.tipMagnets", "drawing.tipRemoveObjects", "drawing.tipRemoveOptions", "drawing.tipShapes", "drawing.tipShowAll", "drawing.tipShowFavorites", "history.changeMovePane", "legend.movePaneDown", "legend.movePaneUp", "legend.show", "menu.autoFitScale", "menu.drawHorizontalLine", "menu.invertScale", "menu.labelBidAsk", "menu.labelExtendedHours", "menu.labelHighLow", "menu.labelIndicatorName", "menu.labelIndicatorValue", "menu.labelPreviousClose", "menu.labelSymbolName", "menu.labelSymbolValue", "menu.lineBidAsk", "menu.lineExtendedHours", "menu.lineHighLow", "menu.linePreviousClose", "menu.linePrice", "menu.moreSettings", "menu.moveScaleLeft", "menu.moveScaleRight", "menu.resetPriceScale", "menu.scaleIndexed", "menu.scaleLabels", "menu.scaleLines", "menu.scaleLogarithmic", "menu.scalePercent", "menu.scalePriceChartOnly", "menu.scaleRegular", "picker.allKinds", "picker.favoriteTip", "picker.indicators", "picker.kindFilter", "picker.technicals", "picker.unfavoriteTip", "range.intervalDays", "range.intervalHours", "range.intervalMinutes", "range.intervalMonths", "range.intervalSeconds", "range.intervalTicks", "range.intervalWeeks", "range.tipFiveDays", "range.tipFiveYears", "range.tipIntervals", "range.tipOneDay", "range.tipOneMonth", "range.tipOneYear", "range.tipSixMonths", "range.tipThreeMonths", "search.collapse", "search.expand", "search.moreListings", "settings.defaults", "settings.electronic", "settings.electronicHoursBackground", "settings.falling", "settings.growing", "settings.indicatorPinnedNote", "settings.inputValues", "settings.inputsInStatusLine", "settings.outputValues", "settings.resetSettings", "settings.saveAsDefault", "settings.sessionElectronic", "settings.sessionRegularHours", "settings.valuesInStatusLine", "status.closedText", "status.closesIn", "status.delayedText", "status.delayedTitle", "status.extendedIn", "status.holidayText", "status.holidayTitle", "status.openText", "status.opensFullyIn", "status.opensIn", "status.opensPreMarketIn", "status.overnightIn", "status.overnightText", "status.overnightTitle", "status.postMarketIn", "status.postText", "status.preMarketIn", "status.preText", "status.textPair", "timeframe.intervalTip", "timeframe.tipDays", "timeframe.tipHours", "timeframe.tipMinutes", "timeframe.tipMonths", "timeframe.tipSeconds", "timeframe.tipTicks", "timeframe.tipWeeks", "timezone.tip"];
|
|
922
987
|
type KeyAddedInMajor = (typeof KEYS_ADDED_IN_MAJOR)[number];
|
|
923
988
|
|
|
924
989
|
type ChartTranslate = Translate<typeof en>;
|
|
@@ -1015,11 +1080,15 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1015
1080
|
readonly 'settings.sessionRegular': "Regular";
|
|
1016
1081
|
readonly 'settings.sessionExtended': "Extended";
|
|
1017
1082
|
readonly 'settings.sessionAllHours': "24 hours";
|
|
1083
|
+
readonly 'settings.sessionElectronic': "Electronic trading hours";
|
|
1084
|
+
readonly 'settings.sessionRegularHours': "Regular trading hours";
|
|
1018
1085
|
readonly 'settings.extendedHoursBackground': "Pre/post market hours background";
|
|
1019
1086
|
readonly 'settings.allHoursBackground': "Pre/post/night market hours background";
|
|
1087
|
+
readonly 'settings.electronicHoursBackground': "Electronic trading hours background";
|
|
1020
1088
|
readonly 'settings.preMarket': "Pre-market";
|
|
1021
1089
|
readonly 'settings.postMarket': "Post-market";
|
|
1022
1090
|
readonly 'settings.night': "Night";
|
|
1091
|
+
readonly 'settings.electronic': "Electronic";
|
|
1023
1092
|
readonly 'settings.precision': "Precision";
|
|
1024
1093
|
readonly 'settings.precisionDefault': "Default";
|
|
1025
1094
|
readonly 'settings.precisionInteger': "Integer";
|
|
@@ -1125,6 +1194,16 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1125
1194
|
readonly 'settings.lineStyleDotted': "Dotted";
|
|
1126
1195
|
readonly 'settings.labelsOnPriceScale': "Labels on price scale";
|
|
1127
1196
|
readonly 'settings.showIndicator': "Show this indicator";
|
|
1197
|
+
readonly 'settings.growing': "Growing";
|
|
1198
|
+
readonly 'settings.falling': "Falling";
|
|
1199
|
+
readonly 'settings.outputValues': "Output values";
|
|
1200
|
+
readonly 'settings.inputValues': "Input values";
|
|
1201
|
+
readonly 'settings.valuesInStatusLine': "Values in status line";
|
|
1202
|
+
readonly 'settings.inputsInStatusLine': "Inputs in status line";
|
|
1203
|
+
readonly 'settings.defaults': "Defaults";
|
|
1204
|
+
readonly 'settings.resetSettings': "Reset settings";
|
|
1205
|
+
readonly 'settings.saveAsDefault': "Save as default";
|
|
1206
|
+
readonly 'settings.indicatorPinnedNote': "An indicator stays on at least one timeframe, so it can always be reached again.";
|
|
1128
1207
|
readonly 'picker.title': "Indicators";
|
|
1129
1208
|
readonly 'picker.search': "Search indicators";
|
|
1130
1209
|
readonly 'picker.noMatches': "No matching indicators.";
|
|
@@ -1141,6 +1220,8 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1141
1220
|
readonly 'picker.author': "Author";
|
|
1142
1221
|
readonly 'picker.favorite': "Favorite {name}";
|
|
1143
1222
|
readonly 'picker.unfavorite': "Unfavorite {name}";
|
|
1223
|
+
readonly 'picker.favoriteTip': "Add to favorites";
|
|
1224
|
+
readonly 'picker.unfavoriteTip': "Remove from favorites";
|
|
1144
1225
|
readonly 'picker.loading': "Loading indicators…";
|
|
1145
1226
|
readonly 'picker.unavailable': "Indicator content is unavailable. Try again.";
|
|
1146
1227
|
readonly 'picker.actionFailed': "The action could not be completed. Try again.";
|
|
@@ -1172,8 +1253,16 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1172
1253
|
readonly 'chrome.replay': "Bar replay";
|
|
1173
1254
|
readonly 'chrome.replayChip': "Replay";
|
|
1174
1255
|
readonly 'chrome.image': "Chart image";
|
|
1256
|
+
readonly 'chrome.compareTip': "Compare symbols";
|
|
1257
|
+
readonly 'chrome.indicatorsTip': "Indicators and strategies";
|
|
1258
|
+
readonly 'chrome.settingsTip': "Settings";
|
|
1259
|
+
readonly 'chrome.fullscreenTip': "Fullscreen mode";
|
|
1260
|
+
readonly 'chrome.imageTip': "Take a snapshot";
|
|
1175
1261
|
readonly 'chrome.session': "Trading session";
|
|
1176
1262
|
readonly 'chrome.sessionsHeading': "Sessions";
|
|
1263
|
+
readonly 'chrome.sessionShortExtended': "ETH";
|
|
1264
|
+
readonly 'chrome.sessionShortRegular': "RTH";
|
|
1265
|
+
readonly 'chrome.sessionShortAllHours': "24H";
|
|
1177
1266
|
readonly 'chrome.navigation': "Chart navigation";
|
|
1178
1267
|
readonly 'chrome.activeChart': "{symbol}, {timeframe}";
|
|
1179
1268
|
readonly 'chrome.scaleHigh': "High";
|
|
@@ -1368,6 +1457,21 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1368
1457
|
readonly 'drawing.alwaysRemoveLocked': "Always remove locked drawings";
|
|
1369
1458
|
readonly 'drawing.favTools': "Favorite drawing tools";
|
|
1370
1459
|
readonly 'drawing.favToolsBar': "Favorite drawing tools toolbar";
|
|
1460
|
+
readonly 'drawing.tipCursors': "Cursors";
|
|
1461
|
+
readonly 'drawing.tipFibGann': "Gann and Fibonacci tools";
|
|
1462
|
+
readonly 'drawing.tipForecast': "Forecasting and measurement tools";
|
|
1463
|
+
readonly 'drawing.tipShapes': "Geometric shapes";
|
|
1464
|
+
readonly 'drawing.tipAnnotations': "Annotation tools";
|
|
1465
|
+
readonly 'drawing.tipMagnet': "Magnet mode snaps drawings placed near price bars to the closest OHLC value";
|
|
1466
|
+
readonly 'drawing.tipMagnets': "Magnets";
|
|
1467
|
+
readonly 'drawing.tipKeepDrawing': "Keep drawing";
|
|
1468
|
+
readonly 'drawing.tipHideAll': "Hide all drawings";
|
|
1469
|
+
readonly 'drawing.tipShowAll': "Show all drawings";
|
|
1470
|
+
readonly 'drawing.tipHideOptions': "Hide options";
|
|
1471
|
+
readonly 'drawing.tipRemoveObjects': "Remove objects";
|
|
1472
|
+
readonly 'drawing.tipRemoveOptions': "Remove options";
|
|
1473
|
+
readonly 'drawing.tipShowFavorites': "Show favorite drawing tools toolbar";
|
|
1474
|
+
readonly 'drawing.tipHideFavorites': "Hide favorite drawing tools toolbar";
|
|
1371
1475
|
readonly 'drawing.favAdd': "Add {tool} to favorites";
|
|
1372
1476
|
readonly 'drawing.favRemove': "Remove {tool} from favorites";
|
|
1373
1477
|
readonly 'drawing.moveToolbar': "Move toolbar";
|
|
@@ -1777,6 +1881,12 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1777
1881
|
readonly 'search.recent': "Recent symbols";
|
|
1778
1882
|
readonly 'search.addedMark': "{symbol} is on the chart. Click to remove.";
|
|
1779
1883
|
readonly 'search.compareEmpty': "No symbols here yet. Why not add some?";
|
|
1884
|
+
readonly 'search.moreListings': {
|
|
1885
|
+
readonly one: "{count} more listing";
|
|
1886
|
+
readonly other: "{count} more listings";
|
|
1887
|
+
};
|
|
1888
|
+
readonly 'search.expand': "Expand";
|
|
1889
|
+
readonly 'search.collapse': "Collapse";
|
|
1780
1890
|
readonly 'search.allClasses': "All";
|
|
1781
1891
|
readonly 'search.classFilter': "Asset class";
|
|
1782
1892
|
readonly 'search.limitToScope': "Limit search to {scope}";
|
|
@@ -1792,15 +1902,48 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1792
1902
|
readonly 'status.title': "Market status";
|
|
1793
1903
|
readonly 'status.unknownTitle': "Session unknown";
|
|
1794
1904
|
readonly 'status.unknown': "This symbol's trading session has not resolved yet.";
|
|
1795
|
-
readonly 'status.endOfDayTitle': "End
|
|
1796
|
-
readonly 'status.endOfDay': "Prices update once a day, after the session
|
|
1905
|
+
readonly 'status.endOfDayTitle': "End-of-day data";
|
|
1906
|
+
readonly 'status.endOfDay': "Prices update once a day, after the session ends.";
|
|
1907
|
+
readonly 'status.delayedTitle': "Data is delayed";
|
|
1908
|
+
readonly 'status.delayedText': "This symbol's prices are delayed.";
|
|
1909
|
+
readonly 'status.overnightTitle': "Overnight";
|
|
1910
|
+
readonly 'status.holidayTitle': "Holiday";
|
|
1911
|
+
readonly 'status.openText': "All's well, market is open.";
|
|
1912
|
+
readonly 'status.preText': "Morning. Market is open for pre-market trading.";
|
|
1913
|
+
readonly 'status.postText': "Evening. Market is open for post-market trading.";
|
|
1914
|
+
readonly 'status.overnightText': "Hey there, night owl. Market is currently open for overnight trading.";
|
|
1915
|
+
readonly 'status.extended': "Market is open for extended-hours trading.";
|
|
1916
|
+
readonly 'status.closedText': "Time for a walk, this market is closed.";
|
|
1917
|
+
readonly 'status.holidayText': "Market is currently on holiday. Lucky them.";
|
|
1918
|
+
readonly 'status.closesIn': "It'll close in {until}.";
|
|
1919
|
+
readonly 'status.postMarketIn': "It'll go to post-market trading in {until}.";
|
|
1920
|
+
readonly 'status.overnightIn': "Overnight trading will start in {until}.";
|
|
1921
|
+
readonly 'status.extendedIn': "It'll go to extended-hours trading in {until}.";
|
|
1922
|
+
readonly 'status.preMarketIn': "Pre-market will start in {until}.";
|
|
1923
|
+
readonly 'status.opensFullyIn': "It'll open fully in {until}.";
|
|
1924
|
+
readonly 'status.opensPreMarketIn': "It'll open for pre-market trading in {until}.";
|
|
1925
|
+
readonly 'status.opensIn': "It'll open in {until}.";
|
|
1926
|
+
readonly 'status.textPair': "{sentence} {countdown}";
|
|
1927
|
+
readonly 'status.exchangeTimezone': "Exchange timezone: {zone}";
|
|
1928
|
+
readonly 'status.durationDays': {
|
|
1929
|
+
readonly one: "{count} day";
|
|
1930
|
+
readonly other: "{count} days";
|
|
1931
|
+
};
|
|
1932
|
+
readonly 'status.durationHours': {
|
|
1933
|
+
readonly one: "{count} hour";
|
|
1934
|
+
readonly other: "{count} hours";
|
|
1935
|
+
};
|
|
1936
|
+
readonly 'status.durationMinutes': {
|
|
1937
|
+
readonly one: "{count} minute";
|
|
1938
|
+
readonly other: "{count} minutes";
|
|
1939
|
+
};
|
|
1940
|
+
readonly 'status.durationPair': "{major} and {minor}";
|
|
1797
1941
|
readonly 'status.delayed': "Prices are delayed.";
|
|
1798
1942
|
readonly 'status.delayedPair': "{status} {delay}";
|
|
1799
1943
|
readonly 'status.continuousTitle': "Open 24/7";
|
|
1800
1944
|
readonly 'status.continuous': "This market trades around the clock and never closes.";
|
|
1801
1945
|
readonly 'status.open': "Market is open for regular trading.";
|
|
1802
1946
|
readonly 'status.openCloses': "Market is open for regular trading. Closes in {until}.";
|
|
1803
|
-
readonly 'status.extended': "Market is open for extended-hours trading.";
|
|
1804
1947
|
readonly 'status.extendedRegular': "Market is open for extended-hours trading. Regular hours start in {until}.";
|
|
1805
1948
|
readonly 'status.extendedCloses': "Market is open for extended-hours trading. Closes in {until}.";
|
|
1806
1949
|
readonly 'status.pre': "Market is open for pre-market trading.";
|
|
@@ -1810,20 +1953,6 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1810
1953
|
readonly 'status.closed': "Market is closed.";
|
|
1811
1954
|
readonly 'status.closedPre': "Market is closed. Pre-market starts in {until}.";
|
|
1812
1955
|
readonly 'status.closedOpens': "Market is closed. Opens in {until}.";
|
|
1813
|
-
readonly 'status.exchangeTimezone': "Exchange timezone: {zone}";
|
|
1814
|
-
readonly 'status.durationDays': {
|
|
1815
|
-
readonly one: "{count} day";
|
|
1816
|
-
readonly other: "{count} days";
|
|
1817
|
-
};
|
|
1818
|
-
readonly 'status.durationHours': {
|
|
1819
|
-
readonly one: "{count} hour";
|
|
1820
|
-
readonly other: "{count} hours";
|
|
1821
|
-
};
|
|
1822
|
-
readonly 'status.durationMinutes': {
|
|
1823
|
-
readonly one: "{count} minute";
|
|
1824
|
-
readonly other: "{count} minutes";
|
|
1825
|
-
};
|
|
1826
|
-
readonly 'status.durationPair': "{major} {minor}";
|
|
1827
1956
|
readonly 'range.oneDay': "1 Day";
|
|
1828
1957
|
readonly 'range.fiveDays': "5 Days";
|
|
1829
1958
|
readonly 'range.oneMonth': "1 Month";
|
|
@@ -1834,6 +1963,42 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1834
1963
|
readonly 'range.fiveYears': "5 Years";
|
|
1835
1964
|
readonly 'range.all': "All data";
|
|
1836
1965
|
readonly 'range.tip': "{range} · {timeframe} bars";
|
|
1966
|
+
readonly 'range.tipIntervals': "{range} in {timeframe} intervals";
|
|
1967
|
+
readonly 'range.intervalTicks': {
|
|
1968
|
+
readonly one: "{count} tick";
|
|
1969
|
+
readonly other: "{count} tick";
|
|
1970
|
+
};
|
|
1971
|
+
readonly 'range.intervalSeconds': {
|
|
1972
|
+
readonly one: "{count} second";
|
|
1973
|
+
readonly other: "{count} second";
|
|
1974
|
+
};
|
|
1975
|
+
readonly 'range.intervalMinutes': {
|
|
1976
|
+
readonly one: "{count} minute";
|
|
1977
|
+
readonly other: "{count} minute";
|
|
1978
|
+
};
|
|
1979
|
+
readonly 'range.intervalHours': {
|
|
1980
|
+
readonly one: "{count} hour";
|
|
1981
|
+
readonly other: "{count} hour";
|
|
1982
|
+
};
|
|
1983
|
+
readonly 'range.intervalDays': {
|
|
1984
|
+
readonly one: "{count} day";
|
|
1985
|
+
readonly other: "{count} day";
|
|
1986
|
+
};
|
|
1987
|
+
readonly 'range.intervalWeeks': {
|
|
1988
|
+
readonly one: "{count} week";
|
|
1989
|
+
readonly other: "{count} week";
|
|
1990
|
+
};
|
|
1991
|
+
readonly 'range.intervalMonths': {
|
|
1992
|
+
readonly one: "{count} month";
|
|
1993
|
+
readonly other: "{count} month";
|
|
1994
|
+
};
|
|
1995
|
+
readonly 'range.tipOneDay': "1 day";
|
|
1996
|
+
readonly 'range.tipFiveDays': "5 days";
|
|
1997
|
+
readonly 'range.tipOneMonth': "1 month";
|
|
1998
|
+
readonly 'range.tipThreeMonths': "3 months";
|
|
1999
|
+
readonly 'range.tipSixMonths': "6 months";
|
|
2000
|
+
readonly 'range.tipOneYear': "1 year";
|
|
2001
|
+
readonly 'range.tipFiveYears': "5 years";
|
|
1837
2002
|
readonly 'range.zoomIn': "Zoom in";
|
|
1838
2003
|
readonly 'range.zoomOut': "Zoom out";
|
|
1839
2004
|
readonly 'range.scrollLeft': "Scroll left";
|
|
@@ -1842,6 +2007,7 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1842
2007
|
readonly 'range.maximizeChart': "Maximize chart";
|
|
1843
2008
|
readonly 'range.restoreChart': "Restore chart";
|
|
1844
2009
|
readonly 'timezone.title': "Chart timezone";
|
|
2010
|
+
readonly 'timezone.tip': "Timezone";
|
|
1845
2011
|
readonly 'timezone.exchange': "Exchange";
|
|
1846
2012
|
readonly 'timezone.quarter': "Q{quarter}";
|
|
1847
2013
|
readonly 'timeframe.title': "Timeframe";
|
|
@@ -1890,6 +2056,35 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
1890
2056
|
readonly 'timeframe.addCustom': "Add custom timeframe";
|
|
1891
2057
|
readonly 'timeframe.increment': "Increment";
|
|
1892
2058
|
readonly 'timeframe.decrement': "Decrement";
|
|
2059
|
+
readonly 'timeframe.intervalTip': "Chart interval";
|
|
2060
|
+
readonly 'timeframe.tipTicks': {
|
|
2061
|
+
readonly one: "{count} tick";
|
|
2062
|
+
readonly other: "{count} ticks";
|
|
2063
|
+
};
|
|
2064
|
+
readonly 'timeframe.tipSeconds': {
|
|
2065
|
+
readonly one: "{count} second";
|
|
2066
|
+
readonly other: "{count} seconds";
|
|
2067
|
+
};
|
|
2068
|
+
readonly 'timeframe.tipMinutes': {
|
|
2069
|
+
readonly one: "{count} minute";
|
|
2070
|
+
readonly other: "{count} minutes";
|
|
2071
|
+
};
|
|
2072
|
+
readonly 'timeframe.tipHours': {
|
|
2073
|
+
readonly one: "{count} hour";
|
|
2074
|
+
readonly other: "{count} hours";
|
|
2075
|
+
};
|
|
2076
|
+
readonly 'timeframe.tipDays': {
|
|
2077
|
+
readonly one: "{count} day";
|
|
2078
|
+
readonly other: "{count} days";
|
|
2079
|
+
};
|
|
2080
|
+
readonly 'timeframe.tipWeeks': {
|
|
2081
|
+
readonly one: "{count} week";
|
|
2082
|
+
readonly other: "{count} weeks";
|
|
2083
|
+
};
|
|
2084
|
+
readonly 'timeframe.tipMonths': {
|
|
2085
|
+
readonly one: "{count} month";
|
|
2086
|
+
readonly other: "{count} months";
|
|
2087
|
+
};
|
|
1893
2088
|
readonly 'indicator.smaName': "Simple Moving Average";
|
|
1894
2089
|
readonly 'indicator.smaDescription': "Smoothed average over a fixed window";
|
|
1895
2090
|
readonly 'indicator.emaName': "Exponential Moving Average";
|
|
@@ -2067,7 +2262,7 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
2067
2262
|
readonly 'session.pre': "Pre-market";
|
|
2068
2263
|
readonly 'session.open': "Market open";
|
|
2069
2264
|
readonly 'session.extended': "Extended hours";
|
|
2070
|
-
readonly 'session.after': "
|
|
2265
|
+
readonly 'session.after': "Post-market";
|
|
2071
2266
|
readonly 'session.closed': "Market closed";
|
|
2072
2267
|
readonly 'inputs.cancel': "Cancel";
|
|
2073
2268
|
readonly 'inputs.apply': "Apply";
|
|
@@ -2278,6 +2473,7 @@ declare const chartDictionaries: DictionaryLoader<{
|
|
|
2278
2473
|
readonly 'legend.changeSymbol': "Change symbol";
|
|
2279
2474
|
readonly 'legend.removeCompare': "Remove comparison";
|
|
2280
2475
|
readonly 'legend.removeIndicator': "Remove indicator";
|
|
2476
|
+
readonly 'legend.show': "Show";
|
|
2281
2477
|
}, ChartLocaleCode>;
|
|
2282
2478
|
/** A drawing tool's display name for a registry `type`: the catalog's when it knows the type, else
|
|
2283
2479
|
* the registry's own English `name`, so a tool the catalog has not met still has a name. */
|
|
@@ -2290,193 +2486,6 @@ declare function arrangementName(t: ChartTranslate, code: string, fallback: stri
|
|
|
2290
2486
|
* of the built-in codes, or a code the `locales` option registers. */
|
|
2291
2487
|
declare function createChartI18n(initial?: string, options?: ChartI18nOptions): ChartI18n;
|
|
2292
2488
|
|
|
2293
|
-
/** The session an instant classifies into. `extended` is trading outside regular hours when the
|
|
2294
|
-
* symbol does not split it into pre-market and after-hours. */
|
|
2295
|
-
type SessionState = 'pre' | 'open' | 'extended' | 'after' | 'closed';
|
|
2296
|
-
/** One subsession of an extended-hours symbol: `regular`,
|
|
2297
|
-
* `extended`, `premarket` or `postmarket`, each with its own session string and, optionally,
|
|
2298
|
-
* the corrections that shorten it. `SymbolInfo.subsessions` satisfies it; an id the chart has
|
|
2299
|
-
* no state for is ignored. */
|
|
2300
|
-
interface SubsessionSource {
|
|
2301
|
-
readonly id: string;
|
|
2302
|
-
readonly session: string;
|
|
2303
|
-
readonly sessionCorrections?: string;
|
|
2304
|
-
}
|
|
2305
|
-
/** What a session model is built from: the symbology triple plus the optional corrections and
|
|
2306
|
-
* subsessions. `SymbolInfo` satisfies it. */
|
|
2307
|
-
interface SessionSource {
|
|
2308
|
-
readonly timezone: string;
|
|
2309
|
-
readonly session: string;
|
|
2310
|
-
readonly sessionHolidays?: string;
|
|
2311
|
-
readonly corrections?: string;
|
|
2312
|
-
readonly subsessions?: readonly SubsessionSource[];
|
|
2313
|
-
}
|
|
2314
|
-
/** One trading stretch of a trading day, in minutes from that day's exchange-local midnight. The
|
|
2315
|
-
* start may be negative (the stretch begins on a previous day) and the end may pass 1440 (it
|
|
2316
|
-
* runs into the next day); the end is exclusive. */
|
|
2317
|
-
interface SessionSegment {
|
|
2318
|
-
readonly start: number;
|
|
2319
|
-
readonly end: number;
|
|
2320
|
-
}
|
|
2321
|
-
/** A schedule: the stretches per weekday (0 = Sunday), and dated overrides keyed 'YYYYMMDD'. */
|
|
2322
|
-
interface SessionSchedule {
|
|
2323
|
-
readonly week: readonly (readonly SessionSegment[])[];
|
|
2324
|
-
readonly corrections: ReadonlyMap<string, readonly SessionSegment[]>;
|
|
2325
|
-
}
|
|
2326
|
-
interface SessionModel {
|
|
2327
|
-
/** The exchange zone every minute here is read in. */
|
|
2328
|
-
readonly timezone: string;
|
|
2329
|
-
/** A `24x7` symbol: always open, no transitions, no timeline. */
|
|
2330
|
-
readonly continuous: boolean;
|
|
2331
|
-
/** The regular session. */
|
|
2332
|
-
readonly regular: SessionSchedule;
|
|
2333
|
-
/** Extended-hours stretches by the state they classify into, from the subsessions. */
|
|
2334
|
-
readonly extended: readonly {
|
|
2335
|
-
readonly state: Exclude<SessionState, 'open' | 'closed'>;
|
|
2336
|
-
readonly schedule: SessionSchedule;
|
|
2337
|
-
}[];
|
|
2338
|
-
/** Full-closure dates, 'YYYYMMDD'. */
|
|
2339
|
-
readonly holidays: ReadonlySet<string>;
|
|
2340
|
-
}
|
|
2341
|
-
/** Build the session model from a symbol's metadata. Null when the grammar cannot read any part
|
|
2342
|
-
* of it: a chart then shows no bands, no status and no timeline for the symbol rather than a
|
|
2343
|
-
* session it guessed. A `regular` subsession, when given, is the regular session; the symbol's
|
|
2344
|
-
* `session` is otherwise. Subsessions with ids the chart has no state for are ignored. */
|
|
2345
|
-
declare function parseSessionModel(source: SessionSource): SessionModel | null;
|
|
2346
|
-
/** Which of a symbol's named sessions a chart displays:
|
|
2347
|
-
* `regular` shows regular hours only, `extended` shows the extended-hours bars as well. A
|
|
2348
|
-
* per-chart preference a host persists. `extended` is the DEFAULT and shows every bar the feed
|
|
2349
|
-
* served; narrowing to `regular` is the opt-in, because a chart that silently hid bars it had
|
|
2350
|
-
* would be lying about the market by default. A symbol without extended hours has nothing to
|
|
2351
|
-
* choose, and every bar shows either way. */
|
|
2352
|
-
type ActiveSubsession = 'regular' | 'extended';
|
|
2353
|
-
declare const DEFAULT_SUBSESSION: ActiveSubsession;
|
|
2354
|
-
/** Whether the symbol declared any hours outside its regular session. Only such a symbol offers a
|
|
2355
|
-
* subsession choice or shades extended hours. */
|
|
2356
|
-
declare function hasExtendedHours(model: SessionModel): boolean;
|
|
2357
|
-
/** The bar filter for the active subsession: under `regular`, on a symbol with extended hours,
|
|
2358
|
-
* keep the bars whose open falls in regular hours; otherwise nothing is filtered (null). For
|
|
2359
|
-
* intraday timeframes only: a daily bar spans whole sessions, so a caller applies the filter on
|
|
2360
|
-
* intraday timeframes and shows every daily bar. */
|
|
2361
|
-
declare function subsessionBarFilter(model: SessionModel, active: ActiveSubsession): ((epochSecs: number) => boolean) | null;
|
|
2362
|
-
/** The session state at an instant (epoch seconds), under the symbol's exchange clock. */
|
|
2363
|
-
declare function sessionStateAt(model: SessionModel, epochSecs: number): SessionState;
|
|
2364
|
-
/** The next session transition after an instant, exact to the minute, or null when there is
|
|
2365
|
-
* none within eight days (a continuous market, or a long closure). */
|
|
2366
|
-
declare function nextSessionChange(model: SessionModel, epochSecs: number): {
|
|
2367
|
-
atSecs: number;
|
|
2368
|
-
state: SessionState;
|
|
2369
|
-
} | null;
|
|
2370
|
-
interface SessionTimeline {
|
|
2371
|
-
/** The exchange-local day's stretches, closed gaps included, covering 0 to 1440 minutes. */
|
|
2372
|
-
readonly segments: readonly {
|
|
2373
|
-
readonly start: number;
|
|
2374
|
-
readonly end: number;
|
|
2375
|
-
readonly state: SessionState;
|
|
2376
|
-
}[];
|
|
2377
|
-
/** Now, in exchange-local minutes from midnight. */
|
|
2378
|
-
readonly nowMins: number;
|
|
2379
|
-
/** The exchange-local weekday, written in the language of `tag` and upper-cased ("MON"). */
|
|
2380
|
-
readonly dayLabel: string;
|
|
2381
|
-
readonly timezone: string;
|
|
2382
|
-
}
|
|
2383
|
-
/** The exchange-local day's timeline for a status popup. `tag` is the BCP 47 tag the weekday is
|
|
2384
|
-
* written in: a date part, so it comes from Intl rather than the catalog. */
|
|
2385
|
-
declare function sessionTimeline(model: SessionModel, epochSecs: number, tag: string): SessionTimeline;
|
|
2386
|
-
/** A symbol's market status at an instant: the session state and the feed's liveness together,
|
|
2387
|
-
* so a consumer cannot present an end-of-day or delayed feed as a live open market. */
|
|
2388
|
-
interface MarketStatus {
|
|
2389
|
-
readonly state: SessionState;
|
|
2390
|
-
/** The feed's liveness, an explicit part of the status. */
|
|
2391
|
-
readonly dataStatus: DataStatus;
|
|
2392
|
-
/** A `24x7` symbol. */
|
|
2393
|
-
readonly continuous: boolean;
|
|
2394
|
-
/** The next transition, or null when there is none to count down to. */
|
|
2395
|
-
readonly next: {
|
|
2396
|
-
readonly atSecs: number;
|
|
2397
|
-
readonly state: SessionState;
|
|
2398
|
-
} | null;
|
|
2399
|
-
}
|
|
2400
|
-
declare function marketStatus(model: SessionModel, dataStatus: DataStatus, nowSecs: number): MarketStatus;
|
|
2401
|
-
/** The market status straight from a resolved symbol, or null when its session cannot be read. */
|
|
2402
|
-
declare function marketStatusFor(symbol: Pick<SymbolInfo, 'timezone' | 'session' | 'sessionHolidays' | 'corrections' | 'subsessions' | 'dataStatus'>, nowSecs: number): MarketStatus | null;
|
|
2403
|
-
/** The catalog key of a session state's name: the same five words the legend's status dot and
|
|
2404
|
-
* a status popup's title use. */
|
|
2405
|
-
declare const SESSION_STATE_TITLE: Readonly<Record<SessionState, ChartMessageKey>>;
|
|
2406
|
-
/** The title line of a status popup: the feed's liveness when it is not a live stream, the
|
|
2407
|
-
* continuous market's own word, or the session state's name. */
|
|
2408
|
-
declare function marketStatusTitle(t: ChartTranslate, status: MarketStatus): string;
|
|
2409
|
-
/** "3 days 4 hours": the coarsest unit, and the next one down when it is non-zero. Each unit is a
|
|
2410
|
-
* whole phrase and `status.durationPair` owns the order and the separator, so a language decides
|
|
2411
|
-
* both rather than inheriting English's. A duration under a minute reads as one minute. */
|
|
2412
|
-
declare function formatDuration(t: ChartTranslate, secs: number): string;
|
|
2413
|
-
/** The sentence under a status popup's title. An end-of-day feed states that and nothing about
|
|
2414
|
-
* hours; a continuous market states that it never closes; otherwise the session state with a
|
|
2415
|
-
* countdown to the next transition when one is known, and a delayed stream adds that its prices
|
|
2416
|
-
* are delayed. */
|
|
2417
|
-
declare function marketStatusText(t: ChartTranslate, status: MarketStatus, nowSecs: number): string;
|
|
2418
|
-
/** The footer naming the exchange zone a timeline is drawn in: "Exchange timezone: New York
|
|
2419
|
-
* (UTC-4)". */
|
|
2420
|
-
declare function exchangeTimezoneText(t: ChartTranslate, timezone: string, at?: Date): string;
|
|
2421
|
-
|
|
2422
|
-
/** Paints a market's mark into a box the chart owns, and answers what takes it down again. */
|
|
2423
|
-
type SymbolMarkPainter = (request: {
|
|
2424
|
-
symbol: string;
|
|
2425
|
-
host: HTMLElement;
|
|
2426
|
-
size: number;
|
|
2427
|
-
}) => (() => void) | void;
|
|
2428
|
-
/** Paints the mark of the venue a market lists on, the same way. */
|
|
2429
|
-
type VenueMarkPainter = (request: {
|
|
2430
|
-
exchange: string;
|
|
2431
|
-
host: HTMLElement;
|
|
2432
|
-
size: number;
|
|
2433
|
-
}) => (() => void) | void;
|
|
2434
|
-
/** Paints the mark of a data source, where a row names a data source rather than a venue. */
|
|
2435
|
-
type DataSourceMarkPainter = (request: {
|
|
2436
|
-
dataSource: string;
|
|
2437
|
-
host: HTMLElement;
|
|
2438
|
-
size: number;
|
|
2439
|
-
}) => (() => void) | void;
|
|
2440
|
-
/** Every painter the host lent, as the chart carries them: null where it lent none. */
|
|
2441
|
-
interface MarkPainters {
|
|
2442
|
-
readonly symbol: SymbolMarkPainter | null;
|
|
2443
|
-
readonly venue: VenueMarkPainter | null;
|
|
2444
|
-
readonly dataSource: DataSourceMarkPainter | null;
|
|
2445
|
-
}
|
|
2446
|
-
/** The host's hooks, as an entry point takes them. Each is the host's to lend or withhold, and
|
|
2447
|
-
* every entry point that paints marks takes exactly these, so a host writes them once and hands
|
|
2448
|
-
* the same three to a chart and to a picker it opens away from one. */
|
|
2449
|
-
interface MarkPainterHooks {
|
|
2450
|
-
/** The host's mark for a market, called WHEREVER the chart names one: each chart's legend, the
|
|
2451
|
-
* compare rows under it, every row of the symbol search and compare dialogs, and the market tag
|
|
2452
|
-
* an extension's notice wears. It receives the element to paint into and the symbol it stands for,
|
|
2453
|
-
* and returns a disposer that takes the mark down again.
|
|
2454
|
-
*
|
|
2455
|
-
* One hook rather than one per surface, so a market wears the same mark everywhere it appears and
|
|
2456
|
-
* a host implements it once. The chart ships no artwork and fetches none: absent this, every mark
|
|
2457
|
-
* is the neutral monogram the package draws itself. */
|
|
2458
|
-
symbolMark?: SymbolMarkPainter;
|
|
2459
|
-
/** The host's mark for the venue a market lists on, painted beside the venue's name in every row
|
|
2460
|
-
* of the symbol search and compare dialogs. Like `symbolMark`, it receives the element to paint
|
|
2461
|
-
* into and the size of the box, and returns a disposer; absent, a venue wears its initial on the
|
|
2462
|
-
* neutral disc the package draws itself. */
|
|
2463
|
-
venueMark?: VenueMarkPainter;
|
|
2464
|
-
/** The host's mark for the data source a row names where it names no venue, painted in that
|
|
2465
|
-
* row's source cell the same way. Absent, a data source wears its initial on a neutral disc. */
|
|
2466
|
-
dataSourceMark?: DataSourceMarkPainter;
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
/** One glyph: its own grid and the inner markup drawn on it. */
|
|
2470
|
-
interface Glyph {
|
|
2471
|
-
viewBox: string;
|
|
2472
|
-
body: string;
|
|
2473
|
-
/** A glyph that is not square keeps its grid's proportion: the size is its HEIGHT and the width
|
|
2474
|
-
* follows this ratio. Square glyphs omit it. */
|
|
2475
|
-
aspect?: number;
|
|
2476
|
-
/** The height the glyph is drawn at when a caller names none. Glyphs drawn at 28 omit it. */
|
|
2477
|
-
size?: number;
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
2489
|
/** When an on-chart control shows: while the pointer is over its area, always, or never. */
|
|
2481
2490
|
type ChartControlVisibility = 'hover' | 'always' | 'never';
|
|
2482
2491
|
/** How a line is stroked. */
|
|
@@ -2588,6 +2597,9 @@ interface ChartSettings {
|
|
|
2588
2597
|
postMarketColor: string;
|
|
2589
2598
|
/** The shading over the overnight stretch, under `allHours`. */
|
|
2590
2599
|
nightColor: string;
|
|
2600
|
+
/** The shading over every stretch of an electronic trading day outside its regular hours, while
|
|
2601
|
+
* the chart shows electronic trading hours. */
|
|
2602
|
+
electronicColor: string;
|
|
2591
2603
|
precision: ChartPricePrecision;
|
|
2592
2604
|
};
|
|
2593
2605
|
/** The legend over the pane that names the symbol and states its values. */
|
|
@@ -2722,6 +2734,245 @@ type PartialChartSettings = {
|
|
|
2722
2734
|
[S in ChartSettingsSection]?: Partial<ChartSettings[S]>;
|
|
2723
2735
|
};
|
|
2724
2736
|
|
|
2737
|
+
/** The session an instant classifies into. `extended` is trading outside regular hours that is
|
|
2738
|
+
* neither pre-market nor post-market: an overnight stretch, a bare `extended` subsession, or any
|
|
2739
|
+
* stretch of an electronic day outside its regular hours. */
|
|
2740
|
+
type SessionState = 'pre' | 'open' | 'extended' | 'after' | 'closed';
|
|
2741
|
+
/** One subsession of an extended-hours symbol: `regular`, `extended`, `premarket`, `postmarket` or
|
|
2742
|
+
* `overnight`, each with its own session string and, optionally, the corrections that shorten
|
|
2743
|
+
* it. `SymbolInfo.subsessions` satisfies it; an id the chart has
|
|
2744
|
+
* no state for is ignored. */
|
|
2745
|
+
interface SubsessionSource {
|
|
2746
|
+
readonly id: string;
|
|
2747
|
+
readonly session: string;
|
|
2748
|
+
readonly sessionCorrections?: string;
|
|
2749
|
+
}
|
|
2750
|
+
/** What a session model is built from: the symbology triple plus the optional corrections and
|
|
2751
|
+
* subsessions. `SymbolInfo` satisfies it. */
|
|
2752
|
+
interface SessionSource {
|
|
2753
|
+
readonly timezone: string;
|
|
2754
|
+
readonly session: string;
|
|
2755
|
+
readonly sessionHolidays?: string;
|
|
2756
|
+
readonly corrections?: string;
|
|
2757
|
+
readonly subsessions?: readonly SubsessionSource[];
|
|
2758
|
+
}
|
|
2759
|
+
/** One trading stretch of a trading day, in minutes from that day's exchange-local midnight. The
|
|
2760
|
+
* start may be negative (the stretch begins on a previous day) and the end may pass 1440 (it
|
|
2761
|
+
* runs into the next day); the end is exclusive. */
|
|
2762
|
+
interface SessionSegment {
|
|
2763
|
+
readonly start: number;
|
|
2764
|
+
readonly end: number;
|
|
2765
|
+
}
|
|
2766
|
+
/** A schedule: the stretches per weekday (0 = Sunday), and dated overrides keyed 'YYYYMMDD'. */
|
|
2767
|
+
interface SessionSchedule {
|
|
2768
|
+
readonly week: readonly (readonly SessionSegment[])[];
|
|
2769
|
+
readonly corrections: ReadonlyMap<string, readonly SessionSegment[]>;
|
|
2770
|
+
}
|
|
2771
|
+
interface SessionModel {
|
|
2772
|
+
/** The exchange zone every minute here is read in. */
|
|
2773
|
+
readonly timezone: string;
|
|
2774
|
+
/** A `24x7` symbol: always open, no transitions, no timeline. */
|
|
2775
|
+
readonly continuous: boolean;
|
|
2776
|
+
/** An electronic-day symbol: its `regular` subsession differs from its `session`, which is then
|
|
2777
|
+
* the whole electronic trading day with the regular hours inside it. Every stretch of the day
|
|
2778
|
+
* outside regular hours classifies as `extended`, and the market status reads the whole day as
|
|
2779
|
+
* open. */
|
|
2780
|
+
readonly electronic: boolean;
|
|
2781
|
+
/** The regular session. */
|
|
2782
|
+
readonly regular: SessionSchedule;
|
|
2783
|
+
/** The stretches outside regular hours, from the subsessions: each with the id of the subsession
|
|
2784
|
+
* it came from and the state it classifies into. */
|
|
2785
|
+
readonly extended: readonly {
|
|
2786
|
+
readonly id: string;
|
|
2787
|
+
readonly state: Exclude<SessionState, 'open' | 'closed'>;
|
|
2788
|
+
readonly schedule: SessionSchedule;
|
|
2789
|
+
}[];
|
|
2790
|
+
/** Full-closure dates, 'YYYYMMDD'. */
|
|
2791
|
+
readonly holidays: ReadonlySet<string>;
|
|
2792
|
+
}
|
|
2793
|
+
/** Build the session model from a symbol's metadata. Null when the grammar cannot read any part
|
|
2794
|
+
* of it: a chart then shows no bands, no status and no timeline for the symbol rather than a
|
|
2795
|
+
* session it guessed. A `regular` subsession, when given, is the regular session; the symbol's
|
|
2796
|
+
* `session` is otherwise. A `regular` subsession that differs from `session` makes the symbol an
|
|
2797
|
+
* electronic day: each of its other subsessions classifies as `extended`, and `session` itself is
|
|
2798
|
+
* the extended span when no `extended` subsession states one. Subsessions with ids the chart has
|
|
2799
|
+
* no state for are ignored. */
|
|
2800
|
+
declare function parseSessionModel(source: SessionSource): SessionModel | null;
|
|
2801
|
+
/** Which of a symbol's named sessions a chart displays:
|
|
2802
|
+
* `regular` shows regular hours only, `extended` shows the extended-hours bars as well. A
|
|
2803
|
+
* per-chart preference a host persists. `extended` is the DEFAULT and shows every bar the feed
|
|
2804
|
+
* served; narrowing to `regular` is the opt-in, because a chart that silently hid bars it had
|
|
2805
|
+
* would be lying about the market by default. A symbol without extended hours has nothing to
|
|
2806
|
+
* choose, and every bar shows either way. */
|
|
2807
|
+
type ActiveSubsession = 'regular' | 'extended';
|
|
2808
|
+
declare const DEFAULT_SUBSESSION: ActiveSubsession;
|
|
2809
|
+
/** Whether the symbol declared any hours outside its regular session. Only such a symbol offers a
|
|
2810
|
+
* subsession choice or shades extended hours. */
|
|
2811
|
+
declare function hasExtendedHours(model: SessionModel): boolean;
|
|
2812
|
+
/** One trading-hours choice a symbol offers: the `symbol.session` setting it writes, and its name
|
|
2813
|
+
* and its short name for a compact trigger, both catalog keys. */
|
|
2814
|
+
interface TradingHoursOption {
|
|
2815
|
+
readonly hours: ChartSessionHours;
|
|
2816
|
+
readonly label: ChartMessageKey;
|
|
2817
|
+
readonly short: ChartMessageKey;
|
|
2818
|
+
}
|
|
2819
|
+
/** The trading-hours choices a symbol offers, in the order a picker lists them, read from its own
|
|
2820
|
+
* session facts. None for an unknown model, a continuous market or a symbol with no hours outside
|
|
2821
|
+
* its regular session. An electronic day offers its electronic and its regular trading hours; a
|
|
2822
|
+
* split day offers regular and extended hours, and 24 hours when it declares an `overnight`
|
|
2823
|
+
* subsession. */
|
|
2824
|
+
declare function tradingHoursOptions(model: SessionModel | null): readonly TradingHoursOption[];
|
|
2825
|
+
/** The option a trading-hours setting stands for among a symbol's choices: the setting's own, or the
|
|
2826
|
+
* extended hours for `allHours` on a symbol that offers no 24 hours. Null where the symbol offers
|
|
2827
|
+
* no choice. */
|
|
2828
|
+
declare function tradingHoursOption(options: readonly TradingHoursOption[], hours: ChartSessionHours): TradingHoursOption | null;
|
|
2829
|
+
/** The bar filter for the active subsession: under `regular`, on a symbol with extended hours,
|
|
2830
|
+
* keep the bars whose open falls in regular hours; otherwise nothing is filtered (null). For
|
|
2831
|
+
* intraday timeframes only: a daily bar spans whole sessions, so a caller applies the filter on
|
|
2832
|
+
* intraday timeframes and shows every daily bar. */
|
|
2833
|
+
declare function subsessionBarFilter(model: SessionModel, active: ActiveSubsession): ((epochSecs: number) => boolean) | null;
|
|
2834
|
+
/** The session state at an instant (epoch seconds), under the symbol's exchange clock. */
|
|
2835
|
+
declare function sessionStateAt(model: SessionModel, epochSecs: number): SessionState;
|
|
2836
|
+
/** The next session transition after an instant, exact to the minute, or null when there is
|
|
2837
|
+
* none within eight days (a continuous market, or a long closure). */
|
|
2838
|
+
declare function nextSessionChange(model: SessionModel, epochSecs: number): {
|
|
2839
|
+
atSecs: number;
|
|
2840
|
+
state: SessionState;
|
|
2841
|
+
} | null;
|
|
2842
|
+
interface SessionTimeline {
|
|
2843
|
+
/** The exchange-local day's stretches, closed gaps included, covering 0 to 1440 minutes, in the
|
|
2844
|
+
* states the market status reports: an electronic day is open across the whole day. */
|
|
2845
|
+
readonly segments: readonly {
|
|
2846
|
+
readonly start: number;
|
|
2847
|
+
readonly end: number;
|
|
2848
|
+
readonly state: SessionState;
|
|
2849
|
+
}[];
|
|
2850
|
+
/** The state of the last minute of the day before, and of the first minute of the day after: a
|
|
2851
|
+
* stretch at the day's edge in the same state continues past it. */
|
|
2852
|
+
readonly before: SessionState;
|
|
2853
|
+
readonly after: SessionState;
|
|
2854
|
+
/** Now, in exchange-local minutes from midnight. */
|
|
2855
|
+
readonly nowMins: number;
|
|
2856
|
+
/** The exchange-local weekday, written in the language of `tag` and upper-cased ("MON"). */
|
|
2857
|
+
readonly dayLabel: string;
|
|
2858
|
+
readonly timezone: string;
|
|
2859
|
+
}
|
|
2860
|
+
/** The exchange-local day's timeline for a status popup. `tag` is the BCP 47 tag the weekday is
|
|
2861
|
+
* written in: a date part, so it comes from Intl rather than the catalog. */
|
|
2862
|
+
declare function sessionTimeline(model: SessionModel, epochSecs: number, tag: string): SessionTimeline;
|
|
2863
|
+
/** What a market status says, in one word: the session state, with the `extended` state named
|
|
2864
|
+
* `overnight` on a symbol whose extended hours are its overnight stretch, and a closed day the
|
|
2865
|
+
* symbol lists among its holidays named `holiday`. */
|
|
2866
|
+
type MarketPhase = 'open' | 'pre' | 'post' | 'overnight' | 'extended' | 'closed' | 'holiday';
|
|
2867
|
+
/** A symbol's market status at an instant: the session state and the feed's liveness together,
|
|
2868
|
+
* so a consumer cannot present an end-of-day or delayed feed as a live open market. */
|
|
2869
|
+
interface MarketStatus {
|
|
2870
|
+
/** The session state the market reports. An electronic day reads `open` across the whole day. */
|
|
2871
|
+
readonly state: SessionState;
|
|
2872
|
+
/** What the status says: the state, named for the symbol it is read on. */
|
|
2873
|
+
readonly phase: MarketPhase;
|
|
2874
|
+
/** The feed's liveness, an explicit part of the status. */
|
|
2875
|
+
readonly dataStatus: DataStatus;
|
|
2876
|
+
/** A `24x7` symbol. */
|
|
2877
|
+
readonly continuous: boolean;
|
|
2878
|
+
/** The market is closed for a holiday the symbol lists, on a trading day no correction names. */
|
|
2879
|
+
readonly holiday: boolean;
|
|
2880
|
+
/** The next transition, or null when there is none to count down to. */
|
|
2881
|
+
readonly next: {
|
|
2882
|
+
readonly atSecs: number;
|
|
2883
|
+
readonly state: SessionState;
|
|
2884
|
+
readonly phase: MarketPhase;
|
|
2885
|
+
} | null;
|
|
2886
|
+
}
|
|
2887
|
+
declare function marketStatus(model: SessionModel, dataStatus: DataStatus, nowSecs: number): MarketStatus;
|
|
2888
|
+
/** The market status straight from a resolved symbol, or null when its session cannot be read. */
|
|
2889
|
+
declare function marketStatusFor(symbol: Pick<SymbolInfo, 'timezone' | 'session' | 'sessionHolidays' | 'corrections' | 'subsessions' | 'dataStatus'>, nowSecs: number): MarketStatus | null;
|
|
2890
|
+
/** The catalog key of each session state's name. A status popup's title uses the same words for the
|
|
2891
|
+
* phases that share them. */
|
|
2892
|
+
declare const SESSION_STATE_TITLE: Readonly<Record<SessionState, ChartMessageKey>>;
|
|
2893
|
+
/** The title of a status popup's market section: the phase's name. */
|
|
2894
|
+
declare function marketStatusTitle(t: ChartTranslate, status: MarketStatus): string;
|
|
2895
|
+
/** The sentence under the market section's title, which says what the phase means. */
|
|
2896
|
+
declare function marketStatusSentence(t: ChartTranslate, status: MarketStatus): string;
|
|
2897
|
+
/** The countdown sentence to the next transition, named for where the market goes: "It'll close in
|
|
2898
|
+
* 7 hours and 56 minutes." Null with nothing to count down to, which is always the case for a
|
|
2899
|
+
* continuous market. */
|
|
2900
|
+
declare function marketStatusCountdown(t: ChartTranslate, status: MarketStatus, nowSecs: number): string | null;
|
|
2901
|
+
/** The market section's words as one sentence: what the phase means, then the countdown when there
|
|
2902
|
+
* is one. `status.textPair` owns how the two join, so a language decides the separator. */
|
|
2903
|
+
declare function marketStatusText(t: ChartTranslate, status: MarketStatus, nowSecs: number): string;
|
|
2904
|
+
/** The data section of a status popup for a feed that is not a live stream: a delayed stream, or
|
|
2905
|
+
* end-of-day data. Null for a live stream, which has nothing to say about its data. */
|
|
2906
|
+
declare function dataStatusNotice(t: ChartTranslate, dataStatus: DataStatus): {
|
|
2907
|
+
title: string;
|
|
2908
|
+
text: string;
|
|
2909
|
+
} | null;
|
|
2910
|
+
/** "3 days and 4 hours": the coarsest unit, and the next one down when it is non-zero. Each unit is
|
|
2911
|
+
* a whole phrase and `status.durationPair` owns the order and the joining words, so a language
|
|
2912
|
+
* decides both rather than inheriting English's. A duration under a minute reads as one minute. */
|
|
2913
|
+
declare function formatDuration(t: ChartTranslate, secs: number): string;
|
|
2914
|
+
/** The footer naming the exchange zone a timeline is drawn in: "Exchange timezone: New York
|
|
2915
|
+
* (UTC-4)". */
|
|
2916
|
+
declare function exchangeTimezoneText(t: ChartTranslate, timezone: string, at?: Date): string;
|
|
2917
|
+
|
|
2918
|
+
/** One glyph: its own grid and the inner markup drawn on it. */
|
|
2919
|
+
interface Glyph {
|
|
2920
|
+
viewBox: string;
|
|
2921
|
+
body: string;
|
|
2922
|
+
/** A glyph that is not square keeps its grid's proportion: the size is its HEIGHT and the width
|
|
2923
|
+
* follows this ratio. Square glyphs omit it. */
|
|
2924
|
+
aspect?: number;
|
|
2925
|
+
/** The height the glyph is drawn at when a caller names none. Glyphs drawn at 28 omit it. */
|
|
2926
|
+
size?: number;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/** Paints a market's mark into a box the chart owns, and answers what takes it down again. */
|
|
2930
|
+
type SymbolMarkPainter = (request: {
|
|
2931
|
+
symbol: string;
|
|
2932
|
+
host: HTMLElement;
|
|
2933
|
+
size: number;
|
|
2934
|
+
}) => (() => void) | void;
|
|
2935
|
+
/** Paints the mark of the venue a market lists on, the same way. */
|
|
2936
|
+
type VenueMarkPainter = (request: {
|
|
2937
|
+
exchange: string;
|
|
2938
|
+
host: HTMLElement;
|
|
2939
|
+
size: number;
|
|
2940
|
+
}) => (() => void) | void;
|
|
2941
|
+
/** Paints the mark of a data source, where a row names a data source rather than a venue. */
|
|
2942
|
+
type DataSourceMarkPainter = (request: {
|
|
2943
|
+
dataSource: string;
|
|
2944
|
+
host: HTMLElement;
|
|
2945
|
+
size: number;
|
|
2946
|
+
}) => (() => void) | void;
|
|
2947
|
+
/** Every painter the host lent, as the chart carries them: null where it lent none. */
|
|
2948
|
+
interface MarkPainters {
|
|
2949
|
+
readonly symbol: SymbolMarkPainter | null;
|
|
2950
|
+
readonly venue: VenueMarkPainter | null;
|
|
2951
|
+
readonly dataSource: DataSourceMarkPainter | null;
|
|
2952
|
+
}
|
|
2953
|
+
/** The host's hooks, as an entry point takes them. Each is the host's to lend or withhold, and
|
|
2954
|
+
* every entry point that paints marks takes exactly these, so a host writes them once and hands
|
|
2955
|
+
* the same three to a chart and to a picker it opens away from one. */
|
|
2956
|
+
interface MarkPainterHooks {
|
|
2957
|
+
/** The host's mark for a market, called WHEREVER the chart names one: each chart's legend, the
|
|
2958
|
+
* compare rows under it, every row of the symbol search and compare dialogs, and the market tag
|
|
2959
|
+
* an extension's notice wears. It receives the element to paint into and the symbol it stands for,
|
|
2960
|
+
* and returns a disposer that takes the mark down again.
|
|
2961
|
+
*
|
|
2962
|
+
* One hook rather than one per surface, so a market wears the same mark everywhere it appears and
|
|
2963
|
+
* a host implements it once. The chart ships no artwork and fetches none: absent this, every mark
|
|
2964
|
+
* is the neutral monogram the package draws itself. */
|
|
2965
|
+
symbolMark?: SymbolMarkPainter;
|
|
2966
|
+
/** The host's mark for the venue a market lists on, painted beside the venue's name in every row
|
|
2967
|
+
* of the symbol search and compare dialogs. Like `symbolMark`, it receives the element to paint
|
|
2968
|
+
* into and the size of the box, and returns a disposer; absent, a venue wears its initial on the
|
|
2969
|
+
* neutral disc the package draws itself. */
|
|
2970
|
+
venueMark?: VenueMarkPainter;
|
|
2971
|
+
/** The host's mark for the data source a row names where it names no venue, painted in that
|
|
2972
|
+
* row's source cell the same way. Absent, a data source wears its initial on a neutral disc. */
|
|
2973
|
+
dataSourceMark?: DataSourceMarkPainter;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2725
2976
|
/** One resolved role as it is written to the DOM. */
|
|
2726
2977
|
interface ThemeDeclaration {
|
|
2727
2978
|
/** The private custom-property name. */
|
|
@@ -2746,6 +2997,9 @@ interface ThemeRootStyle {
|
|
|
2746
2997
|
interface CanvasTheme {
|
|
2747
2998
|
background: string;
|
|
2748
2999
|
paneBorder: string;
|
|
3000
|
+
/** The line between stacked panes, and the band over it while the pointer is on it. */
|
|
3001
|
+
paneDivider: string;
|
|
3002
|
+
paneDividerHover: string;
|
|
2749
3003
|
/** The ink a watermark writes behind the bars. */
|
|
2750
3004
|
watermark: string;
|
|
2751
3005
|
grid: string;
|
|
@@ -2767,6 +3021,7 @@ interface CanvasTheme {
|
|
|
2767
3021
|
preMarket: string;
|
|
2768
3022
|
extended: string;
|
|
2769
3023
|
afterHours: string;
|
|
3024
|
+
electronic: string;
|
|
2770
3025
|
closed: string;
|
|
2771
3026
|
};
|
|
2772
3027
|
}
|
|
@@ -2973,7 +3228,7 @@ interface ChartIconDiagnostic {
|
|
|
2973
3228
|
}
|
|
2974
3229
|
|
|
2975
3230
|
/** The glyphs of the chart's own controls, by meaning, each with every drawing that carries it. */
|
|
2976
|
-
declare const CONTROL_ICONS: Readonly<Record<"info" | "search" | "bold" | "open" | "close" | "volume" | "indicators" | "copy" | "textColor" | "visible" | "lineColor" | "template" | "fillColor" | "italic" | "locked" | "sync" | "caret" | "tip" | "measure" | "image" | "eraser" | "delete" | "remove" | "hidden" | "pause" | "play" | "reset" | "scroll" | "magnet" | "collapse" | "
|
|
3231
|
+
declare const CONTROL_ICONS: Readonly<Record<"info" | "search" | "bold" | "open" | "close" | "volume" | "indicators" | "copy" | "textColor" | "visible" | "lineColor" | "template" | "fillColor" | "italic" | "locked" | "sync" | "caret" | "tip" | "measure" | "image" | "eraser" | "delete" | "remove" | "hidden" | "pause" | "play" | "reset" | "scroll" | "magnet" | "collapse" | "marketStatus" | "marketPreMarket" | "marketAfterHours" | "marketClosed" | "marketHoliday" | "dataDelayed" | "dataEndOfDay" | "replayStatus" | "replayMark" | "replayCut" | "replay" | "undo" | "redo" | "settings" | "fullscreen" | "tileMaximize" | "tileRestore" | "download" | "chevronDown" | "chevronUp" | "chevronLeft" | "chevronRight" | "check" | "clear" | "goLive" | "stepForward" | "stepBack" | "calendar" | "selectBar" | "firstAvailable" | "randomBar" | "clock" | "cursorCross" | "cursorDot" | "cursorArrow" | "magnetStrong" | "drawingsShown" | "drawingsHidden" | "indicatorsShown" | "indicatorsHidden" | "allShown" | "allHidden" | "zoomIn" | "grip" | "tableAddColumn" | "tableAddRow" | "favoritesBar" | "lineSolid" | "lineDashed" | "lineDotted" | "lineThickness1" | "lineThickness2" | "lineThickness3" | "lineThickness4" | "lineEndNormal" | "lineEndArrow" | "settingsSymbol" | "settingsStatusLine" | "settingsScales" | "settingsCanvas" | "settingsEvents" | "compare" | "fullscreenExit" | "paneCollapse" | "paneRestore" | "paneMaximize" | "paneMoveUp" | "paneMoveDown" | "zoomOut" | "add" | "rename" | "duplicate" | "favorite" | "favorited" | "sortAscending" | "sortDescending" | "flyout" | "submenu" | "more" | "emptySearch" | "emptyCompare" | "operatorsShow" | "operatorsHide" | "operatorAdd" | "operatorSubtract" | "operatorMultiply" | "operatorDivide" | "operatorPower" | "operatorReciprocal" | "selectDate" | "zoomTool" | "stayInMode" | "stayInModeOn" | "unlocked" | "hide" | "glyphTools" | "visualOrder" | "volumeMuted", readonly Glyph[]>>;
|
|
2977
3232
|
/** An icon of one of the chart's own controls. */
|
|
2978
3233
|
type ControlIconId = keyof typeof CONTROL_ICONS;
|
|
2979
3234
|
/** Every icon a host may draw: a control's glyph by its meaning, a chart style by its id, a drawing
|
|
@@ -3008,13 +3263,24 @@ interface ChartIconArtwork {
|
|
|
3008
3263
|
* theme's roles, an illustration, answers none, and so does an id it does not draw. */
|
|
3009
3264
|
declare function chartIconArtwork(id: ChartIconId): readonly ChartIconArtwork[];
|
|
3010
3265
|
|
|
3011
|
-
/** A declared
|
|
3266
|
+
/** A declared input, held as a number: `int` and `float` bound by `min` and `max` and stepped by
|
|
3267
|
+
* `step`, `enum` an index into `options`, `bool` 1 for on and 0 for off. A settings surface labels
|
|
3268
|
+
* it with `title`, else its key read as words; sets it under the heading `group` names, with the
|
|
3269
|
+
* inputs before and after it that name the same group; and lets it be edited while the input
|
|
3270
|
+
* `enabledWhen` names holds one of its `values`. */
|
|
3012
3271
|
interface ManifestInput {
|
|
3013
|
-
readonly kind: 'int' | 'float' | 'enum';
|
|
3272
|
+
readonly kind: 'int' | 'float' | 'enum' | 'bool';
|
|
3014
3273
|
readonly default: number;
|
|
3015
3274
|
readonly min?: number;
|
|
3016
3275
|
readonly max?: number;
|
|
3276
|
+
readonly step?: number;
|
|
3017
3277
|
readonly options?: readonly string[];
|
|
3278
|
+
readonly title?: string;
|
|
3279
|
+
readonly group?: string;
|
|
3280
|
+
readonly enabledWhen?: {
|
|
3281
|
+
readonly input: string;
|
|
3282
|
+
readonly values: readonly number[];
|
|
3283
|
+
};
|
|
3018
3284
|
}
|
|
3019
3285
|
/** A declared plot channel. `area` fills toward `base`; `marker` draws an event glyph on bars with
|
|
3020
3286
|
* a finite value (`location` 'above'/'below' tracks the bar, 'absolute' anchors at the value).
|
|
@@ -3033,18 +3299,24 @@ interface ManifestPlot {
|
|
|
3033
3299
|
readonly location?: 'above' | 'below' | 'absolute';
|
|
3034
3300
|
readonly text?: string;
|
|
3035
3301
|
readonly scale?: 'volume';
|
|
3302
|
+
/** The words a settings surface names the plot with, else its key read as words. */
|
|
3303
|
+
readonly title?: string;
|
|
3036
3304
|
}
|
|
3037
3305
|
/** A declared static horizontal level. */
|
|
3038
3306
|
interface ManifestLevel {
|
|
3039
3307
|
readonly price: number;
|
|
3040
3308
|
readonly color?: string;
|
|
3041
3309
|
readonly lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
3310
|
+
/** The words a settings surface names the level with, else its key read as words. */
|
|
3311
|
+
readonly title?: string;
|
|
3042
3312
|
}
|
|
3043
3313
|
/** A declared band fill between two edges. Each name in `between` is a plot key, or a level key
|
|
3044
3314
|
* when no plot carries that name: an oscillator's background shades between its limit levels. */
|
|
3045
3315
|
interface ManifestFill {
|
|
3046
3316
|
readonly between: readonly [string, string];
|
|
3047
3317
|
readonly color?: string;
|
|
3318
|
+
/** The words a settings surface names the fill with, else its key read as words. */
|
|
3319
|
+
readonly title?: string;
|
|
3048
3320
|
}
|
|
3049
3321
|
/** The declarative indicator manifest: placement + declared inputs/plots/levels/fills, no code.
|
|
3050
3322
|
* Identity fields are optional — the walker renders from structure, not identity — so any
|
|
@@ -3169,6 +3441,8 @@ interface IndicatorOverrides {
|
|
|
3169
3441
|
inputsInStatusLine?: boolean;
|
|
3170
3442
|
hidden?: boolean;
|
|
3171
3443
|
};
|
|
3444
|
+
/** The timeframes the instance draws on; absent = every timeframe. */
|
|
3445
|
+
visibility?: TimeframeVisibility;
|
|
3172
3446
|
}
|
|
3173
3447
|
/** The one render-or-not read for the hidden toggle — every consumer asks this, so they can never
|
|
3174
3448
|
* disagree about what "hidden" means. */
|
|
@@ -4980,7 +5254,8 @@ declare function rangeSpanSeconds(span: RangeSpan, nowSecs: number): number | nu
|
|
|
4980
5254
|
* always stays, and an unknown depth (null) withholds nothing. The depth itself is the host's to
|
|
4981
5255
|
* learn from its feed; the chart does not probe. */
|
|
4982
5256
|
declare function rangeAvailable(preset: RangePreset, earliestBarSecs: number | null | undefined, nowSecs?: number): boolean;
|
|
4983
|
-
/** A preset's tooltip: what it frames, and the bars it frames it in
|
|
5257
|
+
/** A preset's tooltip: what it frames, and the bars it frames it in, as one sentence: "5 days in
|
|
5258
|
+
* 5 minute intervals". A timeframe the grammar cannot read is said as written. */
|
|
4984
5259
|
declare function rangePresetTip(t: ChartTranslate, preset: RangePreset): string;
|
|
4985
5260
|
/** The part of a chart the framing needs: a time scale that takes a logical range. */
|
|
4986
5261
|
interface RangeFrameTarget {
|
|
@@ -5386,7 +5661,7 @@ interface LegendUi {
|
|
|
5386
5661
|
* surface with no pointer to hover with has no bar to read but the last one, and a row of
|
|
5387
5662
|
* numbers over the candles buys nothing there. */
|
|
5388
5663
|
values?: boolean;
|
|
5389
|
-
/** The market-status control and its popup. The
|
|
5664
|
+
/** The market-status control and its popup. The status marks themselves stay. */
|
|
5390
5665
|
marketStatus?: boolean;
|
|
5391
5666
|
}
|
|
5392
5667
|
/** ── ACCESS ──────────────────────────────────────────────────────────────────────────────────
|
|
@@ -6209,12 +6484,12 @@ declare function planPaneOp(state: PaneState, op: PaneOp): PanePlan;
|
|
|
6209
6484
|
* not collapsed anything. */
|
|
6210
6485
|
declare function isCollapsed(height: number | undefined): boolean;
|
|
6211
6486
|
|
|
6212
|
-
/** The session's name in English
|
|
6487
|
+
/** The session's name in English, what a host renders when it shows status text of its own. The
|
|
6213
6488
|
* widget's catalog carries the same five under `session.<state>`, keyed by these very names, so a
|
|
6214
6489
|
* host reading the catalog and a host reading this table always say the same thing. */
|
|
6215
6490
|
declare const SESSION_LABEL: Readonly<Record<SessionState, string>>;
|
|
6216
|
-
/** The semantic theme role a session state's status
|
|
6217
|
-
* against the theme in effect, so the
|
|
6491
|
+
/** The semantic theme role a session state's status mark wears. A consumer resolves the role
|
|
6492
|
+
* against the theme in effect, so the mark follows light or dark and a host's custom palette
|
|
6218
6493
|
* instead of carrying a color of its own. */
|
|
6219
6494
|
declare const SESSION_DOT: Readonly<Record<SessionState, ThemeRoleId>>;
|
|
6220
6495
|
/** The bar times among `times` (ascending) that open a new trading day: each bar whose trading day,
|
|
@@ -6223,11 +6498,13 @@ declare const SESSION_DOT: Readonly<Record<SessionState, ThemeRoleId>>;
|
|
|
6223
6498
|
declare function sessionBreakTimes(model: SessionModel, times: readonly number[]): number[];
|
|
6224
6499
|
/** How the bands look under the chart settings: the shading of each stretch outside regular hours
|
|
6225
6500
|
* (null leaves it clear) and the line at each session's start (null draws none). The closed
|
|
6226
|
-
* stretch keeps its theme role.
|
|
6501
|
+
* stretch keeps its theme role. `electronic` shades every stretch of an electronic day outside its
|
|
6502
|
+
* regular hours, in place of the other three; without it that stretch wears its theme role. */
|
|
6227
6503
|
interface SessionLook {
|
|
6228
6504
|
pre: string | null;
|
|
6229
6505
|
after: string | null;
|
|
6230
6506
|
extended: string | null;
|
|
6507
|
+
electronic?: string | null;
|
|
6231
6508
|
breaks: {
|
|
6232
6509
|
color: string;
|
|
6233
6510
|
width: number;
|
|
@@ -6273,7 +6550,7 @@ declare function openInputsEditor(container: HTMLElement, rect: {
|
|
|
6273
6550
|
h: number;
|
|
6274
6551
|
}, inputs: Readonly<Record<string, ManifestInput>>, current: Readonly<Record<string, number>>, onApply: (patch: Record<string, number>) => void,
|
|
6275
6552
|
/** The chart's language: the two actions re-label if it changes while the editor is open. A
|
|
6276
|
-
* field's name and an enum's options are the manifest's own
|
|
6553
|
+
* field's name and an enum's options are the manifest's own words and are not translated. */
|
|
6277
6554
|
strings?: ChartI18n): void;
|
|
6278
6555
|
|
|
6279
6556
|
/** The chart settings a chart opens with under a resolved theme, before any host or viewer names a
|
|
@@ -6677,4 +6954,4 @@ declare function mountTimeframePicker(options: TimeframePickerOptions & {
|
|
|
6677
6954
|
container: HTMLElement;
|
|
6678
6955
|
}): MountedTimeframePicker;
|
|
6679
6956
|
|
|
6680
|
-
export { ARRANGEMENTS, type AccessPolicy, type ActiveSubsession, type Arrangement, type AttachDrawingsOptions, BRAND_DOWN, BRAND_UP, BUILT_IN_INDICATORS, BUILT_IN_LOCALES, type BuiltInIndicator, CHART_DATE_FORMATS, CHART_FACTORY_COLORS, CHART_ICON_IDS, CHART_SETTINGS_SECTIONS, CHART_STYLES, COLLAPSED_H, COMPARE_COLORS, type CandleStyleSettings, type CanvasTheme, type Capabilities, type ChartBackgroundType, ChartBody, type ChartChrome, type ChartCompareApi, type ChartControlVisibility, type ChartCustomLocale, ChartDatafeed, type ChartDateFormat, type ChartDictionary, type ChartDrawingsApi, type ChartEvents, type ChartExtension, type ChartExtensionCapture, type ChartExtensionCaptureFrame, type ChartExtensionChart, type ChartExtensionCommand, type ChartExtensionContext, type ChartExtensionHandle, type ChartExtensionIcon, type ChartExtensionIconPath, type ChartExtensionLegendRow, type ChartExtensionMenuBuilder, type ChartExtensionMenuContext, type ChartExtensionMenuItem, type ChartExtensionPane, type ChartExtensionPriceLine, type ChartExtensionReplayState, type ChartExtensionScope, type ChartExtensionSeries, type ChartFactoryColors, type ChartHandle, type ChartHistoryApi, type ChartHoursFormat, type ChartI18n, type ChartI18nOptions, type ChartIconArtwork, type ChartIconContext, type ChartIconDiagnostic, type ChartIconFactory, type ChartIconFailure, type ChartIconId, type ChartIcons, type ChartLastValueMode, type ChartLegendRow, type ChartLineColorType, type ChartLocale, type ChartLocaleCode, type ChartMenuAction, type ChartMenuContext, type ChartMenuIcon, type ChartMenuRow, ChartMessageKey, ChartMeta, type ChartPaneSyncApi, type ChartPreferences, type ChartPriceFormatter, type ChartPricePrecision, type ChartPriceSource, type ChartReplayApi, ChartSaveLoadAdapter, type ChartSaveLoadApi, type ChartScalePlacement, type ChartSessionHours, type ChartSettings, type ChartSettingsContribution, type ChartSettingsControls, type ChartSettingsForm, type ChartSettingsIconPainter, type ChartSettingsOption, type ChartSettingsPageId, type ChartSettingsRowHandle, type ChartSettingsSection, type ChartSettingsTip, type ChartStorage, type ChartStrokeStyle, type ChartStyleId, type ChartTimezone, type ChartTitleSource, type ChartTranslate, type ChartWidget, type ChartWidgetOptions, type CommandRegistry, type CommandResult, type CommandScope, type CommandSpec, type CompareDeps, type CompareEntry, type CompareHandle, type ComparePlacement, type CompareSnapshot, type CompareSymbol, type ContextMenuHandle, type CrosshairUi, type CustomThemes, DEFAULT_SUBSESSION, DEFAULT_TIMEZONE, type DataSourceMarkPainter, DataStatus, DatafeedSearchOptions, type DrawingApplyOutcome, DrawingAssetPort, DrawingContextKind, type DrawingDocumentApi, type DrawingDocumentPort, type DrawingDocumentRefusal, type DrawingEvent, type DrawingInks, type DrawingOwner, DrawingPreferences, type DrawingPresets, type DrawingReadOutcome, type DrawingRejection, type DrawingRejectionReason, DrawingResourceContext, DrawingsBody, type DrawingsEvents, type DrawingsHandle, DrawingsMeta, type DrawingsWorkflow, EXCHANGE_TIMEZONE, type FeatureConfig, FeedBar, type FetchLike, FillBetweenPrimitive, type FullscreenApi, type FullscreenOptions, type HistoryChange, type HistoryEventState, IMAGE_HEADER_H, type ImageApi, type ImageEvent, type ImageHeader, type ImageOptions, type ImageTextRun, type ImageTile, type IndicatorCategory, type IndicatorDefinition, type IndicatorEvent, type IndicatorFill, type IndicatorInstance, type IndicatorLevel, type IndicatorManifest, type IndicatorOverrides, type IndicatorPickerAction, type IndicatorPickerBuiltInState, type IndicatorPickerCollection, type IndicatorPickerEmpty, type IndicatorPickerItem, type IndicatorPickerKind, type IndicatorPickerSource, type IndicatorPlot, type IndicatorPlots, type IndicatorsApi, type IndicatorsRenderer, LAYOUT_MENU_ROWS, type LayoutApi, LayoutBody, type LayoutEvent, LayoutMeta, type LayoutOptions, type LayoutSaveLoadApi, type LayoutSyncFlags, type LegendUi, type LineStyleSettings, type LogicalRange, MAIN_MIN_H, MIN_BAR_SPACING, MIRRORED_ICONS, type ManifestFill, type ManifestInput, type ManifestLevel, type ManifestPlot, type ManifestRun, MarkIconId, type MarkPainters, type MarketStatus, type MatchSegment, type MountedSymbolSearch, type MountedTimeframePicker, type OpenResource, PRICE_SCALE_MODE, type PaneOp, type PanePlan, type PaneRect, type PaneState, type PartialChartSettings, type PlacedImage, type PlotArea, type PlotPoint, PriceFormat, PriceFormatter, RANGE_PRESETS, RECENT_SYMBOLS_CAP, REPLAY_SPEEDS, type RangeFrameTarget, type RangePreset, type RangeSpan, type ReadChartSettings, type RecentsPort, type ReplayEventState, type ReplaySpeed, type ResourceLoadOutcome, ResourceRef, type ResourceRemoveOutcome, type ResourceSaveOutcome, ResourceStore, SCALE_MODES, SCALE_MODE_OPTIONS, SCROLL_STEP_BARS, SESSION_DOT, SESSION_LABEL, SESSION_STATE_TITLE, SPREAD_OPERATORS, type SaveConflictInfo, type ScaleMode, type ScaleUnitMenuRequest, type SearchClassFilter, SearchClassNode, type SearchController, type SearchControllerOptions, type SearchDisplayOptions, SearchPage, type SearchScope, type SearchState, type SelectedDrawing, type SemanticTheme, type SessionBandsPrimitive, type SessionLook, type SessionModel, type SessionSchedule, type SessionSegment, type SessionSource, type SessionState, type SessionTimeline, type SettingsMenuUi, ShadePrimitive, type SpreadOperator, type SpreadOperatorId, type SubsessionSource, SymbolInfo, type SymbolMarkPainter, type SymbolPriceFormat, SymbolRow, type SymbolSearchCache, type SymbolSearchHandle, type SymbolSearchOptions, THEME_ROLES, TIMEFRAME_MAX, TIMEFRAME_PRESETS, TIMEFRAME_PRESET_TOKENS, TIMEFRAME_UNITS, TIMEFRAME_UNIT_NAME, TIMEFRAME_UNIT_SECONDS, TIMEZONES, TOP_BAR_SLOTS, TemplateBody, TemplateMeta, TextDraft, TextEditFrame, type TextEditSession, type TextInlineEdit, type ThemeChangeListener, type ThemeController, type ThemeControllerOptions, type ThemeDeclaration, type ThemeDiagnostic, type ThemeDiagnosticCode, type ThemeMode, type ThemeOptions, type ThemeRole, type ThemeRoleFamily, type ThemeRoleId, type ThemeRoleKind, type ThemeRootStyle, type TimeLabelFormat, type TimeRange, type Timeframe, type TimeframeGroup, type TimeframePickerHandle, type TimeframePickerOptions, type TimeframeRestrictions, type TimeframeUnit, type TimezoneRow, type ToolbarButton, type ToolbarButtonOptions, type ToolbarButtonState, type TopBarSlot, type TopBarUi, type TouchOptions, type TransitionOptions, type UdfDatafeedOptions, type UdfSymbolResponse, type UiConfig, type VenueMarkPainter, type WidgetEvents, ZOOM_FACTOR, type ZoneClock, allowedTimeframes, applyBar, applyPlotOverrides, arrangementName, arrangementOf, attachCompare, attachDrawings, attachIndicators, autoTimeframeFor, buildManifestPlots, canvasTheme, canvasToBlob, chartContextMenu, chartDateSample, chartDictionaries, chartIconArtwork, chartSettingsDefaults, clipToWindow, coerceChartStyle, coerceScaleMode, compareTimeframes, composeFormingBar, composeImage, createChart, createChartI18n, createSearchController, createSessionBands, createSymbolSearchCache, createThemeController, createUdfDatafeed, effectivePlotColor, exchangeTimezoneText, formatChartDate, formatClock, formatDuration, formatTimeframe, frameRange, hasExtendedHours, imageFileName, imageHeaderRuns, imageLayoutHeaderRuns, imageTileRuns, indicatorHidden, isChartStyle, isCollapsed, isIntradayTimeframe, isSymbolPair, isTimezoneChoice, latestPlotValue, layerChartSettings, looksLikeSpread, makeCrosshairTimeFormatter, makeTickMarkFormatter, manifestInputDefaults, marketStatus, marketStatusFor, marketStatusText, marketStatusTitle, matchSegments, memoryChartStorage, memoryRecents, mountContextMenu, mountSymbolSearch, mountTimeframePicker, nextSessionChange, openInputsEditor, openSymbolSearch, openTimeframePicker, overriddenManifest, parseSessionModel, parseTimeframe, pickCompareColor, placeableByWidget, planPaneOp, promoteRecent, rangeAvailable, rangePresetTip, rangeSpanSeconds, readPartialChartSettings, resolveDisplayTimezone, resolveInitialTf, scrolledPosition, seriesTargetOf, sessionBreakTimes, sessionStateAt, sessionTimeline, spreadExpression, spreadSearchQuery, subTimeframesFor, subsessionBarFilter, tfSeconds, tfToUdfResolution, timeframeAllowed, timeframeGroupUnit, timeframeLabel, timeframeOrder, timeframeSeconds, timezoneCity, timezoneLabel, timezoneListing, toolName, tzOffsetLabel, tzOffsetMinutes, udfPriceFormat, udfResolutionToTf, udfSymbolInfo, valueShaped, withFoldedHistory, zoneClock, zoomedBarSpacing };
|
|
6957
|
+
export { ARRANGEMENTS, type AccessPolicy, type ActiveSubsession, type Arrangement, type AttachDrawingsOptions, BRAND_DOWN, BRAND_UP, BUILT_IN_INDICATORS, BUILT_IN_LOCALES, type BuiltInIndicator, CHART_DATE_FORMATS, CHART_FACTORY_COLORS, CHART_ICON_IDS, CHART_SETTINGS_SECTIONS, CHART_STYLES, COLLAPSED_H, COMPARE_COLORS, type CandleStyleSettings, type CanvasTheme, type Capabilities, type ChartBackgroundType, ChartBody, type ChartChrome, type ChartCompareApi, type ChartControlVisibility, type ChartCustomLocale, ChartDatafeed, type ChartDateFormat, type ChartDictionary, type ChartDrawingsApi, type ChartEvents, type ChartExtension, type ChartExtensionCapture, type ChartExtensionCaptureFrame, type ChartExtensionChart, type ChartExtensionCommand, type ChartExtensionContext, type ChartExtensionHandle, type ChartExtensionIcon, type ChartExtensionIconPath, type ChartExtensionLegendRow, type ChartExtensionMenuBuilder, type ChartExtensionMenuContext, type ChartExtensionMenuItem, type ChartExtensionPane, type ChartExtensionPriceLine, type ChartExtensionReplayState, type ChartExtensionScope, type ChartExtensionSeries, type ChartFactoryColors, type ChartHandle, type ChartHistoryApi, type ChartHoursFormat, type ChartI18n, type ChartI18nOptions, type ChartIconArtwork, type ChartIconContext, type ChartIconDiagnostic, type ChartIconFactory, type ChartIconFailure, type ChartIconId, type ChartIcons, type ChartLastValueMode, type ChartLegendRow, type ChartLineColorType, type ChartLocale, type ChartLocaleCode, type ChartMenuAction, type ChartMenuContext, type ChartMenuIcon, type ChartMenuRow, ChartMessageKey, ChartMeta, type ChartPaneSyncApi, type ChartPreferences, type ChartPriceFormatter, type ChartPricePrecision, type ChartPriceSource, type ChartReplayApi, ChartSaveLoadAdapter, type ChartSaveLoadApi, type ChartScalePlacement, type ChartSessionHours, type ChartSettings, type ChartSettingsContribution, type ChartSettingsControls, type ChartSettingsForm, type ChartSettingsIconPainter, type ChartSettingsOption, type ChartSettingsPageId, type ChartSettingsRowHandle, type ChartSettingsSection, type ChartSettingsTip, type ChartStorage, type ChartStrokeStyle, type ChartStyleId, type ChartTimezone, type ChartTitleSource, type ChartTranslate, type ChartWidget, type ChartWidgetOptions, type CommandRegistry, type CommandResult, type CommandScope, type CommandSpec, type CompareDeps, type CompareEntry, type CompareHandle, type ComparePlacement, type CompareSnapshot, type CompareSymbol, type ContextMenuHandle, type CrosshairUi, type CustomThemes, DEFAULT_SUBSESSION, DEFAULT_TIMEZONE, type DataSourceMarkPainter, DataStatus, DatafeedSearchOptions, type DrawingApplyOutcome, DrawingAssetPort, DrawingContextKind, type DrawingDocumentApi, type DrawingDocumentPort, type DrawingDocumentRefusal, type DrawingEvent, type DrawingInks, type DrawingOwner, DrawingPreferences, type DrawingPresets, type DrawingReadOutcome, type DrawingRejection, type DrawingRejectionReason, DrawingResourceContext, DrawingsBody, type DrawingsEvents, type DrawingsHandle, DrawingsMeta, type DrawingsWorkflow, EXCHANGE_TIMEZONE, type FeatureConfig, FeedBar, type FetchLike, FillBetweenPrimitive, type FullscreenApi, type FullscreenOptions, type HistoryChange, type HistoryEventState, IMAGE_HEADER_H, type ImageApi, type ImageEvent, type ImageHeader, type ImageOptions, type ImageTextRun, type ImageTile, type IndicatorCategory, type IndicatorDefinition, type IndicatorEvent, type IndicatorFill, type IndicatorInstance, type IndicatorLevel, type IndicatorManifest, type IndicatorOverrides, type IndicatorPickerAction, type IndicatorPickerBuiltInState, type IndicatorPickerCollection, type IndicatorPickerEmpty, type IndicatorPickerItem, type IndicatorPickerKind, type IndicatorPickerSource, type IndicatorPlot, type IndicatorPlots, type IndicatorsApi, type IndicatorsRenderer, LAYOUT_MENU_ROWS, type LayoutApi, LayoutBody, type LayoutEvent, LayoutMeta, type LayoutOptions, type LayoutSaveLoadApi, type LayoutSyncFlags, type LegendUi, type LineStyleSettings, type LogicalRange, MAIN_MIN_H, MIN_BAR_SPACING, MIRRORED_ICONS, type ManifestFill, type ManifestInput, type ManifestLevel, type ManifestPlot, type ManifestRun, MarkIconId, type MarkPainters, type MarketPhase, type MarketStatus, type MatchSegment, type MountedSymbolSearch, type MountedTimeframePicker, type OpenResource, PRICE_SCALE_MODE, type PaneOp, type PanePlan, type PaneRect, type PaneState, type PartialChartSettings, type PlacedImage, type PlotArea, type PlotPoint, PriceFormat, PriceFormatter, RANGE_PRESETS, RECENT_SYMBOLS_CAP, REPLAY_SPEEDS, type RangeFrameTarget, type RangePreset, type RangeSpan, type ReadChartSettings, type RecentsPort, type ReplayEventState, type ReplaySpeed, type ResourceLoadOutcome, ResourceRef, type ResourceRemoveOutcome, type ResourceSaveOutcome, ResourceStore, SCALE_MODES, SCALE_MODE_OPTIONS, SCROLL_STEP_BARS, SESSION_DOT, SESSION_LABEL, SESSION_STATE_TITLE, SPREAD_OPERATORS, type SaveConflictInfo, type ScaleMode, type ScaleUnitMenuRequest, type SearchClassFilter, SearchClassNode, type SearchController, type SearchControllerOptions, type SearchDisplayOptions, SearchPage, type SearchScope, type SearchState, type SelectedDrawing, type SemanticTheme, type SessionBandsPrimitive, type SessionLook, type SessionModel, type SessionSchedule, type SessionSegment, type SessionSource, type SessionState, type SessionTimeline, type SettingsMenuUi, ShadePrimitive, type SpreadOperator, type SpreadOperatorId, type SubsessionSource, SymbolInfo, type SymbolMarkPainter, type SymbolPriceFormat, SymbolRow, type SymbolSearchCache, type SymbolSearchHandle, type SymbolSearchOptions, THEME_ROLES, TIMEFRAME_MAX, TIMEFRAME_PRESETS, TIMEFRAME_PRESET_TOKENS, TIMEFRAME_UNITS, TIMEFRAME_UNIT_NAME, TIMEFRAME_UNIT_SECONDS, TIMEZONES, TOP_BAR_SLOTS, TemplateBody, TemplateMeta, TextDraft, TextEditFrame, type TextEditSession, type TextInlineEdit, type ThemeChangeListener, type ThemeController, type ThemeControllerOptions, type ThemeDeclaration, type ThemeDiagnostic, type ThemeDiagnosticCode, type ThemeMode, type ThemeOptions, type ThemeRole, type ThemeRoleFamily, type ThemeRoleId, type ThemeRoleKind, type ThemeRootStyle, type TimeLabelFormat, type TimeRange, type Timeframe, type TimeframeGroup, type TimeframePickerHandle, type TimeframePickerOptions, type TimeframeRestrictions, type TimeframeUnit, type TimezoneRow, type ToolbarButton, type ToolbarButtonOptions, type ToolbarButtonState, type TopBarSlot, type TopBarUi, type TouchOptions, type TradingHoursOption, type TransitionOptions, type UdfDatafeedOptions, type UdfSymbolResponse, type UiConfig, type VenueMarkPainter, type WidgetEvents, ZOOM_FACTOR, type ZoneClock, allowedTimeframes, applyBar, applyPlotOverrides, arrangementName, arrangementOf, attachCompare, attachDrawings, attachIndicators, autoTimeframeFor, buildManifestPlots, canvasTheme, canvasToBlob, chartContextMenu, chartDateSample, chartDictionaries, chartIconArtwork, chartSettingsDefaults, clipToWindow, coerceChartStyle, coerceScaleMode, compareTimeframes, composeFormingBar, composeImage, createChart, createChartI18n, createSearchController, createSessionBands, createSymbolSearchCache, createThemeController, createUdfDatafeed, dataStatusNotice, effectivePlotColor, exchangeTimezoneText, formatChartDate, formatClock, formatDuration, formatTimeframe, frameRange, hasExtendedHours, imageFileName, imageHeaderRuns, imageLayoutHeaderRuns, imageTileRuns, indicatorHidden, isChartStyle, isCollapsed, isIntradayTimeframe, isSymbolPair, isTimezoneChoice, latestPlotValue, layerChartSettings, looksLikeSpread, makeCrosshairTimeFormatter, makeTickMarkFormatter, manifestInputDefaults, marketStatus, marketStatusCountdown, marketStatusFor, marketStatusSentence, marketStatusText, marketStatusTitle, matchSegments, memoryChartStorage, memoryRecents, mountContextMenu, mountSymbolSearch, mountTimeframePicker, nextSessionChange, openInputsEditor, openSymbolSearch, openTimeframePicker, overriddenManifest, parseSessionModel, parseTimeframe, pickCompareColor, placeableByWidget, planPaneOp, promoteRecent, rangeAvailable, rangePresetTip, rangeSpanSeconds, readPartialChartSettings, resolveDisplayTimezone, resolveInitialTf, scrolledPosition, seriesTargetOf, sessionBreakTimes, sessionStateAt, sessionTimeline, spreadExpression, spreadSearchQuery, subTimeframesFor, subsessionBarFilter, tfSeconds, tfToUdfResolution, timeframeAllowed, timeframeGroupUnit, timeframeLabel, timeframeOrder, timeframeSeconds, timezoneCity, timezoneLabel, timezoneListing, toolName, tradingHoursOption, tradingHoursOptions, tzOffsetLabel, tzOffsetMinutes, udfPriceFormat, udfResolutionToTf, udfSymbolInfo, valueShaped, withFoldedHistory, zoneClock, zoomedBarSpacing };
|