Order Compatibility
TL;DRNot every combination of type, time-in-force, and execution attribute makes
sense. This page is the validity matrix; read it before assembling an order
programmatically.
Type × Time in Force
Time-in-force on Darknyx is carried by the order type plus
expiry_slot: a resting
order is a limit with an expiry; an immediate order is ioc or fok. See
Time in Force.
Type × Execution Attributes
Type × Price field
A bid always needs a positive
price_limit (a buy at price zero is meaningless,
and the collateral must cover the worst case). An ask may set price_limit = 0 to
sell into any clearing price.
Modifiability
IOC and FOK orders do not rest, so there is nothing to cancel or modify
after they execute.