| OKX post-only entry support |
missing |
must |
No code path emits ordType=post_only or deterministic client order ids for ETH portfolio entries. |
Add a read-only order-intent builder that renders the exact post_only order payloads for each required entry level without submitting them. |
| Batch entry order support |
missing |
must |
The conservative portfolio can require multiple leg/order intents; the client cannot express an atomic or coordinated batch. |
Define the portfolio order-intent shape for all active legs and add a non-submitting batch payload renderer. |
| Cancel open orders |
missing |
must |
A quasi-live loop cannot expire stale maker orders or clear outstanding leg orders. |
Add read-only cancel-intent generation from tracked open order ids, then add client cancel/list methods before any live runner is enabled. |
| State persistence |
partial |
must |
There is no dedicated ETH portfolio state containing signal clock, order ids, fills, exposure, and audit events. |
Add a dedicated ETH portfolio state schema and read/write command for quasi-live intent tracking. |
| Position isolation |
partial |
must |
Isolation exists only inside the single-order submitter; portfolio readiness still needs the same fields in generated leg/order intents and close intents. |
Require tdMode=isolated, posSide=long, and bounded leverage in every generated ETH portfolio intent. |
| Existing position protection |
missing |
must |
A future runner could merge with or alter pre-existing ETH-USDT-SWAP exposure in the same account. |
Before any submit-capable command, require zero conflicting ETH-USDT-SWAP exposure or an explicitly dedicated state-owned position id. |
| Signal scheduling |
missing |
must |
The repo cannot run a quasi-live candle-bound signal loop for the ETH-focused portfolio. |
Add a read-only quasi-live runner that records last confirmed candle per leg and emits intent only when a leg clock advances. |
| Operational logs |
missing |
must |
There is no durable audit trail for signal decisions, payloads, cancel intents, fills, or state transitions. |
Add append-only JSONL event logging for read-only signal/order/cancel intent cycles. |