Testing options orders in sandbox
For developers testing options orders in sandbox: how to force fills, partial fills, cancels, and rejects.
In sandbox, a simulator fills certain options orders. Use it to test specific scenarios.
Filling orders after hours
Options orders placed outside market hours are filled at market open, as in production. To test an immediate fill, set the ignoreMarketHoursForTest flag on the account. See Testing in sandbox for the request.
Order testing scenarios
To test specific options order scenarios, place orders on options contracts in these underlying symbols. Each symbol forces a different behavior.
| Underlying symbol | Handling |
|---|---|
MMM | Receive multiple fills. |
EAT | Receive a partial fill, then submit a cancel. |
AMZN | The system cancels the order. |
AAPL | The whole order is filled. |
META | Receive a partial fill, then an unsolicited cancel. |
ASST | The order is rejected. |
IREN | Receive an order acknowledgment, with no further action. |
Updated 3 days ago
Did this page help you?