v1
latestOpenAPI 3.0.12026-07-2683220192.3 KBTrading
Insert order
Inserts an order into the exchange
post/v1/trading/orders
Request body
type'ORDER_TYPE_MARKET_TO_LIMIT' | 'ORDER_TYPE_LIMIT' | 'ORDER_TYPE_STOP' | 'ORDER_TYPE_STOP_LIMIT'
OrderType indicates the type of an order.
side'SIDE_BUY' | 'SIDE_SELL'
Side indicates the side of an Order.
orderQtystring int64
symbolstring
pricestring int64
timeInForce'TIME_IN_FORCE_DAY' | 'TIME_IN_FORCE_GOOD_TILL_CANCEL' | 'TIME_IN_FORCE_IMMEDIATE_OR_CANCEL' | 'TIME_IN_FORCE_GOOD_TILL_TIME' | 'TIME_IN_FORCE_FILL_OR_KILL'
TimeInForce specifies how long the order remains in effect.
clordIdstring
accountstring
stopPricestring int64
minQtystring int64
selfMatchPreventionIdstring
quotestring
allOrNoneboolean
sessionIdstring
userstring
clientAccountIdstring
clientParticipantIdstring
participateDontInitiateboolean
cashOrderQtystring int64
strictLimitboolean
Set if this particular order must be filled at the exact limit price.
goodTillTimestring date-time
bestLimitboolean
A flag for best limit pricing. Sets the limit order's price to the top of the book on the same side as the order.
immediatelyExecutableLimitboolean
A flag for immediately executable limit pricing. Sets the price to the top of the book on the opposing side, so it can immediately match.
selfMatchPreventionInstruction'SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR' | 'SELF_MATCH_PREVENTION_INSTRUCTION_CANCEL_RESTING' | 'SELF_MATCH_PREVENTION_INSTRUCTION_REMOVE_BOTH'
SelfMatchPreventionInstruction is the methodology used to handle self match prevention.
orderCapacity'ORDER_CAPACITY_AGENCY' | 'ORDER_CAPACITY_PRINCIPAL' | 'ORDER_CAPACITY_PROPRIETARY' | 'ORDER_CAPACITY_INDIVIDUAL' | 'ORDER_CAPACITY_RISKLESS_PRINCIPAL' | 'ORDER_CAPACITY_AGENT_FOR_OTHER_MEMBER'
OrderCapacity designates the capacity of the party placing an order.
ignorePriceValidityChecksboolean
manualOrderIndicator'MANUAL_ORDER_INDICATOR_MANUAL' | 'MANUAL_ORDER_INDICATOR_AUTOMATED'
ManualOrderIndicator designates the manual or automated nature of an order.
Response
A successful response.
orderIdstring