@iccandle/widget-web-trading 0.0.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/README.md +26 -0
- package/dist/web-trading-widget.cjs +95 -0
- package/dist/web-trading-widget.css +1 -0
- package/dist/web-trading-widget.d.ts +180 -0
- package/dist/web-trading-widget.js +19996 -0
- package/package.json +83 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# widget-web-trading
|
|
2
|
+
|
|
3
|
+
Standalone Vite + React trading chart widget.
|
|
4
|
+
|
|
5
|
+
## Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install
|
|
9
|
+
npm run dev
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Open http://localhost:3002
|
|
13
|
+
|
|
14
|
+
## Notes
|
|
15
|
+
|
|
16
|
+
- Copied from `frontend-opheleo-dashboard` chart page and all related components.
|
|
17
|
+
- Uses the same API endpoints — set auth tokens in localStorage (`session_token`, `access_token`) for live data.
|
|
18
|
+
- TradingView charting library is in `public/charting_library/`.
|
|
19
|
+
|
|
20
|
+
## Project structure
|
|
21
|
+
|
|
22
|
+
- `src/App.tsx` — chart page entry
|
|
23
|
+
- `components/dashboard/chart/` — chart UI and trading panels
|
|
24
|
+
- `services/dashboard/chart/` — dealer API and parsers
|
|
25
|
+
- `public/charting_library/` — TradingView library assets
|
|
26
|
+
# widget-web-trading
|