Why am I getting an error that my offering does not have enough shares?
Each offering has a maximum amount of shares or units available for investor subscription. This is calculated by the Max Amount divided by the Unit Amount. Shares are reserved when a trade is created, whether funded or not.
If an attempt is made to create a trade (createTrade API endpoint) committing more units than available, you will receive the following error,
-
"Error 163: Offer doesn't have enough shares."
Shares are reserved for all trades in the following Trade Statuses:
- Created
- Funded
- Settled
- Returned
Trades in the following Trade Statuses do not have reserved shares and do not count against the remaining total:
- Canceled
- Unwind Pending
- Unwind Settled