openalgo-charts 2.1.6 → 2.1.7
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 +20 -19
- package/dist/index.d.ts +115 -2
- 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/widget/index.d.ts +21 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
**A from-scratch, dependency-free HTML5-canvas charting engine for OpenAlgo.**
|
|
6
6
|
|
|
7
|
-
Professional interactive charts, 102 built-in indicators plus your own custom ones, 51 drawing tools, order flow, market replay, linked chart grids, on-chart trading, vector SVG export and an optional WebGL2 backend. Eight lazy-loaded tiers, zero runtime dependencies,
|
|
7
|
+
Professional interactive charts, 102 built-in indicators plus your own custom ones, 51 drawing tools, order flow, market replay, linked chart grids, on-chart trading, vector SVG export and an optional WebGL2 backend. Eight lazy-loaded tiers, zero runtime dependencies, 73.31 KB Brotli for the base engine, and a one-call widget tier that adds the toolbar, drawing rail, dialogs and shortcuts.
|
|
8
8
|
|
|
9
9
|
[](https://www.npmjs.com/package/openalgo-charts)
|
|
10
10
|
[](./LICENSE)
|
|
11
|
-
[](#size-budget)
|
|
12
|
+
[](#develop)
|
|
13
13
|
[](#principles)
|
|
14
14
|
|
|
15
15
|
[**Documentation**](https://marketcalls.github.io/openalgo-charts/) · [**Live examples**](https://marketcalls.github.io/openalgo-charts/examples) · [**Getting started**](./docs/getting-started.md) · [**Migrating to 2.0**](./docs/migrating-to-2.md) · [**Architecture**](./ARCHITECTURE.md)
|
|
@@ -43,12 +43,13 @@ Every chart in the [live gallery](https://marketcalls.github.io/openalgo-charts/
|
|
|
43
43
|
|
|
44
44
|
## Install
|
|
45
45
|
|
|
46
|
-
Current version: **2.1.
|
|
46
|
+
Current version: **2.1.7**.
|
|
47
47
|
|
|
48
|
-
This release adds a shared
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
See the [
|
|
48
|
+
This release adds a searchable Objects panel and shared object-management API for
|
|
49
|
+
drawings, indicators and host-registered profiles. Dialogs fit narrow chart panes,
|
|
50
|
+
and indicator visibility survives settings changes and layout restoration.
|
|
51
|
+
See the [Objects guide](https://marketcalls.github.io/openalgo-charts/docs/objects/),
|
|
52
|
+
the [2.1.7 changelog](./CHANGELOG.md#217) and
|
|
52
53
|
[OpenAlgo compatibility guide](https://marketcalls.github.io/openalgo-charts/docs/openalgo-compatibility/).
|
|
53
54
|
|
|
54
55
|
```bash
|
|
@@ -70,7 +71,7 @@ in front of npm rather than being places you upload to. A chart is one HTML file
|
|
|
70
71
|
```html
|
|
71
72
|
<div id="chart" style="width:100vw;height:100vh"></div>
|
|
72
73
|
<script type="module">
|
|
73
|
-
import { createChart } from 'https://unpkg.com/openalgo-charts@2.1.
|
|
74
|
+
import { createChart } from 'https://unpkg.com/openalgo-charts@2.1.7/dist/openalgo-charts.mjs';
|
|
74
75
|
const chart = createChart(document.getElementById('chart'), { timezone: 'Asia/Kolkata' });
|
|
75
76
|
chart.addSeries('candlestick').setData(bars);
|
|
76
77
|
</script>
|
|
@@ -109,16 +110,16 @@ Import only what you use. Each tier is a separate bundle that registers into the
|
|
|
109
110
|
|
|
110
111
|
| Import | Contents | Brotli |
|
|
111
112
|
|---|---|---|
|
|
112
|
-
| `openalgo-charts` | Engine, 13 chart types, panes & scales, primitives, registries, chart state, chart linking, bar cache, interval registry, trading overlay, SVG export, render backend port, OpenAlgo feeds |
|
|
113
|
+
| `openalgo-charts` | Engine, 13 chart types, panes & scales, primitives, registries, chart state, chart linking, bar cache, interval registry, trading overlay, SVG export, render backend port, OpenAlgo feeds | 73.31 KB |
|
|
113
114
|
| `openalgo-charts/indicators` | 102 built-in indicators, the `registerIndicator` contract for your own, and the Tier-2 (external-data) contract | 28.05 KB |
|
|
114
115
|
| `openalgo-charts/draw` | 51 drawing tools + a headless drawing controller, clipboard, settings schema, level palette, freehand geometry and SVG icons | 25.90 KB |
|
|
115
116
|
| `openalgo-charts/transform` | Heikin Ashi, Renko, Range bars, Line Break, Point & Figure, Kagi | 2.66 KB |
|
|
116
117
|
| `openalgo-charts/profile` | Volume Profile, Market Profile (TPO) with compact pixel letters, Footprint, order flow | 14.96 KB |
|
|
117
118
|
| `openalgo-charts/trade` | Order / position / bracket tools + DOM ladder | 7.61 KB |
|
|
118
119
|
| `openalgo-charts/webgl` | WebGL2 series backend: batched, analytically anti-aliased GPU rendering of the standard chart types behind `renderer: 'auto'`, with a session-long fallback to the 2D path | 6.38 KB |
|
|
119
|
-
| `openalgo-charts/widget` | The chart with its chrome in one call: `createWidget` adds a top bar, the drawing rail, a status line, the settings and indicator dialogs, drawing properties, a right-click menu, a keymap with a `?` panel and optional layout persistence. The only tier that ships DOM |
|
|
120
|
+
| `openalgo-charts/widget` | The chart with its chrome in one call: `createWidget` adds a top bar, the drawing rail, a status line, the settings and indicator dialogs, drawing properties, a right-click menu, a keymap with a `?` panel and optional layout persistence. The only tier that ships DOM | 38.72 KB |
|
|
120
121
|
|
|
121
|
-
Everything together is **
|
|
122
|
+
Everything together is **197.58 KB Brotli**; a widget terminal (base + draw + indicators + widget, what one `createWidget` call loads) is 165.97 KB. Figures are the measured `size-limit` output. The trade tier is listed as its delta over the base, so loading base + trade costs 80.92 KB.
|
|
122
123
|
|
|
123
124
|
## What's built
|
|
124
125
|
|
|
@@ -410,16 +411,16 @@ Enforced in CI by [`size-limit`](./.size-limit.json). Nothing is excluded, becau
|
|
|
410
411
|
|
|
411
412
|
| Bundle | Limit | Actual |
|
|
412
413
|
|---|---|---|
|
|
413
|
-
| Base engine |
|
|
414
|
-
| Base + trade |
|
|
414
|
+
| Base engine | 74 KB | 73.31 KB |
|
|
415
|
+
| Base + trade | 82 KB | 80.92 KB |
|
|
415
416
|
| Indicators tier | 30 KB | 28.05 KB |
|
|
416
417
|
| Draw tier | 26 KB | 25.90 KB |
|
|
417
418
|
| Transform tier | 5 KB | 2.66 KB |
|
|
418
419
|
| Profile tier | 15 KB | 14.96 KB |
|
|
419
420
|
| WebGL2 tier | 7 KB | 6.38 KB |
|
|
420
|
-
| Widget tier |
|
|
421
|
-
| Widget terminal (base + draw + indicators + widget) |
|
|
422
|
-
| **Everything** | **
|
|
421
|
+
| Widget tier | 40 KB | 38.72 KB |
|
|
422
|
+
| Widget terminal (base + draw + indicators + widget) | 168 KB | 165.97 KB |
|
|
423
|
+
| **Everything** | **200 KB** | **197.58 KB** |
|
|
423
424
|
|
|
424
425
|
## Documentation
|
|
425
426
|
|
|
@@ -464,7 +465,7 @@ See [Contributing](./CONTRIBUTING.md) for setup, targeted checks, documentation
|
|
|
464
465
|
```bash
|
|
465
466
|
npm install # install dev toolchain
|
|
466
467
|
npm run typecheck # strict TypeScript check
|
|
467
|
-
npm test # unit tests (vitest) -
|
|
468
|
+
npm test # unit tests (vitest) - 4337 across 193 files
|
|
468
469
|
npm run build # Rollup -> dist/ (minified ESM per tier + types)
|
|
469
470
|
npm run size # size-limit (Brotli) against the budget
|
|
470
471
|
npm run e2e # Playwright Chromium smoke tests
|
|
@@ -481,7 +482,7 @@ npm run verify # lint + typecheck + test + build + demo tests + dts + size +
|
|
|
481
482
|
|
|
482
483
|
## Status & limitations
|
|
483
484
|
|
|
484
|
-
Version **2.1.
|
|
485
|
+
Version **2.1.7**. All engine build phases are implemented. Upgrading a 1.9.x host: [Migrating to 2.0](./docs/migrating-to-2.md).
|
|
485
486
|
|
|
486
487
|
Known gaps, stated plainly:
|
|
487
488
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Library version string. Matches package.json (including locally prepared releases). */
|
|
2
|
-
declare const VERSION = "2.1.
|
|
2
|
+
declare const VERSION = "2.1.7";
|
|
3
3
|
/** Returns the current library version. */
|
|
4
4
|
declare function version(): string;
|
|
5
5
|
|
|
@@ -2495,6 +2495,8 @@ declare class IndicatorFill implements IPrimitive {
|
|
|
2495
2495
|
|
|
2496
2496
|
/** The slice of the chart the runtime needs. Keeps this module testable alone. */
|
|
2497
2497
|
interface IndicatorHost {
|
|
2498
|
+
/** Forget a disposed instance, including disposal through its public handle. */
|
|
2499
|
+
indicatorRemoved?(instanceId: string): void;
|
|
2498
2500
|
/** Optional instrument identity and source-range notifications. */
|
|
2499
2501
|
dataContext?(): Readonly<ChartDataContext> | undefined;
|
|
2500
2502
|
subscribeDataChanges?(listener: (change: IndicatorDataChange) => void): () => void;
|
|
@@ -2700,6 +2702,8 @@ interface IndicatorState {
|
|
|
2700
2702
|
indicatorId: string;
|
|
2701
2703
|
settings: IndicatorSettings;
|
|
2702
2704
|
paneIndex: number;
|
|
2705
|
+
/** Omitted by older layouts, which restore the indicator as visible. */
|
|
2706
|
+
visible?: boolean;
|
|
2703
2707
|
}
|
|
2704
2708
|
interface ChartState {
|
|
2705
2709
|
version: number;
|
|
@@ -4083,6 +4087,7 @@ declare class Chart {
|
|
|
4083
4087
|
indicators(): readonly IndicatorApi[];
|
|
4084
4088
|
/** Remove one indicator instance by its handle id. Returns true if it existed. */
|
|
4085
4089
|
removeIndicator(instanceId: string): boolean;
|
|
4090
|
+
private _forgetIndicator;
|
|
4086
4091
|
/** Optional instrument identity supplied by the host, never inferred from bars. */
|
|
4087
4092
|
getDataContext(): Readonly<ChartDataContext> | undefined;
|
|
4088
4093
|
/** Clear the previous source bars before changing context, then load the new source. */
|
|
@@ -4977,6 +4982,114 @@ declare class SvgContext {
|
|
|
4977
4982
|
private _unsupported;
|
|
4978
4983
|
}
|
|
4979
4984
|
|
|
4985
|
+
type ChartObjectKind = 'source' | 'indicator' | 'drawing' | 'profile';
|
|
4986
|
+
interface ChartObjectCapabilities {
|
|
4987
|
+
readonly select: boolean;
|
|
4988
|
+
readonly visibility: boolean;
|
|
4989
|
+
readonly lock: boolean;
|
|
4990
|
+
readonly remove: boolean;
|
|
4991
|
+
readonly settings: boolean;
|
|
4992
|
+
readonly focus: boolean;
|
|
4993
|
+
}
|
|
4994
|
+
/** One immutable row in a chart's object inventory. */
|
|
4995
|
+
interface ChartObjectSnapshot {
|
|
4996
|
+
readonly id: string;
|
|
4997
|
+
readonly sourceId: string;
|
|
4998
|
+
readonly kind: ChartObjectKind;
|
|
4999
|
+
readonly name: string;
|
|
5000
|
+
readonly paneIndex: number;
|
|
5001
|
+
readonly visible: boolean;
|
|
5002
|
+
readonly locked?: boolean;
|
|
5003
|
+
readonly selected: boolean;
|
|
5004
|
+
readonly dataStatus?: Readonly<IndicatorDataStatus>;
|
|
5005
|
+
readonly capabilities: ChartObjectCapabilities;
|
|
5006
|
+
}
|
|
5007
|
+
/** State supplied by a host for an explicitly managed profile or source. */
|
|
5008
|
+
interface ChartObjectDefinition {
|
|
5009
|
+
kind: ChartObjectKind;
|
|
5010
|
+
name: string;
|
|
5011
|
+
paneIndex?: number;
|
|
5012
|
+
visible?: boolean;
|
|
5013
|
+
locked?: boolean;
|
|
5014
|
+
selected?: boolean;
|
|
5015
|
+
dataStatus?: Readonly<IndicatorDataStatus>;
|
|
5016
|
+
}
|
|
5017
|
+
/** Actions are synchronous and offered only when their callback exists. */
|
|
5018
|
+
interface ChartObjectProvider {
|
|
5019
|
+
id: string;
|
|
5020
|
+
get(): ChartObjectDefinition | null;
|
|
5021
|
+
subscribe?(listener: () => void): () => void;
|
|
5022
|
+
select?(): void;
|
|
5023
|
+
setVisible?(visible: boolean): void;
|
|
5024
|
+
setLocked?(locked: boolean): void;
|
|
5025
|
+
remove?(): void;
|
|
5026
|
+
openSettings?(): void;
|
|
5027
|
+
focus?(): void;
|
|
5028
|
+
}
|
|
5029
|
+
/** Structural contract keeps the base tier independent of drawing code. */
|
|
5030
|
+
interface ChartObjectDrawing {
|
|
5031
|
+
id: string;
|
|
5032
|
+
tool: string;
|
|
5033
|
+
paneIndex: number;
|
|
5034
|
+
points: readonly {
|
|
5035
|
+
time: number;
|
|
5036
|
+
price: number;
|
|
5037
|
+
}[];
|
|
5038
|
+
visible?: boolean;
|
|
5039
|
+
locked?: boolean;
|
|
5040
|
+
}
|
|
5041
|
+
interface ChartObjectDrawingSource {
|
|
5042
|
+
drawings(): readonly ChartObjectDrawing[];
|
|
5043
|
+
get(id: string): ChartObjectDrawing | undefined;
|
|
5044
|
+
selection(): readonly string[];
|
|
5045
|
+
select(id: string | readonly string[] | null, additive?: boolean): void;
|
|
5046
|
+
update(id: string, patch: {
|
|
5047
|
+
visible?: boolean;
|
|
5048
|
+
locked?: boolean;
|
|
5049
|
+
}): void;
|
|
5050
|
+
remove(id: string): boolean;
|
|
5051
|
+
}
|
|
5052
|
+
interface ChartObjectsOptions {
|
|
5053
|
+
drawings?: ChartObjectDrawingSource;
|
|
5054
|
+
/** Opens the host's existing editor for a built-in object. */
|
|
5055
|
+
onSettings?(object: ChartObjectSnapshot): void;
|
|
5056
|
+
}
|
|
5057
|
+
/** Shared object operations for widgets and custom terminals. No DOM is created. */
|
|
5058
|
+
declare class ChartObjects {
|
|
5059
|
+
private readonly _chart;
|
|
5060
|
+
private readonly _options;
|
|
5061
|
+
private readonly _off;
|
|
5062
|
+
private readonly _providers;
|
|
5063
|
+
private readonly _listeners;
|
|
5064
|
+
private _entries;
|
|
5065
|
+
private _rows;
|
|
5066
|
+
private _selected;
|
|
5067
|
+
private _destroyed;
|
|
5068
|
+
private _refreshing;
|
|
5069
|
+
private _pending;
|
|
5070
|
+
constructor(chart: Chart, options?: ChartObjectsOptions);
|
|
5071
|
+
/** Current immutable inventory, also refreshed for hosts with unsignalled provider state. */
|
|
5072
|
+
list(): readonly ChartObjectSnapshot[];
|
|
5073
|
+
get(id: string): ChartObjectSnapshot | undefined;
|
|
5074
|
+
/** Delivers current state immediately, then only inventory changes. */
|
|
5075
|
+
subscribe(listener: (objects: readonly ChartObjectSnapshot[]) => void): () => void;
|
|
5076
|
+
/** Provider IDs receive a custom: prefix and cannot replace built-in objects. */
|
|
5077
|
+
register(provider: ChartObjectProvider): () => void;
|
|
5078
|
+
/** Re-read explicitly registered host state without installing a polling timer. */
|
|
5079
|
+
refresh(): void;
|
|
5080
|
+
select(id: string | null, additive?: boolean): boolean;
|
|
5081
|
+
setVisible(id: string, on: boolean): boolean;
|
|
5082
|
+
setLocked(id: string, on: boolean): boolean;
|
|
5083
|
+
remove(id: string): boolean;
|
|
5084
|
+
openSettings(id: string): boolean;
|
|
5085
|
+
focus(id: string): boolean;
|
|
5086
|
+
private _act;
|
|
5087
|
+
private _read;
|
|
5088
|
+
private _focusDrawing;
|
|
5089
|
+
/** Detach this observer and its providers, leaving chart objects in place. */
|
|
5090
|
+
destroy(): void;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
4980
5093
|
/** The color as rgba() with the given alpha (parse failure returns the input). */
|
|
4981
5094
|
declare function withAlpha(color: string, alpha: number): string;
|
|
4982
5095
|
|
|
@@ -8449,4 +8562,4 @@ declare function lerp(a: number, b: number, t: number): number;
|
|
|
8449
8562
|
*/
|
|
8450
8563
|
declare function roundToTick(value: number, step: number): number;
|
|
8451
8564
|
|
|
8452
|
-
export { ALT_PRESET, type AddSeriesOptions, type AggTick, type AxisChromeOptions, type AxisStyle, BAR_CACHE_VERSION, BUILTIN_COMMANDS, type Bar, BarCache, type BarCacheOptions, type BarCacheStats, type BarCacheStore, type BarSubscriptionOptions, type BarUpdate, type BarsPage, type BarsPageRequest, type BarsRequest, 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 ChartDragEndEvent, type ChartDragEvent, type ChartEvent, type ChartEventOptions, type ChartNavigationOptions, type ChartOptions, type ChartSettingsColorPairInput, type ChartSettingsInput, type ChartSettingsState, type ChartSettingsTab, type ChartSettingsTabId, type ChartSettingsValue, type ChartSettingsValues, type ChartState, ChartTable, type ChartTableOptions, type ChartTheme, type ComparisonAlignment, 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, 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 IndicatorAlertSpec, type IndicatorApi, type IndicatorAttachContext, IndicatorBackground, type IndicatorCalcContext, type IndicatorDataChange, type IndicatorDataStatus, type IndicatorDescriptor, type IndicatorDrawing, IndicatorDrawings, IndicatorFill, type IndicatorFillOptions, type IndicatorFillSpec, type IndicatorHost, type IndicatorInput, type IndicatorLevel, type IndicatorLevelContext, type IndicatorLineStyle, type IndicatorPlot, type IndicatorSettings, type IndicatorSource, type IndicatorState, type IndicatorStore, type IndicatorValues, 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 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 PlotMarginOptions, type PointerInfo, type PointerKind, type PointerModifiers, type PointerSample, type PositionSide, type PriceAxisState, 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 ReplayChartHost, ReplayController, type ReplayOptions, type ReplayScheduler, ReplayShade, type ReplayShadeOptions, type ReplayState, 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 TradingColors, TradingController, type TradingHost, type TradingLineStyle, type TradingLineVariant, 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, alignToPrimary, applyChartSettings, atr, autoscaleRange, backendDegradation, backoffDelayMs, barCacheKey, barCloseSec, beginPick, bestHit, bitmapSize, bucketStartOf, calendarPeriodFlags, candleGeometry, candleTier, chartSettingsSchema, clamp, classifyAuthAck, compactVolume, comparisonController, computePriceLevels, conflateBars, conflateItems, conflationGroupSize, createChart, createLinkGroup, createRenderBackend, darkTheme, dashPattern, decodeOrder, drawLabel, drawShape, effectiveMarkerPx, ema, emaSeries, epochMsToUtcSeconds, eventToCombo, followerIndex, followerRange, formatCombo, formatIstCrosshairLabel, formatIstDate, formatIstTime, formatIstTimeSeconds, formatSubscribe, formatUnsubscribe, formatZonedCrosshairLabel, formatZonedDate, formatZonedTime, formatZonedTimeSeconds, fromGradient, generateBars, getChartType, getIndicator, hasIndicator, inSessionAt, indicatorDefaults, indicatorStyleInputs, intervalParts, intervalToSeconds, isDailyInterval, isIntradayInterval, isKnownInterval, isNewIstDay, isNewZonedDay, isNewZonedMonth, isNewZonedPeriod, isNewZonedQuarter, isNewZonedWeek, isNewZonedYear, isRebasing, isReservedCombo, isSecondsInterval, isTickInterval, isTimeBucketed, isValidCombo, isValidTimezone, isWhitespace, istStringToUtcSeconds, lastPriceLevelFromSeriesStyle, lerp, lightTheme, mapHistoryResponse, mapOrder, mapOrderStatus, mapPosition, markerSizePx, mergeBars, nextBucketStart, niceTicks, normalizeCombo, optimalBarWidth, parseCombo, parseMessage, parseSessionSpec, parseTopic, plotStyleKeys, precisionForStep, readChartSettings, readSequence, registerChartType, registerIndicator, registerInterval, registerRenderBackend, 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, unregisterInterval, unregisterRenderBackend, utcSecondsToIstDateString, utcSecondsToIstParts, utcSecondsToZonedDateString, utcSecondsToZonedParts, version, verticalGradient, watermarkRect, withAlpha, withBarCache, zoneOffsetSeconds, zonedDayIndex, zonedStringToUtcSeconds, zonedWallClockToUtcSeconds, zonedWeekIndex };
|
|
8565
|
+
export { ALT_PRESET, type AddSeriesOptions, type AggTick, type AxisChromeOptions, type AxisStyle, BAR_CACHE_VERSION, BUILTIN_COMMANDS, type Bar, BarCache, type BarCacheOptions, type BarCacheStats, type BarCacheStore, type BarSubscriptionOptions, type BarUpdate, type BarsPage, type BarsPageRequest, type BarsRequest, 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 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 ComparisonAlignment, 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, 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 IndicatorAlertSpec, type IndicatorApi, type IndicatorAttachContext, IndicatorBackground, type IndicatorCalcContext, type IndicatorDataChange, type IndicatorDataStatus, type IndicatorDescriptor, type IndicatorDrawing, IndicatorDrawings, IndicatorFill, type IndicatorFillOptions, type IndicatorFillSpec, type IndicatorHost, type IndicatorInput, type IndicatorLevel, type IndicatorLevelContext, type IndicatorLineStyle, type IndicatorPlot, type IndicatorSettings, type IndicatorSource, type IndicatorState, type IndicatorStore, type IndicatorValues, 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 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 PlotMarginOptions, type PointerInfo, type PointerKind, type PointerModifiers, type PointerSample, type PositionSide, type PriceAxisState, 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 ReplayChartHost, ReplayController, type ReplayOptions, type ReplayScheduler, ReplayShade, type ReplayShadeOptions, type ReplayState, 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 TradingColors, TradingController, type TradingHost, type TradingLineStyle, type TradingLineVariant, 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, alignToPrimary, applyChartSettings, atr, autoscaleRange, backendDegradation, backoffDelayMs, barCacheKey, barCloseSec, beginPick, bestHit, bitmapSize, bucketStartOf, calendarPeriodFlags, candleGeometry, candleTier, chartSettingsSchema, clamp, classifyAuthAck, compactVolume, comparisonController, computePriceLevels, conflateBars, conflateItems, conflationGroupSize, createChart, createLinkGroup, createRenderBackend, darkTheme, dashPattern, decodeOrder, drawLabel, drawShape, effectiveMarkerPx, ema, emaSeries, epochMsToUtcSeconds, eventToCombo, followerIndex, followerRange, formatCombo, formatIstCrosshairLabel, formatIstDate, formatIstTime, formatIstTimeSeconds, formatSubscribe, formatUnsubscribe, formatZonedCrosshairLabel, formatZonedDate, formatZonedTime, formatZonedTimeSeconds, fromGradient, generateBars, getChartType, getIndicator, hasIndicator, inSessionAt, indicatorDefaults, indicatorStyleInputs, intervalParts, intervalToSeconds, isDailyInterval, isIntradayInterval, isKnownInterval, isNewIstDay, isNewZonedDay, isNewZonedMonth, isNewZonedPeriod, isNewZonedQuarter, isNewZonedWeek, isNewZonedYear, isRebasing, isReservedCombo, isSecondsInterval, isTickInterval, isTimeBucketed, isValidCombo, isValidTimezone, isWhitespace, istStringToUtcSeconds, lastPriceLevelFromSeriesStyle, lerp, lightTheme, mapHistoryResponse, mapOrder, mapOrderStatus, mapPosition, markerSizePx, mergeBars, nextBucketStart, niceTicks, normalizeCombo, optimalBarWidth, parseCombo, parseMessage, parseSessionSpec, parseTopic, plotStyleKeys, precisionForStep, readChartSettings, readSequence, registerChartType, registerIndicator, registerInterval, registerRenderBackend, 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, unregisterInterval, unregisterRenderBackend, utcSecondsToIstDateString, utcSecondsToIstParts, utcSecondsToZonedDateString, utcSecondsToZonedParts, version, verticalGradient, watermarkRect, withAlpha, withBarCache, zoneOffsetSeconds, zonedDayIndex, zonedStringToUtcSeconds, zonedWallClockToUtcSeconds, zonedWeekIndex };
|