PulseTrade.Comm.Spa.Dynamic.Renderer 0.1.0-alpha38

This is a prerelease version of PulseTrade.Comm.Spa.Dynamic.Renderer.
There is a newer version of this package available.
See the version list below for details.
dotnet add package PulseTrade.Comm.Spa.Dynamic.Renderer --version 0.1.0-alpha38
                    
NuGet\Install-Package PulseTrade.Comm.Spa.Dynamic.Renderer -Version 0.1.0-alpha38
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PulseTrade.Comm.Spa.Dynamic.Renderer" Version="0.1.0-alpha38" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PulseTrade.Comm.Spa.Dynamic.Renderer" Version="0.1.0-alpha38" />
                    
Directory.Packages.props
<PackageReference Include="PulseTrade.Comm.Spa.Dynamic.Renderer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PulseTrade.Comm.Spa.Dynamic.Renderer --version 0.1.0-alpha38
                    
#r "nuget: PulseTrade.Comm.Spa.Dynamic.Renderer, 0.1.0-alpha38"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PulseTrade.Comm.Spa.Dynamic.Renderer@0.1.0-alpha38
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PulseTrade.Comm.Spa.Dynamic.Renderer&version=0.1.0-alpha38&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PulseTrade.Comm.Spa.Dynamic.Renderer&version=0.1.0-alpha38&prerelease
                    
Install as a Cake Tool

PulseTrade.Comm.Spa.Dynamic.Renderer

基於PulseTrade.Comm.Spa.Dynamic.Contracts的pure WebSharper F# TA workspace renderer。

Responsibility

  • owns:DOM/SVG chart layout、bounded local viewport、row visibility、compact query/Add Row UI、typed action callback。
  • does not own:PTCS、WebSocket、SQL、market-data provider、credential、ACL或authorization。
  • local-only:pan、zoom、row toggle、Reset View。
  • remote typed action:Change Query、Add Row、Remove Row、Reset Canvas;每個row以toggle + 固定寬度remove control呈現,remote command in-flight時remove同樣disabled。
  • shared research view:同一visible index驅動各row crosshair/cursor values;transport timestamp壓成MM-dd HH:mm,OHLC detail可換行,時間標籤在SVG外以HTML grid呈現,避免mobile非等比縮放文字。
  • status:保留freshness、watermark、quality與recoverable last-good error;remote in-flight只禁用remote submit,不凍結local view。
  • query draft:只從TaWorkspaceDocument.DefaultViewquery.* metadata初始化;document revision不變的poll不覆蓋使用者輸入,metadata缺失時保持空白,禁止回退到demo symbol/interval/date。
  • Apply boundary:instrument/interval/range只更新local draft;選擇interval不送action、不改authoritative query、不重render,按Load / Apply才送一次ChangeTaQuery
  • loaded range:browser可保留2000 points;overview以bounded bucket呈現全range,左右handle可resize,中段可move,48/200/All可切換。drag只更新draft,pointer release/change才commit一次render,local navigation不送server action;All模式可把2000 points壓縮成bounded SVG primitives觀察長趨勢。
  • Add/Edit Row:由TaWorkspaceDocument.EditorSchemas生成generic Text/Integer/Decimal/Boolean/Choice/Scale/List/Group表單;同template可建立多個參數實例。帶ptcs.dynamic.editor.binding.v1的row可預填並以stable RowId重新設定;legacy無binding row保持read-only。editor draft不會被poll覆蓋。
  • Reset Canvas:送remote typed action恢復mount時initial ordered rows/query;Reset View只恢復local viewport。
  • timeline:各trace依timestamp對齊reference timeline;SMA/ADX/MACD warm-up縮短不會用array index錯位或造成sequence failure。
  • temporal projection:TemporalPoint明確指定source interval與projection;coarse K棒用CandleSpan跨base slots,coarse line用RepeatAcrossBaseBuckets,只在close後可知的indicator用StepAfterClose,避免look-ahead。
  • multi-candle:同一row可同時畫1K/5K等多個candlestick traces;base candle維持實心,coarse candle以trace色outline/dashed wick呈現並保留source interval metadata。
  • cursor/style:K棒、line point與cross-row cursor共用slot-center幾何;indicator line width為1.25,histogram維持1.0。

API

TaWorkspaceRenderer.render
    TaWorkspaceRenderer.defaultOptions
    callbacks
    runtimeState

runtimeStateVar<RuntimeState>;host adapter負責strict frame decode/reducer與更新Var。正式runtime從current document讀editor catalog;TaRendererOptions.EditorSchemas只作standalone/test fallback。callbacks.SubmitAction接收含RequestId/revision的DynamicActionRequest並回DynamicActionResult;Add使用ApplyTemplate(None, ...),Edit使用ApplyTemplate(Some rowId, ...),不提供arbitrary URL、SQL或raw credential。

Verification

  • exact-package model/dependency/source tests:tests/PulseTrade.Comm.Spa.Dynamic.Renderer.Tests
  • exact-package live bundle:tests/PulseTrade.Comm.Spa.Dynamic.Renderer.BrowserDemo
  • desktop/mobile F# Playwright:scripts/verify-ta-renderer-playwright.fsx
  • current exact package:PulseTrade.Comm.Spa.Dynamic.Renderer 0.1.0-alpha37。Current model gate 22/22;isolated F# Playwright使用2000-point與multi-scale fixture連續通過Add/Edit/reject、navigator release、shared cursor及desktop/mobile geometry。
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on PulseTrade.Comm.Spa.Dynamic.Renderer:

Package Downloads
PulseTrade.Comm.Spa.Dynamic.Ptcs.Client

Pure WebSharper same-origin PTCS transient client adapter for Dynamic TA Research.

PulseTrade.Comm.Spa.Dynamic.Interactive.Client

Transport-neutral WebSharper client shell for embedding the Dynamic SDUI runtime in interactive hosts.

PulseTrade.MarketData.E2EQuotation.Dynamic.Browser

Bounded pure WebSharper E2EQuotation adapter for the shared Dynamic TA renderer.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.6 0 9/9/2026
0.1.3 0 9/9/2026
0.1.1 32 9/8/2026
0.1.0-alpha9 71 7/12/2026
0.1.0-alpha8 71 7/12/2026
0.1.0-alpha7 70 7/12/2026
0.1.0-alpha49 29 9/8/2026
0.1.0-alpha48 29 9/8/2026
0.1.0-alpha46 30 9/8/2026
0.1.0-alpha45 55 9/8/2026
0.1.0-alpha39 43 9/8/2026
0.1.0-alpha38 56 9/6/2026
0.1.0-alpha25 88 7/15/2026
0.1.0-alpha24 73 7/15/2026
0.1.0-alpha19 93 7/14/2026
0.1.0-alpha18 88 7/14/2026
0.1.0-alpha12 89 7/13/2026
0.1.0-alpha11 66 7/12/2026
0.1.0-alpha10 72 7/12/2026