[futures] placed market orders with no TIF return TIF=GTC when should be IOC

If I place a futures market orders without a timeInForce, the result contains timeInForce=GTC, when it should be IOC as a market order does not rest on the books.

MARKET orders are placed as GTC by default and shall be filled instantly as long as there’s enough liquidity; IOC means immediately or cancelled and it doesn’t meet market orders’ situation

@MJW This is not in line with the standard definition for these time in force values. IOC is for market orders, GTC is for limit orders.


Thank you for the information. We’ll let the team know.
I hope this doesn’t impact your trading

No problem, I can correct the TIF from the result myself so my unit tests pass :slight_smile: