# Alpaca order rejection reason: unable to open new notional orders while having open closing position orders

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/errors/alpaca/notional-while-closing, written from the same records as that page.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

The error, as text you can copy:

```
unable to open new notional orders while having open closing position orders
```

- Kind: Order rejection reason
- Where you meet it: In the rejection the API reports, not in the HTTP status
- API: [Alpaca](https://openbrokerapi.com/brokers/alpaca)
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/orders-at-alpaca.md), checked 2026-11-30.

## What does unable to open new notional orders while having open closing position orders mean on the Alpaca API?

The message the Placing Orders page gives when a notional order is rejected because a closing order on the same position is still open, in the sequences outside market hours that Alpaca stopped accepting from 27 October 2021.

## How do I fix unable to open new notional orders while having open closing position orders?

Wait for the closing order to fill or cancel it, then send the notional order.

## More on the Alpaca API

- [All Alpaca API error codes](https://openbrokerapi.com/errors/alpaca)
- [Alpaca API quickstart](https://openbrokerapi.com/brokers/alpaca/quickstart): From credentials to a first call on a demo account, step by step.
- [Alpaca API error codes](https://openbrokerapi.com/errors/alpaca): 26 decoded, each with what it means, and the fix where the source gives one.
- [Alpaca API endpoints](https://openbrokerapi.com/brokers/alpaca/endpoints): 25 documented, each with its method, path, parameters and source.
- [Alpaca messages](https://openbrokerapi.com/brokers/alpaca/messages): 9 documented, each with its fields and source.
- [Alpaca API page](https://openbrokerapi.com/brokers/alpaca): The full record: access, authentication, limits and the source for each.

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: Alpaca order rejection reason: unable to open new notional orders while having open closing position orders. Broker API Hub, https://openbrokerapi.com/errors/alpaca/notional-while-closing, newest check 2026-11-30.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
