Delayed account_positions
Potential delay of snapshot endpoints and best practice for reconstructing local state
Question:
My account_positions/account_orders updates are sometimes delayed. What should I do to reliably construct a local state based on Pacifica's WS feeds?
Answer:
account_positions and account_orders are snapshot-driven channels. They show your current state but can be delayed under high load.
For real-time updates with no delay, use our event-driven channels:
account_trades- update on every fill as it happensaccount_order_updates- update on every order state change
We recommend using our snapshot-driven channels for initialization/checks, and our events-driven channels to construct a real-time local state.
Last updated