Skip to main content

Platform API Contract

This page defines which HyperionX code and integration surfaces public developers can depend on. It is a status and compatibility boundary, not a dump of internal desktop classes.

The release baseline is HyperionX 1.1.10.0. The active development working tree also contains an unreleased SDK runtime adapter; that adapter remains Preview until it ships with a frozen compatibility contract.

Status Definitions

StatusContract
CurrentShipped in the reviewed release and documented for the stated public use.
PreviewImplemented or present in the active development tree, but packaging, compatibility, onboarding, or safety behavior is not yet a stable public contract.
InternalUsed by HyperionX itself; third-party code must not depend on it.
UnavailableNo supported public workflow exists.
RoadmapDirection only. No callable contract is promised.

Public Surface Map

SurfaceStatusPublic boundary
Generated HyperionX.Custom script runtimeCurrentEstablished 1.1.10 contract for Code Lab indicators and strategies.
Add-ons and chart render interfacesCurrent, narrowUse only the documented lifecycle/context or render-context members. Desktop windows and view models remain Internal.
Custom bar and research extension familiesPreviewCandidate source and installer-manifest entries include supporting/default modules, but the exact clean, signed installer has not completed installation and discovery validation. Verify the target build.
HyperionX.SDK.dll as a reference assemblyCurrentCode Lab can reference the assembly. Reference availability alone does not guarantee runtime activation.
HyperionX.SDK runtime host adapterPreview, unreleasedPresent in the active development tree and wired into its build/runtime generation path. It is not an established 1.1.10 release contract.
Local Desktop HTTP APIPreviewLoopback-only, token-authenticated, capability-discovered interface. Public token onboarding and schema stability are incomplete.
Agent Builder context/profile modelPreviewIn-app profile filtering and advisory configuration. It is not a standalone SDK or a per-token API scope.
Provider adapters and desktop servicesInternalDo not reference provider, WPF, controller, database, licensing, or build-service implementations.
Managed Rion cloud desktop bridgeInternalNot a third-party integration endpoint.
Marketplace packages and follower APIsInternal / UnavailableNo supported public publishing, package-install, or follower-routing contract.
hx command-line interfaceUnavailable / RoadmapNo supported CLI ships with this release.

Established Code Lab Contract

HyperionX 1.1.10 builds one custom project rooted at:

%USERPROFILE%\Documents\HyperionX\Bin\Custom
ExtensionNamespacePublic baseStatus
IndicatorHyperionX.Custom.IndicatorsIndicatorCurrent
StrategyHyperionX.Custom.StrategiesStrategyCurrent
Add-onHyperionX.Custom.AddonsAddonBaseCurrent, narrow
Bar typeHyperionX.Custom.BarTypesDocumented bar-type basePreview
OptimizerHyperionX.Custom.OptimizersOptimizerPreview
Optimization fitnessHyperionX.Custom.OptimizationFitnessesOptimizationFitnessPreview
Money managementHyperionX.Custom.MoneyManagementsMoneyManagementPreview
CommissionHyperionX.Custom.CommissionsCommissionPreview

Use the exact installed templates and Extension Type Catalog before choosing a namespace or base. Do not infer a contract from a class found elsewhere in the desktop source.

Lifecycle And Data

The normal indicator/strategy contract is built around:

  • OnStateChanged() for defaults and runtime configuration;
  • OnBarUpdate() for bar-driven logic;
  • supported update hooks documented in Lifecycle Reference;
  • Open, High, Low, Close, Volume, DateTime, and Input series;
  • CurrentBar and the documented multi-series collections;
  • Series<double>, Plot, AddSeries(...), and supported plot registration;
  • public drawing, rendering, and managed strategy-order helpers.

Use Code Lab API Reference for a quick member map and the dedicated reference pages for signatures and lifecycle detail.

Parameters And Generated Helpers

Editable script settings use [HyperionXProperty] together with supported .NET metadata such as [Display], range validation, and XML/serialization attributes where documented.

Indicator convenience helpers are generated from compilable public indicator classes and supported parameters. A green editor build is not the final runtime test: runtime activation performs a separate authoritative compile/load pass. See Parameters And Generated Helpers and Build, Test, And Debug.

Orders

Strategies should use the documented managed entry, exit, stop, and target helpers for normal workflows. Direct SubmitOrder(...) use transfers working-order tracking, partial-fill handling, cancel/replace behavior, and OCO coordination to the extension.

No script API removes the need to verify the selected account and provider state. Test with LocalPaper. Playback does not select it automatically; the current release-candidate account guard rejects Broker and Server Paper order mutations while Playback is active.

Preview SDK Runtime Adapter

The active development working tree contains runtime hosts and source generation that adapt HyperionX.SDK indicator and strategy bases into the desktop calculation engine. This changes the earlier reference-only state, but it does not retroactively make the adapter a stable 1.1.10 API.

Until a release promotes it:

  • use the generated HyperionX.Custom model for release-compatible customer extensions;
  • do not advertise an SDK-based extension as 1.1.10 compatible;
  • do not depend on adapter-generated class names or internal host implementation details;
  • retest discovery, parameters, lifecycle, plots, orders, unload, and rebuild behavior against the signed target package.

Local Desktop API Preview

The local HTTP interface binds to 127.0.0.1, tries ports 5217 through 5226, and requires the desktop token for requests other than CORS preflight. It exposes capability discovery and scoped chart, news, drawing, Code Lab, research, chat, and trading-action routes. The 1.1.10 baseline limits trading actions to Hyperion Sim; newer release-enabled builds can additionally expose guarded Hyperliquid and KuCoin live actions.

The contract is capability-driven: a client must inspect the installed build instead of assuming a route or entitlement. Current limitations include:

  • no supported public UI for copying or rotating an app-generated token;
  • no public OpenAPI document or generated client;
  • no chart identifier for multi-chart targeting;
  • no streaming route;
  • no supported live-order HTTP route in the 1.1.10 baseline; newer Hyperliquid and KuCoin support is release-gated and capability-discovered;
  • no stable compatibility guarantee beyond the installed capability response.

Agent Builder profile settings do not scope the global HTTP token. A request confirmation field is supplied by the caller and does not create an independent desktop approval dialog.

Use Local Desktop API for shared routes, authentication, permissions, and audit records. Use Local Agent Live Trading API only when the installed build explicitly enables the release-gated live workflow.

Internal Boundaries

Public extensions and integrations must not depend on:

  • WPF windows, controls, view models, or dispatch implementation beyond the documented add-on context;
  • concrete provider adapters, credentials, sessions, or native SDK wrappers;
  • desktop controllers, build services, licensing services, repositories, database entities, or file formats;
  • managed Rion bridge transport or cloud command envelopes;
  • Marketplace endpoints, authorization flows, package proofs, follower messages, or storage formats;
  • undocumented members exposed through a broad object such as an internal session reference.

An internal type being public in a .NET assembly is not a promise of compatibility.

Compatibility Rules

  1. Record the exact HyperionX version used to build and test an extension.
  2. Compile and activate it in a clean installed environment, not only a source checkout.
  3. Use only members documented as Current or an explicitly accepted Preview dependency.
  4. Treat a platform upgrade as a compatibility event; rebuild and rerun lifecycle, data, and order tests.
  5. Keep class names unique across the shared custom project.
  6. Package source only through the documented reviewable source workflow.
  7. Do not bundle credentials, customer data, compiled platform assemblies, or internal endpoints.
  8. Document provider, entitlement, and Preview dependencies for users.

Where To Continue