PulseTrade.Comm.Spa.Dynamic.Ptcs.Client
0.1.0-alpha8-win55
dotnet add package PulseTrade.Comm.Spa.Dynamic.Ptcs.Client --version 0.1.0-alpha8-win55
NuGet\Install-Package PulseTrade.Comm.Spa.Dynamic.Ptcs.Client -Version 0.1.0-alpha8-win55
<PackageReference Include="PulseTrade.Comm.Spa.Dynamic.Ptcs.Client" Version="0.1.0-alpha8-win55" />
<PackageVersion Include="PulseTrade.Comm.Spa.Dynamic.Ptcs.Client" Version="0.1.0-alpha8-win55" />
<PackageReference Include="PulseTrade.Comm.Spa.Dynamic.Ptcs.Client" />
paket add PulseTrade.Comm.Spa.Dynamic.Ptcs.Client --version 0.1.0-alpha8-win55
#r "nuget: PulseTrade.Comm.Spa.Dynamic.Ptcs.Client, 0.1.0-alpha8-win55"
#:package PulseTrade.Comm.Spa.Dynamic.Ptcs.Client@0.1.0-alpha8-win55
#addin nuget:?package=PulseTrade.Comm.Spa.Dynamic.Ptcs.Client&version=0.1.0-alpha8-win55&prerelease
#tool nuget:?package=PulseTrade.Comm.Spa.Dynamic.Ptcs.Client&version=0.1.0-alpha8-win55&prerelease
PulseTrade.Comm.Spa.Dynamic.Ptcs.Client
Pure WebSharper F# client adapter for the PTCS same-session transient channel.
Boundary
- Connects only to the current origin
/sync/ws; callers cannot inject an upstream URL or credential. - Sends
extension-transientframes and consumesta-browser.v3columnar payloads. - Projects bounded, non-recursive browser wire data into
RuntimeStateand renders throughPulseTrade.Comm.Spa.Dynamic.Renderer. - Projects server query metadata into
TaWorkspaceDocument.DefaultView;browser不再自行發明TXF/5m/date defaults。 - Does not own PTCS authentication, ACL, SQL, market-data access, persistence, or the canonical reducer.
API
TaResearchTransientClient.mountById
"app"
"ta-research"
"workspace-main"
"canvas-main"
需要由host page控制active/dispose時使用:
let handle =
TaResearchTransientClient.mountByIdWithOptions
"app"
"ta-research"
"workspace-main"
"canvas-main"
TaClientLifecycle.defaults
handle.SetActive false
handle.SetActive true
handle.RequestJsonExport()
handle.Dispose()
client lifecycle保證one-in-flight action/poll、timeout/backoff、bounded reconnect、full snapshot resync與terminal dispose。server-side validation rejection是CommandRejected,不會關閉仍健康的WebSocket;它只使用same-origin WebSocket,不做HTTP polling。
TA durable reply只保存compact layout/query descriptor,不含OHLCV或indicator arrays。RequestJsonExport會要求authoritative full wire,browser下載yyyyMMddHHmmss-<GUID>.json,其中含timeline、OHLCV、indicator series、query/provider metadata與revision。collapsed reply平時仍為zero-resource;明確點下載時使用requestJsonExportOnce建立bounded headless channel,完成後立即dispose。
The PTCS host must register the same extensionId with PulseTrade.Comm.Spa.Dynamic.Ptcs.TaResearchTransientServer.register.
Current exact package is PulseTrade.Comm.Spa.Dynamic.Ptcs.Client 0.1.0-alpha8-win55, consuming Renderer [0.1.0-alpha25]。Browser revision fields use JSON-safe numbers and are validated back to domain int64 at the server boundary;dispose waits for the transient close response before closing its dedicated socket。Add/Remove Row、Change Query、full-data export與Reset Canvas都走同一one-in-flight typed action channel。Export在data revision為0時先送一次immediate PollDelta取得snapshot,再要求authoritative full state;不依賴固定poll sleep。Initial transient bootstrap now renders as lifecycle progress rather than document unavailable。
| Product | Versions 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. |
-
net10.0
- FSharp.Core (>= 10.1.301)
- PulseTrade.Comm.Spa (= 0.2.5-beta112)
- PulseTrade.Comm.Spa.Dynamic.Contracts (= 0.1.0-alpha5)
- PulseTrade.Comm.Spa.Dynamic.Renderer (= 0.1.0-alpha25)
- WebSharper.FSharp (>= 10.1.6.676)
- WebSharper.UI (>= 10.1.5.676)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PulseTrade.Comm.Spa.Dynamic.Ptcs.Client:
| Package | Downloads |
|---|---|
|
PulseTrade.Comm.Spa.Host.TAResearch.Client
PTCS Host page composition for the Dynamic TA Research transient client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha8-win55 | 64 | 7/15/2026 |
| 0.1.0-alpha8-win54 | 58 | 7/15/2026 |
| 0.1.0-alpha8-win52 | 61 | 7/15/2026 |
| 0.1.0-alpha8-win47 | 57 | 7/14/2026 |
| 0.1.0-alpha8-win46 | 59 | 7/14/2026 |
| 0.1.0-alpha8-win45 | 51 | 7/14/2026 |
| 0.1.0-alpha8-win44 | 57 | 7/14/2026 |
| 0.1.0-alpha8-win43 | 59 | 7/14/2026 |
| 0.1.0-alpha8-win42 | 53 | 7/14/2026 |
| 0.1.0-alpha8-win41 | 61 | 7/14/2026 |
| 0.1.0-alpha8-win40 | 61 | 7/14/2026 |
| 0.1.0-alpha8-win19 | 58 | 7/13/2026 |
| 0.1.0-alpha8-win17 | 62 | 7/13/2026 |
| 0.1.0-alpha7-win9 | 58 | 7/12/2026 |
| 0.1.0-alpha7-win8 | 58 | 7/12/2026 |
| 0.1.0-alpha7-win13 | 56 | 7/13/2026 |
| 0.1.0-alpha7-win12 | 60 | 7/12/2026 |
| 0.1.0-alpha7-win11 | 58 | 7/12/2026 |
| 0.1.0-alpha7-win10 | 60 | 7/12/2026 |