openalgo-charts 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/dist/draw/index.d.ts +940 -806
- package/dist/index.d.ts +94 -15
- package/dist/openalgo-charts.draw.mjs +1 -1
- package/dist/openalgo-charts.draw.mjs.map +1 -1
- package/dist/openalgo-charts.mjs +1 -1
- package/dist/openalgo-charts.mjs.map +1 -1
- package/dist/openalgo-charts.standalone.js +1 -1
- package/dist/openalgo-charts.standalone.js.map +1 -1
- package/dist/openalgo-charts.widget.mjs +1 -1
- package/dist/openalgo-charts.widget.mjs.map +1 -1
- package/dist/openalgo-charts.workspace.mjs +1 -1
- package/dist/openalgo-charts.workspace.mjs.map +1 -1
- package/dist/widget/index.d.ts +61 -2
- package/dist/workspace/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TradingCapabilitySource as TradingCapabilitySource$1 } from 'openalgo-charts';
|
|
2
2
|
|
|
3
3
|
/** Library version string. Matches package.json (including locally prepared releases). */
|
|
4
|
-
declare const VERSION = "2.5.
|
|
4
|
+
declare const VERSION = "2.5.2";
|
|
5
5
|
/** Returns the current library version. */
|
|
6
6
|
declare function version(): string;
|
|
7
7
|
|
|
@@ -3577,30 +3577,78 @@ interface PickHost {
|
|
|
3577
3577
|
*/
|
|
3578
3578
|
declare function beginPick(host: PickHost, kind: PickKind, cb: (value: number) => void): () => void;
|
|
3579
3579
|
|
|
3580
|
-
/**
|
|
3581
|
-
* Event markers (ARCHITECTURE.md §8.2): Earnings / Dividend / Split badges in a
|
|
3582
|
-
* strip near the bottom of the plot. Time-anchored only (no price). Hover/click
|
|
3583
|
-
* carry an external id for tooltip wiring. Data source is an integration concern
|
|
3584
|
-
* (OpenAlgo has no corporate-actions calendar) — the renderer ships regardless.
|
|
3585
|
-
*/
|
|
3580
|
+
/** Time-anchored event badges. Event feeds and detail loading belong to the host. */
|
|
3586
3581
|
|
|
3582
|
+
interface EventDetailField {
|
|
3583
|
+
label: string;
|
|
3584
|
+
value: string;
|
|
3585
|
+
}
|
|
3586
|
+
/** Plain text detail content. No field is interpreted as markup. */
|
|
3587
|
+
interface ChartEventDetails {
|
|
3588
|
+
summary?: string;
|
|
3589
|
+
fields?: readonly EventDetailField[];
|
|
3590
|
+
}
|
|
3587
3591
|
interface ChartEvent {
|
|
3592
|
+
/** Original UTC timestamp in seconds, including times between candles. */
|
|
3588
3593
|
time: number;
|
|
3589
3594
|
type: 'earnings' | 'dividend' | 'split' | 'news' | string;
|
|
3590
3595
|
label: string;
|
|
3591
3596
|
color?: string;
|
|
3592
3597
|
id?: string;
|
|
3598
|
+
title?: string;
|
|
3599
|
+
details?: string | ChartEventDetails;
|
|
3600
|
+
group?: string;
|
|
3601
|
+
}
|
|
3602
|
+
interface EventGroup {
|
|
3603
|
+
id: string;
|
|
3604
|
+
label: string;
|
|
3605
|
+
parentId?: string;
|
|
3606
|
+
/** Local visibility. A hidden ancestor also hides this group. */
|
|
3607
|
+
visible?: boolean;
|
|
3608
|
+
}
|
|
3609
|
+
interface EventMarkersOptions {
|
|
3610
|
+
/** Combine nearby badges. Defaults to false. */
|
|
3611
|
+
clustering: boolean;
|
|
3612
|
+
/** Maximum distance between cluster members in CSS pixels, from 1 to 200. Default 18. */
|
|
3613
|
+
clusterRadius: number;
|
|
3614
|
+
}
|
|
3615
|
+
interface EventMarkerDetails {
|
|
3616
|
+
id: string;
|
|
3617
|
+
cluster: boolean;
|
|
3618
|
+
/** Independent copies, in timestamp order. */
|
|
3619
|
+
events: ChartEvent[];
|
|
3593
3620
|
}
|
|
3594
3621
|
declare class EventMarkers implements IPrimitive {
|
|
3595
|
-
private
|
|
3622
|
+
private _entries;
|
|
3623
|
+
private _groups;
|
|
3624
|
+
private _options;
|
|
3596
3625
|
private _host;
|
|
3597
3626
|
private _positions;
|
|
3627
|
+
private _hits;
|
|
3628
|
+
private _providedIds;
|
|
3629
|
+
private _duplicateIds;
|
|
3630
|
+
private _width;
|
|
3631
|
+
private _height;
|
|
3632
|
+
constructor(options?: Partial<EventMarkersOptions>);
|
|
3598
3633
|
attached(host: PrimitiveHost): void;
|
|
3599
3634
|
detached(): void;
|
|
3600
3635
|
zOrder(): ZOrder;
|
|
3636
|
+
/** Replace data atomically. Caller mutations never change installed events. */
|
|
3601
3637
|
setEvents(events: readonly ChartEvent[]): void;
|
|
3638
|
+
events(): ChartEvent[];
|
|
3639
|
+
/** Replace the hierarchy; duplicate IDs, missing parents and cycles are rejected. */
|
|
3640
|
+
setGroups(groups: readonly EventGroup[]): void;
|
|
3641
|
+
groups(): EventGroup[];
|
|
3642
|
+
setGroupVisible(id: string, visible: boolean): void;
|
|
3643
|
+
/** Ungrouped events and group IDs not yet configured remain visible. */
|
|
3644
|
+
isGroupVisible(id: string): boolean;
|
|
3645
|
+
setOptions(options: Partial<EventMarkersOptions>): void;
|
|
3646
|
+
options(): EventMarkersOptions;
|
|
3647
|
+
/** Resolve only hits from the latest layout, with independent member details. */
|
|
3648
|
+
detailsForHit(externalId: string): EventMarkerDetails | null;
|
|
3602
3649
|
draw(ctx: CanvasRenderingContext2D, rc: PrimitiveRenderContext): void;
|
|
3603
3650
|
hitTest(x: number, y: number): PrimitiveHit | null;
|
|
3651
|
+
private _invalidate;
|
|
3604
3652
|
}
|
|
3605
3653
|
|
|
3606
3654
|
/**
|
|
@@ -4411,6 +4459,15 @@ interface ChartClickEvent extends PointerInfo {
|
|
|
4411
4459
|
ctrlKey: boolean;
|
|
4412
4460
|
metaKey: boolean;
|
|
4413
4461
|
}
|
|
4462
|
+
/** An event-strip click, including every member of a clustered marker. */
|
|
4463
|
+
interface ChartEventClick extends EventMarkerDetails {
|
|
4464
|
+
/** Chart-container CSS pixels, including the vertical offset of an event pane. */
|
|
4465
|
+
point: {
|
|
4466
|
+
x: number;
|
|
4467
|
+
y: number;
|
|
4468
|
+
};
|
|
4469
|
+
paneIndex: number;
|
|
4470
|
+
}
|
|
4414
4471
|
/** Payload of the `drag` event: a draggable primitive being moved. */
|
|
4415
4472
|
interface ChartDragEvent extends PointerInfo {
|
|
4416
4473
|
id: string;
|
|
@@ -4802,7 +4859,7 @@ declare class Chart {
|
|
|
4802
4859
|
/** Add a horizontal price line (order/SL/TP/alert/level) to a pane. */
|
|
4803
4860
|
addPriceLine(opts: PriceLineOptions, paneIndex?: number): PriceLine;
|
|
4804
4861
|
/** Add an earnings/dividend/split event-marker strip to a pane. */
|
|
4805
|
-
addEventMarkers(paneIndex?: number): EventMarkers;
|
|
4862
|
+
addEventMarkers(paneIndex?: number, options?: Partial<EventMarkersOptions>): EventMarkers;
|
|
4806
4863
|
/**
|
|
4807
4864
|
* Hand the chart the corporate-action / news calendar and let it own the
|
|
4808
4865
|
* strip. The difference from `addEventMarkers` is who filters: holding the
|
|
@@ -4810,9 +4867,16 @@ declare class Chart {
|
|
|
4810
4867
|
* switches) turn a type off and back on without the host re-supplying data.
|
|
4811
4868
|
*/
|
|
4812
4869
|
setEvents(events: readonly ChartEvent[], paneIndex?: number): void;
|
|
4870
|
+
/** The chart-owned strip, or null before events or strip options are supplied. */
|
|
4871
|
+
eventMarkers(): EventMarkers | null;
|
|
4872
|
+
/** Configure clustering without replacing event data or group visibility. */
|
|
4873
|
+
setEventMarkerOptions(options: Partial<EventMarkersOptions>): void;
|
|
4874
|
+
setEventGroups(groups: readonly EventGroup[]): void;
|
|
4875
|
+
setEventGroupVisible(id: string, visible: boolean): void;
|
|
4813
4876
|
/** Turn event types on/off. Unlisted types stay visible. */
|
|
4814
4877
|
setEventOptions(patch: ChartEventOptions): void;
|
|
4815
4878
|
eventOptions(): ChartEventOptions;
|
|
4879
|
+
private _ensureEventMarkers;
|
|
4816
4880
|
private _syncEvents;
|
|
4817
4881
|
/**
|
|
4818
4882
|
* Add a registered indicator. Built-in descriptors live in the lazy
|
|
@@ -6943,6 +7007,16 @@ declare function followerIndex(follower: LinkDataLayer, time: number, whenMissin
|
|
|
6943
7007
|
*/
|
|
6944
7008
|
declare function followerRange(leader: LinkDataLayer, follower: LinkDataLayer, range: LogicalRange): LogicalRange | null;
|
|
6945
7009
|
|
|
7010
|
+
/** Visual settings use the chart-settings wire format without its data or trading fields. */
|
|
7011
|
+
type LinkAppearanceValues = Record<string, string | number | boolean>;
|
|
7012
|
+
/** The host owns reading and applying settings so linking needs no chart class or DOM. */
|
|
7013
|
+
interface LinkAppearanceAdapter {
|
|
7014
|
+
read(): Readonly<LinkAppearanceValues>;
|
|
7015
|
+
apply(values: Readonly<LinkAppearanceValues>): void;
|
|
7016
|
+
}
|
|
7017
|
+
/** Retain supported appearance fields, excluding instrument text, data, navigation and trades. */
|
|
7018
|
+
declare function filterLinkAppearance(values: Readonly<Partial<LinkAppearanceValues>>): LinkAppearanceValues;
|
|
7019
|
+
|
|
6946
7020
|
/**
|
|
6947
7021
|
* Chart linking groups: a grid of charts that behaves as one workspace.
|
|
6948
7022
|
*
|
|
@@ -6950,7 +7024,7 @@ declare function followerRange(leader: LinkDataLayer, follower: LinkDataLayer, r
|
|
|
6950
7024
|
* ships no DOM, so the host draws its own link badge / colour chips and decides
|
|
6951
7025
|
* which charts belong to which group.
|
|
6952
7026
|
*
|
|
6953
|
-
*
|
|
7027
|
+
* Each channel switches independently because a user routinely
|
|
6954
7028
|
* wants one without the others (mirror the cursor across four timeframes but
|
|
6955
7029
|
* keep each zoom; or slave every chart's symbol but let each keep its own
|
|
6956
7030
|
* window):
|
|
@@ -6959,6 +7033,7 @@ declare function followerRange(leader: LinkDataLayer, follower: LinkDataLayer, r
|
|
|
6959
7033
|
* - **viewport**: panning or zooming one moves the others to the same window.
|
|
6960
7034
|
* - **symbol**: changing the instrument on one changes it on the others.
|
|
6961
7035
|
* - **interval**: changing a timeframe asks each following host to adopt it.
|
|
7036
|
+
* - **appearance**: visual settings pass through a structural host adapter.
|
|
6962
7037
|
*
|
|
6963
7038
|
* Four decisions carry the design.
|
|
6964
7039
|
*
|
|
@@ -6971,7 +7046,7 @@ declare function followerRange(leader: LinkDataLayer, follower: LinkDataLayer, r
|
|
|
6971
7046
|
* The engine's crosshair belongs to the pointer inside that chart; a linked
|
|
6972
7047
|
* one is a second, weaker mark that must not fight it. See `./crosshair`.
|
|
6973
7048
|
*
|
|
6974
|
-
* 3. **One re-entrancy guard covers
|
|
7049
|
+
* 3. **One re-entrancy guard covers every channel.** A syncs B, B echoes
|
|
6975
7050
|
* back to A, and the pair either oscillates forever or blows the stack. Any
|
|
6976
7051
|
* member event that arrives *while the group is broadcasting* is an echo of
|
|
6977
7052
|
* that broadcast by definition (a human cannot pan two charts in one call
|
|
@@ -6987,9 +7062,7 @@ declare function followerRange(leader: LinkDataLayer, follower: LinkDataLayer, r
|
|
|
6987
7062
|
* dropped on the spot, which matters because `addPrimitive` on a destroyed
|
|
6988
7063
|
* chart would resurrect a pane.
|
|
6989
7064
|
*
|
|
6990
|
-
*
|
|
6991
|
-
* instrument concept in a charting engine that deliberately does not have one.
|
|
6992
|
-
* So the host participates: it tells the group an instrument changed (by
|
|
7065
|
+
* The host owns instrument selection and loading. It tells the group a selection changed (by
|
|
6993
7066
|
* emitting `'symbol'` on the chart's own event bus, or by calling `setSymbol`),
|
|
6994
7067
|
* and it supplies the per-member `onSymbol` callback that actually loads the
|
|
6995
7068
|
* new instrument's bars. A member without `onSymbol` broadcasts symbol changes
|
|
@@ -7030,10 +7103,14 @@ interface LinkOptions {
|
|
|
7030
7103
|
symbol?: boolean;
|
|
7031
7104
|
/** Mirror the timeframe, via each member's `onInterval`. Default false. */
|
|
7032
7105
|
interval?: boolean;
|
|
7106
|
+
/** Copy visual chart settings through each member's adapter. Default false. */
|
|
7107
|
+
appearance?: boolean;
|
|
7033
7108
|
/** What a follower does with an instant it has no bar for. Default 'nearest'. */
|
|
7034
7109
|
whenMissing?: LinkMissingPolicy;
|
|
7035
7110
|
}
|
|
7036
7111
|
interface LinkMemberOptions {
|
|
7112
|
+
/** Visual settings only; no instrument, timeframe, study or trading state is copied. */
|
|
7113
|
+
appearance?: LinkAppearanceAdapter;
|
|
7037
7114
|
/** The instrument this chart is showing right now, if the host tracks one. */
|
|
7038
7115
|
symbol?: string;
|
|
7039
7116
|
/**
|
|
@@ -7106,6 +7183,8 @@ declare class LinkGroup {
|
|
|
7106
7183
|
setSymbol(chart: LinkChart, symbol: string): void;
|
|
7107
7184
|
/** Report a host-owned interval selection; followers opt in through `onInterval`. */
|
|
7108
7185
|
setInterval(chart: LinkChart, interval: string): void;
|
|
7186
|
+
/** Report an appearance edit. `style:change` does this automatically for settings patches. */
|
|
7187
|
+
syncAppearance(chart: LinkChart): void;
|
|
7109
7188
|
/** Unlink everything: no listeners, no linked crosshairs, no references. */
|
|
7110
7189
|
destroy(): void;
|
|
7111
7190
|
private _onCrosshair;
|
|
@@ -9703,4 +9782,4 @@ declare function unregisterBarCondition(id: string): boolean;
|
|
|
9703
9782
|
declare function getBarCondition(id: string): Readonly<BarCondition> | undefined;
|
|
9704
9783
|
declare function registeredBarConditions(): readonly Readonly<BarCondition>[];
|
|
9705
9784
|
|
|
9706
|
-
export { ALT_PRESET, type AddSeriesOptions, type AggTick, type Alert, type AlertAvailability, type AlertChartHost, type AlertCondition, AlertController, type AlertControllerOptions, type AlertDrawingInfo, type AlertDrawingLevel, type AlertDrawingProvider, type AlertDrawingValue, type AlertEventPayload, type AlertInput, type AlertPatch, type AlertPolicy, type AlertRepeat, type AlertScope, type AlertSource, type AlertState, type AlertTriggeredPayload, type AlertsDocument, type AxisChromeOptions, type AxisStyle, BAR_CACHE_VERSION, BUILTIN_COMMANDS, type Bar, BarCache, type BarCacheOptions, type BarCacheStats, type BarCacheStore, type BarCondition, type BarConditionAlertSource, type BarConditionContext, type BarSubscriptionOptions, type BarUpdate, type BarsPage, type BarsPageRequest, type BarsRequest, type BrandingChangedEvent, type Bucketing, BuySellButtons, type BuySellButtonsOptions, CHART_STATE_VERSION, type CachedBars, type CachedBarsRequest, type CalendarBucketing, type CalendarUnit, CandleBuilder, type CandleBuilderOptions, type CandleGeometry, type CandleStyle, type CandleTier, type CandleUpdate, Canvas2dBackend, type CanvasLineStyle, type CanvasOptions, Chart, type ChartClickEvent, type ChartDataContext, type ChartDataCsvOptions, type ChartDataUpdate, type ChartDragEndEvent, type ChartDragEvent, type ChartEvent, type ChartEventOptions, type ChartNavigationOptions, type ChartObjectCapabilities, type ChartObjectDefinition, type ChartObjectDrawing, type ChartObjectDrawingSource, type ChartObjectKind, type ChartObjectProvider, type ChartObjectSnapshot, ChartObjects, type ChartObjectsOptions, type ChartOptions, type ChartSettingsColorPairInput, type ChartSettingsInput, type ChartSettingsState, type ChartSettingsTab, type ChartSettingsTabId, type ChartSettingsValue, type ChartSettingsValues, type ChartState, ChartTable, type ChartTableOptions, type ChartTheme, type ChartWatermarkOptions, type ComparisonAlignment, type ComparisonBaseline, type ComparisonChartHost, ComparisonController, type ComparisonControllerOptions, type ComparisonHandle, type ComparisonMode, type ComparisonOptions, type ComparisonPane, type ContextMenuEvent, type ContextMenuTarget, type ContextMenuTargetKind, type CrosshairMoveEvent, type CrosshairOptions, type CrosshairStyle, type CustomShortcut, DEFAULT_CANDLE_BUILDER_OPTIONS, DEFAULT_CANDLE_STYLE, DEFAULT_CHART_TABLE_OPTIONS, DEFAULT_HISTOGRAM_STYLE, DEFAULT_KEYMAP, DEFAULT_PRICE_SCALE_OPTIONS, DEFAULT_THEME, DEFAULT_TIMEZONE, DEFAULT_TIME_NAVIGATOR_OPTIONS, DEFAULT_TIME_SCALE_OPTIONS, DEFAULT_TRADING_COLORS, DEFAULT_ZOOM_GLIDE_OPTIONS, type DataFeed, DataLayer, DataLoadingController, type DataLoadingOptions, type DataLoadingSnapshot, type DataLoadingStatus, type DataUpdateReason, type DecodedOrder, type DepthLevel, type DoubleClickAction, type DoubleClickEvent, type DrawAnchor, type DrawItem, type DrawingAlertSource, EventMarkers, type ExportSvgOptions, FakeDataFeed, type FeedScheduler, type FillGradient, type FillPoint, type GridAxisStyle, type GridOptions, type GridStyle, type HistogramStyle, type HistoryLoadingStatus, HistoryRequestPool, type HistoryRequestPoolOptions, INDICATOR_LINE_STYLES, INDICATOR_PLOT_STYLES, INDICATOR_SOURCES, type IPrimitive, type IRenderBackend, IST_OFFSET_SECONDS, type IndexedBar, type IndicatorAlertContext, type IndicatorAlertPayload, type IndicatorAlertSource, type IndicatorAlertSpec, type IndicatorApi, type IndicatorAttachContext, IndicatorBackground, type IndicatorBarsProvider, type IndicatorBarsRequest, type IndicatorCalcContext, type IndicatorDataChange, type IndicatorDataStatus, type IndicatorDescriptor, type IndicatorDrawing, IndicatorDrawings, IndicatorFill, type IndicatorFillOptions, type IndicatorFillSpec, type IndicatorHost, type IndicatorInput, IndicatorInputError, type IndicatorLevel, type IndicatorLevelContext, type IndicatorLineStyle, type IndicatorPlot, type IndicatorSettings, type IndicatorSource, type IndicatorState, type IndicatorStore, type IndicatorValues, Instrument, type InstrumentCalendar, type InstrumentMetadata, type InstrumentSession, type IntervalBucketing, type IntervalDescriptor, type IntervalParts, InvalidationLevel, type IstParts, type KeymapEntry, LINK_CROSSHAIR_ALPHA, type LateTickPolicy, type LegendField, type LegendStatusData, type LegendStatusLineOptions, type LegendStatusSource, type LegendTitleMode, type LegendValue, type LinePoint, type LinkChart, LinkCrosshair, type LinkDataLayer, LinkGroup, type LinkMemberOptions, type LinkMissingPolicy, type LinkOptions, type LiveBarMeta, type LogicalRange, LogoWatermark, type LogoWatermarkOptions, type LtpEvent, type MarkerPosition, type MarkerShape, type MarkerSize, type MarketDepth, type MarketPhase, type MarketPhaseFn, type MaybePromise, type ModeCheck, type OpenAlgoConfig, OpenAlgoDataFeed, type OpenAlgoLiveConfig, OpenAlgoLiveDataFeed, type OpenAlgoTradeConfig, OpenAlgoTradeFeed, type OpenAlgoWsConfig, OpenAlgoWsFeed, type OrderBookSnapshot, type OrderDecodeCode, type OrderDecodeIssue, type OrderDecodeResult, type OrderSide$1 as OrderSide, type OrderType$1 as OrderType, type OrderUpdateEvent, type OriginalTime, PRICE_LEVEL_KINDS, PRICE_SCALE_MODES, Pane, type PaneInvalidation, PaneLegend, type PaneLegendAction, type PaneLegendOptions, type PaneState, type PickHost, type PickKind, type PlaceOrder, type PlotBarColor, type PlotMarginOptions, type PointerInfo, type PointerKind, type PointerModifiers, type PointerSample, type PositionSide, type PriceAlertSource, type PriceAxisState, type PriceFormat, type PriceLevelInput, type PriceLevelKind, type PriceLevelQuote, type PriceLevelStyle, type PriceLevelValues, PriceLevels, type PriceLevelsOptions, PriceLine, type PriceLineOptions, type PriceRange, PriceScale, type PriceScaleId, type PriceScaleMode, type PriceScaleOptions, type PriceScaleState, type PrimitiveAnchor, type PrimitiveHit, type PrimitiveHost, type PrimitivePlacement, type PrimitiveRenderContext, type QuarantinedRow, type RawOrder, type RenderBackendFactory, type RenderBackendKind, type RenderDevice, type RendererChoice, type RendererEntry, type RendererFallbackEvent, type RendererFallbackReason, type ReplayBarEndTime, type ReplayChartHost, ReplayController, ReplayGroup, type ReplayGroupChartHost, type ReplayGroupMember, type ReplayGroupOptions, type ReplayGroupState, type ReplayOptions, type ReplayScheduler, type ReplayScope, ReplayShade, type ReplayShadeOptions, type ReplayState, type ReplayTiming, type ReplayViewport, type ResolvedLinkOptions, type RestoreReport, SCALE_FONT_MAX, SCALE_FONT_MIN, type ScaleCanvasOptions, type SeriesApi, type SeriesDataItem, type SeriesId, type SeriesMarker, SeriesMarkers, type SeriesRenderContext, type SeriesState, type SeriesStyle, type SeriesType, type SessionSpec, type ShortcutListItem, ShortcutManager, type ShortcutManagerOptions, type ShortcutPreset, type ShortcutScope, type ShortcutTriggerEvent, type Size, type SocketFactory, type SocketLike, type SupertrendPoint, SvgContext, type SvgContextOptions, SvgLinearGradient, type TableCell, type TablePosition, TextWatermark, type TextWatermarkOptions, type Tick, TickBarAggregator, type TickBarOptions, type TickCountBucketing, type TickMarkType, type TickTimeframe, TimeNavigator, type TimeNavigatorAction, type TimeNavigatorOptions, TimeScale, type TimeScaleOp, type TimeScaleOptions, type TradeFeed, type TradeMarkerVariant, TradeMarkersPrimitive, type TradingCapabilities, TradingCapabilityError, type TradingCapabilityRequest, type TradingCapabilityResult, type TradingCapabilitySource, type TradingColors, TradingController, type TradingHost, type TradingLineStyle, type TradingLineVariant, type TradingOperation, type TradingOrder, type TradingOrderSide, type TradingOrderType, type TradingPosition, type TradingSettings, type TradingSyncPayload, type TradingTrade, type UTCSeconds, UnknownIntervalError, type UnsubscribeFn, VERSION, type VolumeBucketing, type VolumeMode, type WatermarkPosition, type Whitespace, type WsClientWarning, type WsControlMessage, type WsMode, type WsState, type ZOrder, type ZonedParts, type ZonedPeriod, type ZoomAnchor, ZoomGlide, type ZoomGlideOptions, addComparison, alertSettingsSchema, alignToPrimary, applyChartSettings, assertTradingCapability, atr, autoscaleRange, backendDegradation, backoffDelayMs, barCacheKey, barCloseSec, beginPick, bestHit, bitmapSize, bucketStartOf, calendarPeriodFlags, candleGeometry, candleTier, chartSettingsSchema, checkTradingCapability, clamp, classifyAuthAck, compactVolume, comparisonController, computePriceLevels, conflateBars, conflateItems, conflationGroupSize, createChart, createLinkGroup, createRenderBackend, darkTheme, dashPattern, decodeOrder, drawLabel, drawShape, effectiveMarkerPx, ema, emaSeries, epochMsToUtcSeconds, eventToCombo, exportChartDataCsv, followerIndex, followerRange, formatCombo, formatIstCrosshairLabel, formatIstDate, formatIstTime, formatIstTimeSeconds, formatSubscribe, formatUnsubscribe, formatZonedCrosshairLabel, formatZonedDate, formatZonedTime, formatZonedTimeSeconds, fromGradient, generateBars, getBarCondition, getChartType, getIndicator, hasIndicator, inSessionAt, indicatorDefaults, indicatorStyleInputs, intervalParts, intervalToSeconds, isDailyInterval, isIntradayInterval, isKnownInterval, isNewIstDay, isNewZonedDay, isNewZonedMonth, isNewZonedPeriod, isNewZonedQuarter, isNewZonedWeek, isNewZonedYear, isRebasing, isReplaying, isReservedCombo, isSecondsInterval, isTickInterval, isTimeBucketed, isValidCombo, isValidTimezone, isWhitespace, istStringToUtcSeconds, lastPriceLevelFromSeriesStyle, lerp, lightTheme, mapHistoryResponse, mapOrder, mapOrderStatus, mapPosition, markerSizePx, mergeBars, nextBucketStart, niceTicks, normalizeCombo, optimalBarWidth, parseAlertsDocument, parseCombo, parseMessage, parseSessionSpec, parseTopic, plotStyleKeys, precisionForStep, readChartSettings, readSequence, registerBarCondition, registerChartType, registerIndicator, registerInterval, registerRenderBackend, registeredBarConditions, registeredChartTypes, registeredIndicators, registeredIntervals, registeredRenderBackends, resolveCrosshairStyle, resolveGridStyle, resolveInterval, resolvePlotMargins, resolveRenderBackend, resolveScaleStyle, roundToTick, rowTimeToUtcSeconds, rsi, rsiSeries, seriesStyleForLastPriceLevel, sessionFlags, sessionStartFlags, sessionStartIndices, sharedHistoryRequests, snapToDevicePixel, sourceValue, sourceValues, startOfZonedDay, startOfZonedMonth, startOfZonedWeek, supertrend, supertrendSeries, tableOrigin, toBar, trueRange, tryResolveInterval, unregisterBarCondition, unregisterInterval, unregisterRenderBackend, utcSecondsToIstDateString, utcSecondsToIstParts, utcSecondsToZonedDateString, utcSecondsToZonedParts, version, verticalGradient, watermarkRect, withAlpha, withBarCache, zoneOffsetSeconds, zonedDayIndex, zonedStringToUtcSeconds, zonedWallClockToUtcSeconds, zonedWeekIndex };
|
|
9785
|
+
export { ALT_PRESET, type AddSeriesOptions, type AggTick, type Alert, type AlertAvailability, type AlertChartHost, type AlertCondition, AlertController, type AlertControllerOptions, type AlertDrawingInfo, type AlertDrawingLevel, type AlertDrawingProvider, type AlertDrawingValue, type AlertEventPayload, type AlertInput, type AlertPatch, type AlertPolicy, type AlertRepeat, type AlertScope, type AlertSource, type AlertState, type AlertTriggeredPayload, type AlertsDocument, type AxisChromeOptions, type AxisStyle, BAR_CACHE_VERSION, BUILTIN_COMMANDS, type Bar, BarCache, type BarCacheOptions, type BarCacheStats, type BarCacheStore, type BarCondition, type BarConditionAlertSource, type BarConditionContext, type BarSubscriptionOptions, type BarUpdate, type BarsPage, type BarsPageRequest, type BarsRequest, type BrandingChangedEvent, type Bucketing, BuySellButtons, type BuySellButtonsOptions, CHART_STATE_VERSION, type CachedBars, type CachedBarsRequest, type CalendarBucketing, type CalendarUnit, CandleBuilder, type CandleBuilderOptions, type CandleGeometry, type CandleStyle, type CandleTier, type CandleUpdate, Canvas2dBackend, type CanvasLineStyle, type CanvasOptions, Chart, type ChartClickEvent, type ChartDataContext, type ChartDataCsvOptions, type ChartDataUpdate, type ChartDragEndEvent, type ChartDragEvent, type ChartEvent, type ChartEventClick, type ChartEventDetails, type ChartEventOptions, type ChartNavigationOptions, type ChartObjectCapabilities, type ChartObjectDefinition, type ChartObjectDrawing, type ChartObjectDrawingSource, type ChartObjectKind, type ChartObjectProvider, type ChartObjectSnapshot, ChartObjects, type ChartObjectsOptions, type ChartOptions, type ChartSettingsColorPairInput, type ChartSettingsInput, type ChartSettingsState, type ChartSettingsTab, type ChartSettingsTabId, type ChartSettingsValue, type ChartSettingsValues, type ChartState, ChartTable, type ChartTableOptions, type ChartTheme, type ChartWatermarkOptions, type ComparisonAlignment, type ComparisonBaseline, type ComparisonChartHost, ComparisonController, type ComparisonControllerOptions, type ComparisonHandle, type ComparisonMode, type ComparisonOptions, type ComparisonPane, type ContextMenuEvent, type ContextMenuTarget, type ContextMenuTargetKind, type CrosshairMoveEvent, type CrosshairOptions, type CrosshairStyle, type CustomShortcut, DEFAULT_CANDLE_BUILDER_OPTIONS, DEFAULT_CANDLE_STYLE, DEFAULT_CHART_TABLE_OPTIONS, DEFAULT_HISTOGRAM_STYLE, DEFAULT_KEYMAP, DEFAULT_PRICE_SCALE_OPTIONS, DEFAULT_THEME, DEFAULT_TIMEZONE, DEFAULT_TIME_NAVIGATOR_OPTIONS, DEFAULT_TIME_SCALE_OPTIONS, DEFAULT_TRADING_COLORS, DEFAULT_ZOOM_GLIDE_OPTIONS, type DataFeed, DataLayer, DataLoadingController, type DataLoadingOptions, type DataLoadingSnapshot, type DataLoadingStatus, type DataUpdateReason, type DecodedOrder, type DepthLevel, type DoubleClickAction, type DoubleClickEvent, type DrawAnchor, type DrawItem, type DrawingAlertSource, type EventDetailField, type EventGroup, type EventMarkerDetails, EventMarkers, type EventMarkersOptions, type ExportSvgOptions, FakeDataFeed, type FeedScheduler, type FillGradient, type FillPoint, type GridAxisStyle, type GridOptions, type GridStyle, type HistogramStyle, type HistoryLoadingStatus, HistoryRequestPool, type HistoryRequestPoolOptions, INDICATOR_LINE_STYLES, INDICATOR_PLOT_STYLES, INDICATOR_SOURCES, type IPrimitive, type IRenderBackend, IST_OFFSET_SECONDS, type IndexedBar, type IndicatorAlertContext, type IndicatorAlertPayload, type IndicatorAlertSource, type IndicatorAlertSpec, type IndicatorApi, type IndicatorAttachContext, IndicatorBackground, type IndicatorBarsProvider, type IndicatorBarsRequest, type IndicatorCalcContext, type IndicatorDataChange, type IndicatorDataStatus, type IndicatorDescriptor, type IndicatorDrawing, IndicatorDrawings, IndicatorFill, type IndicatorFillOptions, type IndicatorFillSpec, type IndicatorHost, type IndicatorInput, IndicatorInputError, type IndicatorLevel, type IndicatorLevelContext, type IndicatorLineStyle, type IndicatorPlot, type IndicatorSettings, type IndicatorSource, type IndicatorState, type IndicatorStore, type IndicatorValues, Instrument, type InstrumentCalendar, type InstrumentMetadata, type InstrumentSession, type IntervalBucketing, type IntervalDescriptor, type IntervalParts, InvalidationLevel, type IstParts, type KeymapEntry, LINK_CROSSHAIR_ALPHA, type LateTickPolicy, type LegendField, type LegendStatusData, type LegendStatusLineOptions, type LegendStatusSource, type LegendTitleMode, type LegendValue, type LinePoint, type LinkAppearanceAdapter, type LinkAppearanceValues, type LinkChart, LinkCrosshair, type LinkDataLayer, LinkGroup, type LinkMemberOptions, type LinkMissingPolicy, type LinkOptions, type LiveBarMeta, type LogicalRange, LogoWatermark, type LogoWatermarkOptions, type LtpEvent, type MarkerPosition, type MarkerShape, type MarkerSize, type MarketDepth, type MarketPhase, type MarketPhaseFn, type MaybePromise, type ModeCheck, type OpenAlgoConfig, OpenAlgoDataFeed, type OpenAlgoLiveConfig, OpenAlgoLiveDataFeed, type OpenAlgoTradeConfig, OpenAlgoTradeFeed, type OpenAlgoWsConfig, OpenAlgoWsFeed, type OrderBookSnapshot, type OrderDecodeCode, type OrderDecodeIssue, type OrderDecodeResult, type OrderSide$1 as OrderSide, type OrderType$1 as OrderType, type OrderUpdateEvent, type OriginalTime, PRICE_LEVEL_KINDS, PRICE_SCALE_MODES, Pane, type PaneInvalidation, PaneLegend, type PaneLegendAction, type PaneLegendOptions, type PaneState, type PickHost, type PickKind, type PlaceOrder, type PlotBarColor, type PlotMarginOptions, type PointerInfo, type PointerKind, type PointerModifiers, type PointerSample, type PositionSide, type PriceAlertSource, type PriceAxisState, type PriceFormat, type PriceLevelInput, type PriceLevelKind, type PriceLevelQuote, type PriceLevelStyle, type PriceLevelValues, PriceLevels, type PriceLevelsOptions, PriceLine, type PriceLineOptions, type PriceRange, PriceScale, type PriceScaleId, type PriceScaleMode, type PriceScaleOptions, type PriceScaleState, type PrimitiveAnchor, type PrimitiveHit, type PrimitiveHost, type PrimitivePlacement, type PrimitiveRenderContext, type QuarantinedRow, type RawOrder, type RenderBackendFactory, type RenderBackendKind, type RenderDevice, type RendererChoice, type RendererEntry, type RendererFallbackEvent, type RendererFallbackReason, type ReplayBarEndTime, type ReplayChartHost, ReplayController, ReplayGroup, type ReplayGroupChartHost, type ReplayGroupMember, type ReplayGroupOptions, type ReplayGroupState, type ReplayOptions, type ReplayScheduler, type ReplayScope, ReplayShade, type ReplayShadeOptions, type ReplayState, type ReplayTiming, type ReplayViewport, type ResolvedLinkOptions, type RestoreReport, SCALE_FONT_MAX, SCALE_FONT_MIN, type ScaleCanvasOptions, type SeriesApi, type SeriesDataItem, type SeriesId, type SeriesMarker, SeriesMarkers, type SeriesRenderContext, type SeriesState, type SeriesStyle, type SeriesType, type SessionSpec, type ShortcutListItem, ShortcutManager, type ShortcutManagerOptions, type ShortcutPreset, type ShortcutScope, type ShortcutTriggerEvent, type Size, type SocketFactory, type SocketLike, type SupertrendPoint, SvgContext, type SvgContextOptions, SvgLinearGradient, type TableCell, type TablePosition, TextWatermark, type TextWatermarkOptions, type Tick, TickBarAggregator, type TickBarOptions, type TickCountBucketing, type TickMarkType, type TickTimeframe, TimeNavigator, type TimeNavigatorAction, type TimeNavigatorOptions, TimeScale, type TimeScaleOp, type TimeScaleOptions, type TradeFeed, type TradeMarkerVariant, TradeMarkersPrimitive, type TradingCapabilities, TradingCapabilityError, type TradingCapabilityRequest, type TradingCapabilityResult, type TradingCapabilitySource, type TradingColors, TradingController, type TradingHost, type TradingLineStyle, type TradingLineVariant, type TradingOperation, type TradingOrder, type TradingOrderSide, type TradingOrderType, type TradingPosition, type TradingSettings, type TradingSyncPayload, type TradingTrade, type UTCSeconds, UnknownIntervalError, type UnsubscribeFn, VERSION, type VolumeBucketing, type VolumeMode, type WatermarkPosition, type Whitespace, type WsClientWarning, type WsControlMessage, type WsMode, type WsState, type ZOrder, type ZonedParts, type ZonedPeriod, type ZoomAnchor, ZoomGlide, type ZoomGlideOptions, addComparison, alertSettingsSchema, alignToPrimary, applyChartSettings, assertTradingCapability, atr, autoscaleRange, backendDegradation, backoffDelayMs, barCacheKey, barCloseSec, beginPick, bestHit, bitmapSize, bucketStartOf, calendarPeriodFlags, candleGeometry, candleTier, chartSettingsSchema, checkTradingCapability, clamp, classifyAuthAck, compactVolume, comparisonController, computePriceLevels, conflateBars, conflateItems, conflationGroupSize, createChart, createLinkGroup, createRenderBackend, darkTheme, dashPattern, decodeOrder, drawLabel, drawShape, effectiveMarkerPx, ema, emaSeries, epochMsToUtcSeconds, eventToCombo, exportChartDataCsv, filterLinkAppearance, followerIndex, followerRange, formatCombo, formatIstCrosshairLabel, formatIstDate, formatIstTime, formatIstTimeSeconds, formatSubscribe, formatUnsubscribe, formatZonedCrosshairLabel, formatZonedDate, formatZonedTime, formatZonedTimeSeconds, fromGradient, generateBars, getBarCondition, getChartType, getIndicator, hasIndicator, inSessionAt, indicatorDefaults, indicatorStyleInputs, intervalParts, intervalToSeconds, isDailyInterval, isIntradayInterval, isKnownInterval, isNewIstDay, isNewZonedDay, isNewZonedMonth, isNewZonedPeriod, isNewZonedQuarter, isNewZonedWeek, isNewZonedYear, isRebasing, isReplaying, isReservedCombo, isSecondsInterval, isTickInterval, isTimeBucketed, isValidCombo, isValidTimezone, isWhitespace, istStringToUtcSeconds, lastPriceLevelFromSeriesStyle, lerp, lightTheme, mapHistoryResponse, mapOrder, mapOrderStatus, mapPosition, markerSizePx, mergeBars, nextBucketStart, niceTicks, normalizeCombo, optimalBarWidth, parseAlertsDocument, parseCombo, parseMessage, parseSessionSpec, parseTopic, plotStyleKeys, precisionForStep, readChartSettings, readSequence, registerBarCondition, registerChartType, registerIndicator, registerInterval, registerRenderBackend, registeredBarConditions, registeredChartTypes, registeredIndicators, registeredIntervals, registeredRenderBackends, resolveCrosshairStyle, resolveGridStyle, resolveInterval, resolvePlotMargins, resolveRenderBackend, resolveScaleStyle, roundToTick, rowTimeToUtcSeconds, rsi, rsiSeries, seriesStyleForLastPriceLevel, sessionFlags, sessionStartFlags, sessionStartIndices, sharedHistoryRequests, snapToDevicePixel, sourceValue, sourceValues, startOfZonedDay, startOfZonedMonth, startOfZonedWeek, supertrend, supertrendSeries, tableOrigin, toBar, trueRange, tryResolveInterval, unregisterBarCondition, unregisterInterval, unregisterRenderBackend, utcSecondsToIstDateString, utcSecondsToIstParts, utcSecondsToZonedDateString, utcSecondsToZonedParts, version, verticalGradient, watermarkRect, withAlpha, withBarCache, zoneOffsetSeconds, zonedDayIndex, zonedStringToUtcSeconds, zonedWallClockToUtcSeconds, zonedWeekIndex };
|