TW Orders Acceptance
Which orders are accepted depends on the time of day in Taipei (UTC+8). Orders can be placed outside trading hours: they wait and are sent to the exchange when their first selected session opens.
Trading Sessions
| Session | Time (Taipei) | Notes |
|---|---|---|
TW1 Opening auction | 08:30 – 09:00 | Not supported. Orders are not sent to the opening auction. |
TW2 Regular session | 09:00 – 13:25 | |
TW3 Closing auction | 13:25 – 13:30 |
Sessions follow the TWSE trading calendar. Start times are inclusive and end times are exclusive. GET /tw/market/status returns the current regime.
Use trading_session_ids to choose sessions. Valid values are ["TW2"], ["TW3"] and ["TW2", "TW3"]; anything else, including TW1, is rejected. When you omit it, the order is eligible for both TW2 and TW3. A modify does not keep the original order's sessions: send trading_session_ids again, or the replacement is eligible for both sessions.
Equities (CS)
| Time (Taipei) | Order types accepted | When the order trades | TIF | Modifies | Short selling |
|---|---|---|---|---|---|
09:00 – 13:30 (TW2, TW3) | market, limit | Immediately, if the current session is selected | Day | Yes | See below |
| All other times, weekends and TWSE holidays | limit (TWD account) | When the first selected session opens | Day | Limit only | See below |
Outside 09:00 – 13:30 Taipei time, any order other than a limit order from a TWD account is rejected with DisallowedOrderAction_Error (market is closed). The same rule applies to modifies. An order that is already working at the exchange can only be modified between 09:00 and 13:30.
Order rules
- Use whole share quantities and
execution_instruction: held. Taiwanese equities trade in board lots of 1,000 shares; Atomic Vaults does not check the lot size, so contact us before sending odd-lot quantities. priceis required for limit orders and must be omitted for market orders.time_in_forcemust beday, or omitted.- Not supported: notional and fractional orders, stop and stop-limit orders, IOC and GTC, OCO, multileg and IPO orders.
Day order expiry
A day order expires at 13:30 Taipei time on the day it is placed. An order placed after 13:30 expires at 13:30 on the next calendar day. An order selecting only TW2 is canceled when the closing auction starts at 13:25. Expired orders are canceled and you receive a canceled WebSocket update.
Modifies
- Send
order_typeand, for limit orders,priceagain; they are not carried over from the original order. side,position_effect,symbolandend_customer_idcome from the original order.- The new quantity must be a whole number and greater than the quantity already filled.
- A rejected amend arrives as a
replace_rejectedWebSocket update and the original order keeps working.
Short selling
Opening a short position requires side: sell_short or sell_short_exempt, a symbol whose easy_to_borrow flag is true in GET /tw/equities, and an account enabled for short selling. To sell shares you hold, use side: sell with position_effect: close.
FX (FOR)
Standalone USD/TWD FX orders and USD-funded equity buys (AutoFX) are not supported yet. See TW Trading for a preview of how they will work.
See Risk Limits for the checks every order goes through.