OKX_SUPPORTED_TIME_IN_FORCE

Constant OKX_SUPPORTED_TIME_IN_FORCE 

Source
pub const OKX_SUPPORTED_TIME_IN_FORCE: &[TimeInForce];
Expand description

OKX supported order time in force.

ยงNotes

  • OKX implements IOC and FOK as order types rather than separate time-in-force parameters.
  • FOK is only supported with Limit orders (Market + FOK is not supported).
  • IOC with Market orders uses OptimalLimitIoc, with Limit orders uses Ioc.
  • GTD is supported via expire_time parameter.