Submit order with timed expiration

Please implement a way to set time in force to a specified number of minutes. I had a broker where this was possible but only had options for 5 and 10 min expiration.

Here’s an example of an order…

{
“side”: “buy”,
“symbol”: “SPY”,
“type”: “limit”,
“price”:“297.98”
“qty”: “100”,
"time_in_force": "5min"
}

Would be really cool to be able to set any number of minutes.
Perhaps this could be another parameter other than time_in_force, that takes an integer.

1 Like