Trading Loop and Recovery
Design a CallPut agent loop that discovers markets, prepares option requests, waits for asynchronous execution and recovers safely from pending, cancelled or stale states.
Trading loop
Discover → validate network and market → prepare request → external sign and submit → monitor request key → verify resulting position.
Pending state
A pending request should pause dependent actions. Avoid opening a second conflicting workflow until the first request is resolved or intentionally cancelled.
Recovery
On cancellation or stale data, refresh live market inputs and rebuild the request rather than replaying an old quote.
Frequently asked questions
What does the Trading Loop and Recovery page cover?
It covers design a CallPut agent loop that discovers markets, prepares option requests, waits for asynchronous execution and recovers safely from pending, cancelled or stale states.
Does a documentation example guarantee a live market or fill?
No. Market availability, expiries, strikes, liquidity, fees and contract state can change. Check the live application and selected network before acting.
Are CallPut stock and ETF options ownership of the referenced security?
No. The documented stock and ETF options are synthetic onchain instruments and do not grant shares, fund units, dividends, voting rights or physical delivery.