Webhook Message

Invalid Time In Force

The provided timeInForce value is invalid. The timeInForce field must be one of the following values: day, gtc, gtd, opg, cls, ioc, or fok.

This message indicates that the timeInForce value provided in the request is invalid. TradersPost requires that the timeInForce parameter be one of the following values: day, gtc, opg, cls, ioc, or fok. Any other value will be considered invalid, and the request will not be processed.

  • If you send a time in force that is not supported by your broker, TradersPost will fallback to the time in force configured in your 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.

Invalid timeInForce example:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 150,
    "timeInForce": "invalid"
}

Valid timeInForce example:

{
    "ticker": "AAPL",
    "action": "buy",
    "orderType": "limit",
    "limitPrice": 150,
    "timeInForce": "day"
}

In the above examples, a valid timeInForce value ensures that the request meets the required parameters for processing.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

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.