Custom Web Chart Starter
Your own browser chart: a minimal Vite + Vela starter that renders OHLCV bars you supply. No network request, no order execution. Vela itself is installed from its official package, not redistributed by BSV.
自分のブラウザーチャートを作る道。用意したOHLCVデータを表示する最小限のVite+Velaスターターです。通信も発注もしません。Vela本体はBSVが再配布せず、公式パッケージから入れます。
Not runtime tested実行検証なし ORIGINAL BSV SOURCE
Vela is the custom-chart path: you own the page, the data source, the theme, indicators and drawings, and how the chart is embedded in your own product.Velaは「チャートそのものを作る」道です。ページ・データの取得元・テーマ・指標・描画・自分の製品への埋め込み方を自分で決められます。
Open code — free email verificationメール確認してコードを開く(無料)
Summaries are public. Viewing, copying and downloading BSV-provided source requires free email verification.解説は登録なしで読めます。BSVが提供するコードの閲覧・コピー・ダウンロードには無料のメール確認が必要です。
How to use使い方
- Create a Vite project and install Vela from its official package (npm install @luxalgo/vela); review its license.
- Copy the BSV starter files (index.html, starter.js, package.json).
- Replace the sample bars with your own OHLCV data: { time (epoch ms), open, high, low, close, volume }.
- Run npm run dev, then add indicators, drawings or a reviewed scripting engine one at a time.
- Viteのプロジェクトを作り、Velaを公式パッケージから入れます(npm install @luxalgo/vela)。ライセンスも確認します。
- BSVのスターター(index.html・starter.js・package.json)をコピーします。
- サンプルのローソク足を自分のOHLCVデータ(time〔エポックミリ秒〕・open・high・low・close・volume)に置き換えます。
- npm run devで起動し、指標・描画・確認済みのスクリプトエンジンを1つずつ足します。
Verification scope確認の範囲
| Source出典 | ORIGINAL BSV source, MIT licenseBSVオリジナルのソース・MITライセンス |
| Catalog statusカタログ上の状態 | Not runtime tested実行検証なし |
| Compile / build on the platformプラットフォームでのコンパイル・ビルド | Not performed by BSVBSVでは未実施 |
| Backtest / demo / live runバックテスト・デモ・実運用 | Not performed未実施 |
| Order placement発注機能 | None — visual/alert starter onlyなし(表示・アラートのみ) |
Official references公式資料
Filesファイル
README.md · 1338 bytesindex.html · 433 bytespackage.json · 226 bytesstarter.js · 699 bytes