@lightfin/core 0.0.1 → 0.0.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 +14 -12
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -10,8 +10,9 @@ persistence, and the trading UI stay with the host. It is not a backtesting
|
|
|
10
10
|
engine, a data service, or an order-entry UI — `onOrderIntent` fires
|
|
11
11
|
price and coordinates so the host can open its own form.
|
|
12
12
|
|
|
13
|
-
Part of the [Lightfin monorepo](
|
|
14
|
-
|
|
13
|
+
Part of the [Lightfin monorepo](https://github.com/lightfin-io/lightfin-mono/).
|
|
14
|
+
Open work is in
|
|
15
|
+
[ROADMAP.md](https://github.com/lightfin-io/lightfin-mono/blob/main/ROADMAP.md).
|
|
15
16
|
|
|
16
17
|
## Install
|
|
17
18
|
|
|
@@ -85,19 +86,20 @@ const sma = await chart.addIndicator(import('@lightfin/core/indicators/sma'), {
|
|
|
85
86
|
The package entry is the chart engine, series, axes, and crosshair. Everything
|
|
86
87
|
else is opt-in:
|
|
87
88
|
|
|
88
|
-
| Import
|
|
89
|
-
|
|
|
90
|
-
| `@lightfin/core`
|
|
91
|
-
| `@lightfin/core/indicators/<id>`
|
|
92
|
-
| `@lightfin/core/annotations`
|
|
93
|
-
| `@lightfin/core/annotations/schema` | JSON Schema for AI-driven drawings
|
|
94
|
-
| `@lightfin/core/chrome`
|
|
95
|
-
| `@lightfin/core/price-lines`
|
|
96
|
-
| `@lightfin/core/event-tags`
|
|
89
|
+
| Import | What it adds |
|
|
90
|
+
| ----------------------------------- | ----------------------------------------------- |
|
|
91
|
+
| `@lightfin/core` | Chart engine, series, axes, crosshair, pan/zoom |
|
|
92
|
+
| `@lightfin/core/indicators/<id>` | One indicator, usually via dynamic `import()` |
|
|
93
|
+
| `@lightfin/core/annotations` | Drawing tools |
|
|
94
|
+
| `@lightfin/core/annotations/schema` | JSON Schema for AI-driven drawings |
|
|
95
|
+
| `@lightfin/core/chrome` | HUD, legend, toolbars, clock |
|
|
96
|
+
| `@lightfin/core/price-lines` | Order and position price lines |
|
|
97
|
+
| `@lightfin/core/event-tags` | Earnings and dividend tags |
|
|
97
98
|
|
|
98
99
|
## Development
|
|
99
100
|
|
|
100
|
-
From the monorepo root (see the
|
|
101
|
+
From the monorepo root (see the
|
|
102
|
+
[root README](https://github.com/lightfin-io/lightfin-mono/)):
|
|
101
103
|
|
|
102
104
|
```sh
|
|
103
105
|
bun run dev # this package's /demo playground
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightfin/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "A powerful, lightweight, dependency-free financial charting library for the web.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"homepage": "https://lightfin.io",
|
|
7
8
|
"publishConfig": {
|
|
8
9
|
"access": "public"
|
|
9
10
|
},
|