Introduction
Automation Platform
Botmain DAO
Building Trading Strategies
API References Dev Live Stream
@botmain/execution / Enum

TimeInForce

Time in Force condition for the order to remain active

Members

NameValueDescription
GTC0

Good Till Cancel(ed), the order stays on the orderbook until it is matched or canceled.

IOC1

Immediate Or Cancel, the order has to be matched immediately and filled either partially or completely, the unfilled remainder is canceled (or the entire order is canceled).

FOK2

Fill Or Kill, the order has to get fully filled and closed immediately, otherwise the entire order is canceled

PO3

Post Only, the order is either placed as a maker order, or it is canceled. This means the order must be placed on orderbook for at at least time in an unfilled state.