Strategy Field

Exit time in force

By default, TradersPost will send the appropriate time in force of either gtc or day depending on the scenario and broker. If you want to explicitly control this, you can select a different Exit time in force in your strategy settings. Or you can send a custom timeInForce from your webhook. The value in the JSON will override the value selected in the strategy settings.

The timeInForce parameter specifies how long the order will remain active before it is executed or canceled. The following are the valid values for the timeInForce parameter:

  • day - The order is valid for the trading day and will be canceled if not executed by the end of the trading day.
  • gtc - The order is good until canceled and will remain active until it is executed or canceled.
  • opg - The order is valid for the opening of the market and will be canceled if not executed at the market open.
  • cls - The order is valid for the closing of the market and will be canceled if not executed at the market close.
  • ioc - The order is immediate or canceled, meaning it must be executed immediately or canceled.
  • fok - The order is fill or kill, meaning it must be executed immediately in its entirety or canceled.

Here is an example of a limit order with a time in force of gtc and extendedHours set to true:

{
    "ticker": "AAPL",
    "action": "sell",
    "orderType": "limit",
    "limitPrice": 150,
    "timeInForce": "day",
    "extendedHours": true
}
  • If you send a timeInForce that is not supported by your broker, TradersPost will fallback to the time in force configured in your strategy settings.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now

TradersPost operates as a non-custodial automated trading platform, enabling users to connect alerts from their preferred trading platforms to their selected brokerage or exchange accounts. It abstains from the transmission, custody, or management of customer funds, covering both traditional and cryptocurrency assets. Typically, registration requirements set by regulatory entities such as the SEC, FINRA, or FinCEN apply to entities that hold or transmit customer funds. To ensure ongoing compliance, TradersPost regularly engages with regulatory authorities to confirm its adherence to all relevant local and federal laws.

TradersPost does not provide alerts, signals, research, analysis, or trading advice of any kind. It is designed to assist traders and investors in making their own trading decisions based on their alerts. The platform does not offer recommendations regarding securities to buy or sell, nor does it provide trading or investing advice. The platform and its features, capabilities, and tools are provided 'as-is' without any warranty.

Risk Disclosure: The use of automated trading systems involves inherent risks, including the potential for significant financial loss. These systems operate based on predetermined algorithms that may not fully adapt to changing market conditions, possibly making them unsuitable for some investors. Individuals are advised to thoroughly assess their financial situation and risk tolerance before using this platform.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

© 2026 TradersPost, Inc. All rights reserved.