developers:chart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developers:chart [2026/07/01 19:36] juandevelopers:chart [2026/07/31 17:09] (current) – [Enumerations] frank
Line 446: Line 446:
 </code> </code>
  
-==== .NET: T4APIDemo ====+==== .NET ====
  
 The .NET reference decoder can be found at [[https://www.nuget.org/packages/Plus500US.T4ChartDecoder]]. It mirrors the JavaScript and Python decoders (same class, handler and ``ChartDataState`` field names) for 1:1 parity across all implementations. The .NET reference decoder can be found at [[https://www.nuget.org/packages/Plus500US.T4ChartDecoder]]. It mirrors the JavaScript and Python decoders (same class, handler and ``ChartDataState`` field names) for 1:1 parity across all implementations.
Line 485: Line 485:
 === MarketMode === === MarketMode ===
 Exchange session lifecycle state (the ``marketMode`` field in JSON, and ``state.Mode`` / ``onModeChange`` in binary). Exchange session lifecycle state (the ``marketMode`` field in JSON, and ``state.Mode`` / ``onModeChange`` in binary).
- +^ Value ^ Name             Description 
-^ Value ^ Name               ^ Value ^ Name             +| 0     | ``Undefined``      No mode known yet (initial state, or an unrecognized value from the feed — the get() helpers map anything unknown here). | 
-| 0     | ``Undefined``          | ``Failed``       +| 1     | ``PreOpen``        | Pre-open session: the exchange accepts, modifies, and cancels orders but does no matching. Precedes the open (often with an opening auction). 
-    | ``PreOpen``            | ``PreCross``     +    | ``Open``           Normal continuous trading — orders are matched in real time. | 
-    | ``Open``           10    | ``Cross``        +| 3     | ``RestrictedOpen`` | Market is open but with restrictions on activity (e.g. limited order types or actions allowed, reduced trading session). 
-    | ``RestrictedOpen`` |  11    | ``Expired``      +    | ``PreClosed``      Pre-close phase: the wind-down period just before the session closes, typically with restricted activity ahead of the closing process. | 
-    | ``PreClosed``      12    | ``Rejected``     +| 5     | ``Closed``         | Session is closed — no order entry or matching. 
-5     | ``Closed``         13    | ``Unavailable``  +    | ``Suspended``      Trading temporarily suspended by the exchange (an administrative pause, expected to resume). | 
-6     | ``Suspended``      14    | ``NoPermission`` | +| 7     | ``Halted``         | Trading halted — typically a volatility/circuit-breaker or regulatory halt on the instrument. 
-7     | ``Halted``       |   | 15    | ``TrialExpired`` |+    | ``Failed``         The market is in a failure state (exchange or system problem; data/trading not functioning normally). | 
 +| 9     | ``PreCross``       | Pre-cross auction phase: orders accumulate in the book ahead of a cross (opening/closing auction), no continuous matching. 
 +10    | ``Cross``          The cross/auction itself is executing — orders are being matched at the auction price. | 
 +| 11    | ``Expired``        | The contract has expired and is no longer tradable. 
 +12    | ``Rejected``       The market subscription/request was rejected by the server. | 
 +| 13    | ``Unavailable``    | The market is unavailable — no data can be provided for it. 
 +14    | ``NoPermission``   | Your login doesn't have permission to view or trade this market. | 
 +| 15    | ``TrialExpired``   | Trial access to this market's data has expired. |
  
 === BidOffer === === BidOffer ===
  • developers/chart.1782934588.txt.gz
  • Last modified: 2026/07/01 19:36
  • by juan