Traders using TradersPost often wonder whether specifying “orderType: market” in their webhook will force a market order, especially if the market is closed when the order is sent.
If you set “orderType: market” in your webhook while the market is closed:
• It will not force a market order at market open.
• If the broker does not allow market orders during extended trading, the order will likely be rejected.
• The correct order type for extended hours trading is typically a limit order, as brokers restrict market orders to prevent excessive slippage.
1. If extended hours trading is NOT enabled:
• The order is queued and sent as a market order when the market opens.
2. If extended hours trading IS enabled:
• The order will likely be rejected unless it is a limit order, since most brokers require limit orders for after-hours trading.
• Use Brokers’ Built-in Settings – Instead of manually setting order types in JSON, configure extended trading settings within TradersPost.
• Use Limit Orders for After-Hours Trading – If you must trade outside regular hours, send a limit order instead of a market order.
• Check Broker Rules – Brokers may have different policies on market vs. limit orders during extended hours, so always verify their requirements.
Setting “orderType: market” in TradersPost does not guarantee execution as a market order if the market is closed. Instead, the order may be queued for market open or rejected if after-hours trading is enabled. Traders should use limit orders for after-hours trading and configure settings directly in TradersPost for the best execution results.
DISCLAIMER:
Trading in the financial markets involves a significant risk of loss. The content and strategies shared by TradersPost are provided for informational or educational purposes only and do not constitute trading or investment recommendations or advice. The views and opinions expressed in the materials are those of the authors and do not necessarily reflect the official policy or position of TradersPost.
Please be aware that the authors and contributors associated with our content may hold positions or trade in the financial assets, securities, or instruments mentioned herein. Such holdings could present a conflict of interest or influence the perspective provided in the content. Readers should consider their financial situation, objectives, and risk tolerance before making any trading or investment decisions based on the information shared. It is recommended to seek advice from a qualified financial advisor if unsure about any investments or trading strategies.
Remember, past performance is not indicative of future results. All trading and investment activities involve high risks and can result in the loss of your entire capital. TradersPost is not liable for any losses or damages arising from the use of this information. All users should conduct their own research and due diligence before making financial decisions.